{"version":3,"file":"shared-lib.Cs301VTW.mjs","names":["v","t","I","e","b","T","n","r","x","N","R","P","q","i","_","D","s","a","o","C","J","V","G","u","l","h","c","d","g","p","U","S","L","B","M","F","y","f","e","u","s","t","i","l","a","m","c","r","n","o","l","d","e","i","t","a","r"],"sources":["https:/framerusercontent.com/modules/glksN9Ll8re13dtsCKAd/ZAhGBc4ZQnzcuanQCx1n/YfpnWaA25.js","https:/framerusercontent.com/modules/EWofKiYrsvgF1Ehu1q93/dyum7DQY42M4U1m5uMQa/M8vD63_fq-0.js","https:/framerusercontent.com/modules/EWofKiYrsvgF1Ehu1q93/dyum7DQY42M4U1m5uMQa/M8vD63_fq-1.js","https:/framerusercontent.com/modules/EWofKiYrsvgF1Ehu1q93/dyum7DQY42M4U1m5uMQa/M8vD63_fq.js","https:/framerusercontent.com/modules/akKxaN45IUVKaS81zu1N/qbqE8kKIGpjMG7xPPS8z/siteMetadata.js"],"sourcesContent":["// Generated by Framer (beb597f)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"GF;Crimson Text-regular\",\"GF;Crimson Text-700\",\"GF;Crimson Text-700italic\",\"GF;Crimson Text-italic\"]);export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"Crimson Text\",source:\"google\",style:\"normal\",uiFamilyName:\"Crimson Text\",url:\"https://fonts.gstatic.com/s/crimsontext/v19/wlp2gwHKFkZgtmSR3NB0oRJvbQJSA_JN3Q.woff2\",weight:\"400\"},{cssFamilyName:\"Crimson Text\",source:\"google\",style:\"normal\",uiFamilyName:\"Crimson Text\",url:\"https://fonts.gstatic.com/s/crimsontext/v19/wlppgwHKFkZgtmSR3NB0oRJX1C12DtlR1LFffg.woff2\",weight:\"700\"},{cssFamilyName:\"Crimson Text\",source:\"google\",style:\"italic\",uiFamilyName:\"Crimson Text\",url:\"https://fonts.gstatic.com/s/crimsontext/v19/wlprgwHKFkZgtmSR3NB0oRJfajDqDtNQ9rRPfrKu.woff2\",weight:\"700\"},{cssFamilyName:\"Crimson Text\",source:\"google\",style:\"italic\",uiFamilyName:\"Crimson Text\",url:\"https://fonts.gstatic.com/s/crimsontext/v19/wlpogwHKFkZgtmSR3NB0oRJfaghTIfdd3ahG.woff2\",weight:\"400\"}]}];export const css=['.framer-RStFJ .framer-styles-preset-1drbkl4:not(.rich-text-wrapper), .framer-RStFJ .framer-styles-preset-1drbkl4.rich-text-wrapper p { --framer-font-family: \"Crimson Text\", \"Crimson Text Placeholder\", serif; --framer-font-family-bold: \"Crimson Text\", \"Crimson Text Placeholder\", serif; --framer-font-family-bold-italic: \"Crimson Text\", \"Crimson Text Placeholder\", serif; --framer-font-family-italic: \"Crimson Text\", \"Crimson Text Placeholder\", serif; --framer-font-open-type-features: normal; --framer-font-size: 16px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: italic; --framer-font-style-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 700; --framer-font-weight-bold-italic: 700; --framer-font-weight-italic: 400; --framer-letter-spacing: 0px; --framer-line-height: 22px; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: var(--token-4e2dc208-7b3c-4927-b85e-254f32482edf, #2f2f2f); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }'];export const className=\"framer-RStFJ\";\nexport const __FramerMetadata__ = {\"exports\":{\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","var t,e=Object.create,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,s=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(t,e,n)=>e in t?r(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,u=(t,e)=>function(){return e||(0,t[i(t)[0]])((e={exports:{}}).exports,e),e.exports;},l=(t,e,s,o)=>{if(e&&\"object\"==typeof e||\"function\"==typeof e)for(let u of i(e))a.call(t,u)||u===s||r(t,u,{get:()=>e[u],enumerable:!(o=n(e,u))||o.enumerable});return t;},h=(t,n,i)=>(i=null!=t?e(s(t)):{},l(// If the importer is in node compatibility mode or this is not an ESM\n    // file that has been converted to a CommonJS file using a Babel-\n    // compatible transform (i.e. \"__esModule\" has not been set), then set\n    // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n    !n&&t&&t.__esModule?i:r(i,\"default\",{value:t,enumerable:!0}),t)),c=(t,e,r)=>o(t,\"symbol\"!=typeof e?e+\"\":e,r),f=u({\"../../../node_modules/dataloader/index.js\"(t,e){var r,n=/* @__PURE__ */function(){function t(t,e){if(\"function\"!=typeof t)throw TypeError(\"DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but got: \"+t+\".\");this._batchLoadFn=t,this._maxBatchSize=function(t){if(!(!t||!1!==t.batch))return 1;var e=t&&t.maxBatchSize;if(void 0===e)return 1/0;if(\"number\"!=typeof e||e<1)throw TypeError(\"maxBatchSize must be a positive number: \"+e);return e;}(e),this._batchScheduleFn=function(t){var e=t&&t.batchScheduleFn;if(void 0===e)return i;if(\"function\"!=typeof e)throw TypeError(\"batchScheduleFn must be a function: \"+e);return e;}(e),this._cacheKeyFn=function(t){var e=t&&t.cacheKeyFn;if(void 0===e)return function(t){return t;};if(\"function\"!=typeof e)throw TypeError(\"cacheKeyFn must be a function: \"+e);return e;}(e),this._cacheMap=function(t){if(!(!t||!1!==t.cache))return null;var e=t&&t.cacheMap;if(void 0===e)return /* @__PURE__ */new Map;if(null!==e){var r=[\"get\",\"set\",\"delete\",\"clear\"].filter(function(t){return e&&\"function\"!=typeof e[t];});if(0!==r.length)throw TypeError(\"Custom cacheMap missing methods: \"+r.join(\", \"));}return e;}(e),this._batch=null,this.name=e&&e.name?e.name:null;}var e=t.prototype;return e.load=function(t){if(null==t)throw TypeError(\"The loader.load() function must be called with a value, but got: \"+String(t)+\".\");var e=function(t){var e=t._batch;if(null!==e&&!e.hasDispatched&&e.keys.length<t._maxBatchSize)return e;var r={hasDispatched:!1,keys:[],callbacks:[]};return t._batch=r,t._batchScheduleFn(function(){(function(t,e){var r;if(e.hasDispatched=!0,0===e.keys.length){a(e);return;}try{r=t._batchLoadFn(e.keys);}catch(r){return s(t,e,TypeError(\"DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function errored synchronously: \"+String(r)+\".\"));}if(!r||\"function\"!=typeof r.then)return s(t,e,TypeError(\"DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function did not return a Promise: \"+String(r)+\".\"));r.then(function(t){if(!o(t))throw TypeError(\"DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function did not return a Promise of an Array: \"+String(t)+\".\");if(t.length!==e.keys.length)throw TypeError(\"DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function did not return a Promise of an Array of the same length as the Array of keys.\\n\\nKeys:\\n\"+String(e.keys)+\"\\n\\nValues:\\n\"+String(t));a(e);for(var r=0;r<e.callbacks.length;r++){var n=t[r];n instanceof Error?e.callbacks[r].reject(n):e.callbacks[r].resolve(n);}}).catch(function(r){s(t,e,r);});})(t,r);}),r;}(this),r=this._cacheMap,n=this._cacheKeyFn(t);if(r){var i=r.get(n);if(i){var u=e.cacheHits||(e.cacheHits=[]);return new Promise(function(t){u.push(function(){t(i);});});}}e.keys.push(t);var l=new Promise(function(t,r){e.callbacks.push({resolve:t,reject:r});});return r&&r.set(n,l),l;},e.loadMany=function(t){if(!o(t))throw TypeError(\"The loader.loadMany() function must be called with Array<key> but got: \"+t+\".\");for(var e=[],r=0;r<t.length;r++)e.push(this.load(t[r]).catch(function(t){return t;}));return Promise.all(e);},e.clear=function(t){var e=this._cacheMap;if(e){var r=this._cacheKeyFn(t);e.delete(r);}return this;},e.clearAll=function(){var t=this._cacheMap;return t&&t.clear(),this;},e.prime=function(t,e){var r=this._cacheMap;if(r){var n,i=this._cacheKeyFn(t);void 0===r.get(i)&&(e instanceof Error?(n=Promise.reject(e)).catch(function(){}):n=Promise.resolve(e),r.set(i,n));}return this;},t;}(),i=\"object\"==typeof process&&\"function\"==typeof process.nextTick?function(t){r||(r=Promise.resolve()),r.then(function(){process.nextTick(t);});}:\"function\"==typeof setImmediate?function(t){setImmediate(t);}:function(t){setTimeout(t);};function s(t,e,r){a(e);for(var n=0;n<e.keys.length;n++)t.clear(e.keys[n]),e.callbacks[n].reject(r);}function a(t){if(t.cacheHits)for(var e=0;e<t.cacheHits.length;e++)t.cacheHits[e]();}function o(t){return\"object\"==typeof t&&null!==t&&\"number\"==typeof t.length&&(0===t.length||t.length>0&&Object.prototype.hasOwnProperty.call(t,t.length-1));}e.exports=n;}}),d=h(f()),g={Uint8:1,Uint16:2,Uint32:4,BigUint64:8,Int8:1,Int16:2,Int32:4,BigInt64:8,Float32:4,Float64:8},p=class{getOffset(){return this.offset;}ensureLength(t){let e=this.bytes.length;if(!(this.offset+t<=e))throw Error(\"Reading out of bounds\");}readUint8(){let t=g.Uint8;this.ensureLength(t);let e=this.view.getUint8(this.offset);return this.offset+=t,e;}readUint16(){let t=g.Uint16;this.ensureLength(t);let e=this.view.getUint16(this.offset);return this.offset+=t,e;}readUint32(){let t=g.Uint32;this.ensureLength(t);let e=this.view.getUint32(this.offset);return this.offset+=t,e;}readUint64(){let t=this.readBigUint64();return Number(t);}readBigUint64(){let t=g.BigUint64;this.ensureLength(t);let e=this.view.getBigUint64(this.offset);return this.offset+=t,e;}readInt8(){let t=g.Int8;this.ensureLength(t);let e=this.view.getInt8(this.offset);return this.offset+=t,e;}readInt16(){let t=g.Int16;this.ensureLength(t);let e=this.view.getInt16(this.offset);return this.offset+=t,e;}readInt32(){let t=g.Int32;this.ensureLength(t);let e=this.view.getInt32(this.offset);return this.offset+=t,e;}readInt64(){let t=this.readBigInt64();return Number(t);}readBigInt64(){let t=g.BigInt64;this.ensureLength(t);let e=this.view.getBigInt64(this.offset);return this.offset+=t,e;}readFloat32(){let t=g.Float32;this.ensureLength(t);let e=this.view.getFloat32(this.offset);return this.offset+=t,e;}readFloat64(){let t=g.Float64;this.ensureLength(t);let e=this.view.getFloat64(this.offset);return this.offset+=t,e;}readBytes(t){let e=this.offset,r=e+t,n=this.bytes.subarray(e,r);return this.offset=r,n;}readString(){let t=this.readUint32(),e=this.readBytes(t);return this.decoder.decode(e);}readJson(){let t=this.readString();return JSON.parse(t);}constructor(t){this.bytes=t,c(this,\"offset\",0),c(this,\"view\"),c(this,\"decoder\",new TextDecoder),this.view=v(this.bytes);}};function v(t){return new DataView(t.buffer,t.byteOffset,t.byteLength);}// src/code-generation/components/cms/bundled/DatabaseDictionaryIndex.ts\nimport{ControlType as y}from\"framer\";// ../../library/src/utils/utils.ts\nvar m=\"undefined\"!=typeof window,w=m&&\"function\"==typeof window.requestIdleCallback;// src/code-generation/components/cms/bundled/assert.ts\nfunction I(t,...e){if(!t)throw Error(\"Assertion Error\"+(e.length>0?\": \"+e.join(\" \"):\"\"));}function b(t){throw Error(`Unexpected value: ${t}`);}// src/code-generation/components/cms/bundled/BufferWriter.ts\nvar U=1024,S=1.5,k=t=>2**t-1,L=t=>-(2**(t-1)),B=t=>2**(t-1)-1,E={Uint8:0,Uint16:0,Uint32:0,Uint64:0,BigUint64:0,Int8:L(8),Int16:L(16),Int32:L(32),Int64:Number.MIN_SAFE_INTEGER,BigInt64:-(BigInt(2)**BigInt(63))},M={Uint8:k(8),Uint16:k(16),Uint32:k(32),Uint64:Number.MAX_SAFE_INTEGER,BigUint64:BigInt(2)**BigInt(64)-BigInt(1),Int8:B(8),Int16:B(16),Int32:B(32),Int64:Number.MAX_SAFE_INTEGER,BigInt64:BigInt(2)**BigInt(63)-BigInt(1)};function T(t,e,r,n){I(t>=e,t,\"outside lower bound for\",n),I(t<=r,t,\"outside upper bound for\",n);}var F=class{getOffset(){return this.offset;}slice(t=0,e=this.offset){return this.bytes.slice(t,e);}subarray(t=0,e=this.offset){return this.bytes.subarray(t,e);}ensureLength(t){let e=this.bytes.length;if(this.offset+t<=e)return;let r=new Uint8Array(Math.ceil(e*S)+t);r.set(this.bytes),this.bytes=r,this.view=v(r);}writeUint8(t){T(t,E.Uint8,M.Uint8,\"Uint8\");let e=g.Uint8;this.ensureLength(e),this.view.setUint8(this.offset,t),this.offset+=e;}writeUint16(t){T(t,E.Uint16,M.Uint16,\"Uint16\");let e=g.Uint16;this.ensureLength(e),this.view.setUint16(this.offset,t),this.offset+=e;}writeUint32(t){T(t,E.Uint32,M.Uint32,\"Uint32\");let e=g.Uint32;this.ensureLength(e),this.view.setUint32(this.offset,t),this.offset+=e;}writeUint64(t){T(t,E.Uint64,M.Uint64,\"Uint64\");let e=BigInt(t);this.writeBigUint64(e);}writeBigUint64(t){T(t,E.BigUint64,M.BigUint64,\"BigUint64\");let e=g.BigUint64;this.ensureLength(e),this.view.setBigUint64(this.offset,t),this.offset+=e;}writeInt8(t){T(t,E.Int8,M.Int8,\"Int8\");let e=g.Int8;this.ensureLength(e),this.view.setInt8(this.offset,t),this.offset+=e;}writeInt16(t){T(t,E.Int16,M.Int16,\"Int16\");let e=g.Int16;this.ensureLength(e),this.view.setInt16(this.offset,t),this.offset+=e;}writeInt32(t){T(t,E.Int32,M.Int32,\"Int32\");let e=g.Int32;this.ensureLength(e),this.view.setInt32(this.offset,t),this.offset+=e;}writeInt64(t){T(t,E.Int64,M.Int64,\"Int64\");let e=BigInt(t);this.writeBigInt64(e);}writeBigInt64(t){T(t,E.BigInt64,M.BigInt64,\"BigInt64\");let e=g.BigInt64;this.ensureLength(e),this.view.setBigInt64(this.offset,t),this.offset+=e;}writeFloat32(t){let e=g.Float32;this.ensureLength(e),this.view.setFloat32(this.offset,t),this.offset+=e;}writeFloat64(t){let e=g.Float64;this.ensureLength(e),this.view.setFloat64(this.offset,t),this.offset+=e;}writeBytes(t){let e=t.length;this.ensureLength(e),this.bytes.set(t,this.offset),this.offset+=e;}encodeString(t){let e=this.encodedStrings.get(t);if(e)return e;let r=this.encoder.encode(t);return this.encodedStrings.set(t,r),r;}writeString(t){let e=this.encodeString(t),r=e.length;this.writeUint32(r),this.writeBytes(e);}writeJson(t){let e=JSON.stringify(t);this.writeString(e);}constructor(){c(this,\"offset\",0),c(this,\"bytes\",new Uint8Array(U)),c(this,\"view\",v(this.bytes)),c(this,\"encoder\",new TextEncoder),c(this,\"encodedStrings\",/* @__PURE__ */new Map);}};// src/utils/typeChecks.ts\nfunction x(t){return\"string\"==typeof t;}function N(t){return Number.isFinite(t);}function A(t){return null===t;}// src/code-generation/components/cms/bundled/models/DatabaseItemPointerModel.ts\nvar O=class t{static fromString(e){let[r,n,i]=e.split(\"/\").map(Number);return I(N(r),\"Invalid chunkId\"),I(N(n),\"Invalid offset\"),I(N(i),\"Invalid length\"),new t(r,n,i);}toString(){return`${this.chunkId}/${this.offset}/${this.length}`;}static read(e){let r=e.readUint16(),n=e.readUint32(),i=e.readUint32();return new t(r,n,i);}write(t){t.writeUint16(this.chunkId),t.writeUint32(this.offset),t.writeUint32(this.length);}compare(t){return this.chunkId<t.chunkId?-1:this.chunkId>t.chunkId?1:this.offset<t.offset?-1:this.offset>t.offset?1:(I(this.length===t.length),0);}constructor(t,e,r){this.chunkId=t,this.offset=e,this.length=r;}};// src/code-generation/components/cms/bundled/models/DatabaseValueModel.ts\nimport{ControlType as P}from\"framer\";function R(t){if(A(t))return 0/* Null */;switch(t.type){case P.Array:return 1/* Array */;case P.Boolean:return 2/* Boolean */;case P.Color:return 3/* Color */;case P.Date:return 4/* Date */;case P.Enum:return 5/* Enum */;case P.File:return 6/* File */;case P.ResponsiveImage:return 10/* ResponsiveImage */;case P.Link:return 7/* Link */;case P.Number:return 8/* Number */;case P.Object:return 9/* Object */;case P.RichText:return 11/* RichText */;case P.String:return 12/* String */;case P.VectorSetItem:return 13/* VectorSetItem */;default:b(t);}}function q(e){let r=e.readUint16(),n=[];for(let i=0;i<r;i++){let r=t.read(e);n.push(r);}return{type:P.Array,value:n};}function _(e,r){for(let n of(e.writeUint16(r.value.length),r.value))t.write(e,n);}function D(e,r,n){let i=e.value.length,s=r.value.length;if(i<s)return -1;if(i>s)return 1;for(let s=0;s<i;s++){let i=e.value[s],a=r.value[s],o=t.compare(i,a,n);if(0!==o)return o;}return 0;}function j(t){return{type:P.Boolean,value:0!==t.readUint8()};}function C(t,e){t.writeUint8(e.value?1:0);}function J(t,e){return t.value<e.value?-1:t.value>e.value?1:0;}function V(t){return{type:P.Color,value:t.readString()};}function W(t,e){t.writeString(e.value);}function $(t,e){return t.value<e.value?-1:t.value>e.value?1:0;}function z(t){let e=t.readInt64(),r=new Date(e);return{type:P.Date,value:r.toISOString()};}function G(t,e){let r=new Date(e.value),n=r.getTime();t.writeInt64(n);}function K(t,e){let r=new Date(t.value),n=new Date(e.value);return r<n?-1:r>n?1:0;}function H(t){return{type:P.Enum,value:t.readString()};}function X(t,e){t.writeString(e.value);}function Q(t,e){return t.value<e.value?-1:t.value>e.value?1:0;}function Y(t){return{type:P.File,value:t.readString()};}function Z(t,e){t.writeString(e.value);}function tt(t,e){return t.value<e.value?-1:t.value>e.value?1:0;}function te(t){return{type:P.Link,value:t.readJson()};}function tr(t,e){t.writeJson(e.value);}function tn(t,e){let r=JSON.stringify(t.value),n=JSON.stringify(e.value);return r<n?-1:r>n?1:0;}function ti(t){return{type:P.Number,value:t.readFloat64()};}function ts(t,e){t.writeFloat64(e.value);}function ta(t,e){return t.value<e.value?-1:t.value>e.value?1:0;}function to(e){let r=e.readUint16(),n={};for(let i=0;i<r;i++){let r=e.readString();n[r]=t.read(e);}return{type:P.Object,value:n};}function tu(e,r){let n=Object.entries(r.value);for(let[r,i]of(e.writeUint16(n.length),n))e.writeString(r),t.write(e,i);}function tl(e,r,n){let i=Object.keys(e.value).sort(),s=Object.keys(r.value).sort();if(i.length<s.length)return -1;if(i.length>s.length)return 1;for(let a=0;a<i.length;a++){let o=i[a],u=s[a];if(o<u)return -1;if(o>u)return 1;let l=e.value[o]??null,h=r.value[u]??null,c=t.compare(l,h,n);if(0!==c)return c;}return 0;}function th(t){return{type:P.ResponsiveImage,value:t.readJson()};}function tc(t,e){t.writeJson(e.value);}function tf(t,e){let r=JSON.stringify(t.value),n=JSON.stringify(e.value);return r<n?-1:r>n?1:0;}function td(t){let e=t.readInt8();if(0===e)return{type:P.RichText,value:t.readUint32()};if(1===e)return{type:P.RichText,value:t.readString()};throw Error(\"Invalid rich text pointer\");}function tg(t,e){if(N(e.value)){t.writeInt8(0),t.writeUint32(e.value);return;}if(x(e.value)){t.writeInt8(1),t.writeString(e.value);return;}throw Error(\"Invalid rich text pointer\");}function tp(t,e){let r=t.value,n=e.value;if(N(r)&&N(n)||x(r)&&x(n))return r<n?-1:r>n?1:0;throw Error(\"Invalid rich text pointer\");}function tv(t){return{type:P.String,value:t.readString()};}function ty(t,e){t.writeString(e.value);}function tm(t,e,r){let n=t.value,i=e.value;return(0/* CaseInsensitive */===r.type&&(n=t.value.toLowerCase(),i=e.value.toLowerCase()),n<i)?-1:n>i?1:0;}function tw(t){return{type:P.VectorSetItem,value:t.readUint32()};}function tI(t,e){t.writeUint32(e.value);}function tb(t,e){let r=t.value,n=e.value;return r<n?-1:r>n?1:0;}(t=>{t.read=function(t){let e=t.readUint8();switch(e){case 0/* Null */:return null;case 1/* Array */:return q(t);case 2/* Boolean */:return j(t);case 3/* Color */:return V(t);case 4/* Date */:return z(t);case 5/* Enum */:return H(t);case 6/* File */:return Y(t);case 7/* Link */:return te(t);case 8/* Number */:return ti(t);case 9/* Object */:return to(t);case 10/* ResponsiveImage */:return th(t);case 11/* RichText */:return td(t);case 12/* String */:return tv(t);case 13/* VectorSetItem */:return tw(t);default:b(e);}},t.write=function(t,e){let r=R(e);if(t.writeUint8(r),!A(e))switch(e.type){case P.Array:return _(t,e);case P.Boolean:return C(t,e);case P.Color:return W(t,e);case P.Date:return G(t,e);case P.Enum:return X(t,e);case P.File:return Z(t,e);case P.Link:return tr(t,e);case P.Number:return ts(t,e);case P.Object:return tu(t,e);case P.ResponsiveImage:return tc(t,e);case P.RichText:return tg(t,e);case P.VectorSetItem:return tI(t,e);case P.String:return ty(t,e);default:b(e);}},t.compare=function(t,e,r){let n=R(t),i=R(e);if(n<i)return -1;if(n>i)return 1;if(A(t)||A(e))return 0;switch(t.type){case P.Array:return I(e.type===P.Array),D(t,e,r);case P.Boolean:return I(e.type===P.Boolean),J(t,e);case P.Color:return I(e.type===P.Color),$(t,e);case P.Date:return I(e.type===P.Date),K(t,e);case P.Enum:return I(e.type===P.Enum),Q(t,e);case P.File:return I(e.type===P.File),tt(t,e);case P.Link:return I(e.type===P.Link),tn(t,e);case P.Number:return I(e.type===P.Number),ta(t,e);case P.Object:return I(e.type===P.Object),tl(t,e,r);case P.ResponsiveImage:return I(e.type===P.ResponsiveImage),tf(t,e);case P.RichText:return I(e.type===P.RichText),tp(t,e);case P.VectorSetItem:return I(e.type===P.VectorSetItem),tb(t,e);case P.String:return I(e.type===P.String),tm(t,e,r);default:b(t);}};})(t||(t={}));// src/code-generation/components/cms/bundled/models/DatabaseDictionaryIndexModel.ts\nvar tU=class e{sortEntries(){this.entries.sort((e,r)=>{for(let n=0;n<this.fieldNames.length;n++){let i=e.values[n],s=r.values[n],a=t.compare(i,s,this.options.collation);if(0!==a)return a;}return e.pointer.compare(r.pointer);});}static deserialize(r){let n=new p(r),i=n.readJson(),s=n.readUint8(),a=[];for(let t=0;t<s;t++){let t=n.readString();a.push(t);}let o=new e(a,{collation:i}),u=n.readUint32();for(let e=0;e<u;e++){let e=[];for(let r=0;r<s;r++){let r=t.read(n);e.push(r);}let r=O.read(n);o.entries.push({values:e,pointer:r});}return o;}serialize(){let e=new F;for(let t of(e.writeJson(this.options.collation),e.writeUint8(this.fieldNames.length),this.fieldNames))e.writeString(t);for(let r of(this.sortEntries(),e.writeUint32(this.entries.length),this.entries)){let{values:n,pointer:i}=r;for(let r of n)t.write(e,r);i.write(e);}return e.subarray();}addItem(t,e){let r=this.fieldNames.map(e=>t.getField(e)??null);this.entries.push({values:r,pointer:e});}constructor(t,e){this.fieldNames=t,this.options=e,c(this,\"entries\",[]);}},tS=3,tk=250,tL=[408,// Request Timeout\n429,// Too Many Requests\n500,// Internal Server Error\n502,// Bad Gateway\n503,// Service Unavailable\n504],tB=async(t,e)=>{let r=0;for(;;){try{let n=await fetch(t,e);if(!tL.includes(n.status)||++r>tS)return n;}catch(t){if(e?.signal?.aborted||++r>tS)throw t;}await tE(r);}};async function tE(t){let e=Math.floor(tk*(Math.random()+1)*2**(t-1));await new Promise(t=>{setTimeout(t,e);});}// src/code-generation/components/cms/bundled/rangeRequest.ts\nasync function tM(t,e){let r=tx(e),n=[],i=0;for(let t of r)n.push(`${t.from}-${t.to-1}`),i+=t.to-t.from;let s=new URL(t),a=n.join(\",\");s.searchParams.set(\"range\",a);let o=await tB(s);if(200!==o.status)throw Error(`Request failed: ${o.status} ${o.statusText}`);let u=await o.arrayBuffer(),l=new Uint8Array(u);if(l.length!==i)throw Error(\"Request failed: Unexpected response length\");let h=new tT,c=0;for(let t of r){let e=t.to-t.from,r=c+e,n=l.subarray(c,r);h.write(t.from,n),c=r;}return e.map(t=>h.read(t.from,t.to-t.from));}var tT=class{read(t,e){for(let r of this.chunks){if(t<r.start)break;if(t>r.end)continue;if(t+e>r.end)break;let n=t-r.start,i=n+e;return r.data.slice(n,i);}throw Error(\"Missing data\");}write(t,e){let r=t,n=r+e.length,i=0,s=this.chunks.length;for(;i<s;i++){let t=this.chunks[i];if(I(t,\"Missing chunk\"),!(r>t.end)){if(r>t.start){let n=r-t.start,i=t.data.subarray(0,n);e=tF(i,e),r=t.start;}break;}}for(;s>i;s--){let t=this.chunks[s-1];if(I(t,\"Missing chunk\"),!(n<t.start)){if(n<t.end){let r=n-t.start,i=t.data.subarray(r);e=tF(e,i),n=t.end;}break;}}let a={start:r,end:n,data:e},o=s-i;this.chunks.splice(i,o,a);}constructor(){c(this,\"chunks\",[]);}};function tF(t,e){let r=t.length+e.length,n=new Uint8Array(r);return n.set(t,0),n.set(e,t.length),n;}function tx(t){I(t.length>0,\"Must have at least one range\");let e=[...t].sort((t,e)=>t.from-e.from),r=[];for(let t of e){let e=r.length-1,n=r[e];n&&t.from<=n.to?r[e]={from:n.from,to:Math.max(n.to,t.to)}:r.push(t);}return r;}// src/code-generation/components/cms/bundled/DatabaseDictionaryIndex.ts\nvar tN=class{async loadModel(){let[t]=await tM(this.options.url,[this.options.range]);return I(t,\"Failed to load model\"),tU.deserialize(t);}async getModel(){return this.modelPromise??=this.loadModel(),this.model??=await this.modelPromise,this.model;}async lookupItems(t){I(t.length===this.fields.length,\"Invalid query length\");let e=await this.getModel(),r=t.reduce((t,e,r)=>t.flatMap(t=>{switch(e.type){case\"All\"/* All */:return[t];case\"Equals\"/* Equals */:return this.queryEquals(t,e,r);case\"NotEquals\"/* NotEquals */:return this.queryNotEquals(t,e,r);case\"LessThan\"/* LessThan */:return this.queryLessThan(t,e,r);case\"GreaterThan\"/* GreaterThan */:return this.queryGreaterThan(t,e,r);case\"Contains\"/* Contains */:return this.queryContains(t,e,r);case\"StartsWith\"/* StartsWith */:return this.queryStartsWith(t,e,r);case\"EndsWith\"/* EndsWith */:return this.queryEndsWith(t,e,r);default:b(e);}}),[e.entries]),n=[];for(let t of r)for(let e of t){let t={};for(let r=0;r<this.options.fieldNames.length;r++){let n=this.options.fieldNames[r],i=e.values[r];t[n]=i;}n.push({pointer:e.pointer.toString(),data:t});}return n;}queryEquals(t,e,r){let n=this.getLeftMost(t,r,e.value),i=this.getRightMost(t,r,e.value),s=t.slice(n,i+1);return s.length>0?[s]:[];}queryNotEquals(t,e,r){let n=this.getLeftMost(t,r,e.value),i=this.getRightMost(t,r,e.value),s=[],a=t.slice(0,n);a.length>0&&s.push(a);let o=t.slice(i+1);return o.length>0&&s.push(o),s;}queryLessThan(t,e,r){let n=this.getRightMost(t,r,null);if(t=t.slice(n+1),e.inclusive){let n=this.getRightMost(t,r,e.value),i=t.slice(0,n+1);return i.length>0?[i]:[];}let i=this.getLeftMost(t,r,e.value),s=t.slice(0,i);return s.length>0?[s]:[];}queryGreaterThan(t,e,r){let n=this.getRightMost(t,r,null);if(t=t.slice(n+1),e.inclusive){let n=this.getLeftMost(t,r,e.value),i=t.slice(n);return i.length>0?[i]:[];}let i=this.getRightMost(t,r,e.value),s=t.slice(i+1);return s.length>0?[s]:[];}queryContains(t,e,r){return this.findItems(t,r,t=>{if(t?.type!==y.String||e.value?.type!==y.String)return!1;let r=t.value,n=e.value.value;return 0/* CaseInsensitive */===this.collation.type&&(r=r.toLowerCase(),n=n.toLowerCase()),r.includes(n);});}queryStartsWith(t,e,r){return this.findItems(t,r,t=>{if(t?.type!==y.String||e.value?.type!==y.String)return!1;let r=t.value,n=e.value.value;return 0/* CaseInsensitive */===this.collation.type&&(r=r.toLowerCase(),n=n.toLowerCase()),r.startsWith(n);});}queryEndsWith(t,e,r){return this.findItems(t,r,t=>{if(t?.type!==y.String||e.value?.type!==y.String)return!1;let r=t.value,n=e.value.value;return 0/* CaseInsensitive */===this.collation.type&&(r=r.toLowerCase(),n=n.toLowerCase()),r.endsWith(n);});}/**\n   * Returns the index of the left most entry that is equal to the target.\n   *\n   * ```text\n   *   Left most\n   *       ↓\n   * ┌───┬───┬───┬───┬───┬───┐\n   * │ 1 │ 2 │ 2 │ 2 │ 2 │ 3 │\n   * └───┴───┴───┴───┴───┴───┘\n   * ```\n   *\n   * @param entries The entries array to search in.\n   * @param position The position of the value in the entry.\n   * @param target The target value to search for.\n   * @returns The index of the left most entry that is equal to the target.\n   */getLeftMost(e,r,n){let i=0,s=e.length;for(;i<s;){let a=i+s>>1,o=e[a],u=o.values[r];0>t.compare(u,n,this.collation)?i=a+1:s=a;}return i;}/**\n   * Returns the index of the right most entry that is equal to the target.\n   *\n   * ```text\n   *              Right most\n   *                   ↓\n   * ┌───┬───┬───┬───┬───┬───┐\n   * │ 1 │ 2 │ 2 │ 2 │ 2 │ 3 │\n   * └───┴───┴───┴───┴───┴───┘\n   * ```\n   *\n   * @param entries The entries array to search in.\n   * @param position The position of the value in the entry.\n   * @param target The target value to search for.\n   * @returns The index of the right most entry that is equal to the target.\n   */getRightMost(e,r,n){let i=0,s=e.length;for(;i<s;){let a=i+s>>1,o=e[a],u=o.values[r];t.compare(u,n,this.collation)>0?s=a:i=a+1;}return s-1;}/**\n   * Finds all items that are matching the predicate and groups adjacent items together.\n   *\n   * @param entries The entries array to search in.\n   * @param position The position of the value in the entry.\n   * @param predicate The predicate to match the values against.\n   * @returns An array of chunks that match the predicate.\n   */findItems(t,e,r){let n=[],i=0;for(let s=0;s<t.length;s++){let a=t[s],o=a.values[e],u=r(o);if(!u){if(i<s){let e=t.slice(i,s);n.push(e);}i=s+1;}}if(i<t.length){let e=t.slice(i);n.push(e);}return n;}constructor(t){this.options=t,c(this,\"schema\"),c(this,\"fields\"),c(this,\"supportedLookupTypes\",[\"All\"/* All */,\"Equals\"/* Equals */,\"NotEquals\"/* NotEquals */,\"LessThan\"/* LessThan */,\"GreaterThan\"/* GreaterThan */,\"Contains\"/* Contains */,\"StartsWith\"/* StartsWith */,\"EndsWith\"/* EndsWith */]),c(this,\"modelPromise\"),c(this,\"model\"),c(this,\"collation\");let e={},r=[];for(let t of this.options.fieldNames){let n=this.options.collectionSchema[t];I(n,\"Missing definition for field\",t),e[t]=n,r.push({type:\"Identifier\",name:t});}this.schema=e,this.fields=r,this.collation=this.options.collation;}},tA=class e{static read(r){let n=new e,i=r.readUint16();for(let e=0;e<i;e++){let e=r.readString(),i=t.read(r);n.setField(e,i);}return n;}write(e){for(let[r,n]of(e.writeUint16(this.fields.size),this.fields))e.writeString(r),t.write(e,n);}getData(){let t={};for(let[e,r]of this.fields)t[e]=r;return t;}setField(t,e){this.fields.set(t,e);}getField(t){return this.fields.get(t);}constructor(){c(this,\"fields\",/* @__PURE__ */new Map);}},tO=class{scanItems(){return this.itemsPromise??=tB(this.url).then(async t=>{if(!t.ok)throw Error(`Request failed: ${t.status} ${t.statusText}`);let e=await t.arrayBuffer(),r=new Uint8Array(e),n=new p(r),i=[],s=n.readUint32();for(let t=0;t<s;t++){let t=n.getOffset(),e=tA.read(n),r=n.getOffset()-t,s=new O(this.id,t,r),a=s.toString(),o={pointer:a,data:e.getData()};this.itemLoader.prime(a,o),i.push(o);}return i;}),this.itemsPromise;}resolveItem(t){return this.itemLoader.load(t);}constructor(t,e){this.id=t,this.url=e,c(this,\"itemsPromise\"),c(this,\"itemLoader\",new d.default(async t=>{let e=t.map(t=>{let e=O.fromString(t);return{from:e.offset,to:e.offset+e.length};}),r=await tM(this.url,e);return r.map((e,r)=>{let n=new p(e),i=tA.read(n),s=t[r];return I(s,\"Missing pointer\"),{pointer:s,data:i.getData()};});}));}},tP=class{async scanItems(){let t=await Promise.all(this.chunks.map(async t=>t.scanItems()));return t.flat();}resolveItems(t){return Promise.all(t.map(t=>{let e=O.fromString(t),r=this.chunks[e.chunkId];return I(r,\"Missing chunk\"),r.resolveItem(t);}));}compareItems(t,e){let r=O.fromString(t.pointer),n=O.fromString(e.pointer);return r.compare(n);}compareValues(e,r,n){return t.compare(e,r,n);}constructor(t){this.options=t,c(this,\"id\"),c(this,\"schema\"),c(this,\"indexes\"),c(this,\"resolveRichText\"),c(this,\"resolveVectorSetItem\"),c(this,\"chunks\"),this.chunks=this.options.chunks.map((t,e)=>new tO(e,t)),this.schema=t.schema,this.indexes=t.indexes,this.resolveRichText=t.resolveRichText,this.resolveVectorSetItem=t.resolveVectorSetItem,this.id=t.id;}};export{tP as DatabaseCollection,tN as DatabaseDictionaryIndex};\nexport const __FramerMetadata__ = {\"exports\":{\"DatabaseDictionaryIndex\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DatabaseCollection\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// src/code-generation/components/cms/bundled/getRichTextJsonResolver.tsx?bundle\nimport{jsx as e}from\"react/jsx-runtime\";import{ComponentPresetsConsumer as t,Link as r,motion as n}from\"framer\";// ../../library/src/router/lazy.tsx\nimport{isValidElement as o}from\"react\";// ../../library/src/utils/utils.ts\nvar i,a=\"undefined\"!=typeof window,l=a&&\"function\"==typeof window.requestIdleCallback,u=\"preload\";function f(e){return\"object\"==typeof e&&null!==e&&!/*#__PURE__*/o(e)&&u in e;}// src/code-generation/components/cms/bundled/getRichTextJsonResolver.tsx?bundle\nimport{Fragment as c,createElement as p}from\"react\";// src/code-generation/components/cms/bundled/assert.ts\nfunction s(e,...t){if(!e)throw Error(\"Assertion Error\"+(t.length>0?\": \"+t.join(\" \"):\"\"));}// src/code-generation/components/cms/bundled/getRichTextJsonResolver.tsx?bundle\nvar m=((i=m||{})[i.Fragment=1]=\"Fragment\",i[i.Link=2]=\"Link\",i[i.Module=3]=\"Module\",i[i.Tag=4]=\"Tag\",i[i.Text=5]=\"Text\",i);function d(o){let i=/* @__PURE__ */new Map;return a=>{let l=i.get(a);if(l)return l;let u=JSON.parse(a),m=function i(a){switch(a[0]){case 1/* Fragment */:{let[,...e]=a,t=e.map(i);return /*#__PURE__*/p(c,void 0,...t);}case 2/* Link */:{let[,e,...t]=a,n=t.map(i);return /*#__PURE__*/p(r,e,...n);}case 3/* Module */:{let[,r,n,l]=a;for(let e of l){let t=n[e];t&&(n[e]=i(t));}let u=o[r];return s(u,\"Module not found\"),f(u)&&u.preload(),/*#__PURE__*/e(t,{componentIdentifier:r,children:t=>/*#__PURE__*/e(u,{...t,...n})});}case 4/* Tag */:{let[,e,t,...r]=a,o=r.map(i);if(\"a\"===e)return /*#__PURE__*/p(n.a,t,...o);return /*#__PURE__*/p(e,t,...o);}case 5/* Text */:{let[,e]=a;return e;}}}(u);return i.set(a,m),m;};}export{m as RichTextJsonType,d as getRichTextJsonResolver};\nexport const __FramerMetadata__ = {\"exports\":{\"getRichTextJsonResolver\":{\"type\":\"reactComponent\",\"name\":\"getRichTextJsonResolver\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"RichTextJsonType\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (77d7dc9)\nimport{addPropertyControls as e,ControlType as l,QueryEngine as t}from\"framer\";import{DatabaseCollection as a,DatabaseDictionaryIndex as r}from\"./M8vD63_fq-0.js\";import{getRichTextJsonResolver as i}from\"./M8vD63_fq-1.js\";let m={BsExaMoXj:{isNullable:!0,type:l.String},CJNmK92az:{isNullable:!0,type:l.ResponsiveImage},createdAt:{isNullable:!0,type:l.Date},D8Ub86F6p:{isNullable:!0,type:l.String},epRVGF9ev:{isNullable:!0,type:l.String},F2FrDj38R:{isNullable:!0,type:l.String},fhfnGNe_U:{isNullable:!0,type:l.String},id:{isNullable:!1,type:l.String},iX7RBU3em:{isNullable:!0,type:l.String},j3Qq4tiRR:{isNullable:!0,type:l.String},jHrJTpNde:{isNullable:!0,type:l.String},JUgCGlWbg:{isNullable:!0,type:l.ResponsiveImage},ltBHHhsFy:{isNullable:!0,type:l.String},n6iIdSnPI:{isNullable:!0,type:l.RichText},nextItemId:{isNullable:!0,type:l.String},nXPhsMiip:{isNullable:!0,type:l.String},previousItemId:{isNullable:!0,type:l.String},qzNcqlE1h:{isNullable:!0,type:l.String},Sk0cuMpTv:{isNullable:!0,type:l.String},sRrrcpoP3:{isNullable:!0,type:l.ResponsiveImage},ULl7bCSwK:{isNullable:!0,type:l.String},updatedAt:{isNullable:!0,type:l.Date},XOcFWhSm_:{isNullable:!0,type:l.String},Z_WDYswKn:{isNullable:!0,type:l.ResponsiveImage},zuqd5_QvZ:{isNullable:!0,type:l.String}},o=[\"id\"],n={type:1},c=[\"previousItemId\"],f=[\"nextItemId\"],s=[\"id\",\"fhfnGNe_U\"],u=[\"fhfnGNe_U\",\"id\"],d=[\"qzNcqlE1h\"],p={type:0},g=[\"fhfnGNe_U\"],h=[\"j3Qq4tiRR\"],y=[\"ltBHHhsFy\"],S=[\"BsExaMoXj\"],N=[\"JUgCGlWbg\"],w=[\"Z_WDYswKn\"],R=[\"sRrrcpoP3\"],v=[\"CJNmK92az\"],D=[\"ULl7bCSwK\"],U=[\"F2FrDj38R\"],_=[\"D8Ub86F6p\"],q=[\"zuqd5_QvZ\"],I=[\"n6iIdSnPI\"],M=[\"jHrJTpNde\"],b=[\"XOcFWhSm_\"],x=[\"Sk0cuMpTv\"],L=[\"nXPhsMiip\"],V=[\"epRVGF9ev\"],F=[\"iX7RBU3em\"],C=[],P=e=>{let l=C[e];if(l)return l().then(e=>e.default);},j={},B=i(j),G=new t,T={collectionByLocaleId:{default:new a({chunks:[new URL(\"./M8vD63_fq-chunk-default-0.framercms\",\"https://framerusercontent.com/modules/EWofKiYrsvgF1Ehu1q93/dyum7DQY42M4U1m5uMQa/M8vD63_fq.js\").href.replace(\"/modules/\",\"/cms/\")],id:\"493c522f-6711-42cb-be37-dd2ac91c98aadefault\",indexes:[new r({collation:n,collectionSchema:m,fieldNames:o,range:{from:0,to:361},url:new URL(\"./M8vD63_fq-indexes-default-0.framercms\",\"https://framerusercontent.com/modules/EWofKiYrsvgF1Ehu1q93/dyum7DQY42M4U1m5uMQa/M8vD63_fq.js\").href.replace(\"/modules/\",\"/cms/\")}),new r({collation:n,collectionSchema:m,fieldNames:c,range:{from:361,to:721},url:new URL(\"./M8vD63_fq-indexes-default-0.framercms\",\"https://framerusercontent.com/modules/EWofKiYrsvgF1Ehu1q93/dyum7DQY42M4U1m5uMQa/M8vD63_fq.js\").href.replace(\"/modules/\",\"/cms/\")}),new r({collation:n,collectionSchema:m,fieldNames:f,range:{from:721,to:1077},url:new URL(\"./M8vD63_fq-indexes-default-0.framercms\",\"https://framerusercontent.com/modules/EWofKiYrsvgF1Ehu1q93/dyum7DQY42M4U1m5uMQa/M8vD63_fq.js\").href.replace(\"/modules/\",\"/cms/\")}),new r({collation:n,collectionSchema:m,fieldNames:s,range:{from:1077,to:1903},url:new URL(\"./M8vD63_fq-indexes-default-0.framercms\",\"https://framerusercontent.com/modules/EWofKiYrsvgF1Ehu1q93/dyum7DQY42M4U1m5uMQa/M8vD63_fq.js\").href.replace(\"/modules/\",\"/cms/\")}),new r({collation:n,collectionSchema:m,fieldNames:u,range:{from:1903,to:2729},url:new URL(\"./M8vD63_fq-indexes-default-0.framercms\",\"https://framerusercontent.com/modules/EWofKiYrsvgF1Ehu1q93/dyum7DQY42M4U1m5uMQa/M8vD63_fq.js\").href.replace(\"/modules/\",\"/cms/\")}),new r({collation:p,collectionSchema:m,fieldNames:d,range:{from:2729,to:3367},url:new URL(\"./M8vD63_fq-indexes-default-0.framercms\",\"https://framerusercontent.com/modules/EWofKiYrsvgF1Ehu1q93/dyum7DQY42M4U1m5uMQa/M8vD63_fq.js\").href.replace(\"/modules/\",\"/cms/\")}),new r({collation:p,collectionSchema:m,fieldNames:g,range:{from:3367,to:3991},url:new URL(\"./M8vD63_fq-indexes-default-0.framercms\",\"https://framerusercontent.com/modules/EWofKiYrsvgF1Ehu1q93/dyum7DQY42M4U1m5uMQa/M8vD63_fq.js\").href.replace(\"/modules/\",\"/cms/\")}),new r({collation:p,collectionSchema:m,fieldNames:h,range:{from:3991,to:4415},url:new URL(\"./M8vD63_fq-indexes-default-0.framercms\",\"https://framerusercontent.com/modules/EWofKiYrsvgF1Ehu1q93/dyum7DQY42M4U1m5uMQa/M8vD63_fq.js\").href.replace(\"/modules/\",\"/cms/\")}),new r({collation:p,collectionSchema:m,fieldNames:y,range:{from:4415,to:5285},url:new URL(\"./M8vD63_fq-indexes-default-0.framercms\",\"https://framerusercontent.com/modules/EWofKiYrsvgF1Ehu1q93/dyum7DQY42M4U1m5uMQa/M8vD63_fq.js\").href.replace(\"/modules/\",\"/cms/\")}),new r({collation:p,collectionSchema:m,fieldNames:S,range:{from:5285,to:6091},url:new URL(\"./M8vD63_fq-indexes-default-0.framercms\",\"https://framerusercontent.com/modules/EWofKiYrsvgF1Ehu1q93/dyum7DQY42M4U1m5uMQa/M8vD63_fq.js\").href.replace(\"/modules/\",\"/cms/\")}),new r({collation:p,collectionSchema:m,fieldNames:N,range:{from:6091,to:11696},url:new URL(\"./M8vD63_fq-indexes-default-0.framercms\",\"https://framerusercontent.com/modules/EWofKiYrsvgF1Ehu1q93/dyum7DQY42M4U1m5uMQa/M8vD63_fq.js\").href.replace(\"/modules/\",\"/cms/\")}),new r({collation:p,collectionSchema:m,fieldNames:w,range:{from:11696,to:13433},url:new URL(\"./M8vD63_fq-indexes-default-0.framercms\",\"https://framerusercontent.com/modules/EWofKiYrsvgF1Ehu1q93/dyum7DQY42M4U1m5uMQa/M8vD63_fq.js\").href.replace(\"/modules/\",\"/cms/\")}),new r({collation:p,collectionSchema:m,fieldNames:R,range:{from:13433,to:15058},url:new URL(\"./M8vD63_fq-indexes-default-0.framercms\",\"https://framerusercontent.com/modules/EWofKiYrsvgF1Ehu1q93/dyum7DQY42M4U1m5uMQa/M8vD63_fq.js\").href.replace(\"/modules/\",\"/cms/\")}),new r({collation:p,collectionSchema:m,fieldNames:v,range:{from:15058,to:15608},url:new URL(\"./M8vD63_fq-indexes-default-0.framercms\",\"https://framerusercontent.com/modules/EWofKiYrsvgF1Ehu1q93/dyum7DQY42M4U1m5uMQa/M8vD63_fq.js\").href.replace(\"/modules/\",\"/cms/\")}),new r({collation:p,collectionSchema:m,fieldNames:D,range:{from:15608,to:15927},url:new URL(\"./M8vD63_fq-indexes-default-0.framercms\",\"https://framerusercontent.com/modules/EWofKiYrsvgF1Ehu1q93/dyum7DQY42M4U1m5uMQa/M8vD63_fq.js\").href.replace(\"/modules/\",\"/cms/\")}),new r({collation:p,collectionSchema:m,fieldNames:U,range:{from:15927,to:16287},url:new URL(\"./M8vD63_fq-indexes-default-0.framercms\",\"https://framerusercontent.com/modules/EWofKiYrsvgF1Ehu1q93/dyum7DQY42M4U1m5uMQa/M8vD63_fq.js\").href.replace(\"/modules/\",\"/cms/\")}),new r({collation:p,collectionSchema:m,fieldNames:_,range:{from:16287,to:16797},url:new URL(\"./M8vD63_fq-indexes-default-0.framercms\",\"https://framerusercontent.com/modules/EWofKiYrsvgF1Ehu1q93/dyum7DQY42M4U1m5uMQa/M8vD63_fq.js\").href.replace(\"/modules/\",\"/cms/\")}),new r({collation:p,collectionSchema:m,fieldNames:q,range:{from:16797,to:17374},url:new URL(\"./M8vD63_fq-indexes-default-0.framercms\",\"https://framerusercontent.com/modules/EWofKiYrsvgF1Ehu1q93/dyum7DQY42M4U1m5uMQa/M8vD63_fq.js\").href.replace(\"/modules/\",\"/cms/\")}),new r({collation:p,collectionSchema:m,fieldNames:I,range:{from:17374,to:26344},url:new URL(\"./M8vD63_fq-indexes-default-0.framercms\",\"https://framerusercontent.com/modules/EWofKiYrsvgF1Ehu1q93/dyum7DQY42M4U1m5uMQa/M8vD63_fq.js\").href.replace(\"/modules/\",\"/cms/\")}),new r({collation:p,collectionSchema:m,fieldNames:M,range:{from:26344,to:26982},url:new URL(\"./M8vD63_fq-indexes-default-0.framercms\",\"https://framerusercontent.com/modules/EWofKiYrsvgF1Ehu1q93/dyum7DQY42M4U1m5uMQa/M8vD63_fq.js\").href.replace(\"/modules/\",\"/cms/\")}),new r({collation:p,collectionSchema:m,fieldNames:b,range:{from:26982,to:34502},url:new URL(\"./M8vD63_fq-indexes-default-0.framercms\",\"https://framerusercontent.com/modules/EWofKiYrsvgF1Ehu1q93/dyum7DQY42M4U1m5uMQa/M8vD63_fq.js\").href.replace(\"/modules/\",\"/cms/\")}),new r({collation:p,collectionSchema:m,fieldNames:x,range:{from:34502,to:34754},url:new URL(\"./M8vD63_fq-indexes-default-0.framercms\",\"https://framerusercontent.com/modules/EWofKiYrsvgF1Ehu1q93/dyum7DQY42M4U1m5uMQa/M8vD63_fq.js\").href.replace(\"/modules/\",\"/cms/\")}),new r({collation:p,collectionSchema:m,fieldNames:L,range:{from:34754,to:34996},url:new URL(\"./M8vD63_fq-indexes-default-0.framercms\",\"https://framerusercontent.com/modules/EWofKiYrsvgF1Ehu1q93/dyum7DQY42M4U1m5uMQa/M8vD63_fq.js\").href.replace(\"/modules/\",\"/cms/\")}),new r({collation:p,collectionSchema:m,fieldNames:V,range:{from:34996,to:35238},url:new URL(\"./M8vD63_fq-indexes-default-0.framercms\",\"https://framerusercontent.com/modules/EWofKiYrsvgF1Ehu1q93/dyum7DQY42M4U1m5uMQa/M8vD63_fq.js\").href.replace(\"/modules/\",\"/cms/\")}),new r({collation:p,collectionSchema:m,fieldNames:F,range:{from:35238,to:35698},url:new URL(\"./M8vD63_fq-indexes-default-0.framercms\",\"https://framerusercontent.com/modules/EWofKiYrsvgF1Ehu1q93/dyum7DQY42M4U1m5uMQa/M8vD63_fq.js\").href.replace(\"/modules/\",\"/cms/\")})],resolveRichText:B,resolveVectorSetItem:P,schema:m})},displayName:\"Shop\",id:\"493c522f-6711-42cb-be37-dd2ac91c98aa\"};export default T;e(T,{qzNcqlE1h:{defaultValue:\"\",title:\"Title\",type:l.String},fhfnGNe_U:{preventLocalization:!1,title:\"Slug\",type:l.String},j3Qq4tiRR:{defaultValue:\"\",title:\"Product ID\",type:l.String},ltBHHhsFy:{defaultValue:\"\",title:\"Variants\",type:l.String},BsExaMoXj:{defaultValue:\"\",title:\"Image Variant IDs\",type:l.String},JUgCGlWbg:{title:\"Image 1\",type:l.ResponsiveImage},Z_WDYswKn:{title:\"Image 2\",type:l.ResponsiveImage},sRrrcpoP3:{title:\"Image 3\",type:l.ResponsiveImage},CJNmK92az:{title:\"Image 4\",type:l.ResponsiveImage},ULl7bCSwK:{defaultValue:\"\",title:\"Price\",type:l.String},F2FrDj38R:{defaultValue:\"\",title:\"Product Type\",type:l.String},D8Ub86F6p:{defaultValue:\"\",title:\"Collections\",type:l.String},zuqd5_QvZ:{defaultValue:\"\",title:\"Product Tags\",type:l.String},n6iIdSnPI:{defaultValue:\"\",title:\"Description\",type:l.RichText},jHrJTpNde:{defaultValue:\"\",title:\"SEO Title\",type:l.String},XOcFWhSm_:{defaultValue:\"\",title:\"SEO Description\",type:l.String},Sk0cuMpTv:{defaultValue:\"\",title:\"Compare Price\",type:l.String},nXPhsMiip:{defaultValue:\"\",title:\"custom.material\",type:l.String},epRVGF9ev:{defaultValue:\"\",title:\"custom.warranty\",type:l.String},iX7RBU3em:{defaultValue:\"\",title:\"custom.care\",type:l.String},createdAt:{title:\"Created\",type:l.Date},updatedAt:{title:\"Updated\",type:l.Date},previousItemId:{dataIdentifier:\"local-module:collection/M8vD63_fq:default\",title:\"Previous\",type:l.CollectionReference},nextItemId:{dataIdentifier:\"local-module:collection/M8vD63_fq:default\",title:\"Next\",type:l.CollectionReference}});export const enumToDisplayNameFunctions={};export const utils={async getSlugByRecordId(e,l){let[t]=await G.query({from:{data:T,type:\"Collection\"},limit:{type:\"LiteralValue\",value:1},select:[{name:\"fhfnGNe_U\",type:\"Identifier\"}],where:{left:{name:\"id\",type:\"Identifier\"},operator:\"==\",right:{type:\"LiteralValue\",value:e},type:\"BinaryOperation\"}},l);return t?.fhfnGNe_U;},async getRecordIdBySlug(e,l){let[t]=await G.query({from:{data:T,type:\"Collection\"},limit:{type:\"LiteralValue\",value:1},select:[{name:\"id\",type:\"Identifier\"}],where:{left:{name:\"fhfnGNe_U\",type:\"Identifier\"},operator:\"==\",right:{type:\"LiteralValue\",value:e},type:\"BinaryOperation\"}},l);return t?.id;}};\nexport const __FramerMetadata__ = {\"exports\":{\"utils\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"enumToDisplayNameFunctions\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"data\",\"name\":\"data\",\"annotations\":{\"framerSlug\":\"fhfnGNe_U\",\"framerContractVersion\":\"1\",\"framerRecordIdKey\":\"id\",\"framerAutoSizeImages\":\"true\",\"framerCollectionId\":\"M8vD63_fq\",\"framerCollectionUtils\":\"1\",\"framerData\":\"true\",\"framerColorSyntax\":\"false\",\"framerEnumToDisplayNameUtils\":\"2\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (5940525)\nexport default function metadata(params,activeLocale){return{customHTMLHeadEnd:'<!-- Plugin: ced618 --> <script>\\n    (function() {\\n      // Initialize shopXtools with version first\\n      window.shopXtools = window.shopXtools || {};\\n\\n      window.shopXtools.version = \"2.4\";\\n\\n      // ============================================================\\n      // FC Privacy & Consent Management\\n      // ============================================================\\n  \\n      window.FCConsentManager = {\\n        isBannerPresent: function() {\\n          // Check for Framer Cookie Banner presence by looking for framerCookiesConsentMode\\n          if (typeof window !== \\'undefined\\' && typeof localStorage !== \\'undefined\\') {\\n            try {\\n              const framerConsent = localStorage.getItem(\\'framerCookiesConsentMode\\');\\n              return !!framerConsent;\\n            } catch (e) {\\n              // localStorage access error - assume no banner\\n              return false;\\n            }\\n          }\\n\\n          return false;\\n        },\\n\\n        getConsent: function() {\\n          const bannerDetected = this.isBannerPresent();\\n\\n          if (!bannerDetected) {\\n            // No banner = pass the GDPR compliance decision to the project owner\\n            return {\\n              necessary: true,\\n              analytics: true,\\n              marketing: true,\\n              preferences: true,\\n              bannerDetected: false,\\n            };\\n          }\\n\\n          // Check if user has interacted with Framer Cookie Banner\\n          // framerCookiesDismissed is set when user clicks accept OR reject\\n          try {\\n            const dismissed = localStorage.getItem(\\'framerCookiesDismissed\\');\\n\\n            if (!dismissed || dismissed === \\'false\\') {\\n              // User hasn\\'t interacted with banner yet - deny all tracking\\n              return {\\n                necessary: true,\\n                analytics: false,\\n                marketing: false,\\n                preferences: false,\\n                bannerDetected: true,\\n              };\\n            }\\n\\n            // User has interacted - read their consent choices\\n            const framerConsent = localStorage.getItem(\\'framerCookiesConsentMode\\');\\n            if (framerConsent) {\\n              const consent = JSON.parse(framerConsent);\\n              return {\\n                necessary: consent.necessary === true,\\n                analytics: consent.analytics === true,\\n                marketing: consent.marketing === true,\\n                preferences: consent.preferences === true,\\n                bannerDetected: true,\\n              };\\n            }\\n          } catch (e) {\\n            console.warn(\\'[FC Privacy] Error reading framerCookiesConsentMode:\\', e);\\n          }\\n\\n          // If banner detected but localStorage empty = user hasn\\'t interacted yet\\n          // Default to DENIED (don\\'t use google_tag_data as it may be polluted by GA4)\\n          if (bannerDetected && !localStorage.getItem(\\'framerCookiesConsentMode\\')) {\\n            return {\\n              necessary: true,\\n              analytics: false,\\n              marketing: false,\\n              preferences: false,\\n              bannerDetected: true,\\n            };\\n          }\\n\\n          // Fallback to google_tag_data.ics.entries (only if we have localStorage)\\n          const entries = window.google_tag_data?.ics?.entries || {};\\n\\n          // Helper to extract consent value from the nested structure\\n          const getConsentValue = function(entry) {\\n            if (!entry) return \\'denied\\';\\n            if (typeof entry === \\'string\\') return entry;\\n            if (entry.update !== undefined) return entry.update;\\n            if (entry.initial !== undefined) return entry.initial;\\n            if (entry.default !== undefined) return entry.default;\\n            return \\'denied\\';\\n          };\\n\\n          return {\\n            necessary: getConsentValue(entries.security_storage) === \\'granted\\',\\n            analytics: getConsentValue(entries.analytics_storage) === \\'granted\\',\\n            marketing: getConsentValue(entries.ad_storage) === \\'granted\\',\\n            preferences: getConsentValue(entries.functionality_storage) === \\'granted\\',\\n            bannerDetected: true,\\n          };\\n        },\\n\\n        canTrackAnalytics: function() {\\n          return this.getConsent().analytics;\\n        },\\n\\n        canTrackMarketing: function() {\\n          return this.getConsent().marketing;\\n        },\\n\\n        canStorePreferences: function() {\\n          return this.getConsent().preferences;\\n        },\\n\\n        hasNecessaryConsent: function() {\\n          return this.getConsent().necessary;\\n        },\\n\\n        logConsentState: function() {\\n          const consent = this.getConsent();\\n\\n          console.group(\\'[FC Privacy] Consent State\\');\\n\\n          // Current consent state\\n          console.log(\\'Current Consent:\\', consent);\\n\\n          // Show tracking status\\n          console.log(\\'Tracking Status:\\', {\\n            GA4_initialized: !!window.__fcGAInitialized,\\n            MetaPixel_initialized: !!window.__fcMetaPixelInitialized,\\n            Shopify_sync_initialized: !!window.__FCShopifySyncInitialized\\n          });\\n\\n          // Listener info\\n          console.log(\\'Active Listeners:\\', this._listeners.length);\\n\\n          console.groupEnd();\\n        },\\n\\n        logShopifySync: function() {\\n          console.group(\\'[FC Privacy] Shopify Sync Debug\\');\\n          console.log(\\'1. Sync initialized:\\', !!window.__FCShopifySyncInitialized);\\n          console.log(\\'2. Can share cookies:\\', window.FCDomainValidator.canShareCookies());\\n          console.log(\\'3. Checkout URL:\\', window.shopXtools?.cart?.checkoutUrl || \\'N/A\\');\\n          console.log(\\'4. Current domain:\\', window.location.hostname);\\n\\n          const checkoutUrl = window.shopXtools?.cart?.checkoutUrl;\\n          if (checkoutUrl) {\\n            try {\\n              console.log(\\'5. Checkout domain:\\', new URL(checkoutUrl).hostname);\\n            } catch(e) {\\n              console.log(\\'5. Checkout domain: Invalid URL\\');\\n            }\\n          } else {\\n            console.log(\\'5. Checkout domain: N/A\\');\\n          }\\n\\n          console.log(\\'6. Root domain:\\', window.FCDomainValidator.extractRootDomain(window.location.hostname));\\n          console.log(\\'7. window.Shopify exists:\\', typeof window.Shopify !== \\'undefined\\');\\n          console.log(\\'8. Script element exists:\\', !!document.querySelector(\\'script[src*=\"consent-tracking-api\"]\\'));\\n\\n          // Domain compatibility check\\n          if (checkoutUrl && !window.FCDomainValidator.canShareCookies()) {\\n            console.warn(\\'Domain mismatch: Shopify Privacy API cannot sync consent between different root domains\\');\\n            console.warn(\\'Framer domain:\\', window.location.hostname);\\n            console.warn(\\'Checkout domain:\\', new URL(checkoutUrl).hostname);\\n            console.warn(\\'Solution: Use a custom domain on the same root domain as your Shopify checkout\\');\\n          }\\n\\n          console.groupEnd();\\n        },\\n\\n\\n        // Event listener support\\n        _listeners: [],\\n        _initialized: false,\\n        _eventHandlers: {},\\n        _originalDataLayerPush: null,\\n        _pollInterval: null,\\n\\n        onConsentChange: function(callback) {\\n          if (typeof callback !== \\'function\\') return function() {};\\n\\n          // Add callback to listeners\\n          this._listeners.push(callback);\\n\\n          // Initialize listeners on first call\\n          if (!this._initialized) {\\n            this._initializeListeners();\\n            this._initialized = true;\\n          }\\n\\n          // Return unsubscribe function\\n          const self = this;\\n          return function() {\\n            self._listeners = self._listeners.filter(function(cb) { return cb !== callback; });\\n\\n            // Clean up global listeners if no more callbacks\\n            if (self._listeners.length === 0) {\\n              self._cleanupListeners();\\n            }\\n          };\\n        },\\n\\n        _initializeListeners: function() {\\n          const self = this;\\n\\n          // Store handler references for cleanup\\n          this._eventHandlers.cookieConsentUpdate = function() {\\n            self._notifyListeners();\\n          };\\n\\n          this._eventHandlers.storageChange = function(e) {\\n            if (e.key === \\'framerCookiesConsentMode\\') {\\n              self._notifyListeners();\\n            }\\n          };\\n\\n          // Listen for events\\n          window.addEventListener(\\'cookie_consent_update\\', this._eventHandlers.cookieConsentUpdate);\\n          window.addEventListener(\\'storage\\', this._eventHandlers.storageChange);\\n\\n          // Poll localStorage for changes (storage event doesn\\'t fire in same tab)\\n          let lastConsentValue = localStorage.getItem(\\'framerCookiesConsentMode\\');\\n          let lastDismissedValue = localStorage.getItem(\\'framerCookiesDismissed\\');\\n          this._pollInterval = setInterval(function() {\\n            const currentConsent = localStorage.getItem(\\'framerCookiesConsentMode\\');\\n            const currentDismissed = localStorage.getItem(\\'framerCookiesDismissed\\');\\n\\n            // Notify if either value changes\\n            if (currentConsent !== lastConsentValue || currentDismissed !== lastDismissedValue) {\\n              lastConsentValue = currentConsent;\\n              lastDismissedValue = currentDismissed;\\n              self._notifyListeners();\\n            }\\n          }, 200);\\n\\n          // Monitor dataLayer for consent updates\\n          if (window.dataLayer && !this._originalDataLayerPush) {\\n            this._originalDataLayerPush = window.dataLayer.push;\\n            window.dataLayer.push = function() {\\n              const result = self._originalDataLayerPush.apply(window.dataLayer, arguments);\\n\\n              for (let i = 0; i < arguments.length; i++) {\\n                const data = arguments[i];\\n\\n                if (Array.isArray(data) && data.length >= 2 && data[0] === \\'consent\\') {\\n                  setTimeout(function() { self._notifyListeners(); }, 100);\\n                  break;\\n                }\\n\\n                if (data && typeof data === \\'object\\' && !Array.isArray(data)) {\\n                  if (\\'analytics_storage\\' in data || \\'ad_storage\\' in data) {\\n                    setTimeout(function() { self._notifyListeners(); }, 100);\\n                    break;\\n                  }\\n                }\\n              }\\n\\n              return result;\\n            };\\n          }\\n        },\\n\\n        _cleanupListeners: function() {\\n          // Remove event listeners\\n          if (this._eventHandlers.cookieConsentUpdate) {\\n            window.removeEventListener(\\'cookie_consent_update\\', this._eventHandlers.cookieConsentUpdate);\\n          }\\n\\n          if (this._eventHandlers.storageChange) {\\n            window.removeEventListener(\\'storage\\', this._eventHandlers.storageChange);\\n          }\\n\\n          // Clear polling interval\\n          if (this._pollInterval) {\\n            clearInterval(this._pollInterval);\\n            this._pollInterval = null;\\n          }\\n\\n          // Restore original dataLayer.push\\n          if (window.dataLayer && this._originalDataLayerPush) {\\n            window.dataLayer.push = this._originalDataLayerPush;\\n            this._originalDataLayerPush = null;\\n          }\\n\\n          // Reset state\\n          this._eventHandlers = {};\\n          this._initialized = false;\\n        },\\n\\n        _notifyListeners: function() {\\n          const consent = this.getConsent();\\n\\n          this._listeners.forEach(function(callback) {\\n            try {\\n              callback(consent);\\n            } catch (error) {\\n              console.error(\\'[FC Privacy] Error in consent change listener:\\', error);\\n            }\\n          });\\n        },\\n      };\\n\\n      // Auto-initialize consent monitoring\\n      (function() {\\n        window.FCConsentManager.onConsentChange(function() {\\n          // Silent listener to initialize the system\\n        });\\n      })();\\n\\n      // DomainValidator: Checks if Framer and Shopify domains can share cookies\\n      window.FCDomainValidator = {\\n        extractRootDomain: function(hostname) {\\n          try {\\n            const parts = hostname.toLowerCase().split(\\'.\\');\\n            if (parts.length <= 1) return hostname;\\n\\n            const multiPartTLDs = [\\'co.uk\\', \\'co.nz\\', \\'co.za\\', \\'com.au\\', \\'com.br\\'];\\n            const lastTwo = parts.slice(-2).join(\\'.\\');\\n            if (multiPartTLDs.indexOf(lastTwo) !== -1) {\\n              return parts.slice(-3).join(\\'.\\');\\n            }\\n\\n            return parts.slice(-2).join(\\'.\\');\\n          } catch (e) {\\n            return hostname;\\n          }\\n        },\\n\\n        areDomainsAligned: function(url1, url2) {\\n          try {\\n            const hostname1 = new URL(url1).hostname;\\n            const hostname2 = new URL(url2).hostname;\\n            const root1 = this.extractRootDomain(hostname1);\\n            const root2 = this.extractRootDomain(hostname2);\\n            return root1 === root2 && root1 !== \\'\\';\\n          } catch (e) {\\n            return false;\\n          }\\n        },\\n\\n        canShareCookies: function() {\\n          const framerDomain = window.location.href;\\n          const checkoutUrl = window.shopXtools?.cart?.checkoutUrl;\\n          if (!checkoutUrl) return false;\\n          return this.areDomainsAligned(framerDomain, checkoutUrl);\\n        },\\n\\n        logDomainInfo: function() {\\n          const framerDomain = window.location.hostname;\\n          const checkoutUrl = window.shopXtools?.cart?.checkoutUrl;\\n          const canSync = this.canShareCookies();\\n\\n          console.log(\\'[FC Privacy] Domain Status:\\', {\\n            framer: framerDomain,\\n            checkout: checkoutUrl ? new URL(checkoutUrl).hostname : \\'N/A\\',\\n            canSync: canSync ? \\'✓ Aligned\\' : \\'✗ Not aligned\\',\\n          });\\n        },\\n      };\\n\\n      // Initialize store configuration\\n      const fcConfigs = {\\n        storefrontDomain: \"grazing-creations-2.myshopify.com\",\\n        storefrontAccessToken: \"e6870af3f13ffba5a68fa18d5c19986c\",\\n      };\\n\\n      const CURRENCIES = {\"AED\":\"د.إ\",\"AFN\":\"Af\",\"ALL\":\"L\",\"AMD\":\"֏\",\"ANG\":\"ƒ\",\"AOA\":\"Kz\",\"ARS\":\"$\",\"AUD\":\"$\",\"AWG\":\"ƒ\",\"AZN\":\"₼\",\"BAM\":\"KM\",\"BBD\":\"$\",\"BDT\":\"৳\",\"BGN\":\"лв\",\"BHD\":\"د.ب\",\"BIF\":\"FBu\",\"BMD\":\"$\",\"BND\":\"$\",\"BOB\":\"Bs.\",\"BRL\":\"R$\",\"BSD\":\"$\",\"BTN\":\"Nu.\",\"BWP\":\"P\",\"BYN\":\"Br\",\"BZD\":\"BZ$\",\"CAD\":\"$\",\"CDF\":\"FC\",\"CHF\":\"Fr\",\"CLP\":\"$\",\"CNY\":\"\\xa5\",\"COP\":\"$\",\"CRC\":\"₡\",\"CVE\":\"$\",\"CZK\":\"Kč\",\"DJF\":\"Fdj\",\"DKK\":\"kr\",\"DOP\":\"RD$\",\"DZD\":\"د.ج\",\"EGP\":\"\\xa3\",\"ERN\":\"Nfk\",\"ETB\":\"Br\",\"EUR\":\"€\",\"FJD\":\"$\",\"FKP\":\"\\xa3\",\"GBP\":\"\\xa3\",\"GEL\":\"₾\",\"GHS\":\"₵\",\"GIP\":\"\\xa3\",\"GMD\":\"D\",\"GNF\":\"FG\",\"GTQ\":\"Q\",\"GYD\":\"$\",\"HKD\":\"$\",\"HNL\":\"L\",\"HRK\":\"kn\",\"HTG\":\"G\",\"HUF\":\"Ft\",\"IDR\":\"Rp\",\"ILS\":\"₪\",\"INR\":\"₹\",\"IQD\":\"ع.د\",\"IRR\":\"﷼\",\"ISK\":\"kr\",\"JEP\":\"\\xa3\",\"JMD\":\"J$\",\"JOD\":\"د.ا\",\"JPY\":\"\\xa5\",\"KES\":\"KSh\",\"KGS\":\"сом\",\"KHR\":\"៛\",\"KID\":\"$\",\"KMF\":\"CF\",\"KRW\":\"₩\",\"KWD\":\"د.ك\",\"KYD\":\"$\",\"KZT\":\"₸\",\"LAK\":\"₭\",\"LBP\":\"\\xa3\",\"LKR\":\"රු\",\"LRD\":\"$\",\"LSL\":\"L\",\"LTL\":\"Lt\",\"LVL\":\"Ls\",\"LYD\":\"ل.د\",\"MAD\":\"د.م.\",\"MDL\":\"MDL\",\"MGA\":\"Ar\",\"MKD\":\"ден\",\"MMK\":\"Ks\",\"MNT\":\"₮\",\"MOP\":\"MOP$\",\"MRU\":\"UM\",\"MUR\":\"₨\",\"MVR\":\"ރ\",\"MWK\":\"MK\",\"MXN\":\"$\",\"MYR\":\"RM\",\"MZN\":\"MT\",\"NAD\":\"$\",\"NGN\":\"₦\",\"NIO\":\"C$\",\"NOK\":\"kr\",\"NPR\":\"रू\",\"NZD\":\"$\",\"OMR\":\"ر.ع.\",\"PAB\":\"B/.\",\"PEN\":\"S/.\",\"PGK\":\"K\",\"PHP\":\"₱\",\"PKR\":\"₨\",\"PLN\":\"zł\",\"PYG\":\"₲\",\"QAR\":\"ر.ق\",\"RON\":\"lei\",\"RSD\":\"Дин.\",\"RUB\":\"₽\",\"RWF\":\"FRw\",\"SAR\":\"ر.س\",\"SBD\":\"$\",\"SCR\":\"₨\",\"SDG\":\"ج.س.\",\"SEK\":\"kr\",\"SGD\":\"$\",\"SHP\":\"\\xa3\",\"SLL\":\"Le\",\"SOS\":\"Sh\",\"SRD\":\"$\",\"SSP\":\"\\xa3\",\"STN\":\"Db\",\"SYP\":\"\\xa3\",\"SZL\":\"E\",\"THB\":\"฿\",\"TJS\":\"ЅМ\",\"TMT\":\"T\",\"TND\":\"د.ت\",\"TOP\":\"T$\",\"TRY\":\"₺\",\"TTD\":\"TT$\",\"TWD\":\"NT$\",\"TZS\":\"TSh\",\"UAH\":\"₴\",\"UGX\":\"USh\",\"USD\":\"$\",\"UYU\":\"$\",\"UZS\":\"so\\'m\",\"VED\":\"Bs.S.\",\"VES\":\"Bs.\",\"VND\":\"₫\",\"VUV\":\"VT\",\"WST\":\"T\",\"XAF\":\"FCFA\",\"XCD\":\"$\",\"XOF\":\"CFA\",\"XPF\":\"₣\",\"XXX\":\"\",\"YER\":\"﷼\",\"ZAR\":\"R\",\"ZMW\":\"ZK\",\"BYR\":\"Br\",\"STD\":\"Db\",\"VEF\":\"Bs.\"}; \\n      const knownCurrenciesWithCodeAsSymbol = [\"CHF\",\"PLN\",\"SEK\",\"NOK\",\"DKK\",\"CZK\",\"HUF\",\"RON\",\"HRK\",\"BGN\",\"ISK\",\"MDL\",\"BYN\",\"KZT\",\"AMD\",\"UZS\",\"TJS\",\"KGS\",\"MNT\",\"GEL\",\"AFN\",\"MRU\",\"RWF\",\"XAF\",\"XOF\",\"XPF\"]; \\n      // Initialize default currency variables\\n      let defaultCountry = \\'\\';\\n      let defaultCountryCode = \\'\\';\\n      let defaultCurrency = \\'\\';\\n      let defaultCurrencySymbol = \\'\\';\\n\\n      document.addEventListener(\\'checkout__settings-updated\\', (event) => {\\n        const { current } = event.detail;\\n        if (current) {\\n          // Update the global default variables\\n          defaultCountry = current.defaultCountry || \\'\\';\\n          defaultCountryCode = current.defaultCountryCode || \\'\\';\\n          defaultCurrency = current.defaultCurrency || \\'\\';\\n          defaultCurrencySymbol = current.defaultCurrencySymbol || \\'\\';\\n\\n          // Set session storage only if it\\'s empty (reverted to 2.0 stable behavior)\\n          if (!localStorage.getItem(\\'selectedCountry\\')) {\\n            localStorage.setItem(\\'selectedCountry\\', defaultCountry);\\n          }\\n          if (!localStorage.getItem(\\'selectedCountryCode\\')) {\\n            localStorage.setItem(\\'selectedCountryCode\\', defaultCountryCode);\\n          }\\n          if (!localStorage.getItem(\\'selectedCurrency\\')) {\\n            localStorage.setItem(\\'selectedCurrency\\', defaultCurrency);\\n          }\\n          if (!localStorage.getItem(\\'selectedCurrencySymbol\\')) {\\n            localStorage.setItem(\\'selectedCurrencySymbol\\', defaultCurrencySymbol);\\n          }\\n\\n          // Clear product cache and refetch products with new currency\\n          localStorage.removeItem(\\'fc_products\\');\\n          localStorage.removeItem(\\'fc_products_timestamp\\');\\n          \\n          // Refetch products with the current country code\\n          const currentCountryCode = localStorage.getItem(\\'selectedCountryCode\\');\\n          if (currentCountryCode) {\\n            fetchProductsByCountry(currentCountryCode).catch(error => {\\n              console.error(\\'Error refetching products after currency change:\\', error);\\n              window.shopXtools.status = \"ready\";\\n            });\\n          }\\n\\n          // console.log(\\'Session storage is set:\\', {\\n          //   defaultCountry,\\n          //   defaultCountryCode,\\n          //   defaultCurrency,\\n          //   defaultCurrencySymbol\\n          // });\\n        }\\n      });\\n      \\n      let domain;\\n      let products = [];\\n    \\n      // ALL QUERIES\\n      // Query to fetch specific products by IDs (for priority fetching)\\n      const getProductsByIdsQuery = `\\n        query GetProductsByIds($ids: [ID!]!, $countryCode: CountryCode) @inContext(country: $countryCode) {\\n          nodes(ids: $ids) {\\n            ... on Product {\\n              id\\n              title\\n              vendor\\n              handle\\n              productType\\n              tags\\n              createdAt\\n              collections(first: 250) {\\n                edges {\\n                  node {\\n                    id\\n                    title\\n                    handle\\n                  }\\n                }\\n              }\\n              images(first: 20) {\\n                edges {\\n                  node {\\n                    url\\n                    altText\\n                    width\\n                    height\\n                   }\\n                  }\\n              }\\n              metafields(identifiers: [\\n                { namespace: \"custom\", key: \"fc_color\" },\\n                { namespace: \"custom\", key: \"fc_size\" }\\n              ]) {\\n                key\\n                namespace\\n                value\\n              }\\n              sellingPlanGroups(first: 1) {\\n                edges {\\n                  node {\\n                    name\\n                    options {\\n                      name\\n                      values\\n                    }\\n                    sellingPlans(first: 10) {\\n                      edges {\\n                        node {\\n                          id\\n                          name\\n                          description\\n                          recurringDeliveries\\n                          priceAdjustments {\\n                            orderCount\\n                            adjustmentValue {\\n                              __typename\\n                              ... on SellingPlanPercentagePriceAdjustment {\\n                                adjustmentPercentage\\n                              }\\n                              ... on SellingPlanFixedAmountPriceAdjustment {\\n                                adjustmentAmount {\\n                                  amount\\n                                  currencyCode\\n                                }\\n                              }\\n                              ... on SellingPlanFixedPriceAdjustment {\\n                                price {\\n                                  amount\\n                                  currencyCode\\n                                }\\n                              }\\n                            }\\n                          }\\n                        }\\n                      }\\n                    }\\n                  }\\n                }\\n              }\\n              options {\\n                id\\n                name\\n                values\\n              }\\n              compareAtPriceRange {\\n                minVariantPrice {\\n                  amount\\n                  currencyCode\\n                }\\n                maxVariantPrice {\\n                  amount\\n                  currencyCode\\n                }\\n              }\\n              priceRange {\\n                minVariantPrice {\\n                  amount\\n                  currencyCode\\n                }\\n                maxVariantPrice {\\n                  amount\\n                  currencyCode\\n                }\\n              }\\n              variants(first: 250) {\\n                pageInfo {\\n                  hasNextPage\\n                  hasPreviousPage\\n                  endCursor\\n                }\\n                edges {\\n                  node {\\n                    id\\n                    image {\\n                      url\\n                      altText\\n                      width\\n                      height\\n                    }\\n                    title\\n                    sku\\n                    quantityAvailable\\n                    availableForSale\\n                    requiresShipping\\n                    selectedOptions {\\n                      name\\n                      value\\n                    }\\n                    price {\\n                      amount\\n                      currencyCode\\n                    }\\n                    compareAtPrice {\\n                      amount\\n                      currencyCode\\n                    }\\n                  }\\n                }\\n              }\\n            }\\n          }\\n        }\\n      `;\\n      \\n      const getCartQuery = `\\n        query GetCart($cartId: ID!) {\\n          cart(id: $cartId) {\\n            id\\n            createdAt\\n            updatedAt\\n            checkoutUrl\\n            buyerIdentity {\\n              countryCode\\n            }\\n            lines(first: 250) {\\n              edges {\\n                node {\\n                  id\\n                  quantity\\n                  sellingPlanAllocation { \\n                    checkoutChargeAmount {\\n                      amount\\n                      currencyCode\\n                    }\\n                    sellingPlan {\\n                      id\\n                      name\\n                      description\\n                    }\\n                  }\\n                  merchandise {\\n                    ... on ProductVariant {\\n                      id\\n                      title\\n                      image {\\n                        url\\n                        altText\\n                        width\\n                        height\\n                      }\\n                      selectedOptions {\\n                        name\\n                        value\\n                      }\\n                      product {\\n                        title\\n                        handle\\n                      }\\n                      price {\\n                        amount\\n                        currencyCode\\n                      }\\n                      compareAtPrice {\\n                        amount\\n                        currencyCode\\n                      }\\n                    }\\n                  }\\n                  attributes {\\n                    key\\n                    value\\n                  }\\n                  cost {\\n                    subtotalAmount {\\n                      amount\\n                      currencyCode\\n                    }\\n                    totalAmount {\\n                      amount\\n                      currencyCode\\n                    }\\n                  }\\n                }\\n              }\\n            }\\n            attributes {\\n              key\\n              value\\n            }\\n            cost {\\n              totalAmount {\\n                amount\\n                currencyCode\\n              }\\n              subtotalAmount {\\n                amount\\n                currencyCode\\n              }\\n            }\\n          }\\n        }\\n      `;\\n    \\n      const getCartQueryNoPlans = `\\n        query GetCart($cartId: ID!) {\\n          cart(id: $cartId) {\\n            id\\n            createdAt\\n            updatedAt\\n            checkoutUrl\\n            buyerIdentity {\\n              countryCode\\n            }\\n            lines(first: 250) {\\n              edges {\\n                node {\\n                  id\\n                  quantity\\n                  merchandise {\\n                    ... on ProductVariant {\\n                      id\\n                      title\\n                      image {\\n                        url\\n                        altText\\n                        width\\n                        height\\n                      }\\n                      selectedOptions {\\n                        name\\n                        value\\n                      }\\n                      product {\\n                        title\\n                        handle\\n                      }\\n                      price {\\n                        amount\\n                        currencyCode\\n                      }\\n                      compareAtPrice {\\n                        amount\\n                        currencyCode\\n                      }\\n                    }\\n                  }\\n                  attributes {\\n                    key\\n                    value\\n                  }\\n                  cost {\\n                    subtotalAmount {\\n                      amount\\n                      currencyCode\\n                    }\\n                    totalAmount {\\n                      amount\\n                      currencyCode\\n                    }\\n                  }\\n                }\\n              }\\n            }\\n            attributes {\\n              key\\n              value\\n            }\\n            cost {\\n              totalAmount {\\n                amount\\n                currencyCode\\n              }\\n              subtotalAmount {\\n                amount\\n                currencyCode\\n              }\\n            }\\n          }\\n        }\\n      `;\\n\\n\\n      // Get available currencies from the store\\n      const getAvailableCurrencies = `\\n        query GetAvailableCurrencies {\\n          localization {\\n            availableCountries {\\n              currency {\\n                isoCode\\n                name\\n                symbol\\n              }\\n              isoCode\\n              name\\n            }\\n          }\\n        }\\n      `;\\n\\n      // Collection-specific queries - Keeping the improved queries from 2.1\\n      const getProductsQueryByCollection = `\\n        query GetProductsByCollection($cursor: String, $countryCode: CountryCode, $collectionHandle: String!) @inContext(country: $countryCode) {\\n          collection(handle: $collectionHandle) {\\n            products(first: 250, after: $cursor) {\\n              edges {\\n                node {\\n                  id\\n                  title\\n                  vendor\\n                  handle\\n                  productType\\n                  tags\\n                  collections(first: 250) {\\n                    edges {\\n                      node {\\n                        id\\n                        title\\n                        handle\\n                      }\\n                    }\\n                  }\\n                  images(first: 20) {\\n                    edges {\\n                      node {\\n                        url\\n                        altText\\n                        width\\n                        height\\n                      }\\n                    }\\n                  }\\n                  metafields(identifiers: [\\n                    { namespace: \"custom\", key: \"fc_color\" },\\n                    { namespace: \"custom\", key: \"fc_size\" }\\n                  ]) {\\n                    key\\n                    namespace\\n                    value\\n                  }\\n                  sellingPlanGroups(first: 1) {\\n                    edges {\\n                      node {\\n                        name\\n                        options {\\n                          name\\n                          values\\n                        }\\n                        sellingPlans(first: 10) {\\n                          edges {\\n                            node {\\n                              id\\n                              name\\n                              description\\n                              recurringDeliveries\\n                              priceAdjustments {\\n                                orderCount\\n                                adjustmentValue {\\n                                  __typename\\n                                  ... on SellingPlanPercentagePriceAdjustment {\\n                                    adjustmentPercentage\\n                                  }\\n                                  ... on SellingPlanFixedAmountPriceAdjustment {\\n                                    adjustmentAmount {\\n                                      amount\\n                                      currencyCode\\n                                    }\\n                                  }\\n                                  ... on SellingPlanFixedPriceAdjustment {\\n                                    price {\\n                                      amount\\n                                      currencyCode\\n                                    }\\n                                  }\\n                                }\\n                              }\\n                            }\\n                          }\\n                        }\\n                      }\\n                    }\\n                  }\\n                  options {\\n                    id\\n                    name\\n                    values\\n                  }\\n                  compareAtPriceRange {\\n                    minVariantPrice {\\n                      amount\\n                      currencyCode\\n                    }\\n                    maxVariantPrice {\\n                      amount\\n                      currencyCode\\n                    }\\n                  }\\n                  priceRange {\\n                    minVariantPrice {\\n                      amount\\n                      currencyCode\\n                    }\\n                    maxVariantPrice {\\n                      amount\\n                      currencyCode\\n                    }\\n                  }\\n                  variants(first: 250) {\\n                    pageInfo {\\n                      hasNextPage\\n                      hasPreviousPage\\n                      endCursor\\n                    }\\n                    edges {\\n                      node {\\n                        id\\n                        image {\\n                          url\\n                          altText\\n                          width\\n                          height\\n                        }\\n                        title\\n                        sku\\n                        quantityAvailable\\n                        availableForSale\\n                        requiresShipping\\n                        selectedOptions {\\n                          name\\n                          value\\n                        }\\n                        price {\\n                          amount\\n                          currencyCode\\n                        }\\n                        compareAtPrice {\\n                          amount\\n                          currencyCode\\n                        }\\n                      }\\n                    }\\n                  }\\n                }\\n              }\\n              pageInfo {\\n                hasNextPage\\n                endCursor\\n              }\\n            }\\n          }\\n        }\\n      `;\\n\\n      const getLessProductsQueryByCollection = `\\n        query GetProductsByCollection($cursor: String, $countryCode: CountryCode, $collectionHandle: String!) @inContext(country: $countryCode) {\\n          collection(handle: $collectionHandle) {\\n            products(first: 80, after: $cursor) {\\n              edges {\\n                node {\\n                  id\\n                  title\\n                  vendor\\n                  handle\\n                  productType\\n                  tags\\n                  collections(first: 250) {\\n                    edges {\\n                      node {\\n                        id\\n                        title\\n                        handle\\n                      }\\n                    }\\n                  }\\n                  images(first: 20) {\\n                    edges {\\n                      node {\\n                        url\\n                        altText\\n                        width\\n                        height\\n                      }\\n                    }\\n                  }\\n                  metafields(identifiers: [\\n                    { namespace: \"custom\", key: \"fc_color\" },\\n                    { namespace: \"custom\", key: \"fc_size\" }\\n                  ]) {\\n                    key\\n                    namespace\\n                    value\\n                  }\\n                  sellingPlanGroups(first: 1) {\\n                    edges {\\n                      node {\\n                        name\\n                        options {\\n                          name\\n                          values\\n                        }\\n                        sellingPlans(first: 10) {\\n                          edges {\\n                            node {\\n                              id\\n                              name\\n                              description\\n                              recurringDeliveries\\n                              priceAdjustments {\\n                                orderCount\\n                                adjustmentValue {\\n                                  __typename\\n                                  ... on SellingPlanPercentagePriceAdjustment {\\n                                    adjustmentPercentage\\n                                  }\\n                                  ... on SellingPlanFixedAmountPriceAdjustment {\\n                                    adjustmentAmount {\\n                                      amount\\n                                      currencyCode\\n                                    }\\n                                  }\\n                                  ... on SellingPlanFixedPriceAdjustment {\\n                                    price {\\n                                      amount\\n                                      currencyCode\\n                                    }\\n                                  }\\n                                }\\n                              }\\n                            }\\n                          }\\n                        }\\n                      }\\n                    }\\n                  }\\n                  options {\\n                    id\\n                    name\\n                    values\\n                  }\\n                  compareAtPriceRange {\\n                    minVariantPrice {\\n                      amount\\n                      currencyCode\\n                    }\\n                    maxVariantPrice {\\n                      amount\\n                      currencyCode\\n                    }\\n                  }\\n                  priceRange {\\n                    minVariantPrice {\\n                      amount\\n                      currencyCode\\n                    }\\n                    maxVariantPrice {\\n                      amount\\n                      currencyCode\\n                    }\\n                  }\\n                  variants(first: 250) {\\n                    pageInfo {\\n                      hasNextPage\\n                      hasPreviousPage\\n                      endCursor\\n                    }\\n                    edges {\\n                      node {\\n                        id\\n                        image {\\n                          url\\n                          altText\\n                          width\\n                          height\\n                        }\\n                        title\\n                        sku\\n                        quantityAvailable\\n                        availableForSale\\n                        requiresShipping\\n                        selectedOptions {\\n                          name\\n                          value\\n                        }\\n                        price {\\n                          amount\\n                          currencyCode\\n                        }\\n                        compareAtPrice {\\n                          amount\\n                          currencyCode\\n                        }\\n                      }\\n                    }\\n                  }\\n                }\\n              }\\n              pageInfo {\\n                hasNextPage\\n                endCursor\\n              }\\n            }\\n          }\\n        }\\n      `;\\n\\n      const getProductsQueryByCollectionBackup = `\\n        query GetProductsByCollectionBackup($cursor: String, $countryCode: CountryCode, $collectionHandle: String!) @inContext(country: $countryCode) {\\n          collection(handle: $collectionHandle) {\\n            products(first: 250, after: $cursor) {\\n              edges {\\n                node {\\n                  id\\n                  title\\n                  vendor\\n                  handle\\n                  productType\\n                  tags\\n                  collections(first: 250) {\\n                    edges {\\n                      node {\\n                        id\\n                        title\\n                        handle\\n                      }\\n                    }\\n                  }\\n                  images(first: 20) {\\n                    edges {\\n                      node {\\n                        url\\n                        altText\\n                        width\\n                        height\\n                      }\\n                    }\\n                  }\\n                  metafields(identifiers: [\\n                    { namespace: \"custom\", key: \"fc_color\" },\\n                    { namespace: \"custom\", key: \"fc_size\" }\\n                  ]) {\\n                    key\\n                    namespace\\n                    value\\n                  }\\n                  options {\\n                    id\\n                    name\\n                    values\\n                  }\\n                  compareAtPriceRange {\\n                    minVariantPrice {\\n                      amount\\n                      currencyCode\\n                    }\\n                    maxVariantPrice {\\n                      amount\\n                      currencyCode\\n                    }\\n                  }\\n                  priceRange {\\n                    minVariantPrice {\\n                      amount\\n                      currencyCode\\n                    }\\n                    maxVariantPrice {\\n                      amount\\n                      currencyCode\\n                    }\\n                  }\\n                  variants(first: 250) {\\n                    pageInfo {\\n                      hasNextPage\\n                      hasPreviousPage\\n                      endCursor\\n                    }\\n                    edges {\\n                      node {\\n                        id\\n                        image {\\n                          url\\n                          altText\\n                          width\\n                          height\\n                        }\\n                        title\\n                        sku\\n                        quantityAvailable\\n                        availableForSale\\n                        requiresShipping\\n                        selectedOptions {\\n                          name\\n                          value\\n                        }\\n                        price {\\n                          amount\\n                          currencyCode\\n                        }\\n                        compareAtPrice {\\n                          amount\\n                          currencyCode\\n                        }\\n                      }\\n                    }\\n                  }\\n                }\\n              }\\n              pageInfo {\\n                hasNextPage\\n                endCursor\\n              }\\n            }\\n          }\\n        }\\n      `;\\n\\n      // Get products by country - Keeping the improved queries from 2.1\\n      const getProductsQueryByCountry = `\\n        query GetProductsByCountry ($cursor: String, $countryCode: CountryCode, $query: String) @inContext(country: $countryCode) {\\n          products(\\n            first: 250, \\n            after: $cursor, \\n            query: $query\\n          ) {\\n            edges {\\n              node {\\n                id\\n                title\\n                vendor\\n                handle\\n                productType\\n                tags\\n                collections(first: 250) {\\n                  edges {\\n                    node {\\n                      id\\n                      title\\n                      handle\\n                    }\\n                  }\\n                }\\n                images(first: 20) {\\n                  edges {\\n                    node {\\n                      url\\n                      altText\\n                      width\\n                      height\\n                    }\\n                  }\\n                }\\n                metafields(identifiers: [\\n                  { namespace: \"custom\", key: \"fc_color\" },\\n                  { namespace: \"custom\", key: \"fc_size\" }\\n                ]) {\\n                  key\\n                  namespace\\n                  value\\n                }\\n                sellingPlanGroups(first: 1) {\\n                  edges {\\n                    node {\\n                      name\\n                      options {\\n                        name\\n                        values\\n                      }\\n                      sellingPlans(first: 10) {\\n                        edges {\\n                          node {\\n                            id\\n                            name\\n                            description\\n                            recurringDeliveries\\n                            priceAdjustments {\\n                              orderCount\\n                              adjustmentValue {\\n                                __typename\\n                                ... on SellingPlanPercentagePriceAdjustment {\\n                                  adjustmentPercentage\\n                                }\\n                                ... on SellingPlanFixedAmountPriceAdjustment {\\n                                  adjustmentAmount {\\n                                    amount\\n                                    currencyCode\\n                                  }\\n                                }\\n                                ... on SellingPlanFixedPriceAdjustment {\\n                                  price {\\n                                    amount\\n                                    currencyCode\\n                                  }\\n                                }\\n                              }\\n                            }\\n                          }\\n                        }\\n                      }\\n                    }\\n                  }\\n                }\\n                options {\\n                  id\\n                  name\\n                  values\\n                }\\n                compareAtPriceRange {\\n                  minVariantPrice {\\n                    amount\\n                    currencyCode\\n                  }\\n                  maxVariantPrice {\\n                    amount\\n                    currencyCode\\n                  }\\n                }\\n                priceRange {\\n                  minVariantPrice {\\n                    amount\\n                    currencyCode\\n                  }\\n                  maxVariantPrice {\\n                    amount\\n                    currencyCode\\n                  }\\n                }\\n                variants(first: 250) {\\n                  pageInfo {\\n                    hasNextPage\\n                    hasPreviousPage\\n                    endCursor\\n                  }\\n                  edges {\\n                    node {\\n                      id\\n                      image {\\n                        url\\n                        altText\\n                        width\\n                        height\\n                      }\\n                      title\\n                      sku\\n                      quantityAvailable\\n                      availableForSale\\n                      requiresShipping\\n                      selectedOptions {\\n                        name\\n                        value\\n                      }\\n                      price {\\n                        amount\\n                        currencyCode\\n                      }\\n                      compareAtPrice {\\n                        amount\\n                        currencyCode\\n                      }\\n                    }\\n                  }\\n                }\\n              }\\n            }\\n            pageInfo {\\n              hasNextPage\\n              endCursor\\n            }\\n          }\\n        }\\n      `;\\n\\n      const getProductsQueryByCountryBackup = `\\n        query GetProductsByCountryBackup($cursor: String, $countryCode: CountryCode, $query: String) @inContext(country: $countryCode) {\\n          products(\\n            first: 250, \\n            after: $cursor, \\n            query: $query\\n          ) {\\n            edges {\\n              node {\\n                id\\n                title\\n                vendor\\n                handle\\n                productType\\n                tags\\n                collections(first: 250) {\\n                  edges {\\n                    node {\\n                      id\\n                      title\\n                      handle\\n                    }\\n                  }\\n                }\\n                images(first: 20) {\\n                  edges {\\n                    node {\\n                      url\\n                      altText\\n                      width\\n                      height\\n                    }\\n                  }\\n                }\\n                metafields(identifiers: [\\n                  { namespace: \"custom\", key: \"fc_color\" },\\n                  { namespace: \"custom\", key: \"fc_size\" }\\n                ]) {\\n                  key\\n                  namespace\\n                  value\\n                }\\n                options {\\n                  id\\n                  name\\n                  values\\n                }\\n                compareAtPriceRange {\\n                  minVariantPrice {\\n                    amount\\n                    currencyCode\\n                  }\\n                  maxVariantPrice {\\n                    amount\\n                    currencyCode\\n                  }\\n                }\\n                priceRange {\\n                  minVariantPrice {\\n                    amount\\n                    currencyCode\\n                  }\\n                  maxVariantPrice {\\n                    amount\\n                    currencyCode\\n                  }\\n                }\\n                variants(first: 250) {\\n                  pageInfo {\\n                    hasNextPage\\n                    hasPreviousPage\\n                    endCursor\\n                  }\\n                  edges {\\n                    node {\\n                      id\\n                      image {\\n                        url\\n                        altText\\n                        width\\n                        height\\n                      }\\n                      title\\n                      sku\\n                      quantityAvailable\\n                      availableForSale\\n                      requiresShipping\\n                      selectedOptions {\\n                        name\\n                        value\\n                      }\\n                      price {\\n                        amount\\n                        currencyCode\\n                      }\\n                      compareAtPrice {\\n                        amount\\n                        currencyCode\\n                      }\\n                    }\\n                  }\\n                }\\n              }\\n            }\\n            pageInfo {\\n              hasNextPage\\n              endCursor\\n            }\\n          }\\n        }\\n      `;\\n\\n      const getLessProductsQueryByCountry = `\\n        query GetProductsByCountry ($cursor: String, $countryCode: CountryCode, $query: String) @inContext(country: $countryCode) {\\n          products(\\n            first: 80, \\n            after: $cursor, \\n            query: $query\\n          ) {\\n            edges {\\n              node {\\n                id\\n                title\\n                vendor\\n                handle\\n                productType\\n                tags\\n                collections(first: 250) {\\n                  edges {\\n                    node {\\n                      id\\n                      title\\n                      handle\\n                    }\\n                  }\\n                }\\n                images(first: 20) {\\n                  edges {\\n                    node {\\n                      url\\n                      altText\\n                      width\\n                      height\\n                    }\\n                  }\\n                }\\n                metafields(identifiers: [\\n                  { namespace: \"custom\", key: \"fc_color\" },\\n                  { namespace: \"custom\", key: \"fc_size\" }\\n                ]) {\\n                  key\\n                  namespace\\n                  value\\n                }\\n                sellingPlanGroups(first: 1) {\\n                  edges {\\n                    node {\\n                      name\\n                      options {\\n                        name\\n                        values\\n                      }\\n                      sellingPlans(first: 10) {\\n                        edges {\\n                          node {\\n                            id\\n                            name\\n                            description\\n                            recurringDeliveries\\n                            priceAdjustments {\\n                              orderCount\\n                              adjustmentValue {\\n                                __typename\\n                                ... on SellingPlanPercentagePriceAdjustment {\\n                                  adjustmentPercentage\\n                                }\\n                                ... on SellingPlanFixedAmountPriceAdjustment {\\n                                  adjustmentAmount {\\n                                    amount\\n                                    currencyCode\\n                                  }\\n                                }\\n                                ... on SellingPlanFixedPriceAdjustment {\\n                                  price {\\n                                    amount\\n                                    currencyCode\\n                                  }\\n                                }\\n                              }\\n                            }\\n                          }\\n                        }\\n                      }\\n                    }\\n                  }\\n                }\\n                options {\\n                  id\\n                  name\\n                  values\\n                }\\n                compareAtPriceRange {\\n                  minVariantPrice {\\n                    amount\\n                    currencyCode\\n                  }\\n                  maxVariantPrice {\\n                    amount\\n                    currencyCode\\n                  }\\n                }\\n                priceRange {\\n                  minVariantPrice {\\n                    amount\\n                    currencyCode\\n                  }\\n                  maxVariantPrice {\\n                    amount\\n                    currencyCode\\n                  }\\n                }\\n                variants(first: 250) {\\n                  pageInfo {\\n                    hasNextPage\\n                    hasPreviousPage\\n                    endCursor\\n                  }\\n                  edges {\\n                    node {\\n                      id\\n                      image {\\n                        url\\n                        altText\\n                        width\\n                        height\\n                      }\\n                      title\\n                      sku\\n                      quantityAvailable\\n                      availableForSale\\n                      requiresShipping\\n                      selectedOptions {\\n                        name\\n                        value\\n                      }\\n                      price {\\n                        amount\\n                        currencyCode\\n                      }\\n                      compareAtPrice {\\n                        amount\\n                        currencyCode\\n                      }\\n                    }\\n                  }\\n                }\\n              }\\n            }\\n            pageInfo {\\n              hasNextPage\\n              endCursor\\n            }\\n          }\\n        }\\n      `;\\n\\n      window.shopXtools = window.shopXtools || {};\\n      window.shopXtools.products = [];\\n      window.shopXtools.fetchCart = null;\\n      window.shopXtools.dispatchEvent = (eventType, detail) => {\\n            const newEvent = new CustomEvent(eventType, { detail });\\n            document.dispatchEvent(newEvent);\\n          };\\n    \\n      window.shopXtools.handleCartMutation = async (mutation, variables) => {\\n        const endpoint = `https://${domain.host}/api/2024-07/graphql.json`;\\n        const token = fcConfigs.storefrontAccessToken;\\n    \\n        try {\\n          const response = await fetch(endpoint, {\\n            method: \"POST\",\\n            headers: {\\n              \"Content-Type\": \"application/json\",\\n              \"X-Shopify-Storefront-Access-Token\": token,\\n            },\\n            body: JSON.stringify({\\n              query: mutation,\\n              variables,\\n            }),\\n          });\\n          const result = await response.json();\\n          if (response.ok && !result.errors) {\\n            // If this is a cart mutation and we have cart data, save it to localStorage\\n            if (result.data && (result.data.cartCreate || result.data.cartLinesAdd || \\n                result.data.cartLinesRemove || result.data.cartLinesUpdate || \\n                result.data.cartBuyerIdentityUpdate)) {\\n              \\n              // Find the cart object in the response\\n              const cartData = result.data.cartCreate?.cart || \\n                              result.data.cartLinesAdd?.cart || \\n                              result.data.cartLinesRemove?.cart || \\n                              result.data.cartLinesUpdate?.cart ||\\n                              result.data.cartBuyerIdentityUpdate?.cart;\\n              \\n              if (cartData) {\\n                //console.log(\"Saving cart data to localStorage:\", cartData);\\n                // Update the global cart object\\n                window.shopXtools.cart = cartData;\\n                // Save to localStorage\\n                localStorage.setItem(\"shopXtools.cart\", JSON.stringify(cartData));\\n\\n                // Dispatch cart updated event for Shopify consent sync\\n                if (cartData.checkoutUrl) {\\n                  document.dispatchEvent(new CustomEvent(\\'data__cart-updated\\', {\\n                    detail: { cart: cartData }\\n                  }));\\n                }\\n\\n                // If this is a buyerIdentity update with a country code, update currency settings\\n                if (result.data.cartBuyerIdentityUpdate && cartData.buyerIdentity && cartData.buyerIdentity.countryCode) {\\n                  //console.log(\"Country code updated in cart:\", cartData.buyerIdentity.countryCode);\\n                  // Trigger currency settings update\\n                  initializeCurrencySettings();\\n                }\\n              }\\n            }\\n            return result.data;\\n          } else {\\n            console.error(\"GraphQL errors:\", result.errors);\\n            return null;\\n          }\\n        } catch (error) {\\n          console.error(\"Network error:\", error);\\n          return null;\\n        }\\n      };\\n\\n\\n        window.shopXtools.handleTemporaryCartMutation = async (mutation, variables) => {\\n        const endpoint = `https://${domain.host}/api/2024-07/graphql.json`;\\n        const token = fcConfigs.storefrontAccessToken;\\n\\n        try {\\n          const response = await fetch(endpoint, {\\n            method: \"POST\",\\n            headers: {\\n              \"Content-Type\": \"application/json\",\\n              \"X-Shopify-Storefront-Access-Token\": token,\\n            },\\n            body: JSON.stringify({\\n              query: mutation,\\n              variables,\\n            }),\\n          });\\n          const result = await response.json();\\n          if (response.ok && !result.errors) {\\n            // If this is a cart mutation and we have cart data, save it to temporaryCart\\n            if (result.data && (result.data.cartCreate || result.data.cartLinesAdd || \\n                result.data.cartLinesRemove || result.data.cartLinesUpdate || \\n                result.data.cartBuyerIdentityUpdate)) {\\n              \\n              // Find the cart object in the response\\n              const cartData = result.data.cartCreate?.cart || \\n                              result.data.cartLinesAdd?.cart || \\n                              result.data.cartLinesRemove?.cart || \\n                              result.data.cartLinesUpdate?.cart ||\\n                              result.data.cartBuyerIdentityUpdate?.cart;\\n              \\n              if (cartData) {\\n                // If this is a buyerIdentity update with a country code, update currency settings\\n                if (result.data.cartBuyerIdentityUpdate && cartData.buyerIdentity && cartData.buyerIdentity.countryCode) {\\n                  // Trigger currency settings update\\n                  initializeCurrencySettings();\\n                }\\n              }\\n            }\\n            return result.data; // Return the temporary cart data\\n          } else {\\n            console.error(\"GraphQL errors:\", result.errors);\\n            return null;\\n          }\\n        } catch (error) {\\n          console.error(\"Network error:\", error);\\n          return null;\\n        }\\n      };\\n    \\n      window.shopXtools.fetchCart = async function(cartId) {\\n        const variables = { cartId: cartId };\\n        const endpoint = `https://${domain.host}/api/2024-07/graphql.json`;\\n    \\n        const tryFetchCart = async (query, queryName) => {\\n          try {\\n            const response = await fetch(endpoint, {\\n              method: \"POST\",\\n              headers: {\\n                \"Content-Type\": \"application/json\",\\n                \"X-Shopify-Storefront-Access-Token\": fcConfigs.storefrontAccessToken,\\n              },\\n              body: JSON.stringify({ query: query, variables }),\\n            });\\n    \\n            const result = await response.json();\\n            if (result.errors) {\\n              console.error(`${queryName} failed with errors:`, result.errors);\\n              return null;\\n            }\\n    \\n            if (result.data && result.data.cart) {\\n              // Save cart data to localStorage\\n              //console.log(\"Saving fetched cart data to localStorage:\", result.data.cart);\\n              window.shopXtools.cart = result.data.cart;\\n              localStorage.setItem(\"shopXtools.cart\", JSON.stringify(result.data.cart));\\n\\n              // Dispatch cart updated event for Shopify consent sync\\n              if (result.data.cart.checkoutUrl) {\\n                document.dispatchEvent(new CustomEvent(\\'data__cart-updated\\', {\\n                  detail: { cart: result.data.cart }\\n                }));\\n              }\\n              \\n              // If cart has buyerIdentity with countryCode, update currency settings\\n              if (result.data.cart.buyerIdentity && result.data.cart.buyerIdentity.countryCode) {\\n                //console.log(\"Country code found in fetched cart:\", result.data.cart.buyerIdentity.countryCode);\\n                // Trigger currency settings update\\n                initializeCurrencySettings();\\n              }\\n              \\n              return result.data.cart;\\n            } else {\\n              console.error(`Cart data not found in response from ${queryName}:`, result);\\n              return null;\\n            }\\n          } catch (error) {\\n            console.error(`Network error during ${queryName}:`, error);\\n            return null;\\n          }\\n        };\\n    \\n        let cartData = await tryFetchCart(getCartQuery, \"Primary cart query\");\\n        //console.log(cartData);\\n        if (!cartData) {\\n          //console.log(\"Primary cart query failed, attempting backup cart query...\");\\n          cartData = await tryFetchCart(getCartQueryNoPlans, \"Backup cart query\");\\n        }\\n    \\n        return cartData;\\n      };\\n    \\n      const configValidation = () => {\\n        if (!fcConfigs.storefrontDomain) {\\n          throw Error(\"Storefront domain not found\");\\n        }\\n        if (!fcConfigs.storefrontAccessToken) {\\n          throw Error(\"Storefront access token not found\");\\n        }\\n      };\\n    \\n      const setDomainUrl = () => {\\n        let storeDomain = \"https://test.shopify.com\";\\n        if (fcConfigs.storefrontDomain) {\\n          storeDomain = fcConfigs.storefrontDomain.startsWith(\"http\")\\n            ? fcConfigs.storefrontDomain\\n            : `https://${fcConfigs.storefrontDomain}`;\\n        }\\n        domain = new URL(storeDomain);\\n      };\\n    \\n      const shopify = async (type, query, variables) => {\\n        const endpoint = `https://${domain.host}/api/2024-07/graphql.json`;\\n        const response = await fetch(endpoint, {\\n          method: \"POST\",\\n          body: JSON.stringify({ [type]: query, variables }),\\n          headers: {\\n            \"Content-Type\": \"application/json\",\\n            \"X-Shopify-Storefront-Access-Token\": fcConfigs.storefrontAccessToken,\\n          },\\n        });\\n        const json = await response.json();\\n        return json.data;\\n      };\\n    \\n      window.shopXtools.priorityQueue = [];\\n      window.shopXtools.priorityFetching = false;\\n      window.shopXtools.pendingPriorityRequests = new Set();\\n      \\n      const getProducts = (_id) => {\\n        const fullId = _id.startsWith(\\'gid://\\') ? _id : `gid://shopify/Product/${_id}`;\\n        console.log(\"checking fullId\", fullId)\\n        if (window.shopXtools) {\\n        console.log(\"shopXtools initialized, trying to find the product\")\\n          // First, try to find in existing products\\n          const product = window.shopXtools.products?.find(\\n            ({ node: product }) => product && product.id === fullId\\n          );\\n\\n          if (product) {\\n            console.log(\"returning found product\", product)\\n            return product;\\n          }\\n          // console.log(\"no product found, trying prioritized fetching\")\\n          \\n          // Product not found - add to priority queue if not already there\\n          // The interval processor will pick this up and fetch it\\n          if (!window.shopXtools.pendingPriorityRequests.has(fullId)) {\\n            window.shopXtools.pendingPriorityRequests.add(fullId);\\n            window.shopXtools.priorityQueue.push(fullId);\\n          }\\n        }\\n        \\n      };\\n      window.shopXtools.getProducts = getProducts;\\n\\n      // Function to fetch products by IDs (priority fetch)\\n      // Note: Priority queue properties will be initialized after setupInitialToolsObject is called\\n      const fetchProductsByIds = async (productIds, countryCode) => {\\n        if (!productIds || productIds.length === 0) return [];\\n        if (!domain || !domain.host) {\\n          // If domain not ready, wait a bit and try again\\n          setTimeout(() => fetchProductsByIds(productIds, countryCode), 100);\\n          return [];\\n        }\\n\\n        // Remove any IDs that are already in products array\\n        const existingIds = new Set(\\n          (window.shopXtools.products || []).map(({ node }) => node?.id).filter(Boolean)\\n        );\\n        const missingIds = productIds.filter(id => {\\n          const fullId = id.startsWith(\\'gid://\\') ? id : `gid://shopify/Product/${id}`;\\n          return !existingIds.has(fullId);\\n        });\\n\\n        if (missingIds.length === 0) return [];\\n\\n        try {\\n          const endpoint = `https://${domain.host}/api/2024-07/graphql.json`;\\n          const response = await fetch(endpoint, {\\n            method: \"POST\",\\n            headers: {\\n              \"Content-Type\": \"application/json\",\\n              \"X-Shopify-Storefront-Access-Token\": fcConfigs.storefrontAccessToken,\\n            },\\n            body: JSON.stringify({\\n              query: getProductsByIdsQuery,\\n              variables: {\\n                ids: missingIds,\\n                countryCode: countryCode || localStorage.getItem(\"selectedCountryCode\") || \"US\"\\n              }\\n            }),\\n          });\\n\\n          const result = await response.json();\\n          \\n          if (result.errors) {\\n            console.error(\\'Error fetching products by IDs:\\', result.errors);\\n            // Remove from pending requests so they can be retried\\n            missingIds.forEach(id => {\\n              window.shopXtools.pendingPriorityRequests.delete(\\n                id.startsWith(\\'gid://\\') ? id : `gid://shopify/Product/${id}`\\n              );\\n            });\\n            return [];\\n          }\\n          // console.log(result.data?.nodes)\\n          if (result.data?.nodes) {\\n            // Transform nodes to match the expected format used by handleProductData\\n            // This ensures priority products have the same structure as regular products\\n            const products = result.data.nodes\\n              .filter(node => node !== null && node.id)\\n              .map(node => {\\n                // Check required fields\\n                if (!node.id || !node.handle || !node.title) {\\n                  console.warn(\\'Priority product missing required fields, skipping:\\', {\\n                    id: node.id,\\n                    handle: node.handle,\\n                    title: node.title\\n                  });\\n                  return null;\\n                }\\n\\n                // Transform to match the structure from handleProductData (complete data path)\\n                return {\\n                  node: {\\n                    id: node.id,\\n                    handle: node.handle,\\n                    title: node.title,\\n                    vendor: node.vendor,\\n                    productType: node.productType,\\n                    tags: node.tags,\\n                    metafields: node.metafields,\\n                    collections: Array.isArray(node.collections)\\n                      ? node.collections // already transformed\\n                      : (node.collections?.edges || []).map(edge => ({\\n                        node: {\\n                          id: edge.node.id,\\n                          handle: edge.node.handle,\\n                          title: edge.node.title\\n                        }\\n                    })),\\n                    variants: {\\n                      edges: (node.variants?.edges || []).map(({ node: variant }) => ({\\n                        node: {\\n                          id: variant.id,\\n                          title: variant.title,\\n                          price: variant.price,\\n                          availableForSale: variant.availableForSale,\\n                          selectedOptions: variant.selectedOptions || [],\\n                          quantityAvailable: variant.quantityAvailable || 0,\\n                          compareAtPrice: variant.compareAtPrice,\\n                          requiresShipping: variant.requiresShipping\\n                        }\\n                      }))\\n                    },\\n                    options: node.options || [],\\n                    priceRange: node.priceRange,\\n                    compareAtPriceRange: node.compareAtPriceRange,\\n                    sellingPlanGroups: node.sellingPlanGroups ? {\\n                      edges: (node.sellingPlanGroups.edges || []).map(({ node: sellingPlanGroup }) => ({\\n                        node: {\\n                          name: sellingPlanGroup.name,\\n                          options: sellingPlanGroup.options,\\n                          sellingPlans: {\\n                            edges: (sellingPlanGroup.sellingPlans.edges || []).map(({ node: sellingPlan }) => ({\\n                              node: {\\n                                id: sellingPlan.id,\\n                                name: sellingPlan.name,\\n                                description: sellingPlan.description,\\n                                recurringDeliveries: sellingPlan.recurringDeliveries,\\n                                priceAdjustments: sellingPlan.priceAdjustments\\n                              }\\n                            }))\\n                          }\\n                        }\\n                      }))\\n                    } : null\\n                  }\\n                };\\n              })\\n              .filter(Boolean); // Remove null/invalid products\\n\\n            if (products.length > 0) {\\n            console.log(\\'Fetched priority products by IDs:\\', products)\\n              // Check if these products are actually NEW or if they were already in the array\\n              const existingProducts = window.shopXtools.products || [];\\n              const newProductIds = new Set(products.map(({ node }) => node.id));\\n              console.log(\\'existingProducts products:\\', existingProducts)\\n              // Check if all fetched products already exist\\n              const allProductsAlreadyExist = products.every(({ node }) =>\\n                existingProducts.some(({ node: existing }) => existing.id === node.id)\\n              );\\n              console.log(\\'allProductsAlreadyExist products:\\', allProductsAlreadyExist)\\n              // Remove from pending requests\\n              products.forEach(({ node }) => {\\n                window.shopXtools.pendingPriorityRequests.delete(node.id);\\n              });\\n\\n              // If all products already exist, don\\'t dispatch event to avoid unnecessary re-renders\\n              if (allProductsAlreadyExist) {\\n                console.log(\\'Priority products already exist, skipping dispatch to prevent re-render\\');\\n                return products;\\n              }\\n\\n              // Remove any existing products that match priority IDs to avoid duplicates\\n              const filteredExisting = existingProducts.filter(\\n                ({ node }) => node && !newProductIds.has(node.id)\\n              );\\n              console.log(\\'filteredExisting products:\\', filteredExisting)\\n              // Insert priority products at the beginning\\n              window.shopXtools.products = [...products, ...filteredExisting];\\n\\n              // Also update productsWithPrices to maintain consistency\\n              if (window.shopXtools.productsWithPrices) {\\n                const countryCodeKey = countryCode || localStorage.getItem(\"selectedCountryCode\") || \"US\";\\n                const existingForCountry = window.shopXtools.productsWithPrices[countryCodeKey] || [];\\n                const filteredForCountry = existingForCountry.filter(\\n                  ({ node }) => node && !newProductIds.has(node.id)\\n                );\\n                window.shopXtools.productsWithPrices[countryCodeKey] = [\\n                  ...products,\\n                  ...filteredForCountry\\n                ];\\n              }\\n\\n              // Use requestAnimationFrame to defer the event dispatch until after the current render cycle\\n              // This prevents Framer components from losing their content during rapid re-renders\\n              requestAnimationFrame(() => {\\n                // Dispatch the main data__products-ready event so ALL components receive the priority products\\n                // This ensures components like ProductPrice get updated immediately\\n                // Priority products are included at the front of the products array (first in line)\\n                window.shopXtools.dispatchEvent(\\'data__products-ready\\', {\\n                  products: window.shopXtools.products,\\n                  isInitialLoad: false,\\n                  isPriorityFetch: true\\n                });\\n\\n                console.log(\\'Priority products merged and dispatched via data__products-ready:\\', {\\n                  priorityProducts: products,\\n                  products: window.shopXtools.products,\\n                  totalProducts: window.shopXtools.products.length,\\n                  requestedIds: missingIds\\n                })\\n                // console.log(\"products\", products)\\n              });\\n\\n              return products;\\n            }\\n          }\\n          \\n          // Remove from pending requests even if no products returned\\n          missingIds.forEach(id => {\\n            window.shopXtools.pendingPriorityRequests.delete(\\n              id.startsWith(\\'gid://\\') ? id : `gid://shopify/Product/${id}`\\n            );\\n          });\\n          \\n          return [];\\n        } catch (error) {\\n          console.error(\\'Error fetching products by IDs:\\', error);\\n          // Remove from pending requests so they can be retried\\n          missingIds.forEach(id => {\\n            window.shopXtools.pendingPriorityRequests.delete(\\n              id.startsWith(\\'gid://\\') ? id : `gid://shopify/Product/${id}`\\n            );\\n          });\\n          return [];\\n        }\\n      };\\n\\n      // Process priority queue\\n      const processPriorityQueue = async () => {\\n        if (window.shopXtools.priorityQueue.length === 0) return;\\n        if (!domain || !domain.host) {\\n          // Wait for domain to be ready\\n          setTimeout(() => processPriorityQueue(), 100);\\n          return;\\n        }\\n\\n        window.shopXtools.priorityFetching = true;\\n        const countryCode = localStorage.getItem(\"selectedCountryCode\") || \"US\";\\n        \\n        // Batch process up to 50 IDs at a time (Shopify limit for nodes query)\\n        const batchSize = 50;\\n        const queue = [...window.shopXtools.priorityQueue];\\n        window.shopXtools.priorityQueue = [];\\n\\n        for (let i = 0; i < queue.length; i += batchSize) {\\n          const batch = queue.slice(i, i + batchSize);\\n          await fetchProductsByIds(batch, countryCode);\\n          // console.log(\"Processing queued products for\", countryCode, batch)\\n          // Small delay to avoid rate limiting\\n          if (i + batchSize < queue.length) {\\n            await new Promise(resolve => setTimeout(resolve, 100));\\n          }\\n        }\\n\\n        window.shopXtools.priorityFetching = false;\\n        \\n        // Process any new items added to queue during processing\\n        if (window.shopXtools.priorityQueue.length > 0) {\\n          setTimeout(processPriorityQueue, 0);\\n        }\\n      };\\n\\n      // Function to fetch available currencies\\n      const fetchAvailableCurrencies = async () => {\\n        // console.log(\"Domain object in fetchAvailableCurrencies:\", domain);\\n        // console.log(\"Domain host:\", domain?.host);\\n        if (!domain || !domain.host) {\\n          console.warn(\"fetchAvailableCurrencies: domain not ready; skipping fetch\");\\n          return null;\\n        }\\n\\n        const endpoint = `https://${domain.host}/api/2024-07/graphql.json`;\\n        \\n        try {\\n          const response = await fetch(endpoint, {\\n            method: \"POST\",\\n            headers: {\\n              \"Content-Type\": \"application/json\",\\n              \"X-Shopify-Storefront-Access-Token\": fcConfigs.storefrontAccessToken,\\n            },\\n            body: JSON.stringify({ query: getAvailableCurrencies }),\\n          });\\n\\n          const result = await response.json();\\n          //console.log(\"[CURRENCIES] Result:\", result);\\n          if (result.errors) {\\n            console.error(\"Error fetching currencies:\", result.errors);\\n            return null;\\n          }\\n          const availableCurrenciesAndCountries = result?.data?.localization?.availableCountries;\\n          \\n          //console.log(\"[CURRENCIES] Available Currencies:\", availableCurrenciesAndCountries);\\n          sessionStorage.setItem(\"availableCurrenciesAndCountries\", JSON.stringify(availableCurrenciesAndCountries));\\n          //console.log(sessionStorage.getItem(\"availableCurrenciesAndCountries\")\\n          \\n          return { availableCurrenciesAndCountries };\\n          \\n        } catch (error) {\\n          console.error(\"Error fetching currencies:\", error);\\n          return null;\\n        }\\n      };\\n\\n      window.shopXtools.fetchAvailableCurrencies = fetchAvailableCurrencies;\\n    \\n      // Function to initialize currency settings\\n      const initializeCurrencySettings = async () => {\\n        // Ensure domain is initialized before proceeding\\n        if (!domain) {\\n            await setDomainUrl();\\n        }\\n        if (!domain || !domain.host) {\\n            console.error(\"Domain is still undefined after initialization. Cannot fetch currencies.\");\\n            return;\\n        }\\n\\n        // Retrieve available currencies from sessionStorage or fetch if not available\\n        let availableCurrenciesAndCountries = JSON.parse(sessionStorage.getItem(\"availableCurrenciesAndCountries\"));\\n        if (!availableCurrenciesAndCountries) {\\n            const currencies = await fetchAvailableCurrencies();\\n            if (!currencies) {\\n                console.error(\"Failed to fetch available currencies\");\\n                return;\\n            }\\n            availableCurrenciesAndCountries = currencies.availableCurrenciesAndCountries;\\n            sessionStorage.setItem(\"availableCurrenciesAndCountries\", JSON.stringify(availableCurrenciesAndCountries));\\n        }\\n\\n        // Get values from window.__FcCheckoutConfigs\\n        const fcCheckoutConfigs = window.__FcCheckoutConfigs || {};\\n        const configCountry = fcCheckoutConfigs.defaultCountry;\\n        const configCountryCode = fcCheckoutConfigs.defaultCountryCode;\\n        const configCurrency = fcCheckoutConfigs.defaultCurrency;\\n        const configCurrencySymbol = fcCheckoutConfigs.defaultCurrencySymbol;\\n        //console.log(\"configCurrencySymbol\", configCurrencySymbol)\\n        \\n        // Get values from localStorage\\n        let storedCurrency = localStorage.getItem(\"selectedCurrency\");\\n        let storedCountry = localStorage.getItem(\"selectedCountry\");\\n        let storedCountryCode = localStorage.getItem(\"selectedCountryCode\");\\n        let storedCurrencySymbol = localStorage.getItem(\"selectedCurrencySymbol\");\\n\\n        // Get cart data from localStorage\\n        let cart;\\n        try {\\n          const cartData = localStorage.getItem(\"shopXtools.cart\");\\n          if (cartData) {\\n            cart = JSON.parse(cartData);\\n          } else {\\n            cart = {};\\n          }\\n        } catch (error) {\\n          console.error(\"Error parsing cart data:\", error);\\n          cart = {};\\n        }\\n        \\n        const buyerIdentity = cart.buyerIdentity || {};\\n        const countryCodeFromCart = buyerIdentity.countryCode;\\n        window.shopXtools.cart = cart;\\n\\n        // Determine the country code using the priority sequence\\n        let finalCountryCode;\\n        let finalCurrency = null;\\n        let finalCountry = null;\\n        let finalCurrencySymbol = null;\\n        \\n        if (countryCodeFromCart) {\\n          // Priority 1: Use country code from cart\\n          finalCountryCode = countryCodeFromCart;\\n        } else if (storedCountryCode && storedCurrency && storedCountry && storedCurrencySymbol) {\\n          // Priority 2: Use values from localStorage if all are present\\n          finalCountryCode = storedCountryCode;\\n          finalCurrency = storedCurrency;\\n          finalCountry = storedCountry;\\n          finalCurrencySymbol = storedCurrencySymbol;\\n        } else if (configCountryCode && configCurrency && configCountry) {\\n          // Priority 3: Use values from window.__FcCheckoutConfigs if all are present\\n          finalCountryCode = configCountryCode;\\n          finalCurrency = configCurrency;\\n          finalCountry = configCountry;\\n          finalCurrencySymbol = configCurrencySymbol;\\n        } else {\\n          // Priority 4: Use first available country if nothing else is available\\n          if (availableCurrenciesAndCountries && availableCurrenciesAndCountries.length > 0) {\\n            finalCountryCode = availableCurrenciesAndCountries[0].isoCode;\\n          } else {\\n            console.error(\"No country data available\");\\n            return;\\n          }\\n        }\\n        \\n        // If we only have the country code (from cart or when other values are missing),\\n        // find the matching country data to get the currency and country name\\n        if (!finalCurrency || !finalCountry) {\\n          const matchedCountry = availableCurrenciesAndCountries.find(c => c.isoCode === finalCountryCode);\\n          if (matchedCountry) {\\n            finalCurrency = matchedCountry.currency.isoCode;\\n            finalCountry = matchedCountry.name;\\n            //finalCurrencySymbol = CURRENCIES[finalCurrency];\\n            if (knownCurrenciesWithCodeAsSymbol[finalCurrency]){\\n              finalCurrencySymbol = finalCurrency\\n            } else {\\n              finalCurrencySymbol = CURRENCIES[finalCurrency];\\n            }\\n          } else {\\n            // If no match found, use first available country as fallback\\n            if (availableCurrenciesAndCountries && availableCurrenciesAndCountries.length > 0) {\\n              const firstCountry = availableCurrenciesAndCountries[0];\\n              finalCountryCode = firstCountry.isoCode;\\n              finalCurrency = firstCountry.currency.isoCode;\\n              finalCountry = firstCountry.name;\\n              //finalCurrencySymbol = CURRENCIES[finalCurrency];\\n              if (knownCurrenciesWithCodeAsSymbol[finalCurrency]){\\n                finalCurrencySymbol = finalCurrency\\n              } else {\\n                finalCurrencySymbol = CURRENCIES[finalCurrency];\\n              }\\n            } else {\\n              console.error(\"Cannot determine country settings\");\\n              return;\\n            }\\n          }\\n        }\\n\\n        // Update localStorage with the final values\\n        localStorage.setItem(\"selectedCountry\", finalCountry);\\n        localStorage.setItem(\"selectedCurrency\", finalCurrency);\\n        localStorage.setItem(\"selectedCountryCode\", finalCountryCode);\\n        localStorage.setItem(\"selectedCurrencySymbol\", finalCurrencySymbol);\\n\\n        // Also update window.shopXtools for global consistency\\n        window.shopXtools.defaultCurrency = finalCurrency;\\n        window.shopXtools.defaultCountry = finalCountry;\\n        window.shopXtools.defaultCountryCode = finalCountryCode;\\n        window.shopXtools.defaultCurrencySymbol = finalCurrencySymbol;\\n\\n        // Dispatch an event to notify the application of currency settings changes\\n        const currencyEvent = new CustomEvent(\\'currency__settings-updated\\', {\\n          detail: {\\n            previous: {\\n              defaultCountry: storedCountry,\\n              defaultCountryCode: storedCountryCode,\\n              defaultCurrency: storedCurrency,\\n              defaultCurrencySymbol: storedCurrencySymbol\\n            },\\n            current: {\\n              defaultCountry: finalCountry,\\n              defaultCountryCode: finalCountryCode,\\n              defaultCurrency: finalCurrency,\\n              defaultCurrencySymbol: finalCurrencySymbol\\n            }\\n          }\\n        });\\n        document.dispatchEvent(currencyEvent);\\n      };\\n\\n\\n      const handleProductData = (newProducts, countryCode, isInitialLoad = false, cursor = null) => {\\n        try {\\n          // Validate incoming data structure\\n          if (!Array.isArray(newProducts)) {\\n            console.warn(\\'handleProductData: newProducts is not an array, converting to empty array\\');\\n            newProducts = [];\\n          }\\n          \\n          // Transform products into minimal format with only essential data\\n          const transformedProducts = newProducts.map(({ node }) => {\\n            // Validate node structure\\n            if (!node || typeof node !== \\'object\\') {\\n              console.warn(\\'handleProductData: Invalid node structure, skipping product\\');\\n              return null;\\n            }\\n            \\n            // Check required fields\\n            if (!node.id || !node.handle || !node.title) {\\n              console.warn(\\'handleProductData: Product missing required fields, skipping:\\', { \\n                id: node.id, \\n                handle: node.handle, \\n                title: node.title \\n              });\\n              return null;\\n            }\\n            // For initial load, include minimal but sufficient variant data with safety checks\\n            if (isInitialLoad) {\\n              return {\\n                node: {\\n                  id: node.id,\\n                  handle: node.handle,\\n                  title: node.title,\\n                  priceRange: node.priceRange,\\n                  compareAtPriceRange: node.compareAtPriceRange || null,\\n                  productType: node.productType || null,\\n                  tags: Array.isArray(node.tags) ? node.tags : [],\\n                  collections: (() => {\\n                    try {\\n                      return node.collections?.edges ? \\n                        node.collections.edges.map(edge => ({\\n                          node: {\\n                            id: edge.node?.id || \\'\\',\\n                            handle: edge.node?.handle || \\'\\',\\n                            title: edge.node?.title || \\'\\'\\n                          }\\n                        })).filter(col => col.node.id && col.node.handle) : [];\\n                    } catch (error) {\\n                      console.warn(\\'Error processing collections, using empty array:\\', error);\\n                      return [];\\n                    }\\n                  })(),\\n                  metafields: node.metafields || [],\\n                  variants: { \\n                    edges: (() => {\\n                      try {\\n                        return (node.variants?.edges || []).map(({ node: variant }) => ({\\n                          node: {\\n                            id: variant?.id || \\'\\',\\n                            title: variant?.title || \\'\\',\\n                            price: variant?.price || null,\\n                            availableForSale: Boolean(variant?.availableForSale),\\n                            selectedOptions: Array.isArray(variant?.selectedOptions) ? variant.selectedOptions : [],\\n                            quantityAvailable: Number(variant?.quantityAvailable) || 0,\\n                            compareAtPrice: variant?.compareAtPrice || null\\n                          }\\n                        })).filter(v => v.node.id); // Remove invalid variants\\n                      } catch (error) {\\n                        console.warn(\\'Error processing variants, using empty array:\\', error);\\n                        return [];\\n                      }\\n                    })()\\n                  },\\n                  options: node.options || []\\n                }\\n              };\\n            }\\n\\n            // For complete data load, include all necessary fields\\n            return {\\n              node: {\\n                id: node.id,\\n                handle: node.handle,\\n                title: node.title,\\n                vendor: node.vendor,\\n                productType: node.productType,\\n                tags: node.tags,\\n                metafields: node.metafields,\\n                collections: Array.isArray(node.collections)\\n                  ? node.collections // already transformed\\n                  : (node.collections?.edges || []).map(edge => ({\\n                    node: {\\n                      id: edge.node.id,\\n                      handle: edge.node.handle,\\n                      title: edge.node.title\\n                    }\\n                })),\\n                variants: { \\n                  edges: (node.variants?.edges || []).map(({ node: variant }) => ({\\n                    node: {\\n                      id: variant.id,\\n                      title: variant.title,\\n                      price: variant.price,\\n                      availableForSale: variant.availableForSale,\\n                      selectedOptions: variant.selectedOptions || [],\\n                      quantityAvailable: variant.quantityAvailable || 0,\\n                      compareAtPrice: variant.compareAtPrice,\\n                      requiresShipping: variant.requiresShipping\\n                    }\\n                  }))\\n                },\\n                options: node.options || [],\\n                priceRange: node.priceRange,\\n                compareAtPriceRange: node.compareAtPriceRange,\\n                sellingPlanGroups: node.sellingPlanGroups ? {\\n                  edges: (node.sellingPlanGroups.edges || []).map(({ node: sellingPlanGroup }) => ({\\n                    node: {\\n                      name: sellingPlanGroup.name,\\n                      options: sellingPlanGroup.options,\\n                      sellingPlans: {\\n                        edges: (sellingPlanGroup.sellingPlans.edges || []).map(({ node: sellingPlan }) => ({\\n                          node: {\\n                            id: sellingPlan.id,\\n                            name: sellingPlan.name,\\n                            description: sellingPlan.description,\\n                            recurringDeliveries: sellingPlan.recurringDeliveries,\\n                            priceAdjustments: sellingPlan.priceAdjustments\\n                          }\\n                        }))\\n                      }\\n                    }\\n                  }))\\n                } : null\\n              }\\n            };\\n          }).filter(Boolean); // Remove null/invalid products\\n\\n          // Log validation results\\n          if (transformedProducts.length !== newProducts.length) {\\n            console.warn(\\'handleProductData: Filtered out \\' + (newProducts.length - transformedProducts.length) + \\' invalid products\\');\\n          }\\n\\n          // --- ADDED LOGGING FOR COLLECTION FILTER ---\\n          // if (window.shopXtools && window.shopXtools.lastAppliedFilters && window.shopXtools.lastAppliedFilters.collection) {\\n          //   const collectionHandle = window.shopXtools.lastAppliedFilters.collection.toLowerCase();\\n          //   // Only keep items that do NOT have the collection\\n          //   const missing = transformedProducts.filter(({ node }) => {\\n          //     const collections = Array.isArray(node.collections) ? node.collections : [];\\n          //     return !collections.some(col => (col.node?.handle || \\'\\').toLowerCase() === collectionHandle);\\n          //   });\\n          //   const allMatch = missing.length === 0;\\n          //   console.log(\\'[Collection Check] Total items processed:\\', transformedProducts.length);\\n          //   console.log(\\'[Collection Check] All items have collection\\', collectionHandle, \\':\\', allMatch);\\n          //   if (!allMatch) {\\n          //     console.log(\\'[Collection Check] Items missing collection:\\', missing.map(({ node }) => node.id));\\n          //   }\\n          // }\\n          // --- END LOGGING ---\\n\\n          // Always accumulate products, whether initial load or not\\n          if (!cursor) {\\n            // If this is the first page, start fresh\\n            products = transformedProducts;\\n          } else {\\n            // For subsequent pages, append to existing products\\n            products = [...products, ...transformedProducts];\\n          }\\n\\n          // Store products in smaller chunks to avoid quota issues\\n          const CHUNK_SIZE = 50;\\n          const chunks = [];\\n          for (let i = 0; i < products.length; i += CHUNK_SIZE) {\\n            chunks.push(products.slice(i, i + CHUNK_SIZE));\\n          }\\n\\n          let storageQuotaExceeded = false;\\n\\n          // Update storage with all chunks\\n          try {\\n            // Only attempt to clear old chunks if we haven\\'t hit quota yet\\n            if (!storageQuotaExceeded) {\\n              try {\\n                const oldMetadata = JSON.parse(sessionStorage.getItem(\\'fc_products_\\' + countryCode + \\'_metadata\\') || \\'{}\\');\\n                if (oldMetadata.totalChunks) {\\n                  for (let i = 0; i < oldMetadata.totalChunks; i++) {\\n                    sessionStorage.removeItem(\\'fc_products_\\' + countryCode + \\'_chunk_\\' + i);\\n                  }\\n                }\\n              } catch (error) {\\n                console.warn(\\'Storage quota exceeded during cleanup, switching to in-memory only\\');\\n                storageQuotaExceeded = true;\\n              }\\n            }\\n\\n            // Only attempt to store new chunks if we haven\\'t hit quota yet\\n            if (!storageQuotaExceeded) {\\n              for (let i = 0; i < chunks.length; i++) {\\n                const chunkKey = \\'fc_products_\\' + countryCode + \\'_chunk_\\' + i;\\n                try {\\n                  sessionStorage.setItem(chunkKey, JSON.stringify(chunks[i]));\\n                } catch (storageError) {\\n                  console.warn(\\'Storage quota exceeded at chunk\\', i, \\', switching to in-memory only\\');\\n                  storageQuotaExceeded = true;\\n                  break;\\n                }\\n              }\\n\\n              // Only attempt to update metadata if we haven\\'t hit quota\\n              if (!storageQuotaExceeded) {\\n                const metadata = {\\n                  totalChunks: chunks.length,\\n                  totalProducts: products.length,\\n                  lastUpdated: Date.now(),\\n                  isComplete: !cursor\\n                };\\n                try {\\n                  sessionStorage.setItem(\\'fc_products_\\' + countryCode + \\'_metadata\\', JSON.stringify(metadata));\\n                } catch (error) {\\n                  console.warn(\\'Storage quota exceeded during metadata update\\');\\n                  storageQuotaExceeded = true;\\n                }\\n              }\\n            }\\n          } catch (error) {\\n            console.warn(\\'Storage operations failed, proceeding with in-memory only\\');\\n            storageQuotaExceeded = true;\\n          }\\n\\n          // Update global references with complete product list (always do this regardless of storage status)\\n          window.shopXtools.productsWithPrices = { [countryCode]: products };\\n          window.shopXtools.products = products;\\n\\n          // Set status and dispatch events\\n          window.shopXtools.status = \"ready\";\\n          window.shopXtools.dispatchEvent(\\'data__products-ready\\', { \\n            products: window.shopXtools.products,\\n            isInitialLoad\\n          });\\n\\n          // Start fetching complete data immediately after displaying prices\\n          if (isInitialLoad && !cursor) {\\n            const { vendor, collection, productType, tag } = window.shopXtools.lastAppliedFilters || {};\\n            setTimeout(() => {\\n              fetchCompleteProductData(countryCode, vendor, collection, productType, tag);\\n            }, 0);\\n          }\\n\\n          //console.log(\\'[Products] Total products loaded:\\', products.length);\\n        } catch (error) {\\n          console.error(\\'Error in handleProductData:\\', error);\\n          window.shopXtools.status = \"error\";\\n        }\\n      };\\n\\n      // Client-side filtering function to ensure filters are applied correctly\\n      const filterProductsClientSide = (products, filters) => {\\n        const { vendor, collection, productType, tag } = filters;\\n        \\n        return products.filter(({ node }) => {\\n          // Filter by vendor if specified\\n          if (vendor && node.vendor !== vendor) {\\n            return false;\\n          }\\n          \\n          // Filter by collection if specified\\n          if (collection) {\\n            // Check if the product belongs to the specified collection\\n            const collections = node.collections || [];\\n            const matchingCollection = collections.find(col => \\n              col.handle === collection.toLowerCase() || \\n              col.title === collection\\n            );\\n            if (!matchingCollection) {\\n              return false;\\n            }\\n          }\\n          \\n          // Filter by product type if specified\\n          if (productType && node.productType !== productType) {\\n            return false;\\n          }\\n          \\n          // Filter by tag if specified\\n          if (tag) {\\n            const tags = node.tags || [];\\n            if (!tags.includes(tag)) {\\n              return false;\\n            }\\n          }\\n          \\n          return true;\\n        });\\n      };\\n\\n      const fetchProductsByCountry = async (countryCode, cursor = null, vendor = null, collection = null, productType = null, tag = null) => {\\n        // Store filter information if this is a first page request\\n        if (!cursor) {\\n          const newFilters = { vendor, collection, productType, tag };\\n          window.shopXtools.lastAppliedFilters = newFilters;\\n          \\n          // Store filters in sessionStorage\\n          try {\\n            const storedFilters = JSON.parse(sessionStorage.getItem(\\'fc_filters\\') || \\'{}\\');\\n            const filtersChanged = JSON.stringify(storedFilters) !== JSON.stringify(newFilters);\\n            \\n            if (filtersChanged) {\\n              sessionStorage.setItem(\\'fc_filters\\', JSON.stringify(newFilters));\\n              // Force refresh from Shopify if filters changed\\n              products = [];\\n              return fetchProductsByCountry(countryCode, null, vendor, collection, productType, tag);\\n            }\\n          } catch (error) {\\n            console.error(\\'Error handling filter storage:\\', error);\\n          }\\n          \\n          products = [];\\n          \\n          // Try to load and display cached data immediately\\n          try {\\n            const metadata = JSON.parse(sessionStorage.getItem(\\'fc_products_\\' + countryCode + \\'_metadata\\') || \\'{}\\');\\n            // console.log(\\'[Cache] metadata\\', metadata);\\n            // console.log(\\'[Cache] cursor\\', cursor);\\n            if (metadata.totalChunks > 0) {\\n              let cachedProducts = [];\\n              for (let i = 0; i < metadata.totalChunks; i++) {\\n                const chunkKey = \\'fc_products_\\' + countryCode + \\'_chunk_\\' + i;\\n                const chunk = JSON.parse(sessionStorage.getItem(chunkKey) || \\'[]\\');\\n                cachedProducts = cachedProducts.concat(chunk);\\n                // console.log(\\'[Cache] cachedProducts\\', cachedProducts);\\n              }\\n              \\n              if (cachedProducts.length > 0) {\\n                //console.log(\\'[Cache] Displaying\\', cachedProducts.length, \\'cached products\\');\\n                handleProductData(cachedProducts, countryCode, false, cursor);\\n                \\n                // If cache is older than 1 minute or incomplete, refresh in background\\n                if (Date.now() - metadata.lastUpdated > 60000 || !metadata.isComplete) {\\n                  //console.log(\\'[Cache] Starting background refresh\\');\\n                } else {\\n                  //console.log(\\'[Cache] Cache is fresh and complete, skipping refresh\\');\\n                  return;\\n                }\\n              }\\n            }\\n          } catch (error) {\\n            console.error(\\'Error loading from cache:\\', error);\\n          }\\n        }\\n\\n        try {\\n          let response;\\n          let variables;\\n          let query;\\n\\n          // Use collection-specific query structure if a collection filter is provided\\n          if (collection) {\\n            query = getProductsQueryByCollection;\\n            variables = {\\n              countryCode,\\n              collectionHandle: collection.toLowerCase(),\\n              ...(cursor && { cursor })\\n            };\\n            \\n            //console.log(\"[FILTER] Using collection-specific query for:\", collection);\\n          } else {\\n            query = getProductsQueryByCountry;\\n            \\n            // Build query string for non-collection filters\\n            const queryParts = [];\\n            if (vendor) queryParts.push(`vendor:${vendor}`);\\n            if (productType) queryParts.push(`product_type:${productType}`);\\n            if (tag) queryParts.push(`tag:${tag}`);\\n            const queryString = queryParts.length > 0 ? queryParts.join(\" AND \") : null;\\n\\n            variables = {\\n              countryCode,\\n              ...(cursor && { cursor }),\\n              ...(queryString && { query: queryString })\\n            };\\n          }\\n\\n          response = await fetch(`https://${domain.host}/api/2024-07/graphql.json`, {\\n            method: \"POST\",\\n            headers: {\\n              \"Content-Type\": \"application/json\",\\n              \"X-Shopify-Storefront-Access-Token\": fcConfigs.storefrontAccessToken,\\n            },\\n            body: JSON.stringify({ query, variables }),\\n          });\\n\\n          const result = await response.json();\\n          \\n          if (collection) {\\n            // Handle collection-specific response structure\\n            if (!result.errors && result.data?.collection?.products) {\\n              const newProducts = result.data.collection.products.edges || [];\\n              handleProductData(newProducts, countryCode, true, cursor);\\n\\n              // Continue pagination if there are more products\\n              const pageInfo = result.data.collection.products.pageInfo;\\n              if (pageInfo.hasNextPage && pageInfo.endCursor) {\\n                await fetchProductsByCountry(countryCode, pageInfo.endCursor, vendor, collection, productType, tag);\\n              } else {\\n                // All products have been fetched, update the metadata\\n                const metadata = {\\n                  totalChunks: Math.ceil(products.length / 50),\\n                  totalProducts: products.length,\\n                  lastUpdated: Date.now(),\\n                  isComplete: true\\n                };\\n                sessionStorage.setItem(\\'fc_products_\\' + countryCode + \\'_metadata\\', JSON.stringify(metadata));\\n              }\\n            } else if (result.errors) {\\n              console.error(\\'Error fetching collection products:\\', result.errors);\\n              window.shopXtools.status = \"error\";\\n            } else if (!result.data?.collection) {\\n              console.error(\\'Collection not found:\\', collection);\\n              window.shopXtools.status = \"ready\";\\n              window.shopXtools.products = [];\\n              window.shopXtools.dispatchEvent(\\'data__products-ready\\', { \\n                products: [],\\n                isInitialLoad: false\\n              });\\n            }\\n          } else {\\n            // Handle regular product query response\\n            if (!result.errors && result.data?.products) {\\n              const newProducts = result.data.products.edges || [];\\n              handleProductData(newProducts, countryCode, true, cursor);\\n\\n              // Continue pagination if there are more products\\n              const pageInfo = result.data.products.pageInfo;\\n              if (pageInfo.hasNextPage && pageInfo.endCursor) {\\n                await fetchProductsByCountry(countryCode, pageInfo.endCursor, vendor, collection, productType, tag);\\n              } else {\\n                // All products have been fetched, update the metadata\\n                const metadata = {\\n                  totalChunks: Math.ceil(products.length / 50),\\n                  totalProducts: products.length,\\n                  lastUpdated: Date.now(),\\n                  isComplete: true\\n                };\\n                sessionStorage.setItem(\\'fc_products_\\' + countryCode + \\'_metadata\\', JSON.stringify(metadata));\\n              }\\n            }\\n          }\\n        } catch (error) {\\n          console.error(\\'Error fetching products:\\', error);\\n          window.shopXtools.status = \"error\";\\n        }\\n      };\\n\\n      // Function to fetch complete product data in the background\\n      const fetchCompleteProductData = async (countryCode, vendor, collection, productType, tag) => {\\n        let cursor = null;\\n        let allProducts = [];\\n\\n        try {\\n            while (true) {\\n                let response;\\n                let variables;\\n                let query;\\n\\n                // Use collection-specific query for collections, matching the main fetch function\\n                if (collection) {\\n                    query = getLessProductsQueryByCollection;\\n                    variables = {\\n                        countryCode,\\n                        collectionHandle: collection.toLowerCase(),\\n                        ...(cursor && { cursor })\\n                    };\\n                } else {\\n                    // For non-collection filters, use regular query\\n                    query = getLessProductsQueryByCountry;\\n                    \\n                    // Build query parts\\n                    const queryParts = [];\\n                    if (vendor) queryParts.push(`vendor:${vendor}`);\\n                    if (productType) queryParts.push(`product_type:${productType}`);\\n                    if (tag) queryParts.push(`tag:${tag}`);\\n                    const queryString = queryParts.length > 0 ? queryParts.join(\" AND \") : null;\\n                    \\n                    variables = {\\n                        countryCode,\\n                        cursor,\\n                        ...(queryString && { query: queryString })\\n                    };\\n                }\\n\\n                response = await fetch(`https://${domain.host}/api/2024-07/graphql.json`, {\\n                    method: \"POST\",\\n                    headers: {\\n                        \"Content-Type\": \"application/json\",\\n                        \"X-Shopify-Storefront-Access-Token\": fcConfigs.storefrontAccessToken,\\n                    },\\n                    body: JSON.stringify({ query, variables }),\\n                });\\n\\n                const result = await response.json();\\n                // console.log(\\'result\\', result);\\n                if (collection) {\\n                    // Handle collection response structure\\n                    if (!result.errors && result.data?.collection?.products) {\\n                        const newProducts = result.data.collection.products.edges || [];\\n                        allProducts = [...allProducts, ...newProducts];\\n\\n                        // Update data every 500 products or when complete\\n                        if (allProducts.length >= 500 || !result.data.collection.products.pageInfo.hasNextPage) {\\n                            handleProductData(allProducts, countryCode, false, cursor);\\n                            allProducts = [];\\n                        }\\n\\n                        if (!result.data.collection.products.pageInfo.hasNextPage) {\\n                            break;\\n                        }\\n                        cursor = result.data.collection.products.pageInfo.endCursor;\\n                    } else {\\n                        console.error(\\'Error fetching complete collection data:\\', result.errors);\\n                        break;\\n                    }\\n                } else {\\n                    // Handle regular product response\\n                    if (!result.errors && result.data?.products) {\\n                        const newProducts = result.data.products.edges || [];\\n                        allProducts = [...allProducts, ...newProducts];\\n\\n                        // Update data every 500 products or when complete\\n                        if (allProducts.length >= 500 || !result.data.products.pageInfo.hasNextPage) {\\n                            handleProductData(allProducts, countryCode, false, cursor);\\n                            allProducts = [];\\n                        }\\n\\n                        if (!result.data.products.pageInfo.hasNextPage) {\\n                            break;\\n                        }\\n                        cursor = result.data.products.pageInfo.endCursor;\\n                    } else {\\n                        console.error(\\'Error fetching complete product data:\\', result.errors);\\n                        break;\\n                    }\\n                }\\n            }\\n        } catch (error) {\\n            console.error(\\'Error in background data fetch:\\', error);\\n        }\\n      };\\n\\n      // Initialize shopXtools and attach fetchProductsByCountry to it\\n      window.shopXtools = window.shopXtools || {};\\n      window.shopXtools.fetchProductsByCountry = fetchProductsByCountry;\\n      \\n      // Attach priority queue functions to shopXtools (properties already initialized in setupInitialToolsObject)\\n      window.shopXtools.fetchProductsByIds = fetchProductsByIds;\\n      window.shopXtools.processPriorityQueue = processPriorityQueue;\\n\\n      // Start priority queue processor (runs continuously to process requested products)\\n      // This ensures priority products are fetched even before full product load completes\\n      if (typeof setInterval !== \\'undefined\\') {\\n        setInterval(() => {\\n          if (window.shopXtools.priorityQueue && \\n              window.shopXtools.priorityQueue.length > 0 && \\n              !window.shopXtools.priorityFetching &&\\n              domain && domain.host) {\\n            processPriorityQueue();\\n          }\\n        }, 500); // Check every 500ms\\n      }\\n      \\n      configValidation();\\n      setDomainUrl();\\n      \\n  const validateDomainForFreePlan = () => {\\n    if (\"free\" === \"free\") {\\n      const isFramerSubdomain = domain.host.includes(\\'framer.app\\');\\n      if (isFramerSubdomain) {\\n        console.error(\\'Free plan users can only use a Framer subdomain\\');\\n        return false;\\n      }\\n    }\\n    return true;\\n  };\\n\\n  if (!validateDomainForFreePlan()) {\\n    //console.log(\\'Domain validation failed, products will not be fetched\\');\\n    return;\\n  }\\n\\n      \\n  if (\"free\" === \"free\") {\\n    // Wait for DOM to be ready\\n    const insertWidget = () => {\\n      const widget = document.createElement(\\'div\\');\\n      widget.innerHTML = `\\n        <div \\n          style=\"\\n            position: fixed;\\n            bottom: 60px;\\n            right: 20px;\\n            border-radius: 10px;\\n            overflow: hidden;\\n            z-index: 999999;\\n            transition: opacity 0.3s ease;\\n            box-shadow:\\n              rgba(0, 0, 0, 0.26) 0px 0.636953px 1.14652px -1.125px, \\n              rgba(0, 0, 0, 0.24) 0px 1.9316px 3.47689px -2.25px, \\n              rgba(0, 0, 0, 0.192) 0px 5.10612px 9.19102px -3.375px, \\n              rgba(0, 0, 0, 0.03) 0px 16px 28.8px -4.5px;\\n            width: 142px;\\n            background: white;\\n          \"\\n          onmouseover=\"this.style.opacity = \\'1\\'\"\\n          onmouseout=\"this.style.opacity = \\'1\\'\"\\n        >\\n          <a \\n            href=\"https://framercommerce.com/?utm_source=framer&utm_medium=badge&utm_campaign=free_tier\" \\n            target=\"_blank\" \\n            style=\"\\n              display: block;\\n              line-height: 0;\\n            \"\\n          >\\n            <img \\n              src=\"https://www.dropbox.com/scl/fi/liuwd84g4nioi6fmu93e1/fc-free-badge.png?rlkey=yearpo3rkxqalq4mtmabujdk4&raw=1\" \\n              alt=\"Framer Commerce\"\\n              width=\"142\"\\n              height=\"36\"\\n              style=\"display: block; width: 100%; height: auto;\"\\n            />\\n          </a>\\n        </div>\\n      `;\\n\\n      // Check if widget already exists\\n      const existingWidget = document.querySelector(\\'[data-framercommerce-widget]\\');\\n      if (!existingWidget) {\\n        widget.setAttribute(\\'data-framercommerce-widget\\', \\'true\\');\\n        document.body.appendChild(widget);\\n      }\\n    };\\n\\n    // If DOM is already loaded\\n    if (document.readyState === \\'complete\\' || document.readyState === \\'interactive\\') {\\n      setTimeout(insertWidget, 1);\\n    } else {\\n      // Wait for DOM to be ready\\n      document.addEventListener(\\'DOMContentLoaded\\', insertWidget);\\n    }\\n\\n    // Backup in case DOMContentLoaded doesn\\'t fire\\n    window.addEventListener(\\'load\\', insertWidget);\\n  }\\n\\n\\n      // Initialize cart from localStorage\\n      const initializeCartFromLocalStorage = () => {\\n        try {\\n          const cartData = localStorage.getItem(\"shopXtools.cart\");\\n          if (cartData) {\\n            const cart = JSON.parse(cartData);\\n            window.shopXtools.cart = cart;\\n            \\n            // If cart has buyerIdentity with countryCode, we\\'ll use it during currency initialization\\n            if (cart.buyerIdentity && cart.buyerIdentity.countryCode) {\\n              // Found country code in stored cart\\n            }\\n          } else {\\n            window.shopXtools.cart = {};\\n          }\\n        } catch (error) {\\n          console.error(\"Error initializing cart from localStorage:\", error);\\n          window.shopXtools.cart = {};\\n        }\\n      };\\n\\n      // Initialize cart before proceeding with other initializations\\n      initializeCartFromLocalStorage();\\n\\n      // Check domain before proceeding with product fetch\\n      if (!validateDomainForFreePlan()) {\\n        window.shopXtools.products = [];\\n        window.shopXtools.status = \"ready\";\\n        window.shopXtools.getProducts = () => null;\\n        return;\\n      }\\n\\n      if (!window.shopXtools || !Array.isArray(window.shopXtools.products) || window.shopXtools.products.length === 0) {\\n        // Initialize currency settings first\\n        initializeCurrencySettings().then(() => {\\n            // Get the stored country code\\n            const storedCountryCode = localStorage.getItem(\"selectedCountryCode\");\\n            if (storedCountryCode) {\\n              // Check for stored filters from other tabs/sessions\\n              let storedFilters;\\n              try {\\n                storedFilters = JSON.parse(sessionStorage.getItem(\\'fc_filters\\') || \\'{}\\');\\n              } catch (error) {\\n                console.error(\\'Error reading stored filters:\\', error);\\n                storedFilters = {};\\n              }\\n              \\n              // Initialize filtering capabilities with stored filters if they exist\\n              window.shopXtools.lastAppliedFilters = {\\n                vendor: storedFilters.vendor || null,\\n                collection: storedFilters.collection || null,\\n                productType: storedFilters.productType || null,\\n                tag: storedFilters.tag || null\\n              };\\n              \\n              // Initialize filtering capabilities\\n              window.shopXtools.getFilteredProducts = (filters = null) => {\\n                if (window.shopXtools.status !== \"ready\") {\\n                  console.warn(\"Products not yet loaded, please wait for data__products-ready event\");\\n                  return [];\\n                }\\n                \\n                // If filters provided, fetch fresh filtered products\\n                if (filters) {\\n                  const countryCode = localStorage.getItem(\"selectedCountryCode\");\\n                  if (!countryCode) {\\n                    console.error(\"No country code available for product fetch\");\\n                    return [];\\n                  }\\n                  \\n                  // Store filters for future reference\\n                  window.shopXtools.lastAppliedFilters = { \\n                    ...window.shopXtools.lastAppliedFilters,\\n                    ...filters\\n                  };\\n                  \\n                  // Fetch filtered products\\n                  window.shopXtools.fetchProductsByCountry(\\n                    countryCode,\\n                    null,\\n                    filters.vendor || null,\\n                    filters.collection || null,\\n                    filters.productType || null,\\n                    filters.tag || null\\n                  );\\n                  \\n                  // Return null to indicate async operation in progress\\n                  return null;\\n                }\\n                \\n                // If no new filters, but we have existing filters, apply client-side filtering\\n                const existingFilters = window.shopXtools.lastAppliedFilters;\\n                if (existingFilters.vendor || existingFilters.collection || existingFilters.productType || existingFilters.tag) {\\n                  // Get all products\\n                  const allProducts = window.shopXtools.productsWithPrices?.[localStorage.getItem(\"selectedCountryCode\")] || [];\\n                  \\n                  // Apply client-side filtering\\n                  return filterProductsClientSide(allProducts, existingFilters);\\n                }\\n                \\n                // Otherwise return currently loaded products\\n                return window.shopXtools.products;\\n              };\\n              \\n              window.shopXtools.areProductsFiltered = () => {\\n                const filters = window.shopXtools.lastAppliedFilters || {};\\n                return !!(filters.vendor || filters.collection || filters.productType || filters.tag);\\n              };\\n              \\n              window.shopXtools.getFilterInfo = () => {\\n                const filters = window.shopXtools.lastAppliedFilters || {};\\n                const activeFilters = {};\\n                \\n                if (filters.vendor) activeFilters.vendor = filters.vendor;\\n                if (filters.collection) activeFilters.collection = filters.collection;\\n                if (filters.productType) activeFilters.productType = filters.productType;\\n                if (filters.tag) activeFilters.tag = filters.tag;\\n                \\n                const allProductsCount = window.shopXtools.productsWithPrices?.[localStorage.getItem(\"selectedCountryCode\")]?.length || 0;\\n                const filteredProductsCount = window.shopXtools.products?.length || 0;\\n                \\n                return {\\n                  isFiltered: window.shopXtools.areProductsFiltered(),\\n                  activeFilters,\\n                  allProductsCount,\\n                  filteredProductsCount,\\n                  filterRate: allProductsCount ? Math.round((filteredProductsCount / allProductsCount) * 100) : 100\\n                };\\n              };\\n              \\n              window.shopXtools.clearFilters = () => {\\n                window.shopXtools.lastAppliedFilters = {\\n                  vendor: null,\\n                  collection: null,\\n                  productType: null,\\n                  tag: null\\n                };\\n                \\n                const countryCode = localStorage.getItem(\"selectedCountryCode\");\\n                if (!countryCode) {\\n                  console.error(\"No country code available for product fetch\");\\n                  return;\\n                }\\n                \\n                return window.shopXtools.fetchProductsByCountry(countryCode);\\n              };\\n              \\n              // Get filter settings from window.__FcCheckoutConfigs\\n              const fcConfig = window.__FcCheckoutConfigs || {};\\n              let vendor = null;\\n              let collection = null;\\n              let productType = null;\\n              let tag = null;\\n              \\n              // Check if filter settings exist in the config\\n              if (fcConfig.filterByVendor) {\\n                vendor = fcConfig.filterByVendor;\\n              }\\n              \\n              if (fcConfig.filterByCollection) {\\n                collection = fcConfig.filterByCollection;\\n              }\\n              \\n              if (fcConfig.filterByProductType) {\\n                productType = fcConfig.filterByProductType;\\n              }\\n              \\n              if (fcConfig.filterByTags) {\\n                tag = fcConfig.filterByTags;\\n              }\\n              \\n              // Update lastAppliedFilters with any settings we found\\n              window.shopXtools.lastAppliedFilters = {\\n                vendor: vendor,\\n                collection: collection,\\n                productType: productType,\\n                tag: tag\\n              };\\n              \\n              // Then fetch products with the correct country code and filters\\n              fetchProductsByCountry(\\n                storedCountryCode, \\n                null, \\n                vendor, \\n                collection, \\n                productType, \\n                tag\\n              ).catch(error => {\\n                console.error(\\'Error fetching products by country:\\', error);\\n                window.shopXtools.status = \"ready\";\\n              });\\n              \\n            } else {\\n                console.error(\\'No country code available for product fetch\\');\\n            }\\n        }).catch(error => {\\n            console.error(\\'Error during initialization:\\', error);\\n        });\\n      }\\n    \\n      window.__currencyMap = CURRENCIES;\\n\\n      // Global Pop Fallback\\n      if (typeof window !== \"undefined\") {\\n        // console.log(\"running global fallback\")\\n        window.addEventListener(\\n          \"popstate\",\\n          (event) => {\\n          const urlParams = new URLSearchParams(window.location.search)\\n          const hasVariant = urlParams.has(\"variant\")\\n          const currentPath = window.location.pathname\\n          const urlHandle = currentPath.split(\"/\").filter(Boolean).pop()\\n          const isProductPage = (\\n            Array.isArray(window.shopXtools?.products)\\n              ? window.shopXtools.products.some(({ node }) => node.handle === urlHandle)\\n              : false\\n          )\\n        \\n            // This fallback is ONLY for pages without VariantSelector (like homepage)\\n            if (isProductPage && hasVariant) {\\n              // We\\'re going back to a product page with variant\\n              //console.log(\"We\\'re going back to a product page with variant but VariantSelector isn\\'t mounted to handle restore\")\\n              event.stopImmediatePropagation()\\n              window.location.reload()\\n            }\\n          },\\n          true\\n        )\\n      }\\n      if (typeof window !== \"undefined\") {\\n        const cleanVariantData = () => {\\n          const urlParams = new URLSearchParams(window.location.search)\\n          const hasVariant = urlParams.has(\"variant\")\\n          const currentPath = window.location.pathname\\n          const urlHandle = currentPath.split(\"/\").filter(Boolean).pop()\\n\\n          const isProductPage = (\\n            Array.isArray(window.shopXtools?.products)\\n              ? window.shopXtools.products.some(({ node }) => node.handle === urlHandle)\\n              : false\\n          )\\n\\n          if (!isProductPage && hasVariant) {\\n            urlParams.delete(\"variant\")\\n            const newUrl = `${window.location.pathname}${urlParams.toString() ? \"?\" + urlParams.toString() : \"\"}`;\\n            window.history.replaceState({}, \"\", newUrl)\\n            //console.log(\"Stripped ?variant from URL via navigation:\", newUrl)\\n            try {\\n              for (let i = sessionStorage.length - 1; i >= 0; i--) {\\n                  const key = sessionStorage.key(i)\\n                  if (key && key.startsWith(\"fc_active_variant_\")) {\\n                    sessionStorage.removeItem(key)\\n                    // console.log(\"Cleared variant from sessionStorage\", key);\\n                  }\\n              }\\n            } catch (error) {\\n              console.error(\\n                \"Error clearing variant from sessionStorage:\",\\n                error\\n              )\\n            }\\n            \\n          }\\n          if (!isProductPage) {\\n            try {\\n              for (let i = sessionStorage.length - 1; i >= 0; i--) {\\n                  const key = sessionStorage.key(i)\\n                  if (key && key.startsWith(\"fc_active_variant_\")) {\\n                    sessionStorage.removeItem(key)\\n                    // console.log(\"Cleared variant from sessionStorage\", key);\\n                  }\\n              }\\n            } catch (error) {\\n              console.error(\\n                \"Error clearing variant from sessionStorage:\",\\n                error\\n              )\\n            }\\n          }\\n        }\\n        // Run on popstate (back/forward)\\n        window.addEventListener(\"popstate\", cleanVariantData)\\n\\n        // Patch pushState and replaceState to track all navigations\\n        const originalPushState = history.pushState\\n        const originalReplaceState = history.replaceState\\n\\n        history.pushState = function (...args) {\\n          originalPushState.apply(this, args)\\n          cleanVariantData()\\n        }\\n\\n        history.replaceState = function (...args) {\\n          originalReplaceState.apply(this, args)\\n          cleanVariantData()\\n        }\\n      }\\n\\n      // ============================================================\\n      // Shopify Privacy API Consent Sync\\n      // ============================================================\\n\\n      // Note: This attempts to sync Framer Cookie Banner consent to Shopify\\n      // Only works if domains are aligned (same root domain)\\n      // Falls back gracefully if not configured or domains misaligned\\n\\n      (function initializeShopifyConsentSync() {\\n        // Check if we should attempt Shopify sync\\n        document.addEventListener(\\'data__cart-updated\\', function(e) {\\n          if (!window.__FCShopifySyncInitialized && e.detail && e.detail.cart && e.detail.cart.checkoutUrl) {\\n            window.__FCShopifySyncInitialized = true;\\n\\n            // Check domain alignment\\n            if (!window.FCDomainValidator.canShareCookies()) {\\n              console.warn(\\'[FC Privacy] Shopify sync skipped: domains cannot share cookies. Run window.FCConsentManager.logShopifySync() for details.\\');\\n              return;\\n            }\\n\\n            // Check if banner is present - only sync if user has made a choice\\n            if (!window.FCConsentManager.isBannerPresent()) {\\n              return;\\n            }\\n\\n            // Load Shopify Privacy API\\n            const script = document.createElement(\\'script\\');\\n            script.src = \\'https://cdn.shopify.com/shopifycloud/consent-tracking-api/v0.1/consent-tracking-api.js\\';\\n            script.async = true;\\n\\n            script.onload = function() {\\n              // Poll for window.Shopify.customerPrivacy to be available\\n              let attempts = 0;\\n              const maxAttempts = 50; // 5 seconds max\\n\\n              const checkShopifyReady = function() {\\n                attempts++;\\n\\n                if (typeof window.Shopify !== \\'undefined\\' && typeof window.Shopify.customerPrivacy !== \\'undefined\\') {\\n                  // Shopify Customer Privacy API is ready\\n                  // Sync initial consent if banner detected\\n                  syncConsentToShopify();\\n\\n                  // Listen for consent changes via FCConsentManager (primary method)\\n                  if (window.FCConsentManager && typeof window.FCConsentManager.onConsentChange === \\'function\\') {\\n                    window.FCConsentManager.onConsentChange(function(newConsent) {\\n                      syncConsentToShopify();\\n                    });\\n                  }\\n\\n                  // Also listen for generic consent update events (backup)\\n                  window.addEventListener(\\'cookie_consent_update\\', function() {\\n                    syncConsentToShopify();\\n                  });\\n\\n                  // Also listen for dataLayer updates (backup)\\n                  if (window.dataLayer) {\\n                    const originalPush = window.dataLayer.push;\\n                    window.dataLayer.push = function() {\\n                      const result = originalPush.apply(window.dataLayer, arguments);\\n                      if (arguments[0] && typeof arguments[0] === \\'object\\') {\\n                        const data = arguments[0];\\n                        if (\\'consent\\' in data || \\'analytics_storage\\' in data || \\'ad_storage\\' in data) {\\n                          setTimeout(function() {\\n                            syncConsentToShopify();\\n                          }, 100);\\n                        }\\n                      }\\n                      return result;\\n                    };\\n                  }\\n                } else if (attempts < maxAttempts) {\\n                  // Not ready yet, try again in 100ms\\n                  setTimeout(checkShopifyReady, 100);\\n                } else {\\n                  // Timeout - Shopify didn\\'t load\\n                  console.error(\\'[FC Privacy] Timeout waiting for window.Shopify.customerPrivacy\\');\\n                }\\n              };\\n\\n              // Start checking\\n              checkShopifyReady();\\n            };\\n\\n            script.onerror = function() {\\n              console.error(\\'[FC Privacy] Failed to load Shopify Privacy API script\\');\\n            };\\n\\n            document.head.appendChild(script);\\n          }\\n        });\\n\\n        function syncConsentToShopify() {\\n          if (!window.Shopify || !window.Shopify.customerPrivacy) {\\n            return;\\n          }\\n\\n          const consent = window.FCConsentManager.getConsent();\\n\\n          // Only sync if banner detected (user made a choice)\\n          if (!consent.bannerDetected) {\\n            return;\\n          }\\n\\n          const checkoutUrl = window.shopXtools?.cart?.checkoutUrl;\\n          if (!checkoutUrl) {\\n            return;\\n          }\\n\\n          try {\\n            const checkoutDomain = new URL(checkoutUrl).hostname;\\n            const framerHostname = window.location.hostname;\\n            const rootDomain = window.FCDomainValidator.extractRootDomain(framerHostname);\\n\\n            window.Shopify.customerPrivacy.setTrackingConsent(\\n              {\\n                sale_of_data: consent.marketing,\\n                analytics: consent.analytics,\\n                marketing: consent.marketing,\\n                preferences: consent.preferences,\\n                headlessStorefront: true,\\n                checkoutRootDomain: checkoutDomain,\\n                storefrontRootDomain: rootDomain,\\n                storefrontAccessToken: fcConfigs.storefrontAccessToken\\n              },\\n              function(error) {\\n                if (error) {\\n                  console.error(\\'[FC Privacy] Error syncing consent to Shopify:\\', error);\\n                }\\n              }\\n            );\\n          } catch (error) {\\n            console.error(\\'[FC Privacy] Error syncing consent:\\', error);\\n          }\\n        }\\n      })();\\n\\n    })();\\n  </script>',customHTMLHeadStart:\"<!-- Plugin: ced618 --> <script>\\n      (function() {\\n        window.__FcCheckoutConfigs = window.__FcCheckoutConfigs || {};\\n        \\n        const previousSettings = { \\n          checkout: { ...window.__FcCheckoutConfigs }\\n        };\\n        \\n        window.__FcCheckoutConfigs = {\\n          ...window.__FcCheckoutConfigs,\\n          checkoutLocale: \\\"en\\\",\\n          defaultCountry: \\\"Canada\\\",\\n          defaultCountryCode: \\\"CA\\\",\\n          defaultCurrency: \\\"CAD\\\",\\n          defaultCurrencySymbol: \\\"$\\\",\\n          metaPixelId: \\\"\\\",\\n          googleAnalyticsId: \\\"\\\",\\n          filterByVendor: \\\"\\\",\\n          filterByCollection: \\\"\\\",\\n          filterByProductType: \\\"\\\",\\n          filterByTags: \\\"\\\",\\n          variantImageTitles: [],\\n          variantImageSwatchTitles: [],\\n        };\\n        \\n        // Dispatch checkout settings update event to notify listeners\\n        try {\\n          const checkoutEvent = new CustomEvent('checkout__settings-updated', {\\n            detail: {\\n              previous: previousSettings.checkout,\\n              current: window.__FcCheckoutConfigs\\n            }\\n          });\\n          document.dispatchEvent(checkoutEvent);\\n        } catch (e) {}\\n        \\n          // Persist current defaults to storage when they differ to avoid stale markets/currencies\\n          sessionStorage.setItem('checkoutLocale', 'en');\\n          const existingCountry = localStorage.getItem('selectedCountry');\\n          if (existingCountry !== 'Canada') {\\n            localStorage.setItem('selectedCountry', 'Canada');\\n          }\\n          const existingCountryCode = localStorage.getItem('selectedCountryCode');\\n          if (existingCountryCode !== 'CA') {\\n            localStorage.setItem('selectedCountryCode', 'CA');\\n          }\\n          const existingCurrency = localStorage.getItem('selectedCurrency');\\n          if (existingCurrency !== 'CAD') {\\n            localStorage.setItem('selectedCurrency', 'CAD');\\n          }\\n          const existingCurrencySymbol = localStorage.getItem('selectedCurrencySymbol');\\n          if (existingCurrencySymbol !== '$') {\\n            localStorage.setItem('selectedCurrencySymbol', '$');\\n          }\\n        \\n        \\n      })();\\n    </script>\",description:\"Okanagan artisan brand crafting custom laser-engraved wooden gifts and small-batch horse treats. Handmade with care for horses and their people.\",favicon:\"https://framerusercontent.com/assets/JB7vq3W1l66pMLIPLcnsYgLaQ.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/gFlZzmrPKQKWNGRofeqTYWv7uE.jpg\",title:\"Grazing Creations\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"oSAC8B,GAAU,UAAU,CAAC,0BAA0B,sBAAsB,4BAA4B,yBAAyB,CAAC,CAAc,GAAM,CAAC,CAAC,cAAc,GAAK,MAAM,CAAC,CAAC,cAAc,eAAe,OAAO,SAAS,MAAM,SAAS,aAAa,eAAe,IAAI,uFAAuF,OAAO,MAAM,CAAC,CAAC,cAAc,eAAe,OAAO,SAAS,MAAM,SAAS,aAAa,eAAe,IAAI,2FAA2F,OAAO,MAAM,CAAC,CAAC,cAAc,eAAe,OAAO,SAAS,MAAM,SAAS,aAAa,eAAe,IAAI,6FAA6F,OAAO,MAAM,CAAC,CAAC,cAAc,eAAe,OAAO,SAAS,MAAM,SAAS,aAAa,eAAe,IAAI,yFAAyF,OAAO,MAAM,CAAC,CAAC,CAAC,CAAc,EAAI,CAAC,upCAAupC,CAAc,EAAU,kBCGg/H,SAASA,EAAE,EAAE,CAAC,OAAO,IAAI,SAASC,EAAE,OAAOA,EAAE,WAAWA,EAAE,WAAW,CAGttM,SAASC,EAAE,EAAE,GAAGC,EAAE,CAAC,GAAG,CAACF,EAAE,MAAM,MAAM,mBAAmBE,EAAE,OAAO,EAAE,KAAKA,EAAE,KAAK,IAAI,CAAC,IAAI,CAAE,SAASC,EAAE,EAAE,CAAC,MAAM,MAAM,qBAAqBH,IAAI,CACiS,SAASI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAEJ,GAAGE,EAAEF,EAAE,0BAA0BK,EAAE,CAACJ,EAAED,GAAGM,EAAEN,EAAE,0BAA0BK,EAAE,CAC7gB,SAASE,EAAE,EAAE,CAAC,OAAgB,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