{"version":3,"file":"X0Tnh0arR.BWMpMZPb.mjs","names":["HelpArticles"],"sources":["https:/framerusercontent.com/modules/uQhFZr7TPVzM8cCPKNq9/0ls5LYvLh5WstRpO1zLn/X0Tnh0arR.js"],"sourcesContent":["// Generated by Framer (9eb3b99)\nimport{getWhereExpressionFromPathVariables,QueryEngine}from\"framer\";import HelpArticles from\"https://framerusercontent.com/modules/dcLUWJpMfYE8jUcFne0p/d8BoKlClZRJL7iS27KjH/PmJt3CdWR.js\";const toString=value=>{return typeof value===\"string\"?value:String(value);};const htmlEscape=value=>{if(typeof value!==\"string\")return\"\";return value.replaceAll(\"&\",\"&amp;\").replaceAll(\"<\",\"&lt;\").replaceAll(\">\",\"&gt;\").replaceAll('\"',\"&quot;\").replaceAll(\"'\",\"&#39;\");};const jsonStringify=value=>{const result=JSON.stringify(value);if(typeof result===\"string\")return result.replace(/<\\/(script|style)/gi,\"<\\\\/$1\");return result;};export default function metadata(params,activeLocale){const ffkRvMpov=params?.[\"ffkRvMpov\"];const pe0kDyAMS=params?.[\"pe0kDyAMS\"];const bTT3iMqvS=params?.[\"bTT3iMqvS\"];const YMJcjn016=params?.[\"YMJcjn016\"];const createdAt=params?.[\"createdAt\"];const updatedAt=params?.[\"updatedAt\"];return{breakpoints:[{hash:\"1xgs5fu\",mediaQuery:\"(min-width: 1600px)\"},{hash:\"bqobw7\",mediaQuery:\"(min-width: 1199px) and (max-width: 1599.98px)\"},{hash:\"1xh0tbq\",mediaQuery:\"(min-width: 1024px) and (max-width: 1198.98px)\"},{hash:\"1vn8yqx\",mediaQuery:\"(max-width: 1023.98px)\"}],customHTMLHeadEnd:`<script type=\"application/ld+json\">\n{\n  \"@context\": \"https://schema.org\",\n  \"@type\": \"Article\",\n  \"headline\": ${bTT3iMqvS!==undefined?toString(jsonStringify(htmlEscape(bTT3iMqvS))):\"{{bTT3iMqvS | json}}\"},\n  \"description\": ${pe0kDyAMS!==undefined?toString(jsonStringify(htmlEscape(pe0kDyAMS))):\"{{pe0kDyAMS | json}}\"},\n  \"mainEntityOfPage\": {\n    \"@type\": \"WebPage\",\n    \"@id\": \"https://pig.gy/help/articles/${YMJcjn016!==undefined?toString(htmlEscape(YMJcjn016)):\"{{YMJcjn016}}\"}\",\n    \"url\": \"https://pig.gy/help/articles/${YMJcjn016!==undefined?toString(htmlEscape(YMJcjn016)):\"{{YMJcjn016}}\"}\"\n  },\n  \"articleSection\": \"Help\",\n  \"publisher\": {\n    \"@type\": \"Organization\",\n    \"name\": \"Piggy\",\n    \"logo\": { \"@type\": \"ImageObject\", \"url\": \"https://pig.gy/logo.png\" }\n  },\n  \"author\": { \"@type\": \"Organization\", \"name\": \"Piggy\", \"url\": \"https://pig.gy/\" },\n  \"image\": [\"https://pig.gy/og/help-article-default.jpg\"],\n  \"datePublished\": ${createdAt!==undefined?toString(jsonStringify(htmlEscape(createdAt))):\"{{createdAt | json}}\"},\n  \"dateModified\": ${updatedAt!==undefined?toString(jsonStringify(htmlEscape(updatedAt))):\"{{updatedAt | json}}\"}\n}\n</script>\n`,description:`${pe0kDyAMS!==undefined?toString(pe0kDyAMS):\"{{pe0kDyAMS}}\"}`,elements:{},framerSearch:{index:true},robots:\"max-image-preview:large\",serializationId:\"framer-C39CO\",title:`${ffkRvMpov!==undefined?toString(ffkRvMpov):\"{{ffkRvMpov}}\"}`,viewport:\"width=device-width\"};}export async function fetchMetadata(pathVariables,activeLocale){const queryEngine=new QueryEngine;const query={from:{alias:\"X0Tnh0arR\",data:HelpArticles,type:\"Collection\"},select:[{collection:\"X0Tnh0arR\",name:\"ffkRvMpov\",type:\"Identifier\"},{collection:\"X0Tnh0arR\",name:\"pe0kDyAMS\",type:\"Identifier\"},{collection:\"X0Tnh0arR\",name:\"bTT3iMqvS\",type:\"Identifier\"},{collection:\"X0Tnh0arR\",name:\"YMJcjn016\",type:\"Identifier\"},{collection:\"X0Tnh0arR\",name:\"createdAt\",type:\"Identifier\"},{collection:\"X0Tnh0arR\",name:\"updatedAt\",type:\"Identifier\"}],where:getWhereExpressionFromPathVariables(pathVariables,\"X0Tnh0arR\")};const result=await queryEngine.query(query,activeLocale);if(result.length===0){throw new Error(\"No data matches pathVariables\");}const params=result[0];return metadata(params,activeLocale);}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fetchMetadata\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"mQAC2mB,SAAwB,EAAS,EAAO,EAAa,CAAC,IAAM,EAAU,GAAS,UAAmB,EAAU,GAAS,UAAmB,EAAU,GAAS,UAAmB,EAAU,GAAS,UAAmB,EAAU,GAAS,UAAmB,EAAU,GAAS,UAAa,MAAM,CAAC,YAAY,CAAC,CAAC,KAAK,UAAU,WAAW,sBAAsB,CAAC,CAAC,KAAK,SAAS,WAAW,iDAAiD,CAAC,CAAC,KAAK,UAAU,WAAW,iDAAiD,CAAC,CAAC,KAAK,UAAU,WAAW,yBAAyB,CAAC,CAAC,kBAAkB;;;;gBAI5pC,IAAY,IAAA,GAAyD,uBAA/C,EAAS,EAAc,EAAW,EAAU,CAAC,CAAC,CAAwB;mBACzF,IAAY,IAAA,GAAyD,uBAA/C,EAAS,EAAc,EAAW,EAAU,CAAC,CAAC,CAAwB;;;2CAGpE,IAAY,IAAA,GAA0C,gBAAhC,EAAS,EAAW,EAAU,CAAC,CAAiB;2CACtE,IAAY,IAAA,GAA0C,gBAAhC,EAAS,EAAW,EAAU,CAAC,CAAiB;;;;;;;;;;qBAU5F,IAAY,IAAA,GAAyD,uBAA/C,EAAS,EAAc,EAAW,EAAU,CAAC,CAAC,CAAwB;oBAC7F,IAAY,IAAA,GAAyD,uBAA/C,EAAS,EAAc,EAAW,EAAU,CAAC,CAAC,CAAwB;;;EAG9G,YAAY,GAAG,IA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