CSChat={proactive:!1};let locale=window.location.pathname;function getCookie(c){var e=c+"=",l=decodeURIComponent(document.cookie).split(";");for(let t=0;tc.endsWith(":gcmcsessionActive"))}function checkOngoingConversationCookie(){return document.cookie.split(";").some(c=>c.includes(":gcmcsessionActive"))}function ongoingConversation(){return(window.location.href.includes("app2.")?checkOngoingConversationCookie:checkOngoingConversationLocalStorage)()}function checkChatScript(){var c,t;locale.match(/\/fi_fi\//)?((c={url:locale.match(/.*.fi_fi\/customer-service(.*|\.html)?$/),url2:!1,url3:!1,cartUrl:locale.match("/fi_fi/cart"),checkoutUrl:locale.match(/\/fi_fi\/.*checkout/),proactive:locale.match(/.*.fi_fi\/customer-service\/contact(.*|\.html)?$/)}).url||c.url2||c.url3||c.cartUrl||c.checkoutUrl||ongoingConversation())&&(fileToLoad="https://stchatscripts.blob.core.windows.net/scripts/HM-Messaging-Finnish.js",c.proactive)&&(CSChat.proactive=!1):locale.match(/\/en_ie\//)?((c={url:locale.match(/.*.en_ie\/customer-service(.*|\.html)?$/),url2:locale.match(/.*.en_ie\/account(\/.*|\.html)?$/),url3:locale.match(/.*.en_ie\/member\/info.html/),cartUrl:locale.match("/en_ie/cart"),checkoutUrl:locale.match(/\/en_ie\/.*checkout/),proactiveChat:locale.match(/.*.en_ie\/customer-service\/contact(.*|\.html)?$/)}).url||c.url2||c.url3||c.cartUrl||c.checkoutUrl||ongoingConversation())&&(fileToLoad="https://stchatscripts.blob.core.windows.net/scripts/hm-custom.js",c.proactive)&&(CSChat.proactive=!1):locale.match(/\/da_dk\//)?((c={url:locale.match(/.*.da_dk\/customer-service(.*|\.html)?$/),url2:!1,url3:!1,cartUrl:locale.match("/da_dk/cart"),checkoutUrl:locale.match(/\/da_dk\/.*checkout/),proactive:locale.match(/.*.da_dk\/customer-service\/contact(.*|\.html)?$/)}).url||c.url2||c.url3||c.cartUrl||c.checkoutUrl||ongoingConversation())&&(fileToLoad="https://stchatscripts.blob.core.windows.net/scripts/hm-custom.js",c.proactive)&&(CSChat.proactive=!1):locale.match(/\/no_no\//)?((c={url:locale.match(/.*.no_no\/customer-service(.*|\.html)?$/),url2:!1,url3:!1,cartUrl:locale.match("/no_no/cart"),checkoutUrl:locale.match(/\/no_no\/.*checkout/),proactive:locale.match(/.*.no_no\/customer-service\/(contact|snakk-med-oss)(.*|\.html)?$/)}).url||c.url2||c.url3||c.cartUrl||c.checkoutUrl||ongoingConversation())&&(fileToLoad="https://stchatscripts.blob.core.windows.net/scripts/HM-Messaging-Norwegian.js",c.proactive)&&(CSChat.proactive=!1):locale.match(/\/es_mx\//)?((c={url:locale.match(/.*.es_mx\/customer-service(.*|\.html)?$/),url2:locale.match(/.*.es_mx\/account(\/.*|\.html)?$/),url3:locale.match(/.*.es_mx\/member\/info.html/),cartUrl:locale.match("/es_mx/cart"),checkoutUrl:locale.match(/\/es_mx\/.*checkout/),proactive:locale.match(/.*.es_mx\/customer-service\/(contact|contacto)(.*|\.html)?$/)}).url||c.url2||c.url3||c.cartUrl||c.checkoutUrl||ongoingConversation())&&(fileToLoad="https://stchatscripts.blob.core.windows.net/scripts/HM-Messaging-Spanish-SFAQ.js",c.proactive)&&(CSChat.proactive=!1):locale.match(/\/fr_be\//)?((c={url:locale.match(/.*.fr_be\/customer-service(.*|\.html)?$/),url2:!1,url3:!1,cartUrl:locale.match("/fr_be/cart"),checkoutUrl:locale.match(/\/fr_be\/.*checkout/),proactive:locale.match(/.*.fr_be\/customer-service\/contact(.*|\.html)?$/)}).url||c.url2||c.url3||c.cartUrl||c.checkoutUrl||ongoingConversation())&&(fileToLoad="https://stchatscripts.blob.core.windows.net/scripts/HM-Messaging-French.js",c.proactive)&&(CSChat.proactive=!1):locale.match(/\/nl_be\//)?((c={url:locale.match(/.*.nl_be\/customer-service(.*|\.html)?$/),url2:!1,url3:!1,cartUrl:locale.match("/nl_be/cart"),checkoutUrl:locale.match(/\/nl_be\/.*checkout/),proactive:locale.match(/.*.nl_be\/customer-service\/contact(.*|\.html)?$/)}).url||c.url2||c.url3||c.cartUrl||c.checkoutUrl||ongoingConversation())&&(fileToLoad="https://stchatscripts.blob.core.windows.net/scripts/HM-Messaging-Dutch.js",c.proactive)&&(CSChat.proactive=!1):locale.match(/\/en_au\//)?(c={url:locale.match(/.*.en_au\/customer-service(.*|\.html)?$/),url2:!1,url3:!1,cartUrl:!1,checkoutUrl:!1},t=localStorage.getItem("boostai.conversation.id"),(c.url||c.url2||c.url3||c.cartUrl||c.checkoutUrl||t)&&(fileToLoad="https://stchatscripts.blob.core.windows.net/scripts/b-hm.js")):locale.match(/\/en_my\//)?((c={url:locale.match(/.*.en_my\/customer-service(.*|\.html)?$/),url2:!1,url3:!1,cartUrl:locale.match("/en_my/cart"),checkoutUrl:locale.match(/\/en_my\/.*checkout/),proactive:locale.match(/.*.en_my\/customer-service\/contact(.*|\.html)?$/)}).url||c.url2||c.url3||c.cartUrl||c.checkoutUrl||ongoingConversation())&&(fileToLoad="https://stchatscripts.blob.core.windows.net/scripts/HM-Messaging-English.js",c.proactive)&&(CSChat.proactive=!1):locale.match(/\/en_ph\//)?((t={url:locale.match(/.*.en_ph\/customer-service(.*|\.html)?$/),url2:!1,url3:!1,cartUrl:locale.match("/en_ph/cart"),checkoutUrl:locale.match(/\/en_ph\/.*checkout/),proactive:locale.match(/.*.en_ph\/customer-service\/contact(.*|\.html)?$/)}).url||t.url2||t.url3||t.cartUrl||t.checkoutUrl||ongoingConversation())&&(fileToLoad="https://stchatscripts.blob.core.windows.net/scripts/HM-Messaging-English.js",t.proactive)&&(CSChat.proactive=!1):locale.match(/\/en_asia5\//)?((c={url:locale.match(/.*.en_asia5\/customer-service(.*|\.html)?$/),url2:!1,url3:!1,cartUrl:locale.match("/en_asia5/cart"),checkoutUrl:locale.match(/\/en_asia5\/.*checkout/),proactive:locale.match(/.*.en_asia5\/customer-service\/contact(.*|\.html)?$/)}).url||c.url2||c.url3||c.cartUrl||c.checkoutUrl||ongoingConversation())&&(fileToLoad="https://stchatscripts.blob.core.windows.net/scripts/HM-Messaging-English.js",c.proactive)&&(CSChat.proactive=!1):locale.match(/\/en_sg\//)?((t={url:locale.match(/.*.en_sg\/customer-service(.*|\.html)?$/),url2:!1,url3:!1,cartUrl:locale.match("/en_sg/cart"),checkoutUrl:locale.match(/\/en_sg\/.*checkout/)}).url||t.url2||t.url3||t.cartUrl||t.checkoutUrl||ongoingConversation())&&(fileToLoad="https://stchatscripts.blob.core.windows.net/scripts/HM-Messaging-English.js",t.proactive)&&(CSChat.proactive=!1):locale.match(/\/es_es\//)?((c={url:locale.match(/.*.es_es\/(service-clients|customer-service)(.*|\.html)?$/),url2:locale.match(/.*.es_es\/account(.*|\.html)?$/),url3:locale.match(/.*.es_es\/member\/info.html/),cartUrl:locale.match("/es_es/cart"),checkoutUrl:locale.match(/\/es_es\/.*checkout/),proactive:locale.match(/.*.es_es\/(service-clients|customer-service)\/contact(?:.*\.html)?$/)}).url||c.url2||c.url3||c.cartUrl||c.checkoutUrl||ongoingConversation())&&(fileToLoad="https://stchatscripts.blob.core.windows.net/scripts/HM-Messaging-Spanish.js",c.proactive)&&(CSChat.proactive=!1):locale.match(/\/it_it\//)?((t={url:locale.match(/\/it_it\/(service-clients|customer-service)(.*|\.html)?$/),url2:locale.match(/.*.it_it\/account(.*|\.html)?$/),url3:locale.match(/.*.it_it\/member\/info.html/),cartUrl:locale.match("/it_it/cart"),checkoutUrl:locale.match(/\/it_it\/.*checkout/),proactive:locale.match(/\/it_it\/(service-clients|customer-service)\/contact(?:.*\.html)?$/)}).url||t.url2||t.url3||t.cartUrl||t.checkoutUrl||ongoingConversation())&&(fileToLoad="https://stchatscripts.blob.core.windows.net/scripts/hm-custom.js",t.proactive)&&(CSChat.proactive=!1):locale.match(/\/tr_tr\//)?((c={url:locale.match(/\/tr_tr\/customer-service(.*|\.html)?$/),url2:!1,url3:!1,cartUrl:locale.match("/tr_tr/cart"),checkoutUrl:locale.match(/\/tr_tr\/.*checkout/),proactive:locale.match(/\/tr_tr\/customer-service\/contact(?:.*\.html)?$/)}).url||c.url2||c.url3||c.cartUrl||c.checkoutUrl||ongoingConversation())&&(fileToLoad="https://stchatscripts.blob.core.windows.net/scripts/HM-Messaging-Turkish.js",c.proactive)&&(CSChat.proactive=!1):locale.match(/\/it_ch\//)?((t={url:locale.match(/.*.it_ch\/customer-service(.*|\.html)?$/),url2:!1,url3:!1,cartUrl:locale.match("/it_ch/cart"),checkoutUrl:locale.match(/\/it_ch\/.*checkout/),proactive:locale.match(/.*.it_ch\/customer-service\/contact(?:.*\.html)?$/)}).url||t.url2||t.url3||t.cartUrl||t.checkoutUrl||ongoingConversation())&&(fileToLoad="https://stchatscripts.blob.core.windows.net/scripts/HM-Messaging-Italian.js",t.proactive)&&(CSChat.proactive=!1):locale.match(/\/fr_ch\//)?((c={url:locale.match(/.*.fr_ch\/customer-service(.*|\.html)?$/),url2:!1,url3:!1,cartUrl:locale.match("/fr_ch/cart"),checkoutUrl:locale.match(/\/fr_ch\/.*checkout/),proactive:locale.match(/.*.fr_ch\/customer-service\/contact(?:.*\.html)?$/)}).url||c.url2||c.url3||c.cartUrl||c.checkoutUrl||ongoingConversation())&&(fileToLoad="https://stchatscripts.blob.core.windows.net/scripts/HM-Messaging-French.js",c.proactive)&&(CSChat.proactive=!1):locale.match(/\/ja_jp\//)?((t={url:locale.match(/.*.ja_jp\/customer-service(.*|\.html)?$/),url2:!1,url3:!1,cartUrl:locale.match("/ja_jp/cart"),checkoutUrl:locale.match(/\/ja_jp\/.*checkout/),proactive:locale.match(/.*.ja_jp\/customer-service\/contact(.*|\.html)?$/)}).url||t.url2||t.url3||t.cartUrl||t.checkoutUrl||ongoingConversation())&&(fileToLoad="https://stchatscripts.blob.core.windows.net/scripts/HM-Messaging-Japanese.js",t.proactive)&&(CSChat.proactive=!1):locale.match(/\/de_ch\//)?((c={url:locale.match(/.*.de_ch\/customer-service(.*|\.html)?$/),url2:!1,url3:!1,cartUrl:locale.match("/de_ch/cart"),checkoutUrl:locale.match(/\/de_ch\/.*checkout/),proactive:locale.match(/.*.de_ch\/customer-service\/contact(.*|\.html)?$/)}).url||c.url2||c.url3||c.cartUrl||c.checkoutUrl||ongoingConversation())&&(fileToLoad="https://stchatscripts.blob.core.windows.net/scripts/HM-Messaging-German.js",c.proactive)&&(CSChat.proactive=!1):locale.match(/\/de_at\//)?((t={url:locale.match(/.*.de_at\/customer-service(.*|\.html)?$/),url2:locale.match(/.*.de_at\/account(.*|\.html)?$/),url3:locale.match(/.*.de_at\/member\/info.html/),cartUrl:locale.match("/de_at/cart"),checkoutUrl:locale.match(/\/de_at\/.*checkout/),proactive:locale.match(/.*.de_at\/customer-service\/(contact|kontakt)(.*|\.html)?$/)}).url||t.url2||t.url3||t.cartUrl||t.checkoutUrl||ongoingConversation())&&(fileToLoad="https://stchatscripts.blob.core.windows.net/scripts/hm-custom.js",t.proactive)&&(CSChat.proactive=!1):locale.match(/\/de_de\//)?((c={url:locale.match(/.*.de_de\/customer-service(.*|\.html)?$/),url2:locale.match(/.*.de_de\/account(.*|\.html)?$/),url3:locale.match(/.*.de_de\/member\/info.html/),cartUrl:locale.match("/de_de/cart"),checkoutUrl:locale.match(/\/de_de\/.*checkout/),proactive:locale.match(/.*.de_de\/customer-service\/(contact|kontakt)(.*|\.html)?$/)}).url||c.url2||c.url3||c.cartUrl||c.checkoutUrl||ongoingConversation())&&(fileToLoad="https://stchatscripts.blob.core.windows.net/scripts/hm-custom.js",c.proactive)&&(CSChat.proactive=!1):locale.match(/\/pl_pl\//)?((t={url:locale.match(/.*.pl_pl\/customer-service(.*|\.html)?$/),url2:locale.match(/.*.pl_pl\/account(.*|\.html)?$/),url3:locale.match(/.*.pl_pl\/member\/info.html/),cartUrl:locale.match("/pl_pl/cart"),checkoutUrl:locale.match(/\/pl_pl\/.*checkout/),proactive:locale.match(/.*.pl_pl\/customer-service\/contact(.*|\.html)?$/)}).url||t.url2||t.url3||t.cartUrl||t.checkoutUrl||ongoingConversation())&&(fileToLoad="https://stchatscripts.blob.core.windows.net/scripts/hm-custom.js",t.proactive)&&(CSChat.proactive=!1):locale.match(/\/en_gb\//)?((c={url:locale.match(/.*.en_gb\/customer-service(.*|\.html)?$/),url2:locale.match(/.*.en_gb\/account(.*|\.html)?$/),url3:locale.match(/.*.en_gb\/member\/info.html/),cartUrl:locale.match("/en_gb/cart"),checkoutUrl:locale.match(/\/en_gb\/.*checkout/),proactive:locale.match(/.*.en_gb\/customer-service\/contact(.*|\.html)?$/)}).url||c.url2||c.url3||c.cartUrl||c.checkoutUrl||ongoingConversation())&&(fileToLoad="https://stchatscripts.blob.core.windows.net/scripts/hm-custom.js",c.proactive)&&(CSChat.proactive=!1):locale.match(/\/en_us\//)?((t={url:locale.match(/.*.en_us\/customer-service(.*|\.html)?$/),url2:locale.match(/.*.en_us\/account(.*|\.html)?$/),url3:locale.match(/.*.en_us\/member\/info.html/),cartUrl:locale.match("/en_us/cart"),checkoutUrl:locale.match(/\/en_us\/.*checkout/),proactive:locale.match(/.*.en_us\/customer-service\/contact(.*|\.html)?$/)}).url||t.url2||t.url3||t.cartUrl||t.checkoutUrl||ongoingConversation())&&(fileToLoad="https://stchatscripts.blob.core.windows.net/scripts/hm-custom.js",t.proactive)&&(CSChat.proactive=!1):locale.match(/\/sv_se\//)?((c={url:locale.match(/.*.sv_se\/customer-service(.*|\.html)?$/),url2:locale.match(/.*.sv_se\/account(.*|\.html)?$/),url3:locale.match(/.*.sv_se\/member\/info.html/),cartUrl:locale.match("/sv_se/cart"),checkoutUrl:locale.match(/\/sv_se\/.*checkout/),proactive:locale.match(/.*.sv_se\/customer-service\/(contact|kontakta-oss)(.*|\.html)?$/)}).url||c.url2||c.url3||c.cartUrl||c.checkoutUrl||ongoingConversation())&&(fileToLoad="https://stchatscripts.blob.core.windows.net/scripts/hm-custom.js",c.proactive)&&(CSChat.proactive=!1):locale.match(/\/fr_fr\//)?((t={url:locale.match(/.*.fr_fr\/(service-clients|customer-service)(.*|\.html)?$/),url2:locale.match(/.*.fr_fr\/account(.*|\.html)?$/),url3:locale.match(/.*.fr_fr\/member\/info.html/),cartUrl:locale.match("/fr_fr/cart"),checkoutUrl:locale.match(/\/fr_fr\/.*checkout/),proactive:locale.match(/.*.fr_fr\/(service-clients|customer-service)\/contact(.*|\.html)?$/)}).url||t.url2||t.cartUrl||t.checkoutUrl||ongoingConversation())&&(fileToLoad="https://stchatscripts.blob.core.windows.net/scripts/hm-custom.js",t.proactive)&&(CSChat.proactive=!1):locale.match(/\/nl_nl\//)?((c={url:locale.match(/.*.nl_nl\/customer-service(.*|\.html)?$/),url2:locale.match(/.*.nl_nl\/account(.*|\.html)?$/),url3:locale.match(/.*.nl_nl\/member\/info.html/),cartUrl:locale.match("/nl_nl/cart"),checkoutUrl:locale.match(/\/nl_nl\/.*checkout/),proactive:locale.match(/.*.nl_nl\/customer-service\/contact(.*|\.html)?$/)}).url||c.url2||c.url3||c.cartUrl||c.checkoutUrl||ongoingConversation())&&(fileToLoad="https://stchatscripts.blob.core.windows.net/scripts/hm-custom.js",c.proactive)&&(CSChat.proactive=!1):locale.match(/\/en_in\//)&&((t={url:locale.match(/.*.en_in\/customer-service(.*|\.html)?$/),url2:locale.match(/.*.en_in\/account(.*|\.html)?$/),url3:locale.match(/.*.en_in\/member\/info.html/),cartUrl:locale.match("/en_in/cart"),checkoutUrl:locale.match(/\/en_in\/.*checkout/),proactive:locale.match(/.*.en_in\/customer-service\/contact(.*|\.html)?$/)}).url||t.url2||t.url3||t.cartUrl||t.checkoutUrl||ongoingConversation())&&(fileToLoad="https://stchatscripts.blob.core.windows.net/scripts/hm-custom.js",t.proactive)&&(CSChat.proactive=!1),""!=fileToLoad&&(c=document.getElementsByTagName("body")[0],(t=document.createElement("script")).src=fileToLoad,c.appendChild(t))}fileToLoad="",checkChatScript();