1(function(t){function e(e2){for(var o2,c2,i2=e2[0],u2=e2[1],m2=e2[2],l=0,f=[];l<i2.length;l++)c2=i2[l],r[c2]&&f.push(r[c2][0]),r[c2]=0;for(o2 in u2)Object.prototype.hasOwnProperty.call(u2,o2)&&(t[o2]=u2[o2]);for(s&&s(e2);f.length;)f.shift()();return a.push.apply(a,m2||[]),n()}function n(){for(var t2,e2=0;e2<a.length;e2++){for(var n2=a[e2],o2=!0,i2=1;i2<n2.length;i2++){var u2=n2[i2];r[u2]!==0&&(o2=!1)}o2&&(a.splice(e2--,1),t2=c(c.s=n2[0]))}return t2}var o={},r={3:0},a=[];function c(e2){if(o[e2])return o[e2].exports;var n2=o[e2]={i:e2,l:!1,exports:{}};return t[e2].call(n2.exports,n2,n2.exports,c),n2.l=!0,n2.exports}c.m=t,c.c=o,c.d=function(t2,e2,n2){c.o(t2,e2)||Object.defineProperty(t2,e2,{enumerable:!0,get:n2})},c.r=function(t2){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(t2,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t2,"__esModule",{value:!0})},c.t=function(t2,e2){if(1&e2&&(t2=c(t2)),8&e2||4&e2&&typeof t2=="object"&&t2&&t2.__esModule)return t2;var n2=Object.create(null);if(c.r(n2),Object.defineProperty(n2,"default",{enumerable:!0,value:t2}),2&e2&&typeof t2!="string")for(var o2 in t2)c.d(n2,o2,function(e3){return t2[e3]}.bind(null,o2));return n2},c.n=function(t2){var e2=t2&&t2.__esModule?function(){return t2.default}:function(){return t2};return c.d(e2,"a",e2),e2},c.o=function(t2,e2){return Object.prototype.hasOwnProperty.call(t2,e2)},c.p="/assets/";var i=window.webpackJsonp=window.webpackJsonp||[],u=i.push.bind(i);i.push=e,i=i.slice();for(var m=0;m<i.length;m++)e(i[m]);var s=u;a.push([168,0]),n()})({168:function(t,e,n){"use strict";n.r(e);var o=function(){var t2=document.querySelector("html");t2&&(t2.classList.remove("no-js"),t2.classList.add("has-js"))},r=n(0),a=(n(36),n(1)),c=n.n(a),i=n(4),u=n(5),m=n.n(u),s=n(2),l=n(7),f=n.n(l),y=n(60),_=n.n(y),d=n(61),h=n.n(d);function p(t2,e2,n2){return e2 in t2?Object.defineProperty(t2,e2,{value:n2,enumerable:!0,configurable:!0,writable:!0}):t2[e2]=n2,t2}var w,g,v=c()(window,"globalData.currencies"),b=function t2(e2,n2){return n2&&n2.classList&&n2.classList.contains(e2)===!1&&n2.parentNode?t2(e2,n2.parentNode):n2},S=function(t2){var e2={credentials:"same-origin",headers:{"content-type":"application/json"},method:arguments.length>1&&arguments[1]!==void 0?arguments[1]:"get"};return t2&&(e2=(function(t3){for(var e3=1;e3<arguments.length;e3++){var n2=arguments[e3]!=null?arguments[e3]:{},o2=Object.keys(n2);typeof Object.getOwnPropertySymbols=="function"&&(o2=o2.concat(Object.getOwnPropertySymbols(n2).filter(function(t4){return Object.getOwnPropertyDescriptor(n2,t4).enumerable}))),o2.forEach(function(e4){p(t3,e4,n2[e4])})}return t3})({},e2,{method:"post",body:JSON.stringify(t2)})),e2},j=function(){var t2=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,e2=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2,n2=arguments.length>2&&arguments[2]!==void 0?arguments[2]:",",o2=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".";if(isNaN(t2)||t2==null)return 0;var r2=(t2=(parseInt(t2)/100).toFixed(e2)).split(".");return r2[0].replace(/(\d)(?=(\d\d\d)+(?!\d))/g,"$1"+n2)+(r2[1]&&r2[1]!=="00"?o2+r2[1]:"")},A=function(t2,e2){typeof t2=="string"&&(t2=t2.replace(".",""));var n2=/\{\{\s*(\w+)\s*\}\}/,o2=e2||"\xA3{{amount}} GBP",r2=o2.match(n2),a2="";if(r2&&r2.length>=2){switch(r2[1]){case"amount":a2=j(t2,2);break;case"amount_no_decimals":a2=j(t2,0);break;case"amount_with_comma_separator":a2=j(t2,2,".",",");break;case"amount_no_decimals_with_comma_separator":a2=j(t2,0,".",",");break;default:a2=j(t2,2)}return v.roundPrice&&(a2=Math.round(parseFloat(a2))),o2.replace(n2,a2.toString())}},O=function(){return typeof window!="undefined"&&window.getComputedStyle(document.querySelector("body"),":before").getPropertyValue("content").includes("mobile")&&!(navigator.userAgent.match(/Tablet|iPad|iPod/i)&&window.innerWidth<=1280&&window.innerHeight>=800)},D=n(62);function L(t2){return(function(t3){if(Array.isArray(t3)){for(var e2=0,n2=new Array(t3.length);e2<t3.length;e2++)n2[e2]=t3[e2];return n2}})(t2)||(function(t3){if(Symbol.iterator in Object(t3)||Object.prototype.toString.call(t3)==="[object Arguments]")return Array.from(t3)})(t2)||(function(){throw new TypeError("Invalid attempt to spread non-iterable instance")})()}var R,N,E,T,P,C,k=function(t2,e2){g.send(t2,e2)},q=function(t2){var e2=b("js-track-event",t2.target);if(e2){var n2=c()(e2,"dataset.category"),o2=c()(e2,"dataset.label");n2&&o2&&k("event",{ec:n2,el:o2})}},M=function(){var t2=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];typeof window!="undefined"&&(window._ga?g=window._ga:(g=new D.a(c()(window,"globalData.gaID","")),window._ga=g)),g&&t2&&(w=document.querySelectorAll(".js-track-event"))&&L(w).map(function(t3){return t3.addEventListener("click",q)})},B={defaultModal:{open:function(){s.a.timeline().add({duration:500,elasticity:100,offset:"+=450",opacity:[0,1],targets:"[data-modal] .js-title",translateY:[24,0]}).add({duration:500,elasticity:100,opacity:[0,1],offset:"-=350",targets:"[data-modal] .js-cta",translateY:[6,0]})}}};function I(t2){return(function(t3){if(Array.isArray(t3)){for(var e2=0,n2=new Array(t3.length);e2<t3.length;e2++)n2[e2]=t3[e2];return n2}})(t2)||(function(t3){if(Symbol.iterator in Object(t3)||Object.prototype.toString.call(t3)==="[object Arguments]")return Array.from(t3)})(t2)||(function(){throw new TypeError("Invalid attempt to spread non-iterable instance")})()}var $=function(){},U=function(){if(P&&C){P.style.visibility="hidden";var t2=C.getBoundingClientRect().height>window.innerHeight;P.classList.toggle("c-modal--no-flex",t2),P.style.visibility="visible"}},K=function(){R&&P&&C&&N&&(document.removeEventListener("click",$,!1),R.classList.remove("u-no-scroll"),N.classList.remove("u-no-scroll"),Object(s.a)({opacity:[1,0],targets:E,translateY:[0,20]}),Object(s.a)({easing:"spring(1, 100, 25, 0)",opacity:[1,0],targets:C,translateY:[0,40]}),Object(s.a)({complete:function(){P.classList.add("u-hide")},easing:"spring(2, 200, 25, 0)",opacity:[1,0],targets:P}),setTimeout(function(){P.classList.add("u-hide")},1e3))};$=function(t2){var e2=t2.target;e2&&e2.classList.contains("c-modal")&&e2.dataset.modal!=="user-settings"&&K()};var G,x=function(){var t2=arguments.length>0&&arguments[0]!==void 0&&arguments[0];P&&C&&R&&N&&((function(){if(P){var t3=B[P.dataset.modal];t3&&t3.open&&t3.open()}})(),U(),document.addEventListener("click",$,!1),Object(s.a)({begin:function(){R.classList.add("u-no-scroll"),N.classList.add("u-no-scroll"),P.classList.remove("u-hide")},easing:"spring(1, 200, 25, 0)",opacity:[0,1],targets:P}),Object(s.a)({easing:"spring(1, 200, 25, 0)",delay:150,opacity:[0,1],targets:C,translateY:[40,0]}),Object(s.a)({delay:75,opacity:[0,1],targets:E,translateY:[20,0]}),k("event",{ec:"Overlay",ea:"click",el:"Opened ".concat(c()(P,"dataset.modal")),ni:t2?1:null}))},F=function(t2){var e2=document.querySelector('.js-modal[data-modal="'.concat(t2,'"]'));e2&&(P=e2,C=e2.querySelector(".js-modal-wrapper"))},Y=function(t2){t2.preventDefault();var e2=b("js-modal-open",t2.target);if(e2){var n2=c()(e2,"dataset.modal");n2&&(F(n2),x())}},H=function(t2){t2.preventDefault();var e2=b("js-modal-close",t2.target);if(e2){var n2=c()(e2,"dataset.modal");f()(c()(P,"dataset.modal"),n2)&&(F(""),K())}},Z=function(t2){t2.keyCode===27&&K()},J=function(){M(!1),R=document.body,N=document.querySelector("html"),E=document.querySelectorAll(".js-modal-close"),(T=document.querySelectorAll(".js-modal-open"))&&I(T).map(function(t2){return t2.addEventListener("click",Y,!1)}),E&&I(E).map(function(t2){return t2.addEventListener("click",H,!1)}),window.addEventListener("keyup",Z,!1),window.addEventListener("resize",_()(U,250),!1)};function W(t2){return(function(t3){if(Array.isArray(t3)){for(var e2=0,n2=new Array(t3.length);e2<t3.length;e2++)n2[e2]=t3[e2];return n2}})(t2)||(function(t3){if(Symbol.iterator in Object(t3)||Object.prototype.toString.call(t3)==="[object Arguments]")return Array.from(t3)})(t2)||(function(){throw new TypeError("Invalid attempt to spread non-iterable instance")})()}c()(window,"globalData.cart");var X=!1,V=function(){return X=!1},z=function(t2,e2){return new Promise(function(n2,o2){X||(X=!0,fetch(t2,S(e2)).then(function(t3){debugger;return t3.json()}).then(function(t3){V(),n2(t3)}
1).catch(function(t3){V(),o2(t3)}))})},Q=function(){return z("/cart.js")},tt=function(){var t2=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return new Promise(function(e2){var n2=m.a.getJSON("userSettings");n2&&n2.ageConfirmed===n2.ageMinimum?e2():Promise.all(t2.map(function(t3){return fetch("/products/".concat(t3.handle,".js"),S()).then(function(t4){return t4.json()})})).then(function(t3){var n3=t3.filter(function(t4){return t4.tags.includes("age_check")});if(n3.length>0){var o2={};n3.map(function(t4){return o2[t4.variants[0].id]=0}),fetch("/cart/update.js",S({updates:o2})).then(function(t4){return typeof BOLD=="object"&&BOLD.common&&BOLD.common.eventEmitter&&typeof BOLD.common.eventEmitter.emit=="function"&&(BOLD.common.eventEmitter.emit("BOLD_COMMON_cart_loaded"),BOLD.common.eventEmitter.emit("BOLD_COMMON_redirect_upsell_product")),t4.json()}).then(function(){return e2(n3)})}else e2()})})},et=function(){G=document.querySelectorAll(".js-cart-count"),document.querySelectorAll(".js-cart-checkout"),J()},nt={USD:{money_format:"${{amount}}",money_with_currency_format:"${{amount}} USD"},EUR:{money_format:"€{{amount}}",money_with_currency_format:"€{{amount}} EUR"},GBP:{money_format:"£{{amount}}",money_with_currency_format:"£{{amount}} GBP"},CAD:{money_format:"${{amount}}",money_with_currency_format:"${{amount}} CAD"},ALL:{money_format:"Lek {{amount}}",money_with_currency_format:"Lek {{amount}} ALL"},DZD:{money_format:"DA {{amount}}",money_with_currency_format:"DA {{amount}} DZD"},AOA:{money_format:"Kz{{amount}}",money_with_currency_format:"Kz{{amount}} AOA"},ARS:{money_format:"${{amount_with_comma_separator}}",money_with_currency_format:"${{amount_with_comma_separator}} ARS"},AMD:{money_format:"{{amount}} AMD",money_with_currency_format:"{{amount}} AMD"},AWG:{money_format:"Afl{{amount}}",money_with_currency_format:"Afl{{amount}} AWG"},AUD:{money_format:"${{amount}}",money_with_currency_format:"${{amount}} AUD"},BBD:{money_format:"${{amount}}",money_with_currency_format:"${{amount}} Bds"},AZN:{money_format:"m.{{amount}}",money_with_currency_format:"m.{{amount}} AZN"},BDT:{money_format:"Tk {{amount}}",money_with_currency_format:"Tk {{amount}} BDT"},BSD:{money_format:"BS${{amount}}",money_with_currency_format:"BS${{amount}} BSD"},BHD:{money_format:"{{amount}}0 BD",money_with_currency_format:"{{amount}}0 BHD"},BYR:{money_format:"Br {{amount}}",money_with_currency_format:"Br {{amount}} BYR"},BZD:{money_format:"BZ${{amount}}",money_with_currency_format:"BZ${{amount}} BZD"},BTN:{money_format:"Nu {{amount}}",money_with_currency_format:"Nu {{amount}} BTN"},BAM:{money_format:"KM {{amount_with_comma_separator}}",money_with_currency_format:"KM {{amount_with_comma_separator}} BAM"},BRL:{money_format:"R$ {{amount_with_comma_separator}}",money_with_currency_format:"R$ {{amount_with_comma_separator}} BRL"},BOB:{money_format:"Bs{{amount_with_comma_separator}}",money_with_currency_format:"Bs{{amount_with_comma_separator}} BOB"},BWP:{money_format:"P{{amount}}",money_with_currency_format:"P{{amount}} BWP"},BND:{money_format:"${{amount}}",money_with_currency_format:"${{amount}} BND"},BGN:{money_format:"{{amount}} \u043B\u0432",money_with_currency_format:"{{amount}} \u043B\u0432 BGN"},MMK:{money_format:"K{{amount}}",money_with_currency_format:"K{{amount}} MMK"},KHR:{money_format:"KHR{{amount}}",money_with_currency_format:"KHR{{amount}}"},KYD:{money_format:"${{amount}}",money_with_currency_format:"${{amount}} KYD"},XAF:{money_format:"FCFA{{amount}}",money_with_currency_format:"FCFA{{amount}} XAF"},CLP:{money_format:"${{amount_no_decimals}}",money_with_currency_format:"${{amount_no_decimals}} CLP"},CNY:{money_format:"¥{{amount}}",money_with_currency_format:"¥{{amount}} CNY"},COP:{money_format:"${{amount_with_comma_separator}}",money_with_currency_format:"${{amount_with_comma_separator}} COP"},CRC:{money_format:"₡ {{amount_with_comma_separator}}",money_with_currency_format:"₡ {{amount_with_comma_separator}} CRC"},HRK:{money_format:"{{amount_with_comma_separator}} kn",money_with_currency_format:"{{amount_with_comma_separator}} kn HRK"},CZK:{money_format:"{{amount_with_comma_separator}} Kč",money_with_currency_format:"{{amount_with_comma_separator}} Kč"},DKK:{money_format:"{{amount_with_comma_separator}}",money_with_currency_format:"kr.{{amount_with_comma_separator}}"},DOP:{money_format:"RD$ {{amount}}",money_with_currency_format:"RD$ {{amount}}"},XCD:{money_format:"${{amount}}",money_with_currency_format:"EC${{amount}}"},EGP:{money_format:"LE {{amount}}",money_with_currency_format:"LE {{amount}} EGP"},ETB:{money_format:"Br{{amount}}",money_with_currency_format:"Br{{amount}} ETB"},XPF:{money_format:"{{amount_no_decimals_with_comma_separator}} XPF",money_with_currency_format:"{{amount_no_decimals_with_comma_separator}} XPF"},FJD:{money_format:"${{amount}}",money_with_currency_format:"FJ${{amount}}"},GMD:{money_format:"D {{amount}}",money_with_currency_format:"D {{amount}} GMD"},GHS:{money_format:"GH₵{{amount}}",money_with_currency_format:"GH₵{{amount}}"},GTQ:{money_format:"Q{{amount}}",money_with_currency_format:"{{amount}} GTQ"},GYD:{money_format:"G${{amount}}",money_with_currency_format:"${{amount}} GYD"},GEL:{money_format:"{{amount}} GEL",money_with_currency_format:"{{amount}} GEL"},HNL:{money_format:"L {{amount}}",money_with_currency_format:"L {{amount}} HNL"},HKD:{money_format:"${{amount}}",money_with_currency_format:"HK${{amount}}"},HUF:{money_format:"{{amount_no_decimals_with_comma_separator}}",money_with_currency_format:"{{amount_no_decimals_with_comma_separator}} Ft"},ISK:{money_format:"{{amount_no_decimals}} kr",money_with_currency_format:"{{amount_no_decimals}} kr ISK"},INR:{money_format:"Rs. {{amount}}",money_with_currency_format:"Rs. {{amount}}"},IDR:{money_format:"{{amount_with_comma_separator}}",money_with_currency_format:"Rp {{amount_with_comma_separator}}"},ILS:{money_format:"{{amount}} NIS",money_with_currency_format:"{{amount}} NIS"},JMD:{money_format:"${{amount}}",money_with_currency_format:"${{amount}} JMD"},JPY:{money_format:"¥{{amount_no_decimals}}",money_with_currency_format:"¥{{amount_no_decimals}} JPY"},JEP:{money_format:"£{{amount}}",money_with_currency_format:"£{{amount}} JEP"},JOD:{money_format:"{{amount}}0 JD",money_with_currency_format:"{{amount}}0 JOD"},KZT:{money_format:"{{amount}} KZT",money_with_currency_format:"{{amount}} KZT"},KES:{money_format:"KSh{{amount}}",money_with_currency_format:"KSh{{amount}}"},KWD:{money_format:"{{amount}}0 KD",money_with_currency_format:"{{amount}}0 KWD"},KGS:{money_format:"\u043B\u0432{{amount}}",money_with_currency_format:"\u043B\u0432{{amount}}"},LVL:{money_format:"Ls {{amount}}",money_with_currency_format:"Ls {{amount}} LVL"},LBP:{money_format:"L£{{amount}}",money_with_currency_format:"L£{{amount}} LBP"},LTL:{money_format:"{{amount}} Lt",money_with_currency_format:"{{amount}} Lt"},MGA:{money_format:"Ar {{amount}}",money_with_currency_format:"Ar {{amount}} MGA"},MKD:{money_format:"\u0434\u0435\u043D {{amount}}",money_with_currency_format:"\u0434\u0435\u043D {{amount}} MKD"},MOP:{money_format:"MOP${{amount}}",money_with_currency_format:"MOP${{amount}}"},MVR:{money_format:"Rf{{amount}}",money_with_currency_format:"Rf{{amount}} MRf"},MXN:{money_format:"$ {{amount}}",money_with_currency_format:"$ {{amount}} MXN"},MYR:{money_format:"RM{{amount}} MYR",money_with_currency_format:"RM{{amount}} MYR"},MUR:{money_format:"Rs {{amount}}",money_with_currency_format:"Rs {{amount}} MUR"},MDL:{money_format:"{{amount}} MDL",money_with_currency_format:"{{amount}} MDL"},MAD:{money_format:"{{amount}} dh",money_with_currency_format:"Dh {{amount}} MAD"},MNT:{money_format:"{{amount_no_decimals}} ₮",money_with_currency_format:"{{amount_no_decimals}} MNT"},MZN:{money_format:"{{amount}} Mt",money_with_currency_format:"Mt {{amount}} MZN"},NAD:{money_format:"N${{amount}}",money_with_currency_format:"N${{amount}} NAD"},NPR:{money_format:"Rs{{amount}}",money_with_currency_format:"Rs{{amount}} NPR"},ANG:{money_format:"ƒ{{amount}}",money_with_currency_format:"{{amount}} NAƒ"},NZD:{money_format:"${{amount}}",money_with_currency_format:"${{amount}} NZD"},NIO:{money_format:"C${{amount}}",money_with_currency_format:"C${{amount}} NIO"},NGN:{money_format:"₦{{amount}}",money_with_currency_format:"₦{{amount}} NGN"},NOK:{money_format:"kr {{amount_with_comma_separator}}",money_with_currency_format:"kr {{amount_with_comma_separator}} NOK"},OMR:{money_format:"{{amount_with_comma_separator}} OMR",money_with_currency_format:"{{amount_with_comma_separator}} OMR"},PKR:{money_format:"Rs.{{amount}}",money_with_currency_format:"Rs.{{amount}} PKR"},PGK:{money_format:"K {{amount}}",money_with_currency_format:"K {{amount}} PGK"},PYG:{money_format:"Gs. {{amount_no_decimals_with_comma_separator}}",money_with_currency_format:"Gs. {{amount_no_decimals_with_comma_separator}} PYG"},PEN:{money_format:"S/. {{amount}}",money_with_currency_format:"S/. {{amount}} PEN"},PHP:{money_format:"₱{{amount}}",money_with_currency_format:"₱{{amount}} PHP"},PLN:{money_format:"{{amount_with_comma_separator}} zl",money_with_currency_format:"{{amount_with_comma_separator}} zl PLN"},QAR:{money_format:"QAR {{amount_with_comma_separator}}",money_with_currency_format:"QAR {{amount_with_comma_separator}}"},RON:{money_format:"{{amount_with_comma_separator}} lei",money_with_currency_format:"{{amount_with_comma_separator}} lei RON"},RUB:{money_format:"руб{{amount_with_comma_separator}}",money_with_currency_format:"руб{{amount_with_comma_separator}} RUB"},RWF:{money_format:"{{amount_no_decimals}} RF",money_with_currency_format:"{{amount_no_decimals}} RWF"},WST:{money_format:"WS$ {{amount}}",money_with_currency_format:"WS$ {{amount}} WST"},SAR:{money_format:"{{amount}} SR",money_with_currency_format:"{{amount}} SAR"},STD:{money_format:"Db {{amount}}",money_with_currency_format:"Db {{amount}} STD"},RSD:{money_format:"{{amount}} RSD",money_with_currency_format:"{{amount}} RSD"},SCR:{money_format:"Rs {{amount}}",money_with_currency_format:"Rs {{amount}} SCR"},SGD:{money_format:"${{amount}}",money_with_currency_format:"${{amount}} SGD"},SYP:{money_format:"S£{{amount}}",money_with_currency_format:"S£{{amount}} SYP"},ZAR:{money_format:"R {{amount}}",money_with_currency_format:"R {{amount}} ZAR"},KRW:{money_format:"₩{{amount_no_decimals}}",money_with_currency_format:"₩{{amount_no_decimals}} KRW"},LKR:{money_format:"Rs {{amount}}",money_with_currency_format:"Rs {{amount}} LKR"},SEK:{money_format:"{{amount_no_decimals}} kr",money_with_currency_format:"{{amount_no_decimals}} kr SEK"},CHF:{money_format:"SFr. {{amount}}",money_with_currency_format:"SFr. {{amount}} CHF"},TWD:{money_format:"${{amount}}",money_with_currency_format:"${{amount}} TWD"},THB:{money_format:"{{amount}} ฿",money_with_currency_format:"{{amount}} ฿ THB"},TZS:{money_format:"{{amount}} TZS",money_with_currency_format:"{{amount}} TZS"},TTD:{money_format:"${{amount}}",money_with_currency_format:"${{amount}} TTD"},TND:{money_format:"{{amount}}",money_with_currency_format:"{{amount}} DT"},TRY:{money_format:"{{amount}}TL",money_with_currency_format:"{{amount}}TL"},UGX:{money_format:"Ush {{amount_no_decimals}}",money_with_currency_format:"Ush {{amount_no_decimals}} UGX"},UAH:{money_format:"\u20B4{{amount}}",money_with_currency_format:"\u20B4{{amount}} UAH"},AED:{money_format:"Dhs. {{amount}}",money_with_currency_format:"Dhs. {{amount}} AED"},UYU:{money_format:"${{amount_with_comma_separator}}",money_with_currency_format:"${{amount_with_comma_separator}} UYU"},VUV:{money_format:"${{amount}}",money_with_currency_format:"${{amount}}VT"},VEF:{money_format:"Bs. {{amount_with_comma_separator}}",money_with_currency_format:"Bs. {{amount_with_comma_separator}} VEF"},VND:{money_format:"{{amount_no_decimals_with_comma_separator}}₫",money_with_currency_format:"{{amount_no_decimals_with_comma_separator}} VND"},XBT:{money_format:"{{amount_no_decimals}} BTC",money_with_currency_format:"{{amount_no_decimals}} BTC"},XOF:{money_format:"CFA{{amount}}",money_with_currency_format:"CFA{{amount}} XOF"},ZMW:{money_format:"K{{amount_no_decimals_with_comma_separator}}",money_with_currency_format:"ZMW{{amount_no_decimals_with_comma_separator}}"}};function ot(t2,e2){return(function(t3){if(Array.isArray(t3))return t3})(t2)||(function(t3,e3){var n2=[],o2=!0,r2=!1,a2=void 0;try{for(var c2,i2=t3[Symbol.iterator]();!(o2=(c2=i2.next()).done)&&(n2.push(c2.value),!e3||n2.length!==e3);o2=!0);}catch(t4){r2=!0,a2=t4}finally{try{o2||i2.return==null||i2.return()}finally{if(r2)throw a2}}return n2})(t2,e2)||(function(){throw new TypeError("Invalid attempt to de
1structure non-iterable instance")})()}var rt,at,ct,it,ut,mt,st,lt,ft,yt=c()(window,"globalData.translations.cart",{}),_t=c()(window,"globalData.storeSettings",{}),dt=nt[_t.currency]?nt[_t.currency].money_format:void 0,ht=function(t2){var e2=t2.initialData,n2=ot(Object(i.useState)(e2),2),o2=n2[0],a2=n2[1],c2=ot(Object(i.useState)(0),2),u2=c2[0],m2=c2[1],s2=ot(Object(i.useState)([]),2),l2=s2[0],f2=(s2[1],ot(Object(i.useState)("Checkout"),2));return f2[0],f2[1],Object(i.useEffect)(function(){window.globalComponents.updateCartPreview=(f2[0],f2[1],function(t3,e3){arguments.length>2&&arguments[2]!==void 0&&arguments[2],a2(t3),m2(e3)})}),Object(r.f)("div",null,Object(r.f)("h2",{className:"u-heading u-h3 u-color-primary u-mb"},yt.title),o2.items.length>0&&Object(r.f)(r.b,null,Object(r.f)("div",{className:"c-modal__scroller"},o2.items.length>0&&o2.items.map(function(t3){return Object(r.f)("div",{className:"u-flex u-align-items-center ".concat(t3.variant_id===u2?"u-highlight-change":""),key:t3.title},Object(r.f)("a",{href:t3.url},Object(r.f)("img",{src:t3.image,alt:"".concat(t3.title," product image"),className:"u-pr",style:{objectFit:"cover",height:100,width:100}})),Object(r.f)("div",{className:"u-flex-grow-1"},Object(r.f)("a",{href:t3.url,className:"u-h5 u-heading u-display-block"},t3.product_title),t3.variant_title&&Object(r.f)("span",{className:"u-heading u-heading--caps u-color-primary"},t3.variant_title,"\xA0\xA0"),t3.quantity>1&&Object(r.f)("small",null,Object(r.f)("span",{className:"u-grey-dark",dangerouslySetInnerHTML:{__html:A(t3.price,dt)}}),Object(r.f)("span",{className:"u-color-grey"},"(x",t3.quantity,")")),t3.quantity===1&&Object(r.f)("span",{className:"u-color-grey-dark",dangerouslySetInnerHTML:{__html:A(t3.price,dt)}})))})),l2.length>0&&Object(r.f)("div",{className:"u-mt u--mb"},Object(r.f)("hr",{className:"u-hr u-mb"}),Object(r.f)("span",{className:"u-label u-color-primary"},yt.recommendationTitle),Object(r.f)("div",{className:"u-flex u-mt-",style:{marginLeft:-12}},l2.map(function(t3){return Object(r.f)("div",{className:"u-ml-",onClick:function(){return e3=t3.handle,window.location="/products/".concat(e3);var e3}},Object(r.f)("div",{style:{backgroundColor:"#fff",backgroundImage:"url(".concat(t3.image,")"),backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"contain",border:"1px solid #f3f6f6",cursor:"pointer",width:110,height:130},className:"u-mb-"}),Object(r.f)("small",{className:"u-display-block u-heading",style:{lineHeight:1.4}},t3.title))})),Object(r.f)("hr",{className:"u-hr u-mt"})),Object(r.f)("footer",{className:"u-mt u-mt+@mobile u-text-align-right c-animated-item u-in-viewport"},Object(r.f)("h3",{className:"u-h4 u-heading","data-order":"2"},Object(r.f)("span",{className:"u-heading u-heading--caps"},yt.subtotal)," ",Object(r.f)("span",{dangerouslySetInnerHTML:{__html:A(o2.total_price,dt)}})),Object(r.f)("small",{"data-order":"3",class:"u-color-grey"},yt.shipping),Object(r.f)("a",{href:"/cart",className:"c-button c-button--primary c-button--ghost u-1/1 u-mt-","data-order":"4"},Object(r.f)("span",{className:"c-button__text"},yt.viewCart)))),o2.items.length===0&&Object(r.f)(r.b,null,Object(r.f)("p",null,yt.empty),Object(r.f)("footer",{className:"u-mt"},Object(r.f)("a",{href:"/collections/products-all",className:"c-button c-button--primary c-button--ghost u-1/1"},Object(r.f)("span",{className:"c-button__text"},yt.continue)))))},pt=function(){(function(){var t2=document.querySelector("#cart-preview-container");if(t2){var e2=c()(window,"globalData.cart");Object(r.h)(Object(r.f)(ht,{initialData:e2}),t2)}})()},wt=n(63),gt=n.n(wt),vt=function(){var t2=window.pageYOffset/2,e2=rt.getBoundingClientRect().width,n2=e2>800?gt()(t2,0,e2):t2;rt.style.transform="translateX(".concat(-1*n2,"px)")},bt=function(){(rt=document.querySelector(".js-marquee"))&&(window.addEventListener("scroll",vt,!1),window.addEventListener("touchmove",vt,!1))},St=!1,jt=function(t2){st&<&&(St===!1?at&&ct&&it&&ut&&mt&&st&<&&Object(s.a)({begin:function(){St=!0,ut.style.display="flex",at.classList.add("u-hide-body","s-overlay-visible"),lt.classList.add("c-hamburger--active"),Object(s.a)({easing:"spring(2, 200, 25, 0)",delay:function(t3,e2){return 50*e2},opacity:[0,1],targets:it,translateY:["100%",0]})},duration:200,easing:"linear",opacity:[0,1],targets:ut}):at&&ct&&it&&ut&&mt&&st&<&&(Object(s.a)({begin:function(){at.classList.remove("u-hide-body","s-overlay-visible"),lt.classList.remove("c-hamburger--active")}
1,complete:function(){St=!1,ut.style.display="none"},delay:300,duration:200,easing:"linear",opacity:[1,0],targets:ut}),s.a.timeline().add({easing:"spring(2, 200, 25, 0)",delay:function(t3,e2){return 25*e2},opacity:[1,0],targets:it,translateY:[0,"100%"]}))),t2.preventDefault()},At=function(){at=document.querySelector("body"),ct=document.querySelectorAll(".js-overlay-nav-label"),it=document.querySelectorAll(".js-overlay-nav-link span"),st=document.querySelector(".js-site-header"),ut=document.querySelector(".js-overlay-nav"),mt=document.querySelector(".js-overlay-nav-inner"),(lt=document.querySelector(".js-overlay-nav-toggle"))&<.addEventListener("click",jt,!1)},Ot=n(64),Dt=n.n(Ot);function Lt(t2){return(function(t3){if(Array.isArray(t3)){for(var e2=0,n2=new Array(t3.length);e2<t3.length;e2++)n2[e2]=t3[e2];return n2}})(t2)||(function(t3){if(Symbol.iterator in Object(t3)||Object.prototype.toString.call(t3)==="[object Arguments]")return Array.from(t3)})(t2)||(function(){throw new TypeError("Invalid attempt to spread non-iterable instance")})()}var Rt,Nt,Et,Tt,Pt,Ct=function(t2,e2){var n2=e2.watchItem;n2.classList.add("u-in-viewport"),n2.tagName==="IMG"&&n2.dataset.src?n2.src=n2.dataset.src:n2.dataset.src&&(n2.style.backgroundImage="url(".concat(n2.dataset.src,")"))},kt=function(){(ft=document.querySelectorAll(".js-monitor, .lazyload"))&&Lt(ft).map(function(t2){Dt.a.create(t2,-150).enterViewport(Ct)})},qt=0,Mt=0,Bt=!0,It=!1,$t=function(t2){Rt&&(t2?(Rt.style.backgroundColor="#fff",Rt.style.boxShadow="0 2px 10px rgba(0,0,0, 0.07)"):(Rt.style.backgroundColor="transparent",Rt.style.boxShadow="none"))},Ut=function(){Rt&&Object(s.a)({easing:"spring(1, 100, 30, 0)",targets:Rt,translateY:-140})},Kt=function(){var t2=Mt/qt;t2<1&&!Bt?(Bt=!0,Rt&&Object(s.a)({easing:"spring(1, 100, 30, 0)",targets:Rt,translateY:0})):t2>=1&&Mt>105&&Bt&&(Bt=!1,Ut()),$t(Mt>0),qt=Mt,It=!1},Gt=function(){Mt=window.pageYOffset,It||requestAnimationFrame(Kt),It=!0},xt=function(){(Rt=document.querySelector(".js-sticky"))&&(window.addEventListener("scroll",Gt,!1),window.addEventListener("touchmove",Gt,!1),qt=window.pageYOffset,Gt(),Kt())},Ft=n(10),Yt=n.n(Ft),Ht=n(26),Zt=n.n(Ht),Jt=n(27),Wt=n.n(Jt),Xt={pollen:{},"smith-and-sinclair":{DE:"EUR",ES:"EUR",FR:"EUR",IT:"EUR",GB:"GBP",NL:"EUR",US:"USD"}};function Vt(t2){return(function(t3){if(Array.isArray(t3)){for(var e2=0,n2=new Array(t3.length);e2<t3.length;e2++)n2[e2]=t3[e2];return n2}})(t2)||(function(t3){if(Symbol.iterator in Object(t3)||Object.prototype.toString.call(t3)==="[object Arguments]")return Array.from(t3)})(t2)||(function(){throw new TypeError("Invalid attempt to spread non-iterable instance")})()}var zt,Qt=-1,te=!0,ee=!0,ne=function(t2){if(Et){var e2=Wt()(Vt(Et),t2);e2&&(Object(s.a)({begin:function(){e2.style.position="relative",e2.style.display="block"},complete:function(){te=!0},duration:1e3,easing:"easeOutCubic",opacity:[0,1],targets:e2,translateY:[12,0]}),n2=e2.id,o2=e2.dataset.component,r2="".concat(n2," | ").concat(o2),k("event",{ec:"Tab display",ea:"Clicked",el:r2,ni:ee?1:null}))}var n2,o2,r2},oe=function(t2,e2){if(Tt){var n2=Wt()(Vt(Tt),t2);n2&&(n2.classList.toggle("is-active",e2),n2.setAttribute("aria-selected",e2.toString()))}},re=function(t2){Qt>=0&&((function(t3){if(Et){var e2=Wt()(Vt(Et),t3);e2&&(te=!1,e2.style.display="none")}})(Qt),oe(Qt,!1)),ne(t2),oe(t2,!0),Qt=t2},ae=function(t2){if(t2.target){t2.preventDefault();var e2=b("js-tab",t2.target);if(e2)if(te){var n2=e2.getAttribute("aria-selected"),o2=e2.getAttribute("aria-controls");if(f()(n2,"false")&&o2){var r2=(a2=o2,Tt?Zt()(Vt(Tt),function(t3){return f()(t3.id,"tab-".concat(a2))}):-1);r2>=0&&(ee=!1,re(r2),zt&&(clearInterval(zt),zt=null))}}else e2.blur()}var a2},ce=function(){var t2=(function t3(){var e2,n2,o2=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,r2=-1;return Tt&&Qt>=0&&(r2=Qt+o2<Vt(Tt).length?Qt+o2:0,e2=Tt[r2],!((n2=e2.getBoundingClientRect()).width>0&&n2.height>0))?t3(o2+1):r2})();t2>=0&&re(t2)},ie=function(t2){var e2=t2.target;e2&&re(parseInt(e2.dataset.tabIndex))},ue=function(){M(!1),Nt=document.querySelector(".js-tabs-container"),Et=document.querySelectorAll(".js-panel"),Tt=document.querySelectorAll(".js-tab"),Pt=document.querySelectorAll(".js-modal-tab"),Et&&Tt&&Vt(Tt).map(function(t2){return t2.addEventListener("click",ae,!1)}),Pt&&Vt(Pt).map(function(t2){return t2.addEventListener("click",ie,!1)}),Tt&&(Qt=Zt()(Vt(Tt),function(t2){return f()(t2.getAttribute("aria-selected"),"true")})),(function(){if(Nt){var t2=parseInt(Nt.dataset.timeout);t2&&(zt=setInterval(ce,t2))}})(),(function(){if(typeof window!="undefined"&&window.location.hash){var t2=window.location.hash.replace("#","");t2&&Tt&&Vt(Tt).map(function(e2){e2.id.includes("tab-".concat(t2))&&e2.click()})}})()},me=n(65),se=n.n(me);n(153),n(59);function le(t2,e2){return(function(t3){if(Array.isArray(t3))return t3})(t2)||(function(t3,e3){var n2=[],o2=!0,r2=!1,a2=void 0;try{for(var c2,i2=t3[Symbol.iterator]();!(o2=(c2=i2.next()).done)&&(n2.push(c2.value),!e3||n2.length!==e3);o2=!0);}catch(t4){r2=!0,a2=t4}finally{try{o2||i2.return==null||i2.return()}finally{if(r2)throw a2}}return n2})(t2,e2)||(function(){throw new TypeError("Invalid attempt to de
1structure non-iterable instance")})()}function fe(t2){return(function(t3){if(Array.isArray(t3)){for(var e2=0,n2=new Array(t3.length);e2<t3.length;e2++)n2[e2]=t3[e2];return n2}})(t2)||(function(t3){if(Symbol.iterator in Object(t3)||Object.prototype.toString.call(t3)==="[object Arguments]")return Array.from(t3)})(t2)||(function(){throw new TypeError("Invalid attempt to spread non-iterable instance")})()}function ye(t2){for(var e2=1;e2<arguments.length;e2++){var n2=arguments[e2]!=null?arguments[e2]:{},o2=Object.keys(n2);typeof Object.getOwnPropertySymbols=="function"&&(o2=o2.concat(Object.getOwnPropertySymbols(n2).filter(function(t3){return Object.getOwnPropertyDescriptor(n2,t3).enumerable}))),o2.forEach(function(e3){_e(t2,e3,n2[e3])})}return t2}function _e(t2,e2,n2){return e2 in t2?Object.defineProperty(t2,e2,{value:n2,enumerable:!0,configurable:!0,writable:!0}):t2[e2]=n2,t2}var de,he,pe,we,ge,ve,be,Se,je,Ae,Oe,De,Le,Re,Ne=m.a.get("cart_currency"),Ee=c()(window,"globalData.storeSettings.brand","smith-and-sinclair"),Te=m.a.getJSON("userSettings"),Pe=ye({ageMinimum:18,ageRequired:!0,country:"GB",countries:{pollen:{},"smith-and-sinclair":{DE:"Germany",ES:"Spain",FR:"France",IT:"Italy",NL:"The Netherlands",GB:"United Kingdom",US:"United States"}}[Ee],currency:"GBP",currencies:{EUR:"Euros",GBP:"Pounds",USD:"Dollars"},languages:{DE:"German",EN:"English",ES:"Spanish",FR:"French",IT:"Italian",NL:"Dutch"},storeUrls:{pollen:{},"smith-and-sinclair":{GB:"https://smithandsinclair.com/",IT:"https://smithandsinclair.com/",ES:"https://smithandsinclair.com/",FR:"https://smithandsinclair.com/",DE:"https://smithandsinclair.com/",NL:"https://smithandsinclair.com/",US:"https://us.smithandsinclair.com/"}}[Ee]},c()(window,"globalData.storeSettings",{})),Ce=function(t2){if(Ae){var e2=Ne||"GBP";fe(Ae).map(function(n2){if(t2!==e2){var o2=window.Currency.convert(parseFloat(n2.dataset.defaultPrice),e2,t2);if(nt[t2]){var r2=A(o2,nt[t2].money_format);r2&&(n2.innerHTML=r2,n2.setAttribute("data-currency",t2),n2.setAttribute("data-price","".concat(o2)))}}else n2.innerHTML=n2.dataset.defaultPriceWithCurrency,n2.setAttribute("data-currency",n2.dataset.defaultCurrency),n2.setAttribute("data-price",n2.dataset.price)})}},ke=function(){K()},qe=function(){var t2;t2=m.a.getJSON("userSettings"),Le&&t2&&ge&&ve&&(ge.value=t2.country,ve.value=t2.currency),F("user-settings"),x(!0)},Me=function(){Te&&(Se&&fe(Se).map(function(t2){return t2.innerText=Te.currency}),je&&Pe&&fe(je).map(function(t2){t2.src=Pe.flags[Te.country]}))},Be=function(t2){Te&&we&&(t2||Te.ageMinimum)&&(we.innerText="".concat(t2||Te.ageMinimum))},Ie=function(){var t2=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"settings";Te&&he&&De&&Re&&(t2==="age"?(he.classList.remove("u-hide"),De.classList.add("u-hide"),Re.classList.toggle("u-hide",Te.country!=="US"||Pe.country!=="US")):(he.classList.add("u-hide"),De.classList.remove("u-hide"),Re.classList.add("u-hide")),Oe&&Oe.classList.add("u-hide"),qe())};window.requestUserSettingsConfirmation=Ie;var $e,Ue=function(t2){return Ie()},Ke=function(){if(Te&&Te.country&&Pe&&Pe.storeUrls[Te.country]&&typeof window!="undefined"){var t2=se()(Te,function(t3,e3){return["ageConfirmed","currency","language","country","countryConfirmed"].includes(e3)}),e2=encodeURIComponent(JSON.stringify(t2)),n2="".concat(Pe.storeUrls[Te.country],"?_us=").concat(e2);["localhost","smithandsinclair-development.myshopify.com"].includes(window.location.hostname)?console.log("Would redirect to:",n2,t2):window.location=n2}},Ge=function(){var t2=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e2=arguments.length>1&&arguments[1]!==void 0&&arguments[1],n2=Te;Te=ye({},Te,t2),m.a.set("userSettings",Te),Me(),Be(),n2&&((e2&&n2.country&&Te.country!==n2.country||!n2.country&&Te.country!==Pe.country)&&Ke(),n2.currency!==Te.currency&&Ce(Te.currency))},xe=function(t2){if(t2.preventDefault(),Le){var e2=new FormData(Le),n2={countryConfirmed:!0};fe(e2.entries()).map(function(t3){var e3=le(t3,2),o2=e3[0],r2=e3[1];n2[o2]=r2}),n2.country&&Te&&(n2.country,Te.country),Ge(n2,!0),ke()}},Fe=function(t2){if(t2.preventDefault(),de){var e2=new FormData(de),n2=!1,o2=!1;if(e2.get("user-age")&&(n2=e2.get("user-age")==="Yes"),e2.get("user-state")&&(o2=!0),!n2||Te&&Te.country==="US"&&!o2||Pe.country==="US"&&!o2)he&&pe&&(he.classList.add("u-hide"),pe.classList.remove("u-hide"));else if(Ge({ageConfirmed:Pe.ageMinimum}),ke(),window.ageConfirmationCallback){var r2=le(window.ageConfirmationCallback,2),a2=r2[0],c2=r2[1];setTimeout(function(){a2(c2),window.ageConfirmationCallback=null},1e3)}}},Ye=function(){var t2=m.a.getJSON("userSettings");Te||Ge(Pe),t2&&(Te=ye({},Te,t2)),Pe.ageMinimum!==Te.ageMinimum&&Ge({ageMinimum:Pe.ageMinimum}),Te&&Te.currency!==Pe.currency&&Ce(Te.currency),Me(),Te.countryConfirmed||new Promise(function(t3,e2){fetch("https://ipapi.co/json/").then(function(t4){return t4.json()}).then(t3).catch(e2)}).then(He)},He=function(t2){t2.country!=="US"&&Pe.country!=="US"||Be(21),Ge({country:t2.country,currency:Xt[Ee][t2.country]||Pe.currency,countryConfirmed:!0},!0)}
1,Ze=function(t2,e2){for(var n2 in e2){var o2=document.createElement("option");o2.textContent=e2[n2],o2.value=n2,t2.append(o2)}},Je=function(){he=document.querySelector(".js-user-age-container"),de=document.querySelector(".js-user-age-form"),pe=document.querySelector(".js-user-age-fallback"),we=document.querySelector(".js-user-age-minimum"),be=document.querySelectorAll(".js-user-settings-open"),Se=document.querySelectorAll(".js-user-settings"),je=document.querySelectorAll(".js-user-flag"),Ae=document.querySelectorAll(".js-price"),De=document.querySelector(".js-user-settings-container"),Le=document.querySelector(".js-user-settings-form"),Re=document.querySelector(".js-user-state-container"),document.querySelector(".js-user-state"),ge=document.querySelector(".js-user-country"),ve=document.querySelector(".js-user-currency"),ge&&Ze(ge,Pe.countries),ve&&Ze(ve,Pe.currencies),de&&de.addEventListener("submit",Fe,!1),be&&fe(be).map(function(t2){return t2.addEventListener("click",Ue,!1)}),Le&&Le.addEventListener("submit",xe,!1),J(),(function(){if(typeof window!="undefined"){var t2=new URLSearchParams(window.location.search).get("_us");if(t2){var e2=decodeURIComponent(t2);e2&&(Ge(JSON.parse(e2)),window.history&&window.history.pushState("","",window.location.pathname))}}})(),Ye()};function We(t2){return(function(t3){if(Array.isArray(t3)){for(var e2=0,n2=new Array(t3.length);e2<t3.length;e2++)n2[e2]=t3[e2];return n2}})(t2)||(function(t3){if(Symbol.iterator in Object(t3)||Object.prototype.toString.call(t3)==="[object Arguments]")return Array.from(t3)})(t2)||(function(){throw new TypeError("Invalid attempt to spread non-iterable instance")})()}var Xe,Ve=function(t2,e2){var n2,o2,r2,a2,c2=document.querySelector(e2);if(c2&&t2){c2.style.visibility="hidden",c2.style.display="block";var i2=c2.getBoundingClientRect().height;c2.style.visibility="visible",c2.style.height="0px",t2.setAttribute("aria-expanded","true"),c2.setAttribute("aria-hidden","false"),Object(s.a)({duration:200,easing:"easeOutExpo",height:i2,opacity:1,round:!0,targets:c2,translateY:[8,0]}),n2=t2.innerText,o2=t2.id,r2=!0,a2="".concat(n2," | ").concat(o2),k("event",{ec:"Element display toggle",ea:r2?"Visible":"Hidden",el:a2})}},ze=function(t2){if(t2.target){t2.preventDefault();var e2=t2.target,n2=b("js-visibility-toggle",e2);if(n2){var o2=n2.getAttribute("aria-expanded"),r2=n2.getAttribute("aria-controls"),a2=n2.dataset.hides;r2&&(o2==="false"?(Ve(n2,"#".concat(r2||"")),a2&&(function(t3){if(t3){var e3=document.querySelectorAll(t3);e3&&Object(s.a)({duration:200,easing:"easeOutExpo",height:0,opacity:0,round:!0,targets:e3})}})(a2)):(function(t3,e3){var n3=document.querySelector(e3);n3&&t3&&Object(s.a)({complete:function(){t3.setAttribute("aria-expanded","false"),n3.setAttribute("aria-hidden","true"),n3.setAttribute("style","")},duration:200,easing:"easeOutExpo",height:0,opacity:0,targets:n3})})(n2,"#".concat(r2||"")))}}},Qe=function(){M(!1),($e=document.querySelectorAll(".js-visibility-toggle"))&&We($e).map(function(t2){t2.addEventListener("click",ze,!1)})};function tn(t2){return(function(t3){if(Array.isArray(t3)){for(var e2=0,n2=new Array(t3.length);e2<t3.length;e2++)n2[e2]=t3[e2];return n2}})(t2)||(function(t3){if(Symbol.iterator in Object(t3)||Object.prototype.toString.call(t3)==="[object Arguments]")return Array.from(t3)})(t2)||(function(){throw new TypeError("Invalid attempt to spread non-iterable instance")})()}var en=function(){Xe.length&&tn(Xe).map(function(t2){(function(t3){var e2=t3.getAttribute("data-src");if(e2){var n2=t3.querySelectorAll("source");n2.length&&tn(n2).map(function(t4){return t4.setAttribute("src",e2)}),t3.setAttribute("src",e2),setTimeout(function(){return t3.classList.add("is-active")},1e3)}})(t2)})},nn=function(){O()||(Xe=document.querySelectorAll(".js-bg-video"),en())},on=n(66),rn=n.n(on);function an(t2,e2){return(function(t3){if(Array.isArray(t3))return t3})(t2)||(function(t3,e3){var n2=[],o2=!0,r2=!1,a2=void 0;try{for(var c2,i2=t3[Symbol.iterator]();!(o2=(c2=i2.next()).done)&&(n2.push(c2.value),!e3||n2.length!==e3);o2=!0);}catch(t4){r2=!0,a2=t4}finally{try{o2||i2.return==null||i2.return()}finally{if(r2)throw a2}}return n2})(t2,e2)||(function(){throw new TypeError("Invalid attempt to de
1structure non-iterable instance")})()}var cn,un,mn=c()(window,"globalData.allProducts",[]),sn=function(){var t2=an((arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("-"),2),e2=t2[0],n2=t2[1];(function(t3){if(cn){var e3=cn.children,n3=document.createDocumentFragment();t3.map(function(t4){var o2=Yt()(e3,function(e4){return parseInt(e4.id)===t4.id});o2&&n3.appendChild(o2.cloneNode(!0))}),cn.innerHTML=null,cn.appendChild(n3)}})(rn()(mn,[e2],[n2]))},ln=function(t2){var e2=t2.target;e2&&(sn(e2.value),window.history.pushState("","","?sort-by=".concat(encodeURIComponent(e2.value))))},fn=function(){var t2;cn=document.querySelector(".js-products-container"),(un=document.querySelector(".js-sort-by"))&&un.addEventListener("change",ln,!1),(t2=new URLSearchParams(window.location.search)).has("sort-by")&&sn(decodeURIComponent(t2.get("sort-by")))};function yn(t2){return(function(t3){if(Array.isArray(t3)){for(var e2=0,n2=new Array(t3.length);e2<t3.length;e2++)n2[e2]=t3[e2];return n2}})(t2)||(function(t3){if(Symbol.iterator in Object(t3)||Object.prototype.toString.call(t3)==="[object Arguments]")return Array.from(t3)})(t2)||(function(){throw new TypeError("Invalid attempt to spread non-iterable instance")})()}var _n,dn,hn,pn,wn,gn,vn,bn,Sn,jn,An=c()(window,"globalData.cart"),On=c()(window,"globalData.product"),Dn=c()(window,"globalData.relatedProducts"),Ln=c()(window,"globalData.translations.product"),Rn=function(t2){var e2=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";_n&&yn(_n).filter(function(t3){return e2===""||t3.dataset.productHandle===e2}).map(function(e3){var n2=e3.querySelector(".js-add-button-label"),o2=e3.querySelector(".js-add-button-price");Object.keys(t2).map(function(n3){return e3.setAttribute("data-".concat(n3),t2[n3])});var r2=Yt()(On.variants,{id:parseInt(t2["variant-id"])});r2&&(r2.available?(e3.removeAttribute("disabled"),n2.innerText=ttranslations.add):(e3.setAttribute("disabled","disabled"),n2.innerText=Ln.soldOut));var a2=t2.quantity||1;o2.innerText=(function(t3){var e4=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"\xA3",n3=arguments.length>2&&arguments[2]!==void 0?arguments[2]:100;return"".concat(e4).concat(h()(t3/n3,2))})(e3.dataset.price*a2)})},Nn=function(t2,e2,n2){return new Promise(function(t3,o2){(function(t4){var e3=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return z("/cart/add.js",{id:t4,quantity:e3})})(e2,n2).then(Q).then(function(n3){var o3;o3=n3,G&&W(G).map(function(t4){return t4.innerText="".concat(o3.item_count)}),(function(t4,e3){var n4=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],o4=c()(window,"globalComponents.updateCartPreview");o4&&(o4(t4,e3,n4),F("cart-preview"),x(!0))})(n3,e2,Dn),t3()}).catch(function(){return window.location.href="/cart"})})},En=function(t2){var e2=b("js-add-to-cart",t2.target);if(e2){t2.preventDefault(),e2.blur();var n2=c()(e2,"dataset"),o2=n2.price,r2=n2.productHandle,a2=n2.quantity,i2=n2.source,u2=n2.variantId,m2=e2.querySelector(".js-add-button-label");if(r2&&u2){var s2=m2.innerText;m2.innerText=Ln.adding,Nn(0,parseInt(u2),parseInt(a2)).then(function(){(function(t3,e3,n3,o3){window.ga&&window.ga("send","event",{eventCategory:"Add to cart",eventAction:o3,eventLabel:t3}),window.fbq&&window.fbq("track","AddToCart",{content_ids:[parseInt(e3)],content_type:"product",currency:"GBP",value:parseInt(n3)/100})})(r2,u2,o2,i2),m2.innerText=Ln.added,setTimeout(function(){m2.innerText=Ln.addAgain},1e3)}).catch(function(){return m2.innerText=s2})}}},Tn=function(t2){t2.preventDefault();var e2=m.a.getJSON("userSettings");!e2||e2&&!e2.ageConfirmed||e2&&e2.ageConfirmed!==e2.ageMinimum?window.requestUserSettingsConfirmation&&(window.ageConfirmationCallback=[En,t2],window.requestUserSettingsConfirmation("age")):e2&&e2.ageConfirmed===e2.ageMinimum&&En(t2)},Pn=function(t2){return(function(t3){if(window&&history.pushState){var e2=window.location,n2=e2.protocol,o2=e2.host,r2=(e2.pathname,"".concat(n2,"//").concat(o2).concat(t3));window.history.pushState({path:r2},"",r2)}})("/products/".concat(t2))},Cn=function(t2){var e2,n2=t2.target;
1n2&&(e2=n2.dataset.variantId,vn&&yn(vn).map(function(t3){t3.classList.toggle("c-button--selected",t3.dataset.variantId===e2)}),Rn({"variant-id":n2.dataset.variantId},On.handle),Pn("".concat(On.handle,"?variant=").concat(n2.dataset.variantId)))},kn=function(t2){var e2=t2.target;e2&&(Rn({"variant-id":e2.value},On.handle),Pn("".concat(On.handle,"?variant=").concat(e2.value)))},qn=function(t2){var e2=t2.target;e2&&Rn({quantity:e2.value})},Mn=function(t2){var e2,n2=t2.target;n2&&wn&&(yn(wn).map(function(t3){(e2=n2.dataset.action==="increase"?parseInt(t3.value)+1:parseInt(t3.value)-1)<1&&(e2=1),t3.value=e2}),Rn({quantity:e2}))},Bn=function(t2){var e2=t2.target;if(e2){var n2=parseInt(e2.dataset.index),o2=100*(n2-1)*-1;dn&&Object(s.a)({easing:"spring(1, 100, 25, 0)",targets:dn,translateX:"".concat(o2,"%")}),pn&&yn(pn).map(function(t3){return t3.classList.toggle("is-active",parseInt(t3.dataset.index)===n2)}),n2>1&&(yn(hn)[n2-1].style.backgroundImage="url(".concat(yn(hn)[n2-1].dataset.imageSource,")"))}},In=function(){An.items&&tt(An.items).then(function(t2){return window.location="/checkout"})},$n=function(t2){var e2=t2.target;Sn&&(e2.checked===!0?yn(Sn).map(function(t3){return t3.removeAttribute("disabled")}):yn(Sn).map(function(t3){return t3.setAttribute("disabled","disabled")}))},Un=function(){_n=document.querySelectorAll(".js-add-to-cart"),Sn=document.querySelectorAll(".js-cart-checkout"),dn=document.querySelector(".js-gallery"),hn=document.querySelectorAll(".js-gallery-photo"),pn=document.querySelectorAll(".js-gallery-thumb"),wn=document.querySelectorAll(".js-variant-quantity"),gn=document.querySelectorAll(".js-quantity-toggle"),jn=document.querySelector(".js-shipping-consent"),vn=document.querySelectorAll(".js-variant-button"),bn=document.querySelectorAll(".js-variant-select"),_n&&yn(_n).map(function(t2){t2.dataset.ageCheck&&t2.dataset.ageCheck==="true"?t2.addEventListener("click",Tn):t2.addEventListener("click",En)}),pn&&yn(pn).map(function(t2){return t2.addEventListener("click",Bn)}),wn&&yn(wn).map(function(t2){return t2.addEventListener("change",qn)}),gn&&yn(gn).map(function(t2){return t2.addEventListener("click",Mn)}),vn&&yn(vn).map(function(t2){return t2.addEventListener("click",Cn)}),bn&&yn(bn).map(function(t2){return t2.addEventListener("change",kn)}),Sn&&yn(Sn).map(function(t2){return t2.addEventListener("click",In)}),jn&&jn.addEventListener("click",$n,!1),et()},Kn=(n(169),function(){fn(),Un(),nn()});n(174),window.isModernBrowser&&window.addEventListener("load",function(){o(),M(),J(),Je(),xt(),At(),kt(),Qe(),pt(),bt(),ue(),Kn()})},169:function(t,e){},174:function(t,e){}}); 2//# sourceMappingURL=/cdn/shop/t/29/assets/main.js.map?v=160165067564469578101749573922
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.