{"shopping-goals:d5ac7498b7e6437da1eee9c5f1df7490:0ac0df5c":[{"query":[],"folders":[],"createdDate":1729114136648,"id":"277f57d7542f41bfafcdf598c9cad687","name":"Pristine 1.2","modelId":"a8bf4f24de794394b36414feeff9a3cd","published":"published","meta":{"lastPreviewUrl":"https://upez-test.myshopify.com/?builder.space=3628f640692a4d2fa236d814bb277285&builder.user.permissions=read%2Ccreate%2Cpublish%2CeditCode%2CeditDesigns%2Cadmin%2CeditLayouts%2CeditLayers%2CeditContentPriority&builder.user.role.name=Admin&builder.user.role.id=admin&builder.cachebust=true&builder.preview=shopping-goals&builder.noCache=true&__builder_editing__=true&builder.overrides.shopping-goals=277f57d7542f41bfafcdf598c9cad687&builder.overrides.277f57d7542f41bfafcdf598c9cad687=277f57d7542f41bfafcdf598c9cad687&builder.options.locale=Default","symbolsUsed":{"a5576eb07ab6485ba5a96c9585bcbae2":true},"originalContentId":"a8e7884de2f24d619f9bfe928bbf2b85","hasLinks":false,"winningTest":null,"kind":"component"},"data":{"public":true,"thumbnail":"https://cdn.builder.io/api/v1/image/assets%2F3628f640692a4d2fa236d814bb277285%2Ff24b2d1afcd444aebf6a73c29e99b6cb","flowType":"shopping-goals","jsCode":"var __assign=function(){return(__assign=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var a in e=arguments[r])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t}).apply(this,arguments)},__awaiter=function(t,e,r,n){return new(r||(r=Promise))((function(a,i){function o(t){try{c(n.next(t))}catch(t){i(t)}}function u(t){try{c(n.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?a(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(o,u)}c((n=n.apply(t,e||[])).next())}))},__generator=function(t,e){var r,n,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},\"function\"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(r)throw new TypeError(\"Generator is already executing.\");for(;o;)try{if(r=1,n&&(a=2&i[0]?n.return:i[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,i[1])).done)return a;switch(n=0,a&&(i=[2&i[0],a.value]),i[0]){case 0:case 1:a=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,n=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!(a=(a=o.trys).length>0&&a[a.length-1])&&(6===i[0]||2===i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]<a[3])){o.label=i[1];break}if(6===i[0]&&o.label<a[1]){o.label=a[1],a=i;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(i);break}a[2]&&o.ops.pop(),o.trys.pop();continue}i=e.call(t,o)}catch(t){i=[6,t],n=0}finally{r=a=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}},__spreadArray=function(t,e,r){if(r||2===arguments.length)for(var n,a=0,i=e.length;a<i;a++)!n&&a in e||(n||(n=Array.prototype.slice.call(e,0,a)),n[a]=e[a]);return t.concat(n||Array.prototype.slice.call(e))};function fillTemplateString(t,e){for(var r=t,n=0,a=Object.entries(e);n<a.length;n++){var i=a[n],o=i[0],u=i[1];r=r.replace(new RegExp(\"{{\\\\s*\".concat(o,\"\\\\s*}}\"),\"g\"),u)}return r}function main(){return __awaiter(this,void 0,void 0,(function(){var t,e;return __generator(this,(function(r){return Builder.isServer,Builder.isBrowser&&(t=window.UPEZ.memoize,state.ready=!0,state.fillTemplateString=fillTemplateString,state.getMaxGoal=function(){var t=state.getGoals();return Math.max.apply(Math,t.map((function(t){return t.requiredCartValue})))},state.getDefault=function(t,e){var r;return(null===(r=(context.builderContent.data.settings||[]).find((function(e){return e.id===t})))||void 0===r?void 0:r.default)||e},state.getSettingValue=function(t,e){var r;return void 0===(null===(r=state.settings)||void 0===r?void 0:r[t])?state.getDefault(t,e):state.settings[t]},state.getProgressPercentage=function(){var t=state.getGoals();return t.length>0&&t.every((function(t){return t.achieved}))?\"100%\":\"\".concat(Math.min(state.cart.total_price/state.getMaxGoal(),100),\"%\")},e=new Map,state.fireConfettiWhenGoalAchieved=function(t,r){var n,a=e.get(t);a&&!a.achieved&&r.achieved&&(null==(n=document.querySelector('[data-goal-index=\"'.concat(t,'\"]')))||n.animate([{backgroundPosition:\"5% 90%, 10% 90%, 10% 90%, 15% 90%, 25% 90%, 25% 90%, 40% 90%, 55% 90%, 70% 90%\",backgroundSize:\"10% 10%, 20% 20%, 15% 15%, 20% 20%, 18% 18%, 10% 10%, 15% 15%, 10% 10%, 18% 18%\"},{backgroundPosition:\"0% 80%, 0% 20%, 10% 40%, 20% 0%, 30% 30%, 22% 50%, 50% 50%, 65% 20%, 90% 30%\"},{backgroundPosition:\"0% 70%, 0% 10%, 10% 30%, 20% -10%, 30% 20%, 22% 40%, 50% 40%, 65% 10%, 90% 20%\",backgroundSize:\"0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%\"}],{duration:750,iterations:1,easing:\"ease-in-out\",pseudoElement:\"::before\"}),null==n||n.animate([{backgroundPosition:\"10% -10%, 30% 10%, 55% -10%, 70% -10%, 85% -10%, 70% -10%, 70% 0%\",backgroundSize:\"15% 15%, 20% 20%, 18% 18%, 20% 20%, 15% 15%, 10% 10%, 20% 20%\"},{backgroundPosition:\"0% 80%, 20% 80%, 45% 60%, 60% 100%, 75% 70%, 95% 60%, 105% 0%\"},{backgroundPosition:\"0% 90%, 20% 90%, 45% 70%, 60% 110%, 75% 80%, 95% 70%, 110% 10%\",backgroundSize:\"0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%\"}],{duration:750,iterations:1,easing:\"ease-in-out\",pseudoElement:\"::after\"})),e.set(t,r)},state.getGoals=t((function(){var t=[],e=window.UPEZ_FREE_SHIPPING_TIERS;e&&e.length>0&&t.push.apply(t,e.map((function(t){var e,r=null===(e=state.cart)||void 0===e?void 0:e.total_price;return{discountType:\"SHIPPING\",label:t.goal_label,thumbnail:t.thumbnail,requiredCartValue:Number(t.goal_value*(\"LOCAL\"===t.currency_mode?1:window.Shopify.currency.rate)),achieved:r/100>=Number(t.goal_value*(\"LOCAL\"===t.currency_mode?1:window.Shopify.currency.rate)),distanceAmount:Math.max(0,Number(t.goal_value*(\"LOCAL\"===t.currency_mode?1:window.Shopify.currency.rate))-r/100)}})));var r=window.UPEZ__FREE_GIFT_DISCOUNTS.map((function(t){return __assign(__assign({},t),{tiers:t.tiers.filter((function(t){return!t.hideInProgressBar&&t.products.length>0}))})})).filter((function(t){return t.tiers.length>0}));r&&r.length>0&&((n=r[0]).tiers=n.tiers.map((function(t){return __assign(__assign({},t),{products:__spreadArray(__spreadArray([],t.products||[],!0),(t.collections||[]).flatMap((function(t){return t.products||[]})),!0).filter((function(t,e,r){return r.findIndex((function(e){return t.id===e.id}))===e}))})})),t.push.apply(t,n.tiers.filter((function(t){return t.products.length>0})).map((function(t,e){var r,n;return{discountType:\"PRODUCT_VOLUME\",label:t.title,thumbnail:t.thumbnail||t.products[0].featured_image,requiredCartValue:t.minPurchaseValue*window.Shopify.currency.rate,achieved:(null===(r=state.cart)||void 0===r?void 0:r.total_price)/100>=t.minPurchaseValue*window.Shopify.currency.rate,skipped:!1,distanceAmount:Math.max(0,t.minPurchaseValue*window.Shopify.currency.rate-(null===(n=state.cart)||void 0===n?void 0:n.total_price)/100)}}))));if(window.UPEZ__ORDER_VOLUME_DISCOUNTS&&window.UPEZ__ORDER_VOLUME_DISCOUNTS.length>0){var n=window.UPEZ__ORDER_VOLUME_DISCOUNTS[0];t.push.apply(t,n.tiers.map((function(t){var e=state.cart.items.some((function(e){return e.discounts.map((function(t){return t.title})).includes(t.discountCode)})),r=state.cart.total_price-state.cart.items.reduce((function(t,e){return e.gift_card?t+e.line_price:t}),0),n=Math.max(0,t.requiredPurchase*window.Shopify.currency.rate-r/100),a=0===n;return{discountType:\"ORDER_GOAL\",label:t.discountCode,requiredCartValue:t.requiredPurchase*window.Shopify.currency.rate,achieved:e,skipped:a&&!e,distanceAmount:n}})))}return t.sort((function(t,e){return t.requiredCartValue>e.requiredCartValue?1:-1}))}),(function(){var t;return[null===(t=state.cart)||void 0===t?void 0:t.total_price,state.cart.items.map((function(t){return\"\".concat(t.id,\"::\").concat(t.line_price,\"::\").concat(t.quantity,\"::\").concat(t.discounts.map((function(t){return t.title})).join(\";\"))})).join(\",\")]})),state.getPercentageOfGoal=function(t,e){var r,n=state.getGoals(),a=\"ORDER_GOAL\"==t.discountType?state.cart.items_subtotal_price:state.cart.total_price,i=a/100,o=(null===(r=n[e-1])||void 0===r?void 0:r.requiredCartValue)||0,u=t.requiredCartValue;return i<o?\"0%\":i>=u?\"100%\":\"\".concat(a/u,\"%\")},state.formatMoney=function(t){return window.upez__formatMoney(t)},state.renderMessage=function(){var t,e=state.getGoals();if(!e.length)return\"\";for(var r=null,n=0,a=e;n<a.length;n++){var i=a[n];if(!i.achieved&&!i.skipped){r=i;break}}if(!r)return state.getSettingValue(\"__label_reward_unlocked_text\",\"You've unlocked all bonuses!\");var o=r.distanceAmount;return fillTemplateString((null===(t=state.settings)||void 0===t?void 0:t.__label_distance_text)||state.getDefault(\"__label_distance_text\",\"You are {{ money }} away from {{ reward }}\"),{money:'<span style=\"color: var(--colorBtnPrimary, #08A045)\">'.concat(state.formatMoney(o),\"</span>\"),reward:r.label})}),[2]}))}))}var _virtual_index=main();return _virtual_index","cssCode":"/*\n* Custom CSS styles\n*\n* Global by default, but use `&` to scope to just this content, e.g.\n*\n*   & .foo {\n*     color: 'red'\n*   }\n*/\n& {\n  --confetti-color: var(--colorBtnPrimary, #25a045);\n  --scale: 1.5;\n}\n\n.upez__shop_progress_pristine .popover-container:hover .popover-body {\n  opacity: 1;\n  transform: translate(0, 0);\n}","settings":[{"type":"header","content":"Colors"},{"id":"primary_color","default":"black","label":"Primary color","type":"color","highlightingElem":".builder-6994fb1f1b344e3684f0233dbed73846"},{"type":"header","content":"Messages for:","info":"Update texts on this section"},{"label":"Distance to unlock next reward","highlightingElem":".builder-0d3760f8a3fe47a784254a2915f9da5f","id":"__label_distance_text","default":"You are {{ money }} away from {{ reward }}","placeholder":"You are {{ money }} away from {{ reward }}","info":"This tells how far the customer to the next reward goal is. Remember to include {{ money }} and {{ reward }}.","type":"text"},{"default":"You've unlocked all bonuses!","id":"__label_reward_unlocked_text","type":"text","info":"Show this message when ALL of the rewards are unlocked!","label":"All rewards unlocked","highlightingElem":".builder-0d3760f8a3fe47a784254a2915f9da5f","placeholder":"You've unlocked all bonuses!"},{"label":"Reward message","info":"Label before the reward title","id":"__label_goal_prefix","placeholder":"Spend {{ money }}","default":"Spend {{ money }}","highlightingElem":".builder-4d8f0d8974a1486cb78248e1824e40eb","type":"text"}],"inputs":[{"subFields":[],"@type":"@builder.io/core:Field","meta":{},"name":"cart","type":"json","defaultValue":{"note":null,"items_subtotal_price":28719,"currency":"EUR","total_weight":2058,"cart_level_discount_applications":[{"created_at":"2023-01-25T12:36:17.777Z","description":null,"target_type":"line_item","key":"9f54b6d9-acf5-45cb-bbcf-a882cdf60d3e","type":"automatic","total_allocated_amount":5744,"value_type":"percentage","title":"20% Off","target_selection":"all","allocation_method":"across","value":"20.0"}],"requires_shipping":true,"total_price":22975,"token":"553277e56d6d3930e637f77404d8330f","items":[{"line_level_discount_allocations":[],"product_description":"\\nJeans \\n100% cotton \\nLength of size US 4 / AU 8 waist to hem: 108cm / 42.5in  \\nJenaya is wearing a size US 2 / AU 6\\n\\nLight wash denim \\nHigh waisted \\nZip & button fastening \\nBelt looped waist \\nClassic five-pocket design \\nDistressed ripped knees \\nWide leg \\nNon-stretch \\n","properties":{},"vendor":"Abrand","featured_image":{"height":1820,"alt":"Abrand  Carrie Jean Joanne Rip Light Denim","width":1345,"aspect_ratio":0.739,"url":"https://cdn.shopify.com/s/files/1/0562/6131/2597/products/1-modelinfo-jenaya-us2_d8be0f52-bd1b-440e-a1b0-d4ac7015dd96.jpg?v=1670791545"},"id":40280453447765,"product_type":"Jeans","quantity":3,"product_title":"Abrand  Carrie Jean Joanne Rip Light Denim","image":"https://cdn.shopify.com/s/files/1/0562/6131/2597/products/1-modelinfo-jenaya-us2_d8be0f52-bd1b-440e-a1b0-d4ac7015dd96.jpg?v=1670791545","total_discount":5744,"requires_shipping":true,"sku":"27343-591013","key":"40280453447765:08fa4cf2fe9e28a103c81c0d56107dae","product_id":6829927956565,"line_level_total_discount":0,"original_line_price":28719,"gift_card":false,"product_has_only_default_variant":false,"url":"/products/abrand-carrie-jean-joanne-rip-light-denim?variant=40280453447765","grams":686,"final_price":9573,"handle":"abrand-carrie-jean-joanne-rip-light-denim","variant_options":["AU 6","Denim"],"options_with_values":[{"value":"AU 6","name":"Size"},{"name":"Color","value":"Denim"}],"variant_id":40280453447765,"variant_title":"AU 6 / Denim","price":9573,"taxable":true,"original_price":9573,"line_price":22975,"discounted_price":7659,"final_line_price":28719,"title":"Abrand  Carrie Jean Joanne Rip Light Denim - AU 6 / Denim","discounts":[{"title":"20% Off","amount":5744}]}],"attributes":{},"total_discount":5744,"item_count":3,"original_total_price":28719},"required":false,"helperText":"","autoFocus":false,"simpleTextOnly":false,"disallowRemove":false,"broadcast":false,"bubble":false,"hideFromUI":false,"hideFromFieldsEditor":false,"showTemplatePicker":true,"permissionsRequiredToEdit":"","advanced":false,"copyOnAdd":true,"onChange":"","behavior":"","showIf":"","mandatory":false,"hidden":false,"noPhotoPicker":false,"model":"","supportsAiGeneration":false,"defaultCollapsed":false},{"subFields":[],"@type":"@builder.io/core:Field","meta":{},"name":"discounts","type":"json","defaultValue":[{"application":{"discounts":[{"value":{"percentage":{"value":"20"}},"message":"20% Off","targets":[{"orderSubtotal":{"excludedVariantIds":[]}}]}],"discountApplicationStrategy":"MAXIMUM"},"id":"gid://shopify/DiscountAutomaticNode/1049264193621","distance":{"distanceToNextTier":1281,"currentTierIndex":0,"currentTierRemainingGets":null,"nextTierIndex":1},"discountType":"ORDER_GOAL","config":{"discountType":"ORDER_GOAL","tiers":[{"buys":{"value":20000,"type":"minimumSubtotal"},"message":"20% Off","gets":{"type":"percentage","value":20}},{"gets":{"type":"percentage","value":25},"message":"25% Off","buys":{"value":30000,"type":"minimumSubtotal"}}],"matchRule":{"all":true,"type":"product"}}}],"required":false,"helperText":"","autoFocus":false,"simpleTextOnly":false,"disallowRemove":false,"broadcast":false,"bubble":false,"hideFromUI":false,"hideFromFieldsEditor":false,"showTemplatePicker":true,"permissionsRequiredToEdit":"","advanced":false,"copyOnAdd":true,"onChange":"","behavior":"","showIf":"","mandatory":false,"hidden":false,"noPhotoPicker":false,"model":"","supportsAiGeneration":false,"defaultCollapsed":false},{"subFields":[],"@type":"@builder.io/core:Field","meta":{},"name":"freeShippingGoal","type":"number","defaultValue":100,"required":false,"helperText":"","autoFocus":false,"simpleTextOnly":false,"disallowRemove":false,"broadcast":false,"bubble":false,"hideFromUI":false,"hideFromFieldsEditor":false,"showTemplatePicker":true,"permissionsRequiredToEdit":"","advanced":false,"copyOnAdd":true,"onChange":"","behavior":"","showIf":"","mandatory":false,"hidden":false,"noPhotoPicker":false,"model":"","supportsAiGeneration":false,"defaultCollapsed":false}],"blocks":[{"@type":"@builder.io/sdk:Element","@version":2,"bindings":{"show":"var _virtual_index=state.getGoals().length>0;return _virtual_index","style.--goal-length":"var _virtual_index=state.getGoals().length;return _virtual_index","style.--colorBtnPrimary":"var _a,_virtual_index=null===(_a=state.getSettingValue)||void 0===_a?void 0:_a.call(state,\"primary_color\");return _virtual_index"},"layerName":"Container","id":"builder-8d451ae52f9d4fe99301132bfe046d43","class":"upez__shop_progress_pristine","meta":{"previousId":"builder-c63ae4781a7146fb8b2b78ad98149337","bindingActions":{"style":{"--goal-length":[{"@type":"@builder.io/core:Action","action":"@builder.io:customCode","options":{"code":"state.getGoals().length"}}]}}},"children":[{"@type":"@builder.io/sdk:Element","@version":2,"bindings":{"show":"var _virtual_index=state.getSettingValue(\"headline\");return _virtual_index","component.options.code":"var _virtual_index=state.getSettingValue(\"headline\");return _virtual_index"},"layerName":"Headline","id":"builder-a2c24731066b4b6dabd821d25f0665c7","class":"upez__html","meta":{"previousId":"builder-fe67fef0834f43cc811ab59b61cab961"},"component":{"name":"Custom Code","options":{"code":"<p>Hello there, I am custom HTML code!</p>\n","replaceNodes":true}},"responsiveStyles":{"large":{"display":"flex","flexDirection":"column","position":"relative","flexShrink":"0","boxSizing":"border-box"}}},{"@type":"@builder.io/sdk:Element","@version":2,"bindings":{"style._newProperty":"var _virtual_index=state.getGoals().length;return _virtual_index","style.--goal-length":"var _virtual_index=state.getGoals().length;return _virtual_index"},"id":"builder-272d575e1e92418cb4cc16e3e3c79b91","meta":{"previousId":"builder-1cbe02d6aa2a4a0d906494fd6700e343","bindingActions":{"style":{"_newProperty":[{"@type":"@builder.io/core:Action","action":"@builder.io:customCode","options":{"code":"state.getGoals().length"}}],"--goal-length":[{"@type":"@builder.io/core:Action","action":"@builder.io:customCode","options":{"code":"state.getGoals().length"}}]}}},"children":[{"@type":"@builder.io/sdk:Element","@version":2,"bindings":{"style.opacity":"var _virtual_index=state.getGoalsItem.skipped?.3:1;return _virtual_index","data-confetti":"state.fireConfettiWhenGoalAchieved(state.$index,state.getGoalsItem)"},"repeat":{"collection":"state.getGoals()"},"layerName":"Goal Box","id":"builder-d2b81ffff53b4d999f16b0864e3dea4c","properties":{"data-confetti":""},"meta":{"bindingActions":{"style":{"opacity":[{"@type":"@builder.io/core:Action","action":"@builder.io:customCode","options":{"code":"state.getGoalsItem.skipped ? 0.3 : 1"}}]},"data-confetti":[{"@type":"@builder.io/core:Action","action":"@builder.io:customCode","options":{"code":"/**\n * Global objects available in custom action code:\n *\n * state - builder state object - learn about state https://www.builder.io/c/docs/guides/state-and-actions\n * context - builder context object - learn about context https://github.com/BuilderIO/builder/tree/main/packages/react#passing-data-and-functions-down\n * event - HTML Event - https://developer.mozilla.org/en-US/docs/Web/API/Event\n *\n * Learn more: https://www.builder.io/c/docs/guides/custom-code\n *\n */\nstate.fireConfettiWhenGoalAchieved(state.$index, state.getGoalsItem)"}}],"data-goal-index":[{"@type":"@builder.io/core:Action","action":"@builder.io:customCode","options":{"code":"state.$index"}}]},"previousId":"builder-cf8dd9549c834230a56dba7890551058"},"children":[{"@type":"@builder.io/sdk:Element","@version":2,"bindings":{"_newProperty":"var _virtual_index=state.$index;return _virtual_index","data-goal-index":"var _virtual_index=state.$index;return _virtual_index","style.color":"var _virtual_index=state.getGoalsItem.achieved?\"var(--colorBtnPrimary)\":\"var(--defaultRewardColor)\";return _virtual_index"},"id":"builder-f7e5b33735a740768f13aa9b029b6d84","properties":{"data-goal-index":""},"class":"upez-goal","meta":{"bindingActions":{"_newProperty":[{"@type":"@builder.io/core:Action","action":"@builder.io:customCode","options":{"code":"state.$index"}}],"data-goal-index":[{"@type":"@builder.io/core:Action","action":"@builder.io:customCode","options":{"code":"state.$index"}}],"style":{"color":[{"@type":"@builder.io/core:Action","action":"@builder.io:conditionalValue","options":{"expression":"state.getGoalsItem.achieved","then":"var(--colorBtnPrimary)","else":"var(--defaultRewardColor)"}}]}},"previousId":"builder-28ebbdd4477e4d34a737a5ea04abb334"},"children":[{"@type":"@builder.io/sdk:Element","@version":2,"bindings":{"show":"var _virtual_index=state.getGoalsItem.achieved;return _virtual_index"},"layerName":"Check Icon","id":"builder-3ce2310b377946c69989a3001589546e","meta":{"previousId":"builder-0e8649b596a44bb2b9fc253ff015be06"},"component":{"name":"Custom Code","options":{"code":"<svg\n  style=\"display: block;\"\n  width=\"17\"\n  height=\"17\"\n  viewBox=\"0 0 17 17\"\n  fill=\"none\"\n  xmlns=\"http://www.w3.org/2000/svg\"\n>\n  <rect x=\"1\" y=\"1\" width=\"15\" height=\"15\" rx=\"7.5\" fill=\"currentColor\" />\n  <path\n    d=\"M8.5 15.5C12.3517 15.5 15.5 12.3517 15.5 8.5C15.5 4.64829 12.3517 1.5 8.5 1.5C4.64829 1.5 1.5 4.64829 1.5 8.5C1.5 12.3517 4.64829 15.5 8.5 15.5Z\"\n    stroke=\"white\"\n    stroke-width=\"1.5\"\n    stroke-linecap=\"round\"\n    stroke-linejoin=\"round\"\n  />\n  <path\n    d=\"M5.84375 8.5L7.6125 10.2687L11.1562 6.73125\"\n    stroke=\"white\"\n    stroke-width=\"1.5\"\n    stroke-linecap=\"round\"\n    stroke-linejoin=\"round\"\n  />\n</svg>\n","replaceNodes":true}},"responsiveStyles":{"large":{"display":"flex","flexDirection":"column","position":"absolute","flexShrink":"0","boxSizing":"border-box","top":"-5px","right":"-5px","zIndex":"10"}}},{"@type":"@builder.io/sdk:Element","@version":2,"bindings":{"show":"var _virtual_index=\"SHIPPING\"===state.getGoalsItem.discountType&&!state.getGoalsItem.thumbnail;return _virtual_index"},"layerName":"Free Shipping Icon","id":"builder-3138ebfa702b49ae8458399b3c398bb3","meta":{"bindingActions":{"style":{"color":null}},"previousId":"builder-49c8bc7394954deca9f4329e83a1972d"},"component":{"name":"Custom Code","options":{"code":"<svg\n  style=\"display: block; width: 40px; height: 40px; fill: none;\"\n  width=\"40\"\n  height=\"40\"\n  viewBox=\"0 0 40 40\"\n  fill=\"none\"\n  xmlns=\"http://www.w3.org/2000/svg\"\n>\n  <path\n    opacity=\"1\"\n    d=\"M20 22H21C22.1 22 23 21.1 23 20V10H14C12.5 10 11.19 10.83 10.51 12.05\"\n    stroke=\"#292D32\"\n    stroke-width=\"1.5\"\n    stroke-linecap=\"round\"\n    stroke-linejoin=\"round\"\n  />\n  <path\n    d=\"M10 25C10 26.66 11.34 28 13 28H14C14 26.9 14.9 26 16 26C17.1 26 18 26.9 18 28H22C22 26.9 22.9 26 24 26C25.1 26 26 26.9 26 28H27C28.66 28 30 26.66 30 25V22H27C26.45 22 26 21.55 26 21V18C26 17.45 26.45 17 27 17H28.29L26.58 14.01C26.22 13.39 25.56 13 24.84 13H23V20C23 21.1 22.1 22 21 22H20\"\n    stroke=\"#292D32\"\n    stroke-width=\"1.5\"\n    stroke-linecap=\"round\"\n    stroke-linejoin=\"round\"\n  />\n  <path\n    d=\"M16 30C17.1046 30 18 29.1046 18 28C18 26.8954 17.1046 26 16 26C14.8954 26 14 26.8954 14 28C14 29.1046 14.8954 30 16 30Z\"\n    stroke=\"#292D32\"\n    stroke-width=\"1.5\"\n    stroke-linecap=\"round\"\n    stroke-linejoin=\"round\"\n  />\n  <path\n    d=\"M24 30C25.1046 30 26 29.1046 26 28C26 26.8954 25.1046 26 24 26C22.8954 26 22 26.8954 22 28C22 29.1046 22.8954 30 24 30Z\"\n    stroke=\"#292D32\"\n    stroke-width=\"1.5\"\n    stroke-linecap=\"round\"\n    stroke-linejoin=\"round\"\n  />\n  <path\n    d=\"M30 20V22H27C26.45 22 26 21.55 26 21V18C26 17.45 26.45 17 27 17H28.29L30 20Z\"\n    stroke=\"#292D32\"\n    stroke-width=\"1.5\"\n    stroke-linecap=\"round\"\n    stroke-linejoin=\"round\"\n  />\n  <path\n    d=\"M10 16H16\"\n    stroke=\"#292D32\"\n    stroke-width=\"1.5\"\n    stroke-linecap=\"round\"\n    stroke-linejoin=\"round\"\n  />\n  <path\n    d=\"M10 19H14\"\n    stroke=\"#292D32\"\n    stroke-width=\"1.5\"\n    stroke-linecap=\"round\"\n    stroke-linejoin=\"round\"\n  />\n  <path\n    d=\"M10 22H12\"\n    stroke=\"#292D32\"\n    stroke-width=\"1.5\"\n    stroke-linecap=\"round\"\n    stroke-linejoin=\"round\"\n  />\n  <rect\n    x=\"1\"\n    y=\"1\"\n    width=\"38\"\n    height=\"38\"\n    rx=\"19\"\n    stroke=\"currentColor\"\n    stroke-opacity=\"1\"\n    stroke-width=\"2\"\n  />\n</svg>\n","replaceNodes":true}},"responsiveStyles":{"large":{"display":"flex","flexDirection":"column","position":"relative","flexShrink":"0","boxSizing":"border-box"}}},{"@type":"@builder.io/sdk:Element","@version":2,"bindings":{"show":"var _virtual_index=\"Free Shipping\"!==state.getGoalsItem.label&&!state.getGoalsItem.thumbnail&&\"ORDER_GOAL\"==state.getGoalsItem.discountType;return _virtual_index"},"layerName":"Order Goal Icon","id":"builder-08c487879dfe487083b29d1d5178d508","meta":{"previousId":"builder-5743887a8672441a935033a15022a081","bindingActions":{"style":{"color":null}}},"component":{"name":"Custom Code","options":{"code":"<svg style=\"display: block; fill: none;\" width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<g clip-path=\"url(#clip0_86092_23172)\">\n<path d=\"M13 27L27 13\" stroke=\"#292D32\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n<path d=\"M39 20C39 9.50659 30.4934 1 20 1C9.50659 1 1 9.50659 1 20C1 30.4934 9.50659 39 20 39C30.4934 39 39 30.4934 39 20Z\" stroke=\"currentColor\" stroke-width=\"2\"/>\n<circle cx=\"14\" cy=\"14\" r=\"2\" stroke=\"#292D32\" stroke-width=\"1.5\"/>\n<circle cx=\"26\" cy=\"25\" r=\"2\" stroke=\"#292D32\" stroke-width=\"1.5\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_86092_23172\">\n<rect width=\"40\" height=\"40\" fill=\"white\"/>\n</clipPath>\n</defs>\n</svg>\n","replaceNodes":true}},"responsiveStyles":{"large":{"display":"flex","flexDirection":"column","position":"relative","flexShrink":"0","boxSizing":"border-box"}}},{"@type":"@builder.io/sdk:Element","@version":2,"bindings":{"show":"var _virtual_index=\"SHIPPING\"!==state.getGoalsItem.discountType&&!state.getGoalsItem.thumbnail&&\"ORDER_GOAL\"!==state.getGoalsItem.discountType;return _virtual_index"},"layerName":"Free Gift Icon","id":"builder-e8ee9befc8bd492a9c187a6d791439cb","meta":{"previousId":"builder-2fe454d3fdb646db90edebdb1b2d4bc0","bindingActions":{"style":{"color":[{"@type":"@builder.io/core:Action","action":"@builder.io:customCode","options":{"code":"/**\n * Global objects available in custom action code:\n *\n * state - builder state object - learn about state https://www.builder.io/c/docs/guides/state-and-actions\n * context - builder context object - learn about context https://github.com/BuilderIO/builder/tree/main/packages/react#passing-data-and-functions-down\n * event - HTML Event - https://developer.mozilla.org/en-US/docs/Web/API/Event\n *\n * Learn more: https://www.builder.io/c/docs/guides/custom-code\n *\n */"}}]}}},"component":{"name":"Custom Code","options":{"code":"<svg\n  style=\"display: block; fill: none;\"\n  width=\"52\"\n  height=\"52\"\n  viewBox=\"0 0 52 52\"\n  fill=\"none\"\n  xmlns=\"http://www.w3.org/2000/svg\"\n>\n  <path\n    d=\"M34 26V32C34 34.21 32.21 36 30 36H22C19.79 36 18 34.21 18 32V26C18 25.45 18.45 25 19 25H20.97C21.52 25 21.97 25.45 21.97 26V29.14C21.97 29.88 22.38 30.56 23.03 30.91C23.32 31.07 23.64 31.15 23.97 31.15C24.35 31.15 24.73 31.04 25.06 30.82L26.01 30.2L26.89 30.79C27.5 31.2 28.28 31.25 28.93 30.9C29.59 30.55 30 29.88 30 29.13V26C30 25.45 30.45 25 31 25H33C33.55 25 34 25.45 34 26Z\"\n    fill=\"currentColor\"\n  />\n  <path\n    d=\"M35.5 21V22C35.5 23.1 34.97 24 33.5 24H18.5C16.97 24 16.5 23.1 16.5 22V21C16.5 19.9 16.97 19 18.5 19H33.5C34.97 19 35.5 19.9 35.5 21Z\"\n    fill=\"currentColor\"\n  />\n  <path\n    d=\"M25.6398 19H20.1198C19.7798 18.63 19.7898 18.06 20.1498 17.7L21.5698 16.28C21.9398 15.91 22.5498 15.91 22.9198 16.28L25.6398 19Z\"\n    fill=\"currentColor\"\n  />\n  <path\n    d=\"M31.8701 19H26.3501L29.0701 16.28C29.4401 15.91 30.0501 15.91 30.4201 16.28L31.8401 17.7C32.2001 18.06 32.2101 18.63 31.8701 19Z\"\n    fill=\"currentColor\"\n  />\n  <path\n    d=\"M27.9699 25C28.5199 25 28.9699 25.45 28.9699 26V29.13C28.9699 29.93 28.0799 30.41 27.4199 29.96L26.5199 29.36C26.1899 29.14 25.7599 29.14 25.4199 29.36L24.4799 29.98C23.8199 30.42 22.9399 29.94 22.9399 29.15V26C22.9399 25.45 23.3899 25 23.9399 25H27.9699Z\"\n    fill=\"currentColor\"\n  />\n  <rect\n    x=\"0.5\"\n    y=\"0.5\"\n    width=\"51\"\n    height=\"51\"\n    rx=\"25.5\"\n    stroke=\"currentColor\"\n  />\n</svg>\n","replaceNodes":true}},"responsiveStyles":{"large":{"display":"flex","flexDirection":"column","position":"relative","flexShrink":"0","boxSizing":"border-box"}}},{"@type":"@builder.io/sdk:Element","@version":2,"bindings":{"show":"var _virtual_index=state.getGoalsItem.thumbnail;return _virtual_index","style.borderColor":"var _virtual_index=state.getGoalsItem.achieved?\"var(--colorBtnPrimary)\":\"var(--defaultRewardColor)\";return _virtual_index"},"id":"builder-731bbe51dbf64bd7941eec0cb9cc0586","meta":{"bindingActions":{"style":{"borderColor":[{"@type":"@builder.io/core:Action","action":"@builder.io:conditionalValue","options":{"expression":"state.getGoalsItem.achieved","then":"var(--colorBtnPrimary)","else":"var(--defaultRewardColor)"}}]}},"previousId":"builder-7c103bebc4174210939fdbe8c4b18be2"},"children":[{"@type":"@builder.io/sdk:Element","@version":2,"bindings":{"component.options.symbol.data.src":"var _virtual_index=state.getGoalsItem.thumbnail;return _virtual_index"},"id":"builder-f2b857859e554745a539a77e99ad1f82","meta":{"previousId":"builder-f85a8e24b7d6416daee43207830fac53"},"component":{"name":"Symbol","options":{"symbol":{"data":{"resolution":"50x50"},"model":"symbol","entry":"a5576eb07ab6485ba5a96c9585bcbae2","content":{"lastUpdatedBy":"EnR5acqNEWhTk1rr6ZQlptX8Ql62","folders":[],"data":{"jsCode":"var __awaiter=function(t,e,i,n){return new(i||(i=Promise))((function(r,I){function u(t){try{M(n.next(t))}catch(t){I(t)}}function a(t){try{M(n.throw(t))}catch(t){I(t)}}function M(t){var e;t.done?r(t.value):(e=t.value,e instanceof i?e:new i((function(t){t(e)}))).then(u,a)}M((n=n.apply(t,e||[])).next())}))},__generator=function(t,e){var i,n,r,I,u={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return I={next:a(0),throw:a(1),return:a(2)},\"function\"==typeof Symbol&&(I[Symbol.iterator]=function(){return this}),I;function a(I){return function(a){return function(I){if(i)throw new TypeError(\"Generator is already executing.\");for(;u;)try{if(i=1,n&&(r=2&I[0]?n.return:I[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,I[1])).done)return r;switch(n=0,r&&(I=[2&I[0],r.value]),I[0]){case 0:case 1:r=I;break;case 4:return u.label++,{value:I[1],done:!1};case 5:u.label++,n=I[1],I=[0];continue;case 7:I=u.ops.pop(),u.trys.pop();continue;default:if(!(r=(r=u.trys).length>0&&r[r.length-1])&&(6===I[0]||2===I[0])){u=0;continue}if(3===I[0]&&(!r||I[1]>r[0]&&I[1]<r[3])){u.label=I[1];break}if(6===I[0]&&u.label<r[1]){u.label=r[1],r=I;break}if(r&&u.label<r[2]){u.label=r[2],u.ops.push(I);break}r[2]&&u.ops.pop(),u.trys.pop();continue}I=e.call(t,u)}catch(t){I=[6,t],n=0}finally{i=r=0}if(5&I[0])throw I[1];return{value:I[0]?I[1]:void 0,done:!0}}([I,a])}}};function main(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return Builder.isServer,Builder.isBrowser&&(state.renderShopifyImage=function(t,e){if(!t)return\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgMCA0OCA0OCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjQ4IiBoZWlnaHQ9IjQ4IiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBkPSJNMTIuMjI2OCAxNy45MTk5TDI0LjAwMDEgMjQuNzMzMkwzNS42OTM0IDE3Ljk1OTkiIHN0cm9rZT0iIzk2OTY5NiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8cGF0aCBkPSJNMjQgMzYuODEzMVYyNC43MTk3IiBzdHJva2U9IiM5Njk2OTYiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPHBhdGggZD0iTTIxLjI0MDEgMTEuMzA2NUwxNC4xMjAxIDE1LjI2NjVDMTIuNTA2OCAxNi4xNTk5IDExLjE4NjggMTguMzk5OCAxMS4xODY4IDIwLjIzOThWMjcuNzczMkMxMS4xODY4IDI5LjYxMzIgMTIuNTA2OCAzMS44NTMyIDE0LjEyMDEgMzIuNzQ2NUwyMS4yNDAxIDM2LjcwNjVDMjIuNzYwMSAzNy41NDY1IDI1LjI1MzQgMzcuNTQ2NSAyNi43NzM0IDM2LjcwNjVMMzMuODkzNCAzMi43NDY1QzM1LjUwNjggMzEuODUzMiAzNi44MjY4IDI5LjYxMzIgMzYuODI2OCAyNy43NzMyVjIwLjIzOThDMzYuODI2OCAxOC4zOTk4IDM1LjUwNjggMTYuMTU5OSAzMy44OTM0IDE1LjI2NjVMMjYuNzczNCAxMS4zMDY1QzI1LjI0MDEgMTAuNDUzMiAyMi43NjAxIDEwLjQ1MzIgMjEuMjQwMSAxMS4zMDY1WiIgc3Ryb2tlPSIjOTY5Njk2IiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+CjxwYXRoIGQ9Ik0zMC42NjY3IDI1LjY1MzVWMjAuNzczNUwxOC4wMTM0IDEzLjQ2NjgiIHN0cm9rZT0iIzk2OTY5NiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K\";if(!e)return t;var i=t.split(\".\"),n=i.pop();/_\\d+x(\\d+)?$/.test(i[i.length-1])&&(i[i.length-1]=i.slice(-1)[0].replace(/_\\d+x(\\d+)?$/,\"\"));var r=e.split(\"x\"),I=r[0],u=r[1],a=new URLSearchParams(t.includes(\"?\")?t.split(\"?\").at(-1):void 0);return I&&a.set(\"width\",I),u&&a.set(\"height\",u),I&&u&&a.set(\"crop\",\"center\"),i.join(\".\")+\".\"+n.split(\"?\")[0]+\"?\".concat(a.toString())}),[2]}))}))}var _virtual_index=main();return _virtual_index","inputs":[{"broadcast":false,"hideFromUI":false,"hidden":false,"advanced":false,"@type":"@builder.io/core:Field","hideFromFieldsEditor":false,"autoFocus":false,"type":"text","mandatory":false,"required":false,"defaultCollapsed":false,"permissionsRequiredToEdit":"","showIf":"","copyOnAdd":true,"bubble":false,"disallowRemove":false,"simpleTextOnly":false,"model":"","onChange":"","subFields":[],"helperText":"Image Url","showTemplatePicker":true,"name":"src","noPhotoPicker":false,"supportsAiGeneration":false},{"broadcast":false,"hideFromUI":false,"hidden":false,"advanced":false,"@type":"@builder.io/core:Field","hideFromFieldsEditor":false,"autoFocus":false,"type":"text","mandatory":false,"required":false,"defaultCollapsed":false,"permissionsRequiredToEdit":"","showIf":"","copyOnAdd":true,"bubble":false,"disallowRemove":false,"simpleTextOnly":false,"model":"","onChange":"","subFields":[],"helperText":"","showTemplatePicker":true,"name":"resolution","noPhotoPicker":false,"supportsAiGeneration":false}],"blocks":[{"@type":"@builder.io/sdk:Element","@version":2,"bindings":{"src":"var _virtual_index=state.renderShopifyImage(state.src,state.resolution);return _virtual_index"},"tagName":"img","id":"builder-962ae0a9172747cca539bf1343f5293b","properties":{"src":""},"meta":{"bindingActions":{"src":null}},"responsiveStyles":{"large":{"display":"block","maxWidth":"100%"}}},{"id":"builder-pixel-k06vf84xp6k","@type":"@builder.io/sdk:Element","tagName":"img","properties":{"src":"https://cdn.builder.io/api/v1/pixel?apiKey=3628f640692a4d2fa236d814bb277285","aria-hidden":"true","alt":"","role":"presentation","width":"0","height":"0"},"responsiveStyles":{"large":{"height":"0","width":"0","display":"inline-block","opacity":"0","overflow":"hidden","pointerEvents":"none"}}}],"state":{"deviceSize":"large","location":{"path":"","query":{}}}},"modelId":"f29bea145fb4412992f28556baed7e27","query":[],"published":"published","firstPublished":1679255903061,"testRatio":1,"lastUpdated":1694359952311,"createdDate":1679255692640,"createdBy":"EnR5acqNEWhTk1rr6ZQlptX8Ql62","meta":{"lastPreviewUrl":"https://preview.builder.codes?model=symbol&previewing=true&apiKey=3628f640692a4d2fa236d814bb277285&builder.space=3628f640692a4d2fa236d814bb277285&builder.cachebust=true&builder.preview=symbol&builder.noCache=true&__builder_editing__=true&builder.overrides.symbol=a5576eb07ab6485ba5a96c9585bcbae2&builder.overrides.a5576eb07ab6485ba5a96c9585bcbae2=a5576eb07ab6485ba5a96c9585bcbae2&builder.options.locale=Default","kind":"component","hasLinks":false},"variations":{},"name":"Shopify Image","id":"a5576eb07ab6485ba5a96c9585bcbae2","rev":"mqqzxhxoky"}}}},"responsiveStyles":{"large":{"display":"flex","flexDirection":"column","position":"relative","flexShrink":"0","boxSizing":"border-box","width":"100%","minWidth":"20px","overflow":"hidden","borderRadius":"100px"}}}],"responsiveStyles":{"large":{"display":"flex","flexDirection":"column","position":"relative","flexShrink":"0","boxSizing":"border-box","height":"38px","paddingBottom":"3px","borderRadius":"284px","borderStyle":"solid","borderWidth":"2px","paddingTop":"3px","paddingRight":"3px","paddingLeft":"3px","width":"38px"}}}],"responsiveStyles":{"large":{"display":"flex","flexDirection":"column","position":"relative","boxSizing":"border-box"}}},{"@type":"@builder.io/sdk:Element","@version":2,"bindings":{"style.color":"var _virtual_index=state.getGoalsItem.achieved?\"var(--colorBtnPrimary)\":\"var(--cart-text-color, rgba(0, 0, 0, 1))\";return _virtual_index"},"layerName":"Popover Container","id":"builder-d89ebcf6487f4b6790eba65a3604dbb5","class":"popover-container","meta":{"bindingActions":{"style":{"color":[{"@type":"@builder.io/core:Action","action":"@builder.io:conditionalValue","options":{"expression":"state.getGoalsItem.achieved","else":"var(--cart-text-color, rgba(0, 0, 0, 1))","then":"var(--colorBtnPrimary)"}}]}},"previousId":"builder-1062d8e36c044714bfdc3158278ed4d4"},"children":[{"@type":"@builder.io/sdk:Element","@version":2,"bindings":{"component.options.text":"var _virtual_index=state.getSettingValue(\"__label_goal_prefix\",\"Shop for {{ money }} to unlock {{ reward }}\").replace(\"{{ money }}\",\"\".concat(formatMoney(state.getGoalsItem.requiredCartValue))).replace(\"{{ reward }}\",\"\".concat(state.getGoalsItem.label));return _virtual_index","hide":"var _virtual_index=0==state.getGoalsItem.requiredCartValue;return _virtual_index"},"layerName":"Goal Label Prefix","id":"builder-4d8f0d8974a1486cb78248e1824e40eb","meta":{"bindingActions":{"component":{"options":{"text":[{"@type":"@builder.io/core:Action","action":"@builder.io:customCode","options":{"code":"state.getSettingValue('__label_goal_prefix', `Shop for {{ money }} to unlock {{ reward }}`).replace('{{ money }}', `${formatMoney(state.getGoalsItem.requiredCartValue)}`).replace('{{ reward }}', `${state.getGoalsItem.label}`)"}}]}},"meta":{"bindingActions":{"component":{"options":{"text":[{"@type":"@builder.io/core:Action","action":"@builder.io:customCode","options":{"code":"/**\n * Global objects available in custom action code:\n *\n * state - builder state object - learn about state https://www.builder.io/c/docs/guides/state-and-actions\n * context - builder context object - learn about context https://github.com/BuilderIO/builder/tree/main/packages/react#passing-data-and-functions-down\n * event - HTML Event - https://developer.mozilla.org/en-US/docs/Web/API/Event\n *\n * Learn more: https://www.builder.io/c/docs/guides/custom-code\n *\n */"}}]}}}}},"previousId":"builder-92ccec4741cd45a6bf0217bad1902170"},"component":{"name":"Text","options":{"text":"Enter some text...\n"}},"responsiveStyles":{"large":{"display":"flex","position":"relative","lineHeight":"1.15","height":"auto","whiteSpace":"wrap","width":"100%","textAlign":"left","boxSizing":"border-box","flexShrink":"0","flexDirection":"column","fontSize":"0.7em"}}},{"@type":"@builder.io/sdk:Element","@version":2,"bindings":{"component.options.text":"var _virtual_index=state.getGoalsItem.label;return _virtual_index"},"layerName":"Goal Label","id":"builder-38b940d6ec0b4f19aab200ea930f7361","meta":{"bindingActions":{"component":{"options":{"text":[{"@type":"@builder.io/core:Action","action":"@builder.io:customCode","options":{"code":"state.getGoalsItem.label"}}]}},"meta":{"bindingActions":{"component":{"options":{"text":[{"@type":"@builder.io/core:Action","action":"@builder.io:customCode","options":{"code":"/**\n * Global objects available in custom action code:\n *\n * state - builder state object - learn about state https://www.builder.io/c/docs/guides/state-and-actions\n * context - builder context object - learn about context https://github.com/BuilderIO/builder/tree/main/packages/react#passing-data-and-functions-down\n * event - HTML Event - https://developer.mozilla.org/en-US/docs/Web/API/Event\n *\n * Learn more: https://www.builder.io/c/docs/guides/custom-code\n *\n */"}}]}}}}},"previousId":"builder-bcb2e0f0d280472188446075adc39fa1"},"component":{"name":"Text","options":{"text":"Enter some text...\n"}},"responsiveStyles":{"large":{"display":"flex","position":"relative","lineHeight":"1.25","height":"auto","whiteSpace":"wrap","width":"100%","textAlign":"left","boxSizing":"border-box","flexShrink":"0","flexDirection":"column","fontSize":"0.9em"}}}],"responsiveStyles":{"large":{"display":"flex","flexDirection":"column","position":"relative","boxSizing":"border-box","gap":"2px","justifyContent":"center","alignItems":"flex-start"}}}],"responsiveStyles":{"large":{"display":"flex","flexDirection":"row","position":"relative","flexShrink":"0","boxSizing":"border-box","justifyContent":"flex-start","gap":"9px","alignItems":"center"}}}],"responsiveStyles":{"large":{"display":"grid","flexDirection":"row","position":"relative","flexShrink":"0","boxSizing":"border-box","paddingBottom":"14px","justifyContent":"space-around","paddingLeft":"0px","paddingRight":"0px","paddingTop":"17px","gap":"10px","gridTemplateColumns":"repeat(var(--goal-length), 1fr)"}}},{"@type":"@builder.io/sdk:Element","@version":2,"layerName":"Meter Bar Outer","id":"builder-221e6359fcc7488384d2ce89b55ae09b","meta":{"bindingActions":{"style":{"borderColor":null}},"previousId":"builder-c6d198ff4b134be7b542fbfdb84eadbf"},"children":[{"@type":"@builder.io/sdk:Element","@version":2,"layerName":"Meter Bar Filling","id":"builder-84cb9d008a92465caa3051638a420a9c","meta":{"bindingActions":{"style":{"width":null,"backgroundColor":null}},"previousId":"builder-b7afa2d772c6449eb6735899fb6b8a49"},"children":[{"@type":"@builder.io/sdk:Element","@version":2,"layerName":"Meter Bar Inner Container","tagName":"span","id":"builder-a44cb3e0674d4fbcb0d0dd09c65ed8e0","class":"upez__shop_progress_filling","meta":{"bindingActions":{"style":{"width":null,"backgroundColor":null}},"previousId":"builder-8c58aa032e1b4c47b3a4908bd2b60a48"},"children":[{"@type":"@builder.io/sdk:Element","@version":2,"repeat":{"collection":"state.getGoals()"},"layerName":"Meter Bar Inner","tagName":"span","id":"builder-6fed5f9e534946ac9871c03e54c027b3","class":"upez__shop_progress_filling","meta":{"bindingActions":{"style":{"width":null,"backgroundColor":null}},"previousId":"builder-e60a7c63156e404e9045a1d90cd4da70"},"children":[{"@type":"@builder.io/sdk:Element","@version":2,"bindings":{"style.width":"var _virtual_index=state.getPercentageOfGoal(state.getGoalsItem,state.$index);return _virtual_index"},"layerName":"Meter Bar Inner","tagName":"span","id":"builder-6994fb1f1b344e3684f0233dbed73846","class":"upez__shop_progress_filling","meta":{"bindingActions":{"style":{"width":[{"@type":"@builder.io/core:Action","action":"@builder.io:customCode","options":{"code":"state.getPercentageOfGoal(state.getGoalsItem, state.$index)"}}],"backgroundColor":null}},"previousId":"builder-5df6326bf6d64ea09ce75eba98ce784f"},"responsiveStyles":{"large":{"display":"flex","flexDirection":"column","position":"relative","flexShrink":"0","boxSizing":"border-box","backgroundColor":"var(--colorBtnPrimary, rgb(186, 217, 210))","flexGrow":"1","transition":"width .7s cubic-bezier(0.16, 1, 0.3, 1) 0.5s","height":"5px","borderRadius":"var(--upez-corner-base)"}}}],"responsiveStyles":{"large":{"display":"flex","flexDirection":"column","position":"relative","flexShrink":"0","boxSizing":"border-box","backgroundColor":"rgba(0, 0, 0, 0.09)","flexGrow":"1","transition":"width .7s cubic-bezier(0.16, 1, 0.3, 1) 1s","height":"5px","width":"100%","borderRadius":"var(--upez-corner-base)"}}}],"responsiveStyles":{"large":{"display":"grid","flexDirection":"column","position":"relative","flexShrink":"0","boxSizing":"border-box","flexGrow":"1","transition":"width .7s cubic-bezier(0.16, 1, 0.3, 1) 1s","height":"5px","gridTemplateColumns":"repeat(var(--goal-length), 1fr)","gap":"3px"}}}],"responsiveStyles":{"large":{"display":"flex","flexDirection":"column","position":"relative","flexShrink":"0","boxSizing":"border-box","flexGrow":"1","width":"100%","height":"5px"}}}],"responsiveStyles":{"large":{"display":"flex","flexDirection":"column","position":"relative","flexShrink":"0","boxSizing":"border-box","borderWidth":"2px","borderStyle":"solid","borderRadius":"var(--upez-corner-base)","borderColor":"rgba(224, 224, 224, 1)","paddingTop":"3px","paddingRight":"3px","paddingBottom":"3px","paddingLeft":"3px"}}},{"@type":"@builder.io/sdk:Element","@version":2,"layerName":"Box","id":"builder-6e49d1e9b00a46b9986fc0369138603c","meta":{"previousId":"builder-f1f8f9c9496d4a9284c7b43e85a5c530"},"children":[{"@type":"@builder.io/sdk:Element","@version":2,"id":"builder-73234225c4f540c5bc141fe9aff548a9","meta":{"previousId":"builder-1e392255c53648b79708140350cbf153"},"children":[{"@type":"@builder.io/sdk:Element","@version":2,"bindings":{"show":"var _virtual_index=\"100%\"===state.getProgressPercentage();return _virtual_index"},"layerName":"Tick Circle","id":"builder-0863b6d494d5416aaa49b826215448ce","meta":{"previousId":"builder-fda53ddcabc44160b9b368e60ac39e6f"},"component":{"name":"Custom Code","options":{"code":"<svg\n  style=\"display: block; width: 20px; height: 20px;\"\n  width=\"15\"\n  height=\"15\"\n  viewBox=\"0 0 15 15\"\n  fill=\"none\"\n  xmlns=\"http://www.w3.org/2000/svg\"\n>\n  <rect width=\"15\" height=\"15\" rx=\"7.5\" fill=\"currentColor\" />\n  <path\n    d=\"M4.84375 7.50001L6.6125 9.26876L10.1562 5.73126\"\n    stroke=\"white\"\n    stroke-width=\"1.5\"\n    stroke-linecap=\"round\"\n    stroke-linejoin=\"round\"\n  />\n</svg>\n","replaceNodes":true}},"responsiveStyles":{"large":{"display":"flex","flexDirection":"column","position":"relative","flexShrink":"0","boxSizing":"border-box","marginRight":"6px","color":"var(--colorBtnPrimary)"}}},{"@type":"@builder.io/sdk:Element","@version":2,"bindings":{"hide":"var _virtual_index=\"100%\"===state.getProgressPercentage();return _virtual_index"},"layerName":"Empty Circle","id":"builder-b73570e570da4dd7b00ec43646967fee","meta":{"previousId":"builder-8523f2042ee147a3a851c2345e6bc767"},"component":{"name":"Text","options":{"text":"<span>✔</span>\n"}},"responsiveStyles":{"large":{"position":"relative","lineHeight":"normal","height":"20px","display":"inline-block","borderRadius":"30px","width":"20px","textAlign":"center","color":"rgba(255, 255, 255, 0)","marginRight":"6px","fontSize":"15px","borderStyle":"solid","borderWidth":"2px","borderColor":"rgba(0, 0, 0, 1)"}}},{"@type":"@builder.io/sdk:Element","@version":2,"bindings":{"component.options.text":"var _virtual_index=state.renderMessage();return _virtual_index","style.textTransform":"var _virtual_index=\"var(--upez-goal-message-transform, inherit)\";return _virtual_index"},"layerName":"Goal Message","id":"builder-0d3760f8a3fe47a784254a2915f9da5f","class":"distance_label","meta":{"bindingActions":{"component":{"options":{"text":[{"@type":"@builder.io/core:Action","action":"@builder.io:customCode","options":{"code":"state.renderMessage()"}}]}},"style":{"textTransform":[{"@type":"@builder.io/core:Action","action":"@builder.io:customCode","options":{"code":"`var(--upez-goal-message-transform, inherit)`"}}]}},"previousId":"builder-1b0719d7ae9b4729ad0a2f5310659c9d"},"component":{"name":"Text","options":{"text":"Enter some text..."}},"responsiveStyles":{"large":{"display":"inline-block","position":"relative","boxSizing":"border-box","lineHeight":"normal","height":"auto","textAlign":"left","fontSize":".9em"}}}],"responsiveStyles":{"large":{"display":"flex","flexDirection":"row","alignItems":"center"}}}],"responsiveStyles":{"large":{"display":"flex","flexDirection":"column","position":"relative","flexShrink":"0","boxSizing":"border-box","paddingTop":"10px"}}}],"responsiveStyles":{"large":{"display":"flex","flexDirection":"column","position":"relative","flexShrink":"0","boxSizing":"border-box","paddingTop":"0","--defaultRewardColor":"rgba(0,0,0,0.4)","marginLeft":"calc(-1 * var(--upez-cart-padding-md))","marginRight":"calc(-1 * var(--upez-cart-padding-md))"}}},{"id":"builder-pixel-q4ywwwsu81h","@type":"@builder.io/sdk:Element","tagName":"img","properties":{"src":"https://cdn.builder.io/api/v1/pixel?apiKey=3628f640692a4d2fa236d814bb277285","aria-hidden":"true","alt":"","role":"presentation","width":"0","height":"0"},"responsiveStyles":{"large":{"height":"0","width":"0","display":"inline-block","opacity":"0","overflow":"hidden","pointerEvents":"none"}}}],"state":{"deviceSize":"large","location":{"host":"upez-test.myshopify.com","pathname":"/","path":[""],"query":{}}}},"variations":{},"lastUpdated":1735485582984,"firstPublished":1729114167211,"testRatio":1,"createdBy":"EnR5acqNEWhTk1rr6ZQlptX8Ql62","lastUpdatedBy":"EnR5acqNEWhTk1rr6ZQlptX8Ql62","rev":"wjj5pze26wj"}]}