PageSourceSearch

https://sodastream.com.au/cdn/shop/t/67/assets/layout.theme.js?v=113344353909756056531790073735

js sodastream.com.au collected 2026-09-26 08:56:42 UTC 29,588 bytes, 1 lines download raw bytes

1(()=>{var e,t={91568:()=>{window.formatMoney=(e,t)=>{"string"==typeof e&&(e=e.replace(".",""));let o="";const n=/\{\{\s*(\w+)\s*\}\}/,a=t||moneyFormat;function i(e,t=2,o=",",n="."){if(isNaN(e)||null==e)return 0;const a=(e=(e/100).toFixed(t)).split(".");return a[0].replace(/(\d)(?=(\d\d\d)+(?!\d))/g,`$1${o}`)+(a[1]?n+a[1]:"")}switch(a.match(n)[1]){case"amount":o=i(e,2);break;case"amount_no_decimals":o=i(e,0);break;case"amount_with_comma_separator":o=i(e,2,".",",");break;case"amount_no_decimals_with_comma_separator":o=i(e,0,".",",")}return window.settingsMoneyFormat?a.replace(n,o).replace("."," "):a.replace(n,o)}},57714:()=>{document.addEventListener("DOMContentLoaded",(()=>{const t=document.querySelectorAll(".header-language-switcher");t.length&&function(t){t.forEach((function(t){t.querySelector(".lang-opener").addEventListener("click",(function(){t.classList.toggle("lang-selector-visible")})),t.querySelector(".lang-opener").innerHTML=e(),t.querySelector(".lang-selector").querySelectorAll(".lang-change").forEach((function(o){let n=window.location.search,a=currentStorePath;isCurrentStoreLocalePrimary||(a=currentStorePath.replace(`/${e().toLowerCase()}`,"")),window.location.href.includes("/apps/my-account/")&&(a+=window.location.href.split("/apps/my-account/")[1]);let i="/"!==o.dataset.path?o.dataset.path:"",s=window.location.origin+i+a+n;o.onclick=function(n){n.preventDefault(),t.classList.toggle("lang-selector-visible"),o.innerHTML.trim()!==e()&&(location.href=s)}}))}))}(t)}));const e=()=>currentStoreLocale.split("-")[0].toUpperCase()},48791:()=>{const e=document.querySelector(".mobile-hamburger");e&&e.addEventListener("click",(function(){this.innerHTML.includes("<span>")?this.innerHTML='<svg data-dismiss="modal" class="pointer" style="fill: black;" xmlns="http://www.w3.org/2000/svg" width="19" height="19" viewBox="0 0 19 19"><path class="cls-1" d="M18.6,17.4L17.9,18.1,9.75,9.957,1.6,18.1,0.9,17.4,9.043,9.249,0.9,1.1,1.6,0.4,9.75,8.542,17.9,0.4,18.6,1.1,10.457,9.249Z"/></svg>':this.innerHTML="<span></span><span></span><span></span>"})),document.querySelectorAll(".mobile-menu-more").forEach((function(e){e.addEventListener("click",(function(){this.classList.toggle("mobile-menu-more-open"),this.nextElementSibling.classList.toggle("menu-full-height")}))}))},77405:(e,t,o)=>{"use strict";o(91568);var n=o(84268);if(HEADER_V2){const e=!!document.querySelector(".header-v2-mobile-buttons");window.matchMedia("(max-width: 991px)").matches&&(HEADER_V2.querySelectorAll("[bi-type*='V2'").forEach((function(e){if("V2 Mobile menu"!==e.getAttribute("bi-type")){let t=e.getAttribute("bi-type").replace("V2","V2 Mobile");e.setAttribute("bi-type",t)}})),e&&((0,n.Z)({thresholdPixels:24,dir:"up"}),HEADER_V2.querySelectorAll(".header-v2-mobile-button").forEach((function(e){e.dataset.currentScreenName&&(e.onclick=function(){(0,n.Z)({dir:"up"})})})))),window.addEventListener("load",(function(){!function(e){let t,o=!1;const n=e.getElementsByClassName("header-quick-links")[0];n.clientWidth<n.scrollWidth?(n.classList.add("quick-links-dropdown"),o=!0):t=n.scrollWidth,window.addEventListener("resize",(function(e){o?window.matchMedia("(max-width: 991px)").matches?n.classList.remove("quick-links-dropdown"):n.classList.add("quick-links-dropdown"):n.clientWidth<t?n.classList.add("quick-links-dropdown"):n.classList.remove("quick-links-dropdown")})),document.addEventListener("click",(function(e){e.target==document.querySelector(".header-quick-opener")?n.classList.toggle("quick-links-opened"):e.target!=document.querySelector(".header-quick-links-list")&&n.classList.remove("quick-links-opened")})),n.classList.remove("invisible")}(HEADER_V2),function(){if("/challenge"===window.location.pathname&&window.matchMedia("(min-width: 992px)").matches){const e=document.getElementById("header-v2-container-desktop");e&&(e.style.position="static")}}(),function(e){document.addEventListener("header-v2-enable-clicks",(async t=>{e.style.pointerEvents="auto"})),document.addEventListener("header-v2-disable-clicks",(async t=>{e.style.pointerEvents="none"}))}(HEADER_V2),a()}))}const a=()=>{const e=document.getElementById("mini-cart");if(e&&"true"===e.dataset.enabled){const e=document.querySelector(".header-desktop .header-cart"),t=document.querySelector(".header-mobile .header-cart");e&&t&&(e.addEventListener("click",(e=>{i(e,"mini-cart-clicked-event")})),e.addEventListener("mouseenter",(e=>{i(e,"mini-cart-icon-hover-event")})),e.addEventListener("mouseleave",(e=>{i(e,"mini-cart-icon-leave-event")})),t.addEventListener("click",(e=>{i(e,"mini-cart-clicked-event")})))}},i=(e,t)=>{e.preventDefault();const o=document.getElementById("mini-cart");o&&o.dispatchEvent(new CustomEvent(t))};document.addEventListener("onCartUpdated",(e=>{const t=document.querySelectorAll("[data-loyalty-points-badge]");if(!t.length)return;const o=e.detail&&e.detail.cartData;if(!o||!Array.isArray(o.items))return;const n=((a=o)&&a.items||[]).reduce(((e,t)=>{const o=t.properties||{};if("true"!==o._loyalty_redeemed)return e;const n=Number.parseInt(o._loyalty_points,10);return Number.isFinite(n)?e+n*(t.quantity||0):e}),0);var a;const i=function(e,t=""){const o="undefined"!=typeof window&&window.translation&&window.translation.loyalty||null;if(!o)return t;const n=e.split(".").reduce(((e,t)=>null==e?void 0:e[t]),o);return"string"==typeof n&&n.length>0?"string"!=typeof(a=n)||-1===a.indexOf("&")?a:a.replace(/&#x([0-9a-f]+);/gi,((e,t)=>
1String.fromCodePoint(parseInt(t,16)))).replace(/&#(\d+);/g,((e,t)=>String.fromCodePoint(Number(t)))).replace(/&quot;/g,'"').replace(/&apos;/g,"'").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&"):t;var a}("header.points_label","{{ points }} pts");t.forEach((e=>{const t=Number.parseInt(e.dataset.loyaltyPointsAvailable,10);if(!Number.isFinite(t))return;const o=Math.max(0,t-n);e.textContent=function(e,t){return"string"!=typeof e?"":e.replace(/\{\{\s*(\w+)\s*\}\}/g,((e,o)=>Object.prototype.hasOwnProperty.call(t,o)?String(t[o]):e))}(i,{points:o})}))}));var s=o(93767),r=o.n(s),c=o(7595);var l=o(59428);const d=(0,l.Z)({name:"WarningIcon"},(function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("svg",{attrs:{width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[o("path",{attrs:{d:"M54.62 9.38C48.83 3.59 40.83 0.01 32 0C14.33 0 0 14.32 0 32C0 49.68 14.33 64 32 64C49.67 64 64 49.67 64 32C63.99 23.17 60.41 15.17 54.62 9.38ZM32.18 62.7H32C15 62.65 1.26 48.83 1.31 31.83C1.36 14.83 15.18 1.08 32.18 1.13C49.18 1.18 62.92 15 62.87 32C62.82 48.93 49.11 62.65 32.18 62.7Z",fill:"#002238"}}),e._v(" "),o("path",{attrs:{d:"M35.5705 20.81H24.0705C23.8805 20.81 23.7305 20.66 23.7305 20.47C23.7305 20.28 23.8805 20.13 24.0705 20.13H35.5705C35.7605 20.13 35.9105 20.28 35.9105 20.47C35.9105 20.66 35.7605 20.81 35.5705 20.81Z",fill:"#002238"}}),e._v(" "),o("path",{attrs:{d:"M39.2498 22.95H24.1798C23.9898 22.95 23.8398 22.8 23.8398 22.61C23.8398 22.42 23.9898 22.27 24.1798 22.27H39.2498C39.4398 22.27 39.5898 22.42 39.5898 22.61C39.5898 22.8 39.4398 22.95 39.2498 22.95Z",fill:"#002238"}}),e._v(" "),o("path",{attrs:{d:"M39.2498 25.1H24.1798C23.9898 25.1 23.8398 24.95 23.8398 24.76C23.8398 24.57 23.9898 24.42 24.1798 24.42H39.2498C39.4398 24.42 39.5898 24.57 39.5898 24.76C39.5898 24.95 39.4398 25.1 39.2498 25.1Z",fill:"#002238"}}),e._v(" "),o("path",{attrs:{d:"M39.2498 27.25H24.1798C23.9898 27.25 23.8398 27.1 23.8398 26.91C23.8398 26.72 23.9898 26.57 24.1798 26.57H39.2498C39.4398 26.57 39.5898 26.72 39.5898 26.91C39.5898 27.1 39.4398 27.25 39.2498 27.25Z",fill:"#002238"}}),e._v(" "),o("path",{attrs:{d:"M36.7501 29.4H24.1701C23.9801 29.4 23.8301 29.25 23.8301 29.06C23.8301 28.87 23.9801 28.72 24.1701 28.72H36.7501C36.9401 28.72 37.0901 28.87 37.0901 29.06C37.0901 29.25 36.9401 29.4 36.7501 29.4Z",fill:"#002238"}}),e._v(" "),o("path",{attrs:{d:"M35.0001 31.5501H24.1701C23.9801 31.5501 23.8301 31.4001 23.8301 31.2101C23.8301 31.0201 23.9801 30.8701 24.1701 30.8701H35.0001C35.1901 30.8701 35.3401 31.0201 35.3401 31.2101C35.3401 31.4001 35.1901 31.5501 35.0001 31.5501Z",fill:"#002238"}}),e._v(" "),o("path",{attrs:{d:"M31.7101 33.7H24.1701C23.9801 33.7 23.8301 33.55 23.8301 33.36C23.8301 33.17 23.9801 33.02 24.1701 33.02H31.7101C31.9001 33.02 32.0501 33.17 32.0501 33.36C32.0501 33.55 31.9001 33.7 31.7101 33.7Z",fill:"#002238"}}),e._v(" "),o("path",{attrs:{d:"M31.7101 35.88H24.1701C23.9801 35.88 23.8301 35.73 23.8301 35.54C23.8301 35.35 23.9801 35.2 24.1701 35.2H31.7101C31.9001 35.2 32.0501 35.35 32.0501 35.54C32.0501 35.73 31.9001 35.88 31.7101 35.88Z",fill:"#002238"}}),e._v(" "),o("path",{attrs:{d:"M44.0403 32.12C44.2503 32.1 44.4703 32.09 44.6903 32.09C44.9303 32.09 45.1703 32.09 45.4103 32.13V15.85C45.4103 14.88 44.6203 14.09 43.6503 14.09H20.0803C19.1003 14.09 18.3203 14.88 18.3203 15.85V48.15C18.3203 49.12 19.1003 49.91 20.0803 49.91H43.6503C44.6203 49.91 45.4103 49.12 45.4103 48.15V45.33C45.1703 45.36 44.9303 45.37 44.6903 45.37C44.4703 45.37 44.2503 45.36 44.0403 45.34V48.15C44.0403 48.36 43.8703 48.53 43.6503 48.53H20.0803C19.8603 48.53 19.6903 48.36 19.6903 48.15V15.85C19.6903 15.63 19.8603 15.46 20.0703 15.46H43.6503C43.8703 15.46 44.0403 15.63 44.0403 15.84V32.12ZM45.3903 38.73L45.4103 38.75V38.71L45.3903 38.73Z",fill:"#002238"}}),e._v(" "),o("path",{attrs:{d:"M44.7499 32.19C44.5699 32.19 44.1199 32.24 43.8599 32.71L37.7999 43.53C37.5399 43.99 37.7199 44.4 37.8099 44.55C37.8999 44.7 38.1599 45.06 38.6899 45.06H50.8099C51.3399 45.06 51.5999 44.71 51.6899 44.55C51.7799 44.4 51.9599 43.99 51.
16999 43.53L45.6399 32.71C45.3799 32.24 44.9299 32.19 44.7499 32.19ZM44.7499 31.17C45.4499 31.17 46.1399 31.52 46.5399 32.22L52.5999 43.04C53.3599 44.4 52.3799 46.09 50.8099 46.09H38.6899C37.1299 46.09 36.1399 44.41 36.8999 43.04L42.9599 32.22C43.3499 31.52 44.0499 31.17 44.7499 31.17Z",fill:"#002238"}}),e._v(" "),o("path",{attrs:{d:"M44.1595 40.57H45.2195L45.2695 35H44.1095L44.1595 40.57ZM44.6895 42.94C45.0695 42.95 45.3895 42.65 45.3995 42.27C45.3995 42.26 45.3995 42.24 45.3995 42.23C45.4195 41.85 45.1195 41.52 44.7395 41.51C44.7195 41.51 44.7095 41.51 44.6895 41.51C44.2995 41.51 43.9795 41.82 43.9795 42.21C43.9795 42.21 43.9795 42.22 43.9795 42.23C43.9595 42.61 44.2495 42.93 44.6295 42.95C44.6495 42.95 44.6695 42.95 44.6895 42.95V42.94Z",fill:"#002238"}})])}),[],!1,null,null,null).exports,u=(0,l.Z)({name:"CloseIcon",props:{colorStyle:{type:0,default:"dark"}}},(function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("svg",{class:"style-"+e.colorStyle,attrs:{width:"11",height:"11",viewBox:"0 0 11 11",xmlns:"http://www.w3.org/2000/svg"}},[o("g",{attrs:{id:"Component 3"}},[o("path",{attrs:{id:"Line 52 (Stroke)","fill-rule":"evenodd","clip-rule":"evenodd",d:"M0.19331 0.19331C0.451056 -0.0644365 0.868944 -0.0644365 1.12669 0.19331L10.8067 9.87331C11.0644 10.1311 11.0644 10.5489 10.8067 10.8067C10.5489 11.0644 10.1311 11.0644 9.87331 10.8067L0.19331 1.12669C-0.0644365 0.868944 -0.0644365 0.451056 0.19331 0.19331Z"}}),e._v(" "),o("path",{attrs:{id:"Line 161 (Stroke)","fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.8067 0.19331C11.0644 0.451056 11.0644 0.868944 10.8067 1.12669L1.12669 10.8067C0.868944 11.0644 0.451056 11.0644 0.19331 10.8067C-0.0644365 10.5489 -0.0644365 10.1311 0.19331 9.87331L9.87331 0.19331C10.1311 -0.0644365 10.5489 -0.0644365 10.8067 0.19331Z"}})])])}),[],!1,null,"13214ea5",null).exports;const m={name:"ModalTemplate",delimiters:["{{","}}"],components:{"b-modal":o(59743).N},data:()=>({isOpen:!1}),props:{bodyText:String,bodySvgImage:String,noCloseOnBackdrop:{type:Boolean,default:!1},size:{type:0,default:"lg"},modalClass:String},methods:{openModal(){this.isOpen=!0},closeModal(){this.isOpen=!1}}},p=(0,l.Z)(m,(function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("b-modal",e._g(e._b({attrs:{"no-close-on-backdrop":e.noCloseOnBackdrop,"content-class":"m-4","modal-class":e.modalClass,size:e.size,centered:"","no-close-on-esc":""},scopedSlots:e._u([{key:"modal-header-close",fn:function(){return[e._t("header-close")]},proxy:!0},{key:"modal-header",fn:function(){return[e._t("header")]},proxy:!0},{key:"modal-footer",fn:function(){return[e._t("footer")]},proxy:!0}],null,!0),model:{value:e.isOpen,callback:function(t){e.isOpen=t},expression:"isOpen"}},"b-modal",e.$attrs,!1),e.$listeners),[e._v(" "),e._v(" "),e._t("body"),e._v(" "),o("div",{domProps:{innerHTML:e._s(e.bodySvgImage)}})],2)}),[],!1,null,"5e0a0ad7",null).exports,h={name:"ActionButton",delimiters:["{{","}}"],props:{stopPropagation:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},colorStyle:{type:0,default:"dark"},type:{type:0,default:"button"},transparent:{type:Boolean,default:!1}},methods:{clickHandler(e){this.stopPropagation&&e.stopPropagation(),this.$emit("click",e)}}},g={name:"NoteModal",components:{WarningIcon:d,CloseIcon:u,ModalTemplate:p,ActionButton:(0,l.Z)(h,(function(){var e=this,t=e.$createElement,o=e._self._c||t;return"button"===e.type?o("button",{staticClass:"button-action d-flex align-items-center justify-content-center",class:[e.transparent?"transparent":"filled","style-"+e.colorStyle],attrs:{disabled:e.disabled},on:{click:e.clickHandler}},[e._t("default")],2):o("div",{staticClass:"block-action d-flex align-items-center justify-content-center",class:[e.transparent?"transparent":"filled","style-"+e.colorStyle],attrs:{disabled:e.disabled}},[e._t("default")],2)}),[],!1,null,"55baa1d9",null).exports},delimiters:["{{","}}"],props:{buttonText:String},methods:{onHiddenHandler(){this.$emit("on-hidden")},openModal(){this.$refs.noteModal.openModal()},closeModal(){this.$refs.noteModal.closeModal()},clickHandler(){this.closeModal()}}},f=(0,l.Z)(g,(function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("modal-template",{ref:"noteModal",on:{hidden:e.onHiddenHandler}},[o("div",{attrs:{slot:"header-close"},slot:"header-close"},[o("close-icon")],1),e._v(" "),o("div",{staticClass:"row flex-column align-items-center text-center justify-content-center mt-30",attrs:{slot:"body"},slot:"body"},[e._t("default"),e._v(" "),o("div",{staticClass:"col-6 d-flex justify-content-center gap-2"},[o("action-button",{staticClass:"w-100",on:{click:e.clickHandler}},[o("span",{staticClass:"fs11"}
1,[e._v(e._s(e.buttonText))])])],1)],2),e._v(" "),o("div",{attrs:{slot:"footer"},slot:"footer"})])}),[],!1,null,null,null).exports;function w(e,t){Array.prototype.forEach.call(e,(function(e){r()(e).toggleClass(t)}))}var y=document.getElementById("main-country"),v=document.getElementById("country-list"),C=document.getElementById("main-country-m"),b=document.getElementById("country-list-m"),_=document.querySelectorAll(".footer-title-accordeon");y.addEventListener("click",(function(e){w([v],"show")})),C.addEventListener("click",(function(e){w([b],"show")})),window.innerWidth<992&&_.forEach((function(e){e.nextElementSibling.style.maxHeight=e.nextElementSibling.offsetHeight+80+"px",e.classList.toggle("accordeon-collapsed"),e.addEventListener("click",(function(e){this.classList.toggle("accordeon-collapsed")}))})),footerSectionSettings.enable_subscription&&document.addEventListener("DOMContentLoaded",(function(){const e=document.getElementById("footer-subscription-form"),t=["email"],o=e.dataset.domain;let n={};e&&Array.from(e.elements).filter((e=>t.includes(e.type))).forEach((e=>{let t={...e};t.id=`${e.id}`,t.type=`${e.type}`,t.inputElement=document.getElementById(`${e.id}`),t.value="",t.validState=!0,n[`${e.id}`]=t}));let a={idListWithErrors:[],domain:o,fieldid:footerSectionSettings.field_id,listid:footerSectionSettings.list_id,event:footerSectionSettings.event,source:footerSectionSettings.source,campaignType:footerSectionSettings.campaign_type,campaignCategory:footerSectionSettings.campaign_category,incentive:footerSectionSettings.incentive,campaign:footerSectionSettings.campaign,isThankYouMessageShowing:!1,inputs:n,isErrorModalShowing:!1,footerSubscriptionDataLayerEventObj:{event:"newEvent",newEventData:{type:"Submit",elementType:"footer-subscription-form",elementId:"Forms: Newsletter Footer US",formData:{input_value:""}}}};footerSectionSettings.accept_marketing_checkbox_is_displayed?(a.marketing={},a.marketing.value=footerSectionSettings.accept_marketing_checkbox_is_checked,a.marketing.required=footerSectionSettings.accept_marketing_checkbox_is_required,a.marketing.required?a.marketing.validState=footerSectionSettings.accept_marketing_checkbox_is_checked:a.marketing.validState=!0):(a.marketing={},a.marketing.value=footerSectionSettings.accept_marketing_checkbox_is_checked),footerSectionSettings.accept_terms_checkbox_is_displayed?(a.terms={},a.terms.value=footerSectionSettings.accept_terms_checkbox_is_checked,a.terms.required=footerSectionSettings.accept_terms_checkbox_is_required,a.terms.required?a.terms.validState=footerSectionSettings.accept_terms_checkbox_is_checked:a.terms.validState=!0):(a.terms={},a.terms.value=footerSectionSettings.accept_terms_checkbox_is_checked),new c.Z({el:"#footer-form",delimiters:["@@","@@"],components:{"note-modal":f},data:a,methods:{inputOnChange:function(e,t,o,n){e.target.setAttribute("value",e.target.value),this.validateField(t,o,n)},validateData:function(){let e=!0;return this.idListWithErrors=[],Object.keys(this.inputs).forEach((t=>{const o=this.inputs[t];this.validateField(o.id,o.type)||(e=!1,this.idListWithErrors.push(`input-${o.id}`))})),this.marketing&&this.marketing.required&&!this.marketing.value&&(e=!1,a.marketing.validState=!1),this.terms&&this.terms.required&&!this.terms.value&&(e=!1,a.terms.validState=!1),e},validateField:function(e,t,o){const n=this.inputs[e],a=n.value;let i=!0;return"required"==o&&(null!=a&&""!=a.trim()||(i=!1)),"email"===t&&(/^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/.test(a)||(i=!1)),n.validState=i,i},sendData:function(e){if(e.preventDefault(),this.validateData()){e.target.disabled=!0;const t={domain:this.domain,source:this.source,event_type:this.event,list_id:this.listid,field_id:this.fieldid,url_params:window.location.search,campaign_type:this.campaignType,campaign_category:this.campaignCategory,incentive:this.incentive,campaign:this.campaign,language:window.localeLang};Object.keys(this.inputs).forEach((e=>{const o=this.inputs[e];t[o.id]=o.value,this.footerSubscriptionDataLayerEventObj.newEventData.formData[o.id]=o.value})),this.marketing&&(t.accept_marketing=this.marketing.value),this.terms&&(t.accept_terms=this.terms.value),fetch("https://product-registrations.boa-apps.com/api/registration",{method:"POST",cac
1he:"no-cache",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}).then((t=>{if(e.target.disabled=!1,t.ok)return this.isThankYouMessageShowing=!0,void window.preDataLayer.push(this.footerSubscriptionDataLayerEventObj);throw new Error("Error from sending data")})).catch((t=>{e.target.disabled=!1,this.showErrorModal()}))}},showErrorModal:function(){this.isErrorModalShowing=!0},hideErrorModal:function(){this.isErrorModalShowing=!1}},computed:{isMobile:()=>window.matchMedia("(max-width: 991px)").matches}})}));const S={LOGIN:"login",ZERO_ANY_SUBSCRIPTIONS:"zero_any_subscriptions",ZERO_CANCELLABLE_SUBSCRIPTIONS:"zero_cancellable_subscriptions",ONE_CANCELLABLE_SUBSCRIPTIONS:"one_cancellable_subscriptions",MANY_CANCELLABLE_SUBSCRIPTIONS:"many_cancellable_subscriptions"};function k(e){window.vueFooterModal?window.vueFooterModal.openNoteModal():window.vueFooterModal=new c.Z({el:"#footer-modal",delimiters:["@@","@@"],components:{"note-modal":f},data:e,mounted(){this.openNoteModal()},methods:{openNoteModal(){this.$refs.loginNoteModal.openModal()},cleanStorage(){localStorage.removeItem("subscriptionCancellationData")}}})}function E(){return fetch(`${window.location.origin}/apps/my-account/api/v1/subscriptions/for_cancellation`,{method:"GET",headers:new Headers({"Content-Type":"application/json",Accept:"application/json"}),mode:"cors"})}document.addEventListener("DOMContentLoaded",(function(){const e=document.querySelector('a[href="/subscription-cancellation"]');e&&(function(e){e.removeAttribute("href"),e.classList.remove("d-none"),e.addEventListener("click",(()=>{if(footerCustomerData)(function(e,t,o){const n=sessionStorage.getItem(e);if(n){const{timestamp:e,data:t}=JSON.parse(n);if(Date.now()-e<5e3)return Promise.resolve(t)}return t().then((e=>e.json())).then((t=>{const o={timestamp:Date.now(),data:t};return sessionStorage.setItem(e,JSON.stringify(o)),t}))})("subscriptionForCancellation",E).then((e=>{!function(e){const{redirectLink:t,currentNotesType:o}=function(e){const t=e.length,o=e.reduce(((e,t)=>"active"===t.status||"pending"===t.status?++e:e),0);let n=null,a=null;if(0===t)a=S.ZERO_ANY_SUBSCRIPTIONS;else if(0===o)a=S.ZERO_CANCELLABLE_SUBSCRIPTIONS,n="/apps/my-account/#/subscriptions";else if(1===o){const t=e.find((e=>"active"===e.status||"pending"===e.status)).id;a=S.ONE_CANCELLABLE_SUBSCRIPTIONS,n=`/apps/my-account/#/subscriptions/${t}`}else o>1&&(a=S.MANY_CANCELLABLE_SUBSCRIPTIONS,n="/apps/my-account/#/subscriptions");return{currentNotesType:a,redirectLink:n}}(e),n=window.location.pathname+window.location.hash;if(t&&n!==t){if(localStorage.setItem("subscriptionCancellationData",JSON.stringify({notesType:o})),window.location.href=t,window.location.pathname.includes("apps/my-account")){const e=new CustomEvent("subscriptionCancellationDataEvent",{detail:{notesType:o}});window.dispatchEvent(e)}}else{const e=new CustomEvent("subscriptionCancellationDataEvent",{detail:{notesType:o}});window.dispatchEvent(e)}}(e.data.subscriptions)})).catch((e=>{console.log(`Fail with the subscriptions request: ${e}`)}));else if("/account/login"===window.location.pathname+window.location.hash){const e=new CustomEvent("subscriptionCancellationDataEvent",{detail:{notesType:S.LOGIN}});window.dispatchEvent(e)}else localStorage.setItem("subscriptionCancellationData",JSON.stringify({notesType:S.LOGIN})),e.href=`${window.location.origin}/account/login`}))}(e),function(){const e=localStorage.getItem("subscriptionCancellationData");if(!e)return;const t=JSON.parse(e);t&&t.notesType!==S.ONE_CANCELLABLE_SUBSCRIPTIONS&&k({currentNoteType:t.notesType,notesType:S})}(),window.addEventListener("subscriptionCancellationDataEvent",(e=>{e.detail.notesType!==S.ONE_CANCELLABLE_SUBSCRIPTIONS&&k({currentNoteType:e.detail.notesType,notesType:S})})))})),o(26413),window.addEventListener("DOMContentLoaded",(async()=>{show_contry_popup&&new c.Z({el:"#modal-country",delimiters:["@@","@@"],data:{documentDirection:window.getComputedStyle(document.body).direction,savedCountry:!1,dropdownActive:!1,curCountry:{},countries:[{name:"argentina",url:"http://www.sodastream.com.ar/",img:countryFlags.argentina},{name:"australia",url:"https://www.sodastream.com.au/",img:countryFlags.australia},{name:"austria",url:"https://www.sodastream.at/",img:countryFlags.austria},{name:"belgium",url:"https://sodastream.be",img:countryFlags.belgium},{name:"brazil",url:"https://www.sodastream.com.br/",img:countryFlags.brazil},{name:"canada",url:"https://www.sodastream.ca/en/index.php",img:countryFlags.canada},{name:"czech republic",url:"https://www.sodastream.cz/",img:countryFlags.czechRepublic},{name:"denmark",url:"http://sodastream.dk/",img:countryFlags.denmark}
1,{name:"finland",url:"https://sodastream.fi/",img:countryFlags.finland},{name:"france",url:"https://www.sodastream.fr/",img:countryFlags.france},{name:"germany",url:"https://www.sodastream.de/",img:countryFlags.germany},{name:"hungary",url:"https://www.sodastream.hu/",img:countryFlags.hungary},{name:"israel",url:"https://www.sodastream.co.il/",img:countryFlags.israel},{name:"italy",url:"https://www.sodastream.it/",img:countryFlags.italy},{name:"japan",url:"http://www.sodastream.jp/",img:countryFlags.japan},{name:"luxembourg",url:"http://www.sodastream.be/",img:countryFlags.luxembourg},{name:"mexico",url:"https://sodastreammexico.com/",img:countryFlags.mexico},{name:"netherlands",url:"http://www.sodastream.nl/",img:countryFlags.netherlands},{name:"new zealand",url:"https://www.sodastream.co.nz/",img:countryFlags.newZealand},{name:"norway",url:"https://sodastream.no/",img:countryFlags.norway},{name:"philippines",url:"https://iprice.ph/sodastream/",img:countryFlags.philippines},{name:"poland",url:"https://sodastream.pl/",img:countryFlags.poland},{name:"portugal",url:"https://sodastream.pt/",img:countryFlags.portugal},{name:"russia",url:"https://sodastream.ru/",img:countryFlags.russia},{name:"singapore",url:"https://sodastream.sg/",img:countryFlags.singapore},{name:"slovakia",url:"https://www.sodastream.sk/",img:countryFlags.slovakia},{name:"slovenia",url:"http://www.sodastream.si/",img:countryFlags.slovenia},{name:"south africa",url:"http://www.sodastream.co.za/",img:countryFlags.southAfrica},{name:"south korea",url:"http://www.sodastream.kr/",img:countryFlags.southKorea},{name:"spain",url:"http://www.sodastream.es/",img:countryFlags.spain},{name:"sweden",url:"https://sodastream.se/",img:countryFlags.sweden},{name:"switzerland",url:"https://www.sodastream.ch/",img:countryFlags.switzerland},{name:"taiwan",url:"http://www.sodastream.com.tw/",img:countryFlags.taiwan},{name:"ukraine",url:"http://www.sodastream.com.ua/",img:countryFlags.ukraine},{name:"united kingdom",url:"https://sodastream.co.uk",img:countryFlags.unitedKingdom},{name:"united states",url:"https://sodastream.com",img:countryFlags.unitedStates}]},computed:{isRtl(){return"rtl"===this.documentDirection}},mounted(){let e=null;if(!this.getCookie("country_pop")){let t=this.getCookie("saved_country");if(t){e=t;for(let t of this.countries)t.name==e&&(this.curCountry=t,this.savedCountry=!0);setTimeout((()=>{r()("#modal-country").modal("show")}),5e3)}else{for(let e of this.countries)storeCountry.includes(e.name)&&(this.curCountry=e);fetch("https://api.ipstack.com/check?access_key=c52495929ef280d456e8be478d2184a6").then((t=>{t.ok?t.json().then((t=>{if(0==storeCountry.includes(t.country_name)){let o=new Date;o.setTime((new Date).getTime()+18e5),document.cookie=`country_pop=true; expires=${o}; path=/`,e=t.country_name.toLowerCase();for(let t of this.countries)t.name==e&&(this.curCountry=t);setTimeout((()=>{r()("#modal-country").modal("show")}),5e3)}else{let e=new Date;e.setTime((new Date).getTime()+31536e6),document.cookie=`local_user=true; expires=${e}; path=/`}})):setTimeout((()=>{r()("#modal-country").modal("show")}),5e3)}))}}},methods:{getCookie(e){let t=("; "+document.cookie).split("; "+e+"=");if(2==t.length)return t.pop().split(";").shift()},countrySelected(e){this.curCountry=e,this.dropdownActive=!this.dropdownActive},saveCountry(){let e=new Date;e.setTime((new Date).getTime()+2592e6),document.cookie=`saved_country=${this.curCountry.name}; expires=${e}; path=/`,r()("#modal-country").modal("hide")},closeDropdown(e){e.target!=document.querySelector(".selected-country")&&this.dropdownActive&&(this.dropdownActive=!1)},closePopup(){r()("#modal-country").modal("hide");let e=new Date;e.setTime((new Date).getTime()+18e5),document.cookie=`country_pop=true; expires=${e}; path=/`},invertDropdown(){this.dropdownActive=!this.dropdownActive}}})})),o(48791),window.addEventListener("DOMContentLoaded",(()=>{document.getElementById("modal-pre-access")&&new c.Z({el:"#modal-pre-access",data:{enteredPassword:"",error:!1},mounted(){sessionStorage.getItem("preAccessData")||(r()("#modal-pre-access").modal({backdrop:"static",keyboard:!1}
1),r()("#modal-pre-access").modal("show"),r()(".modal-backdrop").css({"background-color":"rgba(217, 217, 217, 0.5)","backdrop-filter":"blur(8px)",opacity:"1"}))},methods:{verifyPassword(){if(!this.enteredPassword)return void(this.error="empty");const e=r()("#modal-pre-access").data("password"),t=r()("#modal-pre-access").data("promotion-url"),o=r()("#modal-pre-access").data("promotion-top-bar-text"),n=r()("#modal-pre-access").data("promotion-top-bar-text-color"),a=r()("#modal-pre-access").data("promotion-top-bar-background-color"),i=r()("#modal-pre-access").data("promotion-top-bar-height-desktop"),s=r()("#modal-pre-access").data("promotion-top-bar-height-mobile");if(this.enteredPassword===e){this.error=!1;const e={url:t,topBarText:o,topBarTextColor:n,topBarBackgroundColor:a,topBarHeightDesktop:i,topBarHeightMobile:s};sessionStorage.setItem("preAccessData",JSON.stringify(e)),this.closePopup(),location.reload()}else this.error="incorrect"},closePopup(){r()("#modal-pre-access").modal("hide")}}})})),o(57714)}},o={};function n(e){var a=o[e];if(void 0!==a)return a.exports;var i=o[e]={exports:{}};return t[e].call(i.exports,i,i.exports,n),i.exports}n.m=t,e=[],n.O=(t,o,a,i)=>{if(!o){var s=1/0;for(d=0;d<e.length;d++){for(var[o,a,i]=e[d],r=!0,c=0;c<o.length;c++)(!1&i||s>=i)&&Object.keys(n.O).every((e=>n.O[e](o[c])))?o.splice(c--,1):(r=!1,i<s&&(s=i));if(r){e.splice(d--,1);var l=a();void 0!==l&&(t=l)}}return t}i=i||0;for(var d=e.length;d>0&&e[d-1][2]>i;d--)e[d]=e[d-1];e[d]=[o,a,i]},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.j=1233,(()=>{var e={1233:0};n.O.j=t=>0===e[t];var t=(t,o)=>{var a,i,[s,r,c]=o,l=0;if(s.some((t=>0!==e[t]))){for(a in r)n.o(r,a)&&(n.m[a]=r[a]);if(c)var d=c(n)}for(t&&t(o);l<s.length;l++)i=s[l],n.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return n.O(d)},o=self.webpackChunk=self.webpackChunk||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var a=n.O(void 0,[2279],(()=>n(77405)));a=n.O(a)})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.