<!doctype html>
<html class="no-js" lang="en">
<head>
<script type="application/vnd.locksmith+json" data-locksmith>{"version":"v117","locked":false,"initialized":true,"scope":"404","access_granted":true,"access_denied":false,"requires_customer":false,"manual_lock":false,"remote_lock":false,"has_timeout":false,"remote_rendered":null,"hide_resource":false,"hide_links_to_resource":false,"transparent":true,"locks":{"all":[],"opened":[]},"keys":[],"keys_signature":"e35308715855ede2e134e5ef2f72a76920e81eefb24aa0a099feb8fe82f5ccd4","state":{"template":"404","theme":136209891552,"product":null,"collection":null,"page":null,"blog":null,"article":null,"app":null},"now":1714645461,"path":null,"locale_root_url":"\/","canonical_url":"https:\/\/cuveecoffee.com\/404","customer_id":null,"customer_id_signature":"e35308715855ede2e134e5ef2f72a76920e81eefb24aa0a099feb8fe82f5ccd4","cart":null}</script><script data-locksmith>!function(){var require=undefined,reqwest=function(){function succeed(e){var t=protocolRe.exec(e.url);return t=t&&t[1]||context.location.protocol,httpsRe.test(t)?twoHundo.test(e.request.status):!!e.request.response}function handleReadyState(e,t,n){return function(){return e._aborted?n(e.request):e._timedOut?n(e.request,"Request is aborted: timeout"):void(e.request&&4==e.request[readyState]&&(e.request.onreadystatechange=noop,succeed(e)?t(e.request):n(e.request)))}}function setHeaders(e,t){var n,s=t.headers||{};s.Accept=s.Accept||defaultHeaders.accept[t.type]||defaultHeaders.accept["*"];var r="undefined"!=typeof FormData&&t.data instanceof FormData;for(n in!t.crossOrigin&&!s[requestedWith]&&(s[requestedWith]=defaultHeaders.requestedWith),!s[contentType]&&!r&&(s[contentType]=t.contentType||defaultHeaders.contentType),s)s.hasOwnProperty(n)&&"setRequestHeader"in e&&e.setRequestHeader(n,s[n])}function setCredentials(e,t){"undefined"!=typeof t.withCredentials&&"undefined"!=typeof e.withCredentials&&(e.withCredentials=!!t.withCredentials)}function generalCallback(e){lastValue=e}function urlappend(e,t){return e+(/[?]/.test(e)?"&":"?")+t}function handleJsonp(e,t,n,s){var r=uniqid++,a=e.jsonpCallback||"callback",o=e.jsonpCallbackName||reqwest.getcallbackPrefix(r),i=new RegExp("((^|[?]|&)"+a+")=([^&]+)"),l=s.match(i),c=doc.createElement("script"),u=0,d=-1!==navigator.userAgent.indexOf("MSIE 10.0");return l?"?"===l[3]?s=s.replace(i,"$1="+o):o=l[3]:s=urlappend(s,a+"="+o),context[o]=generalCallback,c.type="text/javascript",c.src=s,c.async=!0,"undefined"!=typeof c.onreadystatechange&&!d&&(c.htmlFor=c.id="_reqwest_"+r),c.onload=c.onreadystatechange=function(){if(c[readyState]&&"complete"!==c[readyState]&&"loaded"!==c[readyState]||u)return!1;c.onload=c.onreadystatechange=null,c.onclick&&c.onclick(),t(lastValue),lastValue=undefined,head.removeChild(c),u=1},head.appendChild(c),{abort:function(){c.onload=c.onreadystatechange=null,n({},"Request is aborted: timeout",{}),lastValue=undefined,head.removeChild(c),u=1}}}function getRequest(e,t){var n,s=this.o,r=(s.method||"GET").toUpperCase(),a="string"==typeof s?s:s.url,o=!1!==s.processData&&s.data&&"string"!=typeof s.data?reqwest.toQueryString(s.data):s.data||null,i=!1;return("jsonp"==s.type||"GET"==r)&&o&&(a=urlappend(a,o),o=null),"jsonp"==s.type?handleJsonp(s,e,t,a):((n=s.xhr&&s.xhr(s)||xhr(s)).open(r,a,!1!==s.async),setHeaders(n,s),setCredentials(n,s),context[xDomainRequest]&&n instanceof context[xDomainRequest]?(n.onload=e,n.onerror=t,n.onprogress=function(){},i=!0):n.onreadystatechange=handleReadyState(this,e,t),s.before&&s.before(n),i?setTimeout(function(){n.send(o)},200):n.send(o),n)}function Reqwest(e,t){this.o=e,this.fn=t,init.apply(this,arguments)}function setType(e){return null===e?undefined:e.match("json")?"json":e.match("javascript")?"js":e.match("text")?"html":e.match("xml")?"xml":void 0}function init(o,fn){function complete(e){for(o.timeout&&clearTimeout(self.timeout),self.timeout=null;0<self._completeHandlers.length;)self._completeHandlers.shift()(e)}function success(resp){var type=o.type||resp&&setType(resp.getResponseHeader("Content-Type"));resp="jsonp"!==type?self.request:resp;var filteredResponse=globalSetupOptions.dataFilter(resp.responseText,type),r=filteredResponse;try{resp.responseText=r}catch(e){}if(r)switch(type){case"json":try{resp=context.JSON?context.JSON.parse(r):eval("("+r+")")}catch(err){return error(resp,"Could not parse JSON in response",err)}break;case"js":resp=eval(r);break;case"html":resp=r;break;case"xml":resp=resp.responseXML&&resp.responseXML.parseError&&resp.responseXML.parseError.errorCode&&resp.responseXML.parseError.reason?null:resp.responseXML}for(self._responseArgs.resp=resp,self._fulfilled=!0,fn(resp),self._successHandler(resp);0<self._fulfillmentHandlers.length;)resp=self._fulfillmentHandlers.shift()(resp);complete(resp)}function timedOut(){self._timedOut=!0,self.request.abort()}function error(e,t,n){for(e=self.request,self._responseArgs.resp=e,self._responseArgs.msg=t,self._responseArgs.t=n,self._erred=!0;0<self._errorHandlers.length;)self._errorHandlers.shift()(e,t,n);complete(e)}this.url="string"==typeof o?o:o.url,this.timeout=null,this._fulfilled=!1,this._successHandler=function(){},this._fulfillmentHandlers=[],this._errorHandlers=[],this._completeHandlers=[],this._erred=!1,this._responseArgs={};var self=this;fn=fn||function(){},o.timeout&&(this.timeout=setTimeout(function(){timedOut()},o.timeout)),o.success&&(this._successHandler=function(){o.success.apply(o,arguments)}),o.error&&this._errorHandlers.push(function(){o.error.apply(o,arguments)}),o.complete&&this._completeHandlers.push(function(){o.complete.apply(o,arguments)}),this.request=getRequest.call(this,success,error)}function reqwest(e,t){return new Reqwest(e,t)}function normalize(e){return e?e.replace(/\r?\n/g,"\r\n"):""}function serial(e,t){var n,s,r,a,o=e.name,i=e.tagName.toLowerCase(),l=function(e){e&&!e.disabled&&t(o,normalize(e.attributes.value&&e.attributes.value.specified?e.value:e.text))};if(!e.disabled&&o)switch(i){case"input":/reset|button|image|file/i.test(e.type)||(n=/checkbox/i.test(e.type),s=/radio/i.test(e.type),r=e.value,(!n&&!s||e.checked)&&t(o,normalize(n&&""===r?"on":r)));break;case"textarea":t(o,normalize(e.value));break;case"select":if("select-one"===e.type.toLowerCase())l(0<=e.selectedIndex?e.options[e.selectedIndex]:null);else for(a=0;e.length&&a<e.length;a++)e.options[a].selected&&l(e.options[a])}}function eachFormElement(){var e,t,a=this,n=function(e,t){var n,s,r;for(n=0;n<t.length;n++)for(r=e[byTag](t[n]),s=0;s<r.length;s++)serial(r[s],a)};for(t=0;t<arguments.length;t++)e=arguments[t],/input|select|textarea/i.test(e.tagName)&&serial(e,a),n(e,["input","select","textarea"])}function serializeQueryString(){return reqwest.toQueryString(reqwest.serializeArray.apply(null,arguments))}function serializeHash(){var n={};return eachFormElement.apply(function(e,t){e in n?(n[e]&&!isArray(n[e])&&(n[e]=[n[e]]),n[e].push(t)):n[e]=t},arguments),n}function buildParams(e,t,n,s){var r,a,o,i=/\[\]$/;if(isArray(t))for(a=0;t&&a<t.length;a++)o=t[a],n||i.test(e)?s(e,o):buildParams(e+"["+("object"==typeof o?a:"")+"]",o,n,s);else if(t&&"[object Object]"===t.toString())for(r in t)buildParams(e+"["+r+"]",t[r],n,s);else s(e,t)}var context=this,XHR2;if("window"in context)var doc=document,byTag="getElementsByTagName",head=doc[byTag]("head")[0];else try{XHR2=require("xhr2")}catch(ex){throw new Error("Peer dependency `xhr2` required! Please npm install xhr2")}var httpsRe=/^http/,protocolRe=/(^\w+):\/\//,twoHundo=/^(20\d|1223)$/,readyState="readyState",contentType="Content-Type",requestedWith="X-Requested-With",uniqid=0,callbackPrefix="reqwest_"+ +new Date,lastValue,xmlHttpRequest="XMLHttpRequest",xDomainRequest="XDomainRequest",noop=function(){},isArray="function"==typeof Array.isArray?Array.isArray:function(e){return e instanceof Array},defaultHeaders={contentType:"application/x-www-form-urlencoded",requestedWith:xmlHttpRequest,accept:{"*":"text/javascript, text/html, application/xml, text/xml, */*",xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript",js:"application/javascript, text/javascript"}},xhr=function(e){if(!0!==e.crossOrigin)return context[xmlHttpRequest]?new XMLHttpRequest:XHR2?new XHR2:new ActiveXObject("Microsoft.XMLHTTP");var t=context[xmlHttpRequest]?new XMLHttpRequest:null;if(t&&"withCredentials"in t)return t;if(context[xDomainRequest])return new XDomainRequest;throw new Error("Browser does not support cross-origin requests")},globalSetupOptions={dataFilter:function(e){return e}};return Reqwest.prototype={abort:function(){this._aborted=!0,this.request.abort()},retry:function(){init.call(this,this.o,this.fn)},then:function(e,t){return e=e||function(){},t=t||function(){},this._fulfilled?this._responseArgs.resp=e(this._responseArgs.resp):this._erred?t(this._responseArgs.resp,this._responseArgs.msg,this._responseArgs.t):(this._fulfillmentHandlers.push(e),this._errorHandlers.push(t)),this},always:function(e){return this._fulfilled||this._erred?e(this._responseArgs.resp):this._completeHandlers.push(e),this},fail:function(e){return this._erred?e(this._responseArgs.resp,this._responseArgs.msg,this._responseArgs.t):this._errorHandlers.push(e),this},"catch":function(e){return this.fail(e)}},reqwest.serializeArray=function(){var n=[];return eachFormElement.apply(function(e,t){n.push({name:e,value:t})},arguments),n},reqwest.serialize=function(){if(0===arguments.length)return"";var e,t=Array.prototype.slice.call(arguments,0);return(e=t.pop())&&e.nodeType&&t.push(e)&&(e=null),e&&(e=e.type),("map"==e?serializeHash:"array"==e?reqwest.serializeArray:serializeQueryString).apply(null,t)},reqwest.toQueryString=function(e,t){var n,s,r=t||!1,a=[],o=encodeURIComponent,i=function(e,t){t="function"==typeof t?t():null==t?"":t,a[a.length]=o(e)+"="+o(t)};if(isArray(e))for(s=0;e&&s<e.length;s++)i(e[s].name,e[s].value);else for(n in e)e.hasOwnProperty(n)&&buildParams(n,e[n],r,i);return a.join("&").replace(/%20/g,"+")},reqwest.getcallbackPrefix=function(){return callbackPrefix},reqwest.compat=function(e,t){return e&&(e.type&&(e.method=e.type)&&delete e.type,e.dataType&&(e.type=e.dataType),e.jsonpCallback&&(e.jsonpCallbackName=e.jsonpCallback)&&delete e.jsonpCallback,e.jsonp&&(e.jsonpCallback=e.jsonp)),new Reqwest(e,t)},reqwest.ajaxSetup=function(e){for(var t in e=e||{})globalSetupOptions[t]=e[t]},reqwest}();
/*!
* Reqwest! A general purpose XHR connection manager
* license MIT (c) Dustin Diaz 2015
* https://github.com/ded/reqwest
*/!function(){var o=window.Locksmith={},e=document.querySelector('script[type="application/vnd.locksmith+json"]'),n=e&&e.innerHTML;if(o.state={},o.util={},o.loading=!1,n)try{o.state=JSON.parse(n)}catch(u){}if(document.addEventListener&&document.querySelector){var s,r,a,t=[76,79,67,75,83,77,73,84,72,49,49],i=function(){r=t.slice(0)},l="style",c=function(e){e&&27!==e.keyCode&&"click"!==e.type||(document.removeEventListener("keydown",c),document.removeEventListener("click",c),s&&document.body.removeChild(s),s=null)};i(),document.addEventListener("keyup",function(e){if(e.keyCode===r[0]){if(clearTimeout(a),r.shift(),0<r.length)return void(a=setTimeout(i,1e3));i(),c(),(s=document.createElement("div"))[l].width="50%",s[l].maxWidth="1000px",s[l].height="85%",s[l].border="1px rgba(0, 0, 0, 0.2) solid",s[l].background="rgba(255, 255, 255, 0.99)",s[l].borderRadius="4px",s[l].position="fixed",s[l].top="50%",s[l].left="50%",s[l].transform="translateY(-50%) translateX(-50%)",s[l].boxShadow="0 2px 5px rgba(0, 0, 0, 0.3), 0 0 100vh 100vw rgba(0, 0, 0, 0.5)",s[l].zIndex="2147483645";var t=document.createElement("textarea");t.value=JSON.stringify(JSON.parse(n),null,2),t[l].border="none",t[l].display="block",t[l].boxSizing="border-box",t[l].width="100%",t[l].height="100%",t[l].background="transparent",t[l].padding="22px",t[l].fontFamily="monospace",t[l].fontSize="14px",t[l].color="#333",t[l].resize="none",t[l].outline="none",t.readOnly=!0,s.appendChild(t),document.body.appendChild(s),t.addEventListener("click",function(e){e.stopImmediatePropagation()}),t.select(),document.addEventListener("keydown",c),document.addEventListener("click",c)}})}o.isEmbedded=-1!==window.location.search.indexOf("_ab=0&_fd=0&_sc=1"),o.path=o.state.path||window.location.pathname,o.basePath=o.state.locale_root_url.concat("/apps/locksmith").replace(/^\/\//,"/"),o.reloading=!1,o.util.console=window.console||{log:function(){},error:function(){}},o.util.makeUrl=function(e,t){var n,s=o.basePath+e,r=[],a=o.cache();for(n in a)r.push(n+"="+encodeURIComponent(a[n]));for(n in t)r.push(n+"="+encodeURIComponent(t[n]));return o.state.customer_id&&(r.push("customer_id="+encodeURIComponent(o.state.customer_id)),r.push("customer_id_signature="+encodeURIComponent(o.state.customer_id_signature))),s+=(-1===s.indexOf("?")?"?":"&")+r.join("&")},o._initializeCallbacks=[],o.on=function(e,t){if("initialize"!==e)throw'Locksmith.on() currently only supports the "initialize" event';o._initializeCallbacks.push(t)},o.initializeSession=function(e){if(!o.isEmbedded){var t=!1,n=!0,s=!0;(e=e||{}).silent&&(s=n=!(t=!0)),o.ping({silent:t,spinner:n,reload:s,callback:function(){o._initializeCallbacks.forEach(function(e){e()})}})}},o.cache=function(e){var t={};try{var n=function r(e){return(document.cookie.match("(^|; )"+e+"=([^;]*)")||0)[2]};t=JSON.parse(decodeURIComponent(n("locksmith-params")||"{}"))}catch(u){}if(e){for(var s in e)t[s]=e[s];document.cookie="locksmith-params=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/",document.cookie="locksmith-params="+encodeURIComponent(JSON.stringify(t))+"; path=/"}return t},o.cache.cart=o.state.cart,o.cache.cartLastSaved=null,o.params=o.cache(),o.util.reload=function(){o.reloading=!0;try{window.location.href=window.location.href.replace(/#.*/,"")}catch(u){o.util.console.error("Preferred reload method failed",u),window.location.reload()}},o.cache.saveCart=function(e){if(!o.cache.cart||o.cache.cart===o.cache.cartLastSaved)return e?e():null;var t=o.cache.cartLastSaved;o.cache.cartLastSaved=o.cache.cart,reqwest({url:"/cart/update.json",method:"post",type:"json",data:{attributes:{locksmith:o.cache.cart}},complete:e,error:function(e){if(o.cache.cartLastSaved=t,!o.reloading)throw e}})},o.util.spinnerHTML='<style>body{background:#FFF}@keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}#loading{display:flex;width:100%;height:50vh;color:#777;align-items:center;justify-content:center}#loading .spinner{display:block;animation:spin 600ms linear infinite;position:relative;width:50px;height:50px}#loading .spinner-ring{stroke:currentColor;stroke-dasharray:100%;stroke-width:2px;stroke-linecap:round;fill:none}</style><div id="loading"><div class="spinner"><svg width="100%" height="100%"><svg preserveAspectRatio="xMinYMin"><circle class="spinner-ring" cx="50%" cy="50%" r="45%"></circle></svg></svg></div></div>',o.util.clobberBody=function(e){document.body.innerHTML=e},o.util.clobberDocument=function(e){e.responseText&&(e=e.responseText),document.documentElement&&document.removeChild(document.documentElement);var t=document.open("text/html","replace");t.writeln(e),t.close(),setTimeout(function(){var e=t.querySelector("[autofocus]");e&&e.focus()},100)},o.util.serializeForm=function(e){if(e&&"FORM"===e.nodeName){var t,n,s={};for(t=e.elements.length-1;0<=t;t-=1)if(""!==e.elements[t].name)switch(e.elements[t].nodeName){case"INPUT":switch(e.elements[t].type){default:case"text":case"hidden":case"password":case"button":case"reset":case"submit":s[e.elements[t].name]=e.elements[t].value;break;case"checkbox":case"radio":e.elements[t].checked&&(s[e.elements[t].name]=e.elements[t].value);break;case"file":}break;case"TEXTAREA":s[e.elements[t].name]=e.elements[t].value;break;case"SELECT":switch(e.elements[t].type){case"select-one":s[e.elements[t].name]=e.elements[t].value;break;case"select-multiple":for(n=e.elements[t].options.length-1;0<=n;n-=1)e.elements[t].options[n].selected&&(s[e.elements[t].name]=e.elements[t].options[n].value)}break;case"BUTTON":switch(e.elements[t].type){case"reset":case"submit":case"button":s[e.elements[t].name]=e.elements[t].value}}return s}},o.util.on=function(e,a,o,t){t=t||document;var i="locksmith-"+e+a,n=function(e){var t=e.target,n=e.target.parentElement,s=t.className.baseVal||t.className||"",r=n.className.baseVal||n.className||"";("string"==typeof s&&-1!==s.split(/\s+/).indexOf(a)||"string"==typeof r&&-1!==r.split(/\s+/).indexOf(a))&&!e[i]&&(e[i]=!0,o(e))};t.attachEvent?t.attachEvent(e,n):t.addEventListener(e,n,!1)},o.util.enableActions=function(e){o.util.on("click","locksmith-action",function(e){e.preventDefault();var t=e.target;t.dataset.confirmWith&&!confirm(t.dataset.confirmWith)||(t.disabled=!0,t.innerText=t.dataset.disableWith,o.post("/action",t.dataset.locksmithParams,{spinner:!1,type:"text",success:function(e){(e=JSON.parse(e.responseText)).message&&alert(e.message),o.util.reload()}}))},e)},o.util.inject=function(e,t){var n=["data","locksmith","append"];if(-1!==t.indexOf(n.join("-"))){var s=document.createElement("div");s.innerHTML=t,e.appendChild(s)}else e.innerHTML=t;var r,a,o=e.querySelectorAll("script");for(a=0;a<o.length;++a){r=o[a];var i=document.createElement("script");if(r.type&&(i.type=r.type),r.src)i.src=r.src;else{var l=document.createTextNode(r.innerHTML);i.appendChild(l)}e.appendChild(i)}var c=e.querySelector("[autofocus]");c&&c.focus()},o.post=function(e,t,n){!1!==(n=n||{}).spinner&&o.util.clobberBody(o.util.spinnerHTML);var s={};n.container===document?(s.layout=1,n.success=function(e){document.getElementById(n.container);o.util.clobberDocument(e)}):n.container&&(s.layout=0,n.success=function(e){var t=document.getElementById(n.container);o.util.inject(t,e),t.id===t.firstChild.id&&t.parentElement.replaceChild(t.firstChild,t)}),o.loading=!0;var r=o.util.makeUrl(e,s);reqwest({url:r,method:"post",type:n.type||"html",data:t,complete:function(){o.loading=!1},error:function(e){if(!o.reloading)if("dashboard.weglot.com"!==window.location.host){if(!n.silent)throw alert("Something went wrong! Please refresh and try again."),e;console.error(e)}else console.error(e)},success:n.success||o.util.clobberDocument})},o.postResource=function(e,t){e.path=o.path,e.search=window.location.search,e.state=o.state,e.passcode&&(e.passcode=e.passcode.trim()),e.email&&(e.email=e.email.trim()),e.state.cart=o.cache.cart,e.locksmith_json=o.jsonTag,e.locksmith_json_signature=o.jsonTagSignature,o.post("/resource",e,t)},o.ping=function(e){if(!o.isEmbedded){e=e||{};var t=function(){e.reload?o.util.reload():"function"==typeof e.callback&&e.callback()};o.post("/ping",{path:o.path,search:window.location.search,state:o.state},{spinner:!!e.spinner,silent:"undefined"==typeof e.silent||e.silent,type:"text",success:function(e){(e=JSON.parse(e.responseText)).messages&&0<e.messages.length&&o.showMessages(e.messages),e.cart&&o.cache.cart!==e.cart?(o.cache.cart=e.cart,o.cache.saveCart(function(){t(),e.cart&&e.cart.match(/^.+:/)&&o.util.reload()})):t()}})}},o.timeoutMonitor=function(){var e=o.cache.cart;o.ping({callback:function(){e!==o.cache.cart||setTimeout(function(){o.timeoutMonitor()},6e4)}})},o.showMessages=function(e){var t=document.createElement("div");t.style.position="fixed",t.style.left=0,t.style.right=0,t.style.bottom="-50px",t.style.opacity=0,t.style.background="#191919",t.style.color="#ddd",t.style.transition="bottom 0.2s, opacity 0.2s",t.style.zIndex=999999,t.innerHTML=" <style> .locksmith-ab .locksmith-b { display: none; } .locksmith-ab.toggled .locksmith-b { display: flex; } .locksmith-ab.toggled .locksmith-a { display: none; } .locksmith-flex { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; padding: 10px 20px; } .locksmith-message + .locksmith-message { border-top: 1px #555 solid; } .locksmith-message a { color: inherit; font-weight: bold; } .locksmith-message a:hover { color: inherit; opacity: 0.8; } a.locksmith-ab-toggle { font-weight: inherit; text-decoration: underline; } .locksmith-text { flex-grow: 1; } .locksmith-cta { flex-grow: 0; text-align: right; } .locksmith-cta button { transform: scale(0.8); transform-origin: left; } .locksmith-cta > * { display: block; } .locksmith-cta > * + * { margin-top: 10px; } .locksmith-message a.locksmith-close { flex-grow: 0; text-decoration: none; margin-left: 15px; font-size: 30px; font-family: monospace; display: block; padding: 2px 10px; } @media screen and (max-width: 600px) { .locksmith-wide-only { display: none !important; } .locksmith-flex { padding: 0 15px; } .locksmith-flex > * { margin-top: 5px; margin-bottom: 5px; } .locksmith-cta { text-align: left; } } @media screen and (min-width: 601px) { .locksmith-narrow-only { display: none !important; } } </style> "+e.map(function(e){return'<div class="locksmith-message">'+e+"</div>"}).join(""),document.body.appendChild(t),document.body.style.position="relative",document.body.parentElement.style.paddingBottom=t.offsetHeight+"px",setTimeout(function(){t.style.bottom=0,t.style.opacity=1},50),o.util.on("click","locksmith-ab-toggle",function(e){e.preventDefault();for(var t=e.target.parentElement;-1===t.className.split(" ").indexOf("locksmith-ab");)t=t.parentElement;-1!==t.className.split(" ").indexOf("toggled")?t.className=t.className.replace("toggled",""):t.className=t.className+" toggled"}),o.util.enableActions(t)}}()}();</script>
<script data-locksmith>Locksmith.cache.cart=null</script>
<script data-locksmith>Locksmith.jsonTag="\u003cscript type=\"application\/vnd.locksmith+json\" data-locksmith\u003e{\"version\":\"v117\",\"locked\":false,\"initialized\":true,\"scope\":\"404\",\"access_granted\":true,\"access_denied\":false,\"requires_customer\":false,\"manual_lock\":false,\"remote_lock\":false,\"has_timeout\":false,\"remote_rendered\":null,\"hide_resource\":false,\"hide_links_to_resource\":false,\"transparent\":true,\"locks\":{\"all\":[],\"opened\":[]},\"keys\":[],\"keys_signature\":\"e35308715855ede2e134e5ef2f72a76920e81eefb24aa0a099feb8fe82f5ccd4\",\"state\":{\"template\":\"404\",\"theme\":136209891552,\"product\":null,\"collection\":null,\"page\":null,\"blog\":null,\"article\":null,\"app\":null},\"now\":1714645461,\"path\":null,\"locale_root_url\":\"\\\/\",\"canonical_url\":\"https:\\\/\\\/cuveecoffee.com\\\/404\",\"customer_id\":null,\"customer_id_signature\":\"e35308715855ede2e134e5ef2f72a76920e81eefb24aa0a099feb8fe82f5ccd4\",\"cart\":null}\u003c\/script\u003e";Locksmith.jsonTagSignature="e56455c522a3ba4794ef8ec8e663a998f2f4ebdb1ea3fab542ff1eb009adcdd0"</script>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/all.css" integrity="sha384-5sAR7xN1Nv6T6+dT2mhtzEpVJvfS3NScPQTrOxhwjIuvcA67KV2R5Jz6kr4abQsz" crossorigin="anonymous">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, height=device-height, minimum-scale=1.0, user-scalable=0"
>
<meta name="theme-color" content="">
<!-- - Hide Wholesale from Google - -->
<!-- - Hide Wholesale from Google - -->
<title>
404 Not Found
– Cuvée Coffee
</title><link rel="canonical" href="https://cuveecoffee.com/404"><link rel="shortcut icon" href="//cuveecoffee.com/cdn/shop/files/Favicon_32x32.png?v=1613519892" type="image/png"><meta property="og:type" content="website">
<meta property="og:title" content="404 Not Found">
<meta property="og:url" content="https://cuveecoffee.com/404">
<meta property="og:site_name" content="Cuvée Coffee"><meta name="twitter:card" content="summary"><meta name="twitter:title" content="404 Not Found">
<meta name="twitter:description" content="404 Not Found">
<style>
@font-face {
font-family: Montserrat;
font-weight: 500;
font-style: normal;
font-display: fallback;
src: url("//cuveecoffee.com/cdn/fonts/montserrat/montserrat_n5.e72d00d31ae5399d260a80ec70322c62c1819762.woff2?h1=Y3V2ZWVjb2ZmZWUuY29t&h2=Y3V2ZWVjb2ZmZWUuYWNjb3VudC5teXNob3BpZnkuY29t&hmac=03210a56e1f121c6ecb87b4e364ffff5085de9bbd0f95583c5f71f8fb2dec5d2") format("woff2"),
url("//cuveecoffee.com/cdn/fonts/montserrat/montserrat_n5.18a018b6c83e89030c5d70a6d4c02c969f228500.woff?h1=Y3V2ZWVjb2ZmZWUuY29t&h2=Y3V2ZWVjb2ZmZWUuYWNjb3VudC5teXNob3BpZnkuY29t&hmac=a7cf2d45712bab1e81aff8d4100604d9ba798b2e51ac1e5bd67f7ea6621408a0") format("woff");
}
@font-face {
font-family: "Nunito Sans";
font-weight: 400;
font-style: normal;
font-display: fallback;
src: url("//cuveecoffee.com/cdn/fonts/nunito_sans/nunitosans_n4.2b61d9dcf54d8ac8282cfd1ebb6964c79a7efcd1.woff2?h1=Y3V2ZWVjb2ZmZWUuY29t&h2=Y3V2ZWVjb2ZmZWUuYWNjb3VudC5teXNob3BpZnkuY29t&hmac=aad4c6558dfcc20937a7f1e0e0fe781ff8b7facbba868e66e729a24ef189ecbf") format("woff2"),
url("//cuveecoffee.com/cdn/fonts/nunito_sans/nunitosans_n4.420cbf408f643f8ff8fd948b99c10dade8b6af79.woff?h1=Y3V2ZWVjb2ZmZWUuY29t&h2=Y3V2ZWVjb2ZmZWUuYWNjb3VudC5teXNob3BpZnkuY29t&hmac=9c0e25c1c7d2168af323311b452fabefc80c604f78ae94b0853b436acdd6744b") format("woff");
}
@font-face {
font-family: "Nunito Sans";
font-weight: 700;
font-style: normal;
font-display: fallback;
src: url("//cuveecoffee.com/cdn/fonts/nunito_sans/nunitosans_n7.5bd4fb9346d13afb61b3d78f8a1e9f31b128b3d9.woff2?h1=Y3V2ZWVjb2ZmZWUuY29t&h2=Y3V2ZWVjb2ZmZWUuYWNjb3VudC5teXNob3BpZnkuY29t&hmac=c71838c9eca3f38ae76ee14d8ea83ed94f5eeb33ab8a5c673f944bb6a84a40e4") format("woff2"),
url("//cuveecoffee.com/cdn/fonts/nunito_sans/nunitosans_n7.2bcf0f11aa6af91c784a857ef004bcca8c2d324d.woff?h1=Y3V2ZWVjb2ZmZWUuY29t&h2=Y3V2ZWVjb2ZmZWUuYWNjb3VudC5teXNob3BpZnkuY29t&hmac=635792ff8c4981b80b53a7cefd0c3e93fe34ad229c3a94a5929002bc688fbebd") format("woff");
}
@font-face {
font-family: "Nunito Sans";
font-weight: 400;
font-style: italic;
font-display: fallback;
src: url("//cuveecoffee.com/cdn/fonts/nunito_sans/nunitosans_i4.e88a2041a6cfbeacffb96db0e8efdfaaa38ddc5c.woff2?h1=Y3V2ZWVjb2ZmZWUuY29t&h2=Y3V2ZWVjb2ZmZWUuYWNjb3VudC5teXNob3BpZnkuY29t&hmac=af2252c2e73ac7711f286ec41599eda65dd0c36ff921783e47017463cf494ca4") format("woff2"),
url("//cuveecoffee.com/cdn/fonts/nunito_sans/nunitosans_i4.2c3733ccdf579e6e89e929a950e6a93484fdf6b4.woff?h1=Y3V2ZWVjb2ZmZWUuY29t&h2=Y3V2ZWVjb2ZmZWUuYWNjb3VudC5teXNob3BpZnkuY29t&hmac=923ac2390361243956dd4ac9bfcc0bf7a0689b07fbed76f3d05371cde7f20881") format("woff");
}
@font-face {
font-family: "Nunito Sans";
font-weight: 700;
font-style: italic;
font-display: fallback;
src: url("//cuveecoffee.com/cdn/fonts/nunito_sans/nunitosans_i7.975ea93f521412ef99ca1e2e434d8ca6a5cf77e7.woff2?h1=Y3V2ZWVjb2ZmZWUuY29t&h2=Y3V2ZWVjb2ZmZWUuYWNjb3VudC5teXNob3BpZnkuY29t&hmac=f3fb1009d73641fca711bfdf7e8316de77acf27b0db9f0181643324ac27875b2") format("woff2"),
url("//cuveecoffee.com/cdn/fonts/nunito_sans/nunitosans_i7.83b70272d04b71e88f25fc6834dc9b88e4ba4e95.woff?h1=Y3V2ZWVjb2ZmZWUuY29t&h2=Y3V2ZWVjb2ZmZWUuYWNjb3VudC5teXNob3BpZnkuY29t&hmac=5a2a4ffa151a55c9e3a7082ab98d30add7f3b77107bdcb0b2e9b64cee95536ae") format("woff");
}
:root {
--heading-font-family : Montserrat, sans-serif;
--heading-font-weight : 500;
--heading-font-style : normal;
--text-font-family : "Nunito Sans", sans-serif;
--text-font-weight : 400;
--text-font-style : normal;
--base-text-font-size : 17px;
--default-text-font-size: 14px;--background : #ffffff;
--background-rgb : 255, 255, 255;
--light-background : #ffffff;
--light-background-rgb: 255, 255, 255;
--heading-color : #003b4a;
--text-color : #003b4a;
--text-color-rgb : 0, 59, 74;
--text-color-light : #003b4a;
--text-color-light-rgb: 0, 59, 74;
--link-color : #6a6a6a;
--link-color-rgb : 106, 106, 106;
--border-color : #d9e2e4;
--border-color-rgb : 217, 226, 228;
--button-background : #3e96db;
--button-background-rgb: 62, 150, 219;
--button-text-color : #ffffff;
--header-background : #3e96db;
--header-heading-color : #ffffff;
--header-light-text-color : #ffffff;
--header-border-color : #5ba6e0;
--footer-background : #3e96db;
--footer-text-color : #ffffff;
--footer-heading-color : #ffffff;
--footer-border-color : #5ba6e0;
--navigation-background : #3e96db;
--navigation-background-rgb : 62, 150, 219;
--navigation-text-color : #ffffff;
--navigation-text-color-light: rgba(255, 255, 255, 0.5);
--navigation-border-color : rgba(255, 255, 255, 0.25);
--newsletter-popup-background : #003b4a;
--newsletter-popup-text-color : #ffffff;
--newsletter-popup-text-color-rgb : 255, 255, 255;
--secondary-elements-background : #1c1b1b;
--secondary-elements-background-rgb : 28, 27, 27;
--secondary-elements-text-color : #ffffff;
--secondary-elements-text-color-light : rgba(255, 255, 255, 0.5);
--secondary-elements-border-color : rgba(255, 255, 255, 0.25);
--product-sale-price-color : #f94c43;
--product-sale-price-color-rgb: 249, 76, 67;
/* Products */
--horizontal-spacing-four-products-per-row: 60px;
--horizontal-spacing-two-products-per-row : 60px;
--vertical-spacing-four-products-per-row: 60px;
--vertical-spacing-two-products-per-row : 75px;
/* Animation */
--drawer-transition-timing: cubic-bezier(0.645, 0.045, 0.355, 1);
--header-base-height: 80px; /* We set a default for browsers that do not support CSS variables */
/* Cursors */
--cursor-zoom-in-svg : url(//cuveecoffee.com/cdn/shop/t/54/assets/cursor-zoom-in.svg?v=131170557281993562531664783592);
--cursor-zoom-in-2x-svg : url(//cuveecoffee.com/cdn/shop/t/54/assets/cursor-zoom-in-2x.svg?v=67066754753664862611664783602);
}
</style>
<script>
// IE11 does not have support for CSS variables, so we have to polyfill them
if (!(((window || {}).CSS || {}).supports && window.CSS.supports('(--a: 0)'))) {
const script = document.createElement('script');
script.type = 'text/javascript';
script.src = 'https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2';
script.onload = function() {
cssVars({});
};
document.getElementsByTagName('head')[0].appendChild(script);
}
</script>
<script>window.performance && window.performance.mark && window.performance.mark('shopify.content_for_header.start');</script><meta name="google-site-verification" content="0nrZVCc9AQerAjFJVC6eLiX2LXGjapjqm4w1b9k5NQk">
<meta id="shopify-digital-wallet" name="shopify-digital-wallet" content="/867434614/digital_wallets/dialog">
<meta name="shopify-checkout-api-token" content="7c40d5bf79ef74298d4bcae28280fb2c">
<script async="async" src="/checkouts/internal/preloads.js?locale=en-US"></script>
<script async="async" src="https://shop.app/checkouts/internal/preloads.js?locale=en-US&shop_id=867434614" crossorigin="anonymous"></script>
<script id="apple-pay-shop-capabilities" type="application/json">{"shopId":867434614,"countryCode":"US","currencyCode":"USD","merchantCapabilities":["supports3DS"],"merchantId":"gid:\/\/shopify\/Shop\/867434614","merchantName":"Cuvée Coffee","requiredBillingContactFields":["postalAddress","email"],"requiredShippingContactFields":["postalAddress","email"],"shippingType":"shipping","supportedNetworks":["visa","masterCard","amex","discover","elo","jcb"],"total":{"type":"pending","label":"Cuvée Coffee","amount":"1.00"},"shopifyPaymentsEnabled":true,"supportsSubscriptions":true}</script>
<script id="shopify-features" type="application/json">{"accessToken":"7c40d5bf79ef74298d4bcae28280fb2c","betas":["rich-media-storefront-analytics"],"domain":"cuveecoffee.com","predictiveSearch":true,"shopId":867434614,"smart_payment_buttons_url":"https:\/\/cuveecoffee.com\/cdn\/shopifycloud\/payment-sheet\/assets\/latest\/spb.en.js","dynamic_checkout_cart_url":"https:\/\/cuveecoffee.com\/cdn\/shopifycloud\/payment-sheet\/assets\/latest\/dynamic-checkout-cart.en.js","locale":"en","flg4ff40b22":true}</script>
<script>var Shopify = Shopify || {};
Shopify.shop = "cuveecoffee.myshopify.com";
Shopify.locale = "en";
Shopify.currency = {"active":"USD","rate":"1.0"};
Shopify.country = "US";
Shopify.theme = {"name":"cuveecoffee\/main","id":136209891552,"theme_store_id":null,"role":"main"};
Shopify.theme.handle = "null";
Shopify.theme.style = {"id":null,"handle":null};
Shopify.cdnHost = "cuveecoffee.com/cdn";
Shopify.routes = Shopify.routes || {};
Shopify.routes.root = "/";</script>
<script type="module">!function(o){(o.Shopify=o.Shopify||{}).modules=!0}(window);</script>
<script>!function(o){function n(){var o=[];function n(){o.push(Array.prototype.slice.apply(arguments))}return n.q=o,n}var t=o.Shopify=o.Shopify||{};t.loadFeatures=n(),t.autoloadFeatures=n()}(window);</script>
<script>window.ShopifyPay = window.ShopifyPay || {};
window.ShopifyPay.apiHost = "shop.app\/pay";</script>
<script id="shop-js-features" type="application/json">{"compact":""}</script>
<script>
window.Shopify = window.Shopify || {};
if (!window.Shopify.featureAssets) window.Shopify.featureAssets = {};
window.Shopify.featureAssets['shop-js'] = {"pay-button":["modules/client.pay-button_6e87b336.en.esm.js","modules/chunk.common_03008854.esm.js"],"init-shop-email-lookup-coordinator":["modules/client.init-shop-email-lookup-coordinator_992dc458.en.esm.js","modules/chunk.common_03008854.esm.js"],"avatar":["modules/client.avatar_d929532e.en.esm.js"],"init-customer-accounts-sign-up":["modules/client.init-customer-accounts-sign-up_6215085a.en.esm.js","modules/chunk.common_03008854.esm.js"],"init-customer-accounts":["modules/client.init-customer-accounts_b4b29928.en.esm.js","modules/chunk.common_03008854.esm.js"],"shop-pay-checkout-sheet":["modules/client.shop-pay-checkout-sheet_2097e549.en.esm.js","modules/chunk.common_03008854.esm.js"],"init-shop-for-new-customer-accounts":["modules/client.init-shop-for-new-customer-accounts_bafb2282.en.esm.js","modules/chunk.common_03008854.esm.js"],"shop-pay-payment-request":["modules/client.shop-pay-payment-request_acd9cf72.en.esm.js","modules/chunk.common_03008854.esm.js","modules/chunk.shop-pay_39ab2d23.esm.js"],"discount-app":["modules/client.discount-app_969ec0f0.en.esm.js","modules/chunk.common_03008854.esm.js"],"login-button":["modules/client.login-button_8df20fcd.en.esm.js","modules/chunk.common_03008854.esm.js"],"payment-terms":["modules/client.payment-terms_e0cc8677.en.esm.js","modules/chunk.common_03008854.esm.js"]};
</script>
<script>(function() {
function asyncLoad() {
var urls = ["https:\/\/static.rechargecdn.com\/static\/js\/recharge.js?shop=cuveecoffee.myshopify.com","https:\/\/admin.pickzen.com\/client\/id\/ZvfEEw37?shop=cuveecoffee.myshopify.com","https:\/\/instafeed.nfcube.com\/cdn\/3d6a9cdba5001ec56a38388f1cb6e24b.js?shop=cuveecoffee.myshopify.com","https:\/\/analytics.getshogun.com\/collector.js?shop=cuveecoffee.myshopify.com","https:\/\/cdn1.judge.me\/assets\/installed.js?shop=cuveecoffee.myshopify.com"];
for (var i = 0; i < urls.length; i++) {
var s = document.createElement('script');
s.type = 'text/javascript';
s.async = true;
s.src = urls[i];
var x = document.getElementsByTagName('script')[0];
x.parentNode.insertBefore(s, x);
}
};
if(window.attachEvent) {
window.attachEvent('onload', asyncLoad);
} else {
window.addEventListener('load', asyncLoad, false);
}
})();</script>
<script id="__st">var __st={"a":867434614,"offset":-18000,"reqid":"0a1ff3fd-5ffd-4907-b8dc-77af65a40b7d-1714645461","pageurl":"cuveecoffee.com\/404","u":"98d1f005e62a"};</script>
<script>window.ShopifyPaypalV4VisibilityTracking = true;</script>
<script integrity="sha256-n5Uet9jVOXPHGd4hH4B9Y6+BxkTluaaucmYaxAjUcvY=" data-source-attribution="shopify.loadfeatures" defer="defer" src="//cuveecoffee.com/cdn/shopifycloud/shopify/assets/storefront/load_feature-9f951eb7d8d53973c719de211f807d63af81c644e5b9a6ae72661ac408d472f6.js" crossorigin="anonymous"></script>
<script crossorigin="anonymous" defer="defer" src="//cuveecoffee.com/cdn/shopifycloud/shopify/assets/shopify_pay/storefront-80e528be853eac23af2454534897ca9536b1d3d04aa043b042f34879a3c111c8.js?v=20220906"></script>
<script integrity="sha256-HAs5a9TQVLlKuuHrahvWuke+s1UlxXohfHeoYv8G2D8=" data-source-attribution="shopify.dynamic-checkout" defer="defer" src="//cuveecoffee.com/cdn/shopifycloud/shopify/assets/storefront/features-1c0b396bd4d054b94abae1eb6a1bd6ba47beb35525c57a217c77a862ff06d83f.js" crossorigin="anonymous"></script>
<style id="shopify-dynamic-checkout-cart">@media screen and (min-width: 750px) {
#dynamic-checkout-cart {
min-height: 50px;
}
}
@media screen and (max-width: 750px) {
#dynamic-checkout-cart {
min-height: 120px;
}
}
</style><script>window.performance && window.performance.mark && window.performance.mark('shopify.content_for_header.end');</script>
<!-- Google Tag Manager -->
<script>
(function (w, d, s, l, i) {
w[l] = w[l] || [];
w[l].push({ 'gtm.start': new Date().getTime(), event: 'gtm.js' });
var f = d.getElementsByTagName(s)[0],
j = d.createElement(s),
dl = l != 'dataLayer' ? '&l=' + l : '';
j.async = true;
j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'dataLayer', 'GTM-WJ4HJT4');
</script.>
<!--
End Google Tag Manager —><!-- Google Tag Manager
-->
<script>
(function (w, d, s, l, i) {
w[l] = w[l] || [];
w[l].push({ 'gtm.start': new Date().getTime(), event: 'gtm.js' });
var f = d.getElementsByTagName(s)[0],
j = d.createElement(s),
dl = l != 'dataLayer' ? '&l=' + l : '';
j.async = true;
j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'dataLayer', 'GTM-T9FKNXB');
</script>
<!-- End Google Tag Manager -->
<link href="//cuveecoffee.com/cdn/shop/t/54/assets/custom.css?v=134198530018719858631681822849" rel="stylesheet" type="text/css" media="all" />
<link href="//cuveecoffee.com/cdn/shop/t/54/assets/theme.css?v=103920163470546348381681815424" rel="stylesheet" type="text/css" media="all" />
<link href="//cuveecoffee.com/cdn/shop/t/54/assets/application.css?v=135551441698215621541669222073" rel="stylesheet" type="text/css" media="all" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/shopify-cartjs/0.4.1/cart.min.js"></script>
<script>
// This allows to expose several variables to the global scope, to be used in scripts
window.theme = {
template: "404",
shopCurrency: "USD",
moneyFormat: "${{amount}}",
moneyWithCurrencyFormat: "${{amount}} USD",
currencyConversionEnabled: false,
currencyConversionMoneyFormat: "money_format",
currencyConversionRoundAmounts: false,
searchMode: "product,article",
showPageTransition: true,
showElementStaggering: true,
showImageZooming: true
};
window.languages = {
cartAddNote: "Add Order Note",
cartEditNote: "Edit Order Note",
productImageLoadingError: "This image could not be loaded. Please try to reload the page.",
productFormAddToCart: "Add to cart",
productFormUnavailable: "Unavailable",
productFormSoldOut: "Sold Out",
shippingEstimatorOneResult: "1 option available:",
shippingEstimatorMoreResults: "{{count}} options available:",
shippingEstimatorNoResults: "No shipping could be found"
};
window.lazySizesConfig = {
loadHidden: false,
hFac: 0.5,
expFactor: 2,
ricTimeout: 150,
lazyClass: 'Image--lazyLoad',
loadingClass: 'Image--lazyLoading',
loadedClass: 'Image--lazyLoaded'
};
document.documentElement.className = document.documentElement.className.replace('no-js', 'js');
document.documentElement.style.setProperty('--window-height', window.innerHeight + 'px');
// We do a quick detection of some features (we could use Modernizr but for so little...)
(function() {
document.documentElement.className += ((window.CSS && window.CSS.supports('(position: sticky) or (position: -webkit-sticky)')) ? ' supports-sticky' : ' no-supports-sticky');
document.documentElement.className += (window.matchMedia('(-moz-touch-enabled: 1), (hover: none)')).matches ? ' no-supports-hover' : ' supports-hover';
}());
window.onpageshow = function (event) {
if (event.persisted) {
window.location.reload();
}
};
</script>
<script src="//cuveecoffee.com/cdn/shop/t/54/assets/lazysizes.min.js?v=174358363404432586981664783586" async></script>
<script
src="https://cdn.polyfill.io/v2/polyfill.min.js?features=fetch,Element.prototype.closest,Element.prototype.remove,Element.prototype.classList,Array.prototype.includes,Array.prototype.fill,Object.assign,CustomEvent,IntersectionObserver,IntersectionObserverEntry"
defer
></script>
<script src="//cuveecoffee.com/cdn/shop/t/54/assets/libs.min.js?v=88466822118989791001664783585" defer></script>
<script src="//cuveecoffee.com/cdn/shop/t/54/assets/theme.min.js?v=42696527368515543241664783590" defer></script>
<script src="//cuveecoffee.com/cdn/shop/t/54/assets/custom.js?v=106359059328403568451666896636" defer></script>
<!-- - INCLUDE JQUERY CDN - -->
<script
src="https://code.jquery.com/jquery-3.3.1.min.js"
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
crossorigin="anonymous"
></script>
<!-- - CUSTOM 1 CUVEE FLOATING BUTTON SCRIPT - -->
<!--
<script type="text/javascript">
$(document).scroll(function () {
var y = $(this).scrollTop();
if (y > 400) {
$('.cuveeFloat').fadeIn();
} else {
$('.cuveeFloat').fadeOut();
}
});
</script>
-->
<!-- - CUSTOM 2 CUVEE FLOATING BUTTON SCRIPT - -->
<!--
<script type="text/javascript">
$(document).scroll(function () {
var y = $(this).scrollTop();
if (y > 400) {
$('.cuveefloatWrapper').fadeIn();
} else {
$('.cuveefloatWrapper').fadeOut();
}
});
</script>
-->
<!-- - YOTPO JS INPUT - -->
<script type="text/javascript">
(function e() {
var e = document.createElement('script');
(e.type = 'text/javascript'),
(e.async = true),
(e.src = '//staticw2.yotpo.com/ozQdRMEcYpxrfxuZEb5e25RqNZBQ62TJevQyDH73/widget.js');
var t = document.getElementsByTagName('script')[0];
t.parentNode.insertBefore(e, t);
})();
</script>
<!-- Script added by PickZen -->
<script>
!(function (a, b) {
window['pickzen'] = { id: b, server: a };
var c = document.createElement('script'),
d = document.getElementsByTagName('script')[0];
(c.async = 1), (c.src = a + '/js/loader-pickzen.min.js'), d.parentNode.insertBefore(c, d);
})('https://app.pickzen.com', '862');
</script>
<script src="https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit" async defer></script>
<!-- Start of Judge.me Core -->
<link rel="dns-prefetch" href="https://cdn.judge.me/">
<script data-cfasync='false' class='jdgm-settings-script'>window.jdgmSettings={"pagination":5,"disable_web_reviews":false,"badge_no_review_text":"No reviews","badge_n_reviews_text":"{{ n }} review/reviews","badge_star_color":"#007fff","hide_badge_preview_if_no_reviews":true,"badge_hide_text":false,"enforce_center_preview_badge":false,"widget_title":"Customer Reviews","widget_open_form_text":"Write a review","widget_close_form_text":"Cancel review","widget_refresh_page_text":"Refresh page","widget_summary_text":"Based on {{ number_of_reviews }} review/reviews","widget_no_review_text":"Be the first to write a review","widget_name_field_text":"Name","widget_verified_name_field_text":"Verified Name (public)","widget_name_placeholder_text":"Enter your name (public)","widget_required_field_error_text":"This field is required.","widget_email_field_text":"Email","widget_verified_email_field_text":"Verified Email (private, can not be edited)","widget_email_placeholder_text":"Enter your email (private)","widget_email_field_error_text":"Please enter a valid email address.","widget_rating_field_text":"Rating","widget_review_title_field_text":"Review Title","widget_review_title_placeholder_text":"Give your review a title","widget_review_body_field_text":"Review","widget_review_body_placeholder_text":"Write your comments here","widget_pictures_field_text":"Picture/Video (optional)","widget_submit_review_text":"Submit Review","widget_submit_verified_review_text":"Submit Verified Review","widget_submit_success_msg_with_auto_publish":"Thank you! Please refresh the page in a few moments to see your review. You can remove or edit your review by logging into \u003ca href='https://judge.me/login' target='_blank' rel='nofollow noopener'\u003eJudge.me\u003c/a\u003e","widget_submit_success_msg_no_auto_publish":"Thank you! Your review will be published as soon as it is approved by the shop admin. You can remove or edit your review by logging into \u003ca href='https://judge.me/login' target='_blank' rel='nofollow noopener'\u003eJudge.me\u003c/a\u003e","widget_show_default_reviews_out_of_total_text":"Showing {{ n_reviews_shown }} out of {{ n_reviews }} reviews.","widget_show_all_link_text":"Show all","widget_show_less_link_text":"Show less","widget_author_said_text":"{{ reviewer_name }} said:","widget_days_text":"{{ n }} days ago","widget_weeks_text":"{{ n }} week/weeks ago","widget_months_text":"{{ n }} month/months ago","widget_years_text":"{{ n }} year/years ago","widget_yesterday_text":"Yesterday","widget_today_text":"Today","widget_replied_text":"\u003e\u003e {{ shop_name }} replied:","widget_read_more_text":"Read more","widget_rating_filter_see_all_text":"See all reviews","widget_sorting_most_recent_text":"Most Recent","widget_sorting_highest_rating_text":"Highest Rating","widget_sorting_lowest_rating_text":"Lowest Rating","widget_sorting_with_pictures_text":"Only Pictures","widget_sorting_most_helpful_text":"Most Helpful","widget_open_question_form_text":"Ask a question","widget_reviews_subtab_text":"Reviews","widget_questions_subtab_text":"Questions","widget_question_label_text":"Question","widget_answer_label_text":"Answer","widget_question_placeholder_text":"Write your question here","widget_submit_question_text":"Submit Question","widget_question_submit_success_text":"Thank you for your question! We will notify you once it gets answered.","widget_star_color":"#007fff","verified_badge_text":"Verified","verified_badge_placement":"left-of-reviewer-name","widget_hide_border":false,"widget_social_share":false,"widget_thumb":false,"widget_review_location_show":false,"widget_location_format":"country_iso_code","all_reviews_include_out_of_store_products":true,"all_reviews_out_of_store_text":"(out of store)","all_reviews_product_name_prefix_text":"about","enable_review_pictures":false,"enable_question_anwser":false,"default_sort_method":"highest-rating","widget_product_reviews_subtab_text":"Product Reviews","widget_shop_reviews_subtab_text":"Shop Reviews","widget_sorting_pictures_first_text":"Pictures First","floating_tab_button_name":"★ Judge.me Reviews","floating_tab_title":"Let customers speak for us","floating_tab_url":"https://cuveecoffee.com/pages/reviews","all_reviews_text_badge_text":"Customers rate us {{ shop.metafields.judgeme.all_reviews_rating | round: 1 }}/5 based on {{ shop.metafields.judgeme.all_reviews_count }} reviews.","all_reviews_text_badge_text_branded_style":"{{ shop.metafields.judgeme.all_reviews_rating | round: 1 }} out of 5 stars based on {{ shop.metafields.judgeme.all_reviews_count }} reviews","all_reviews_text_badge_url":"https://cuveecoffee.com/pages/reviews","featured_carousel_title":"Let customers speak for us","featured_carousel_count_text":"from {{ n }} reviews","featured_carousel_url":"https://cuveecoffee.com/pages/reviews","verified_count_badge_url":"https://cuveecoffee.com/pages/reviews","picture_reminder_submit_button":"Upload Pictures","widget_sorting_videos_first_text":"Videos First","widget_review_pending_text":"Pending","remove_microdata_snippet":false,"preview_badge_no_question_text":"No questions","preview_badge_n_question_text":"{{ number_of_questions }} question/questions","widget_add_search_bar":true,"widget_search_bar_placeholder":"Search reviews","widget_sorting_verified_only_text":"Verified only","all_reviews_page_load_more_text":"Load More Reviews","widget_public_name_text":"displayed publicly like","default_reviewer_name_has_non_latin":true,"widget_reviewer_anonymous":"Anonymous","medals_widget_title":"Judge.me Review Medals","widget_invalid_yt_video_url_error_text":"Not a YouTube video URL","widget_max_length_field_error_text":"Please enter no more than {0} characters.","widget_load_with_code_splitting":true,"widget_ugc_title":"Made by us, Shared by you","widget_ugc_subtitle":"Tag us to see your picture featured in our page","widget_ugc_primary_button_text":"Buy Now","widget_ugc_secondary_button_text":"Load More","widget_ugc_reviews_button_text":"View Reviews","widget_rating_metafield_value_type":true,"widget_summary_average_rating_text":"{{ average_rating }} out of 5","widget_media_grid_title":"Customer photos \u0026 videos","widget_media_grid_see_more_text":"See more","widget_verified_by_judgeme_text":"Verified by Judge.me","widget_verified_by_judgeme_text_in_store_medals":"Verified by Judge.me","widget_media_field_exceed_quantity_message":"Sorry, we can only accept {{ max_media }} for one review.","widget_media_field_exceed_limit_message":"{{ file_name }} is too large, please select a {{ media_type }} less than {{ size_limit }}MB.","widget_review_submitted_text":"Review Submitted!","widget_question_submitted_text":"Question Submitted!","widget_close_form_text_question":"Cancel","widget_write_your_answer_here_text":"Write your answer here","widget_show_collected_by_judgeme":false,"widget_collected_by_judgeme_text":"collected by Judge.me","widget_load_more_text":"Load More","widget_full_review_text":"Full Review","widget_read_more_reviews_text":"Read More Reviews","widget_read_questions_text":"Read Questions","widget_questions_and_answers_text":"Questions \u0026 Answers","widget_verified_by_text":"Verified by","widget_number_of_reviews_text":"{{ number_of_reviews }} reviews","widget_back_button_text":"Back","widget_next_button_text":"Next","widget_custom_forms_filter_button":"Filters","custom_forms_style":"vertical","how_reviews_are_collected":"How reviews are collected?","preview_badge_collection_page_install_preference":true,"preview_badge_home_page_install_preference":true,"preview_badge_product_page_install_preference":true,"review_widget_best_location":true,"platform":"shopify","branding_url":"https://judge.me/reviews/cuveecoffee.myshopify.com","branding_text":"Powered by Judge.me","locale":"en","reply_name":"Cuvée Coffee","widget_version":"2.1","footer":true,"autopublish":true,"review_dates":true,"enable_custom_form":false,"can_be_branded":true};</script> <style class='jdgm-settings-style'>.jdgm-xx{left:0}:not(.jdgm-prev-badge__stars)>.jdgm-star{color:#007fff}.jdgm-histogram .jdgm-star.jdgm-star{color:#007fff}.jdgm-preview-badge .jdgm-star.jdgm-star{color:#007fff}.jdgm-prev-badge[data-average-rating='0.00']{display:none !important}.jdgm-author-all-initials{display:none !important}.jdgm-author-last-initial{display:none !important}.jdgm-rev-widg__title{visibility:hidden}.jdgm-rev-widg__summary-text{visibility:hidden}.jdgm-prev-badge__text{visibility:hidden}.jdgm-rev__replier:before{content:'cuveecoffee.com'}.jdgm-rev__prod-link-prefix:before{content:'about'}.jdgm-rev__out-of-store-text:before{content:'(out of store)'}@media only screen and (min-width: 768px){.jdgm-rev__pics .jdgm-rev_all-rev-page-picture-separator,.jdgm-rev__pics .jdgm-rev__product-picture{display:none}}@media only screen and (max-width: 768px){.jdgm-rev__pics .jdgm-rev_all-rev-page-picture-separator,.jdgm-rev__pics .jdgm-rev__product-picture{display:none}}.jdgm-verified-count-badget[data-from-snippet="true"]{display:none !important}.jdgm-carousel-wrapper[data-from-snippet="true"]{display:none !important}.jdgm-all-reviews-text[data-from-snippet="true"]{display:none !important}.jdgm-medals-section[data-from-snippet="true"]{display:none !important}.jdgm-ugc-media-wrapper[data-from-snippet="true"]{display:none !important}
</style>
<style class='jdgm-miracle-styles'>
@-webkit-keyframes jdgm-spin{0%{-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);-ms-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes jdgm-spin{0%{-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);-ms-transform:rotate(359deg);transform:rotate(359deg)}}@font-face{font-family:'JudgemeStar';src:url("data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAScAA0AAAAABrAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAEgAAAABoAAAAcbyQ+3kdERUYAAARgAAAAHgAAACAAMwAGT1MvMgAAAZgAAABGAAAAVi+vS9xjbWFwAAAB8AAAAEAAAAFKwBMjvmdhc3AAAARYAAAACAAAAAj//wADZ2x5ZgAAAkAAAAEJAAABdH33LXtoZWFkAAABMAAAAC0AAAA2BroQKWhoZWEAAAFgAAAAHAAAACQD5QHQaG10eAAAAeAAAAAPAAAAFAYAAABsb2NhAAACMAAAAA4AAAAOAO4AeG1heHAAAAF8AAAAHAAAACAASgAvbmFtZQAAA0wAAADeAAABkorWfVZwb3N0AAAELAAAACkAAABEp3ubLXgBY2BkYADhPPP4OfH8Nl8ZuJkYQODS2fRrCPr/aSYGxq1ALgcDWBoAO60LkwAAAHgBY2BkYGDc+v80gx4TAwgASaAICmABAFB+Arl4AWNgZGBgYGPQYWBiAAIwyQgWc2AAAwAHVQB6eAFjYGRiYJzAwMrAwejDmMbAwOAOpb8ySDK0MDAwMbByMsCBAAMCBKS5pjA4PGB4wMR44P8BBj3GrQymQGFGkBwAjtgK/gAAeAFjYoAAEA1jAwAAZAAHAHgB3crBCcAwDEPRZydkih567CDdf4ZskmLwFBV8xBfCaC4BXkOUmx4sU0h2ngNb9V0vQCxaRKIAevT7fGWuBrEAAAAAAAAAAAA0AHgAugAAeAF9z79Kw1AUx/FzTm7un6QmJtwmQ5Bg1abgEGr/BAqlU6Gju+Cgg1MkQ/sA7Vj7BOnmO/gUvo2Lo14NqIO6/IazfD8HEODtmQCfoANwNsyp2/GJt3WKQrd1NLiYYWx2PBqOsmJMEOznPOTzfSCrhAtbbLdmeFLJV9eKd63WLrZcIcuaEVdssWCKM6pLCfTVOYbz/0pNSMSZKLIZpvh78sAUH6PlMrreTCabP9r+Z/puPZ2ur/RqpQHgh+MIegCnXeM4MRAPjYN//5tj4ZtTjkFqEdmeMShlEJ7tVAly2TAkx6R68Fl4E/aVvn8JqHFQ4JS1434gXKcuL31dDhzs3YbsEOAd/IU88gAAAHgBfY4xTgMxEEVfkk0AgRCioKFxQYd2ZRtpixxgRU2RfhU5q5VWseQ4JdfgAJyBlmNwAM7ABRhZQ0ORwp7nr+eZAa54YwYg9zm3ynPOeFRe8MCrciXOh/KSS76UV5L/iDmrLiS5AeU519wrL3jmSbkS5115yR2fyivJv9kx0ZMZ2RLZw27q87iNQi8EBo5FSPIMw3HqBboi5lKTGAGDp8FKXWP+t9TU01Lj5His1Ba6uM9dTEMwvrFmbf5GC/q2drW3ruXUhhsCiQOjznFlCzYhHUZp4xp76vsvQh89CQAAeAFjYGJABowM6IANLMrEyMTIzMjCXpyRWJBqZshWXJJYBKOMAFHFBucAAAAAAAAB//8AAngBY2BkYGDgA2IJBhBgAvKZGViBJAuYxwAABJsAOgAAeAFjYGBgZACCk535hiD60tn0azAaAEqpB6wAAA==") format("woff");font-weight:normal;font-style:normal}.jdgm-star{font-family:'JudgemeStar';display:inline !important;text-decoration:none !important;padding:0 4px 0 0 !important;margin:0 !important;font-weight:bold;opacity:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.jdgm-star:hover{opacity:1}.jdgm-star:last-of-type{padding:0 !important}.jdgm-star.jdgm--on:before{content:"\e000"}.jdgm-star.jdgm--off:before{content:"\e001"}.jdgm-star.jdgm--half:before{content:"\e002"}.jdgm-widget *{margin:0;line-height:1.4;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-overflow-scrolling:touch}.jdgm-hidden{display:none !important;visibility:hidden !important}.jdgm-temp-hidden{display:none}.jdgm-spinner{width:40px;height:40px;margin:auto;border-radius:50%;border-top:2px solid #eee;border-right:2px solid #eee;border-bottom:2px solid #eee;border-left:2px solid #ccc;-webkit-animation:jdgm-spin 0.8s infinite linear;animation:jdgm-spin 0.8s infinite linear}.jdgm-prev-badge{display:block !important}
</style>
<script data-cfasync='false' class='jdgm-script'>
!function(e){window.jdgm=window.jdgm||{},jdgm.CDN_HOST="https://cdn.judge.me/",
jdgm.docReady=function(d){(e.attachEvent?"complete"===e.readyState:"loading"!==e.readyState)?
setTimeout(d,0):e.addEventListener("DOMContentLoaded",d)},jdgm.loadCSS=function(d,t,o,s){
!o&&jdgm.loadCSS.requestedUrls.indexOf(d)>=0||(jdgm.loadCSS.requestedUrls.push(d),
(s=e.createElement("link")).rel="stylesheet",s.class="jdgm-stylesheet",s.media="nope!",
s.href=d,s.onload=function(){this.media="all",t&&setTimeout(t)},e.body.appendChild(s))},
jdgm.loadCSS.requestedUrls=[],jdgm.docReady(function(){(window.jdgmLoadCSS||e.querySelectorAll(
".jdgm-widget, .jdgm-all-reviews-page").length>0)&&(jdgmSettings.widget_load_with_code_splitting?
parseFloat(jdgmSettings.widget_version)>=3?jdgm.loadCSS(jdgm.CDN_HOST+"widget_v3/base.css"):
jdgm.loadCSS(jdgm.CDN_HOST+"widget/base.css"):jdgm.loadCSS(jdgm.CDN_HOST+"shopify_v2.css"))})}(document);
</script>
<script async data-cfasync="false" type="text/javascript" src="https://cdn.judge.me/loader.js"></script>
<noscript><link rel="stylesheet" type="text/css" media="all" href="https://cdn.judge.me/shopify_v2.css"></noscript>
<!-- End of Judge.me Core -->
<script>
var scaaffCheck = false;
</script>
<script src="//cuveecoffee.com/cdn/shop/t/54/assets/sca_affiliate.js?v=107067098060552206191664783590" type="text/javascript"></script>
<meta name="shogun-data" content="page_type=404, page_id=index, site_id=a8db7a05-5dcb-47cb-bb34-d5b4f065810b">
<!-- "snippets/alireviews_core.liquid" was not rendered, the associated app was uninstalled -->
<script type="text/javascript">console.error("MinMaxify is deactivated for this website. Please don't forget to remove minmaxify-head.liquid still being referenced by theme.liquid")</script>
<script>
document.addEventListener("DOMContentLoaded", function(event) {
const style = document.getElementById('wsg-custom-style');
if (typeof window.isWsgCustomer != "undefined" && isWsgCustomer) {
style.innerHTML = `
${style.innerHTML}
/* A friend of hideWsg - this will _show_ only for wsg customers. Add class to an element to use */
.showWsg {
display: unset;
}
/* wholesale only CSS */
.additional-checkout-buttons, .shopify-payment-button {
display: none !important;
}
.wsg-proxy-container select {
background-color:
${
document.querySelector('input').style.backgroundColor
? document.querySelector('input').style.backgroundColor
: 'white'
} !important;
}
`;
} else {
style.innerHTML = `
${style.innerHTML}
/* Add CSS rules here for NOT wsg customers - great to hide elements from retail when we can't access the code driving the element */
`;
}
if (typeof window.embedButtonBg !== undefined && typeof window.embedButtonText !== undefined && window.embedButtonBg !== window.embedButtonText) {
style.innerHTML = `
${style.innerHTML}
.wsg-button-fix {
background: ${embedButtonBg} !important;
border-color: ${embedButtonBg} !important;
color: ${embedButtonText} !important;
}
`;
}
// =========================
// CUSTOM JS
// ==========================
if (document.querySelector(".wsg-proxy-container")) {
initNodeObserver(wsgCustomJs);
}
})
function wsgCustomJs() {
// update button classes
const button = document.querySelectorAll(".wsg-button-fix");
let buttonClass = "Button Button--secondary";
buttonClass = buttonClass.split(" ");
for (let i = 0; i < button.length; i++) {
button[i].classList.add(... buttonClass);
}
// wsgCustomJs window placeholder
// update secondary btn color on proxy cart
if (document.getElementById("wsg-checkout-one")) {
const checkoutButton = document.getElementById("wsg-checkout-one");
let wsgBtnColor = window.getComputedStyle(checkoutButton).backgroundColor;
let wsgBtnBackground = "none";
let wsgBtnBorder = "thin solid " + wsgBtnColor;
let wsgBtnPadding = window.getComputedStyle(checkoutButton).padding;
let spofBtn = document.querySelectorAll(".spof-btn");
for (let i = 0; i < spofBtn.length; i++) {
spofBtn[i].style.background = wsgBtnBackground;
spofBtn[i].style.color = wsgBtnColor;
spofBtn[i].style.border = wsgBtnBorder;
spofBtn[i].style.padding = wsgBtnPadding;
}
}
// update Quick Order Form label
if (typeof window.embedSPOFLabel != "undefined" && embedSPOFLabel) {
document.querySelectorAll(".spof-btn").forEach(function(spofBtn) {
spofBtn.removeAttribute("data-translation-selector");
spofBtn.innerHTML = embedSPOFLabel;
});
}
}
function initNodeObserver(onChangeNodeCallback) {
// Select the node that will be observed for mutations
const targetNode = document.querySelector(".wsg-proxy-container");
// Options for the observer (which mutations to observe)
const config = {
attributes: true,
childList: true,
subtree: true
};
// Callback function to execute when mutations are observed
const callback = function(mutationsList, observer) {
for (const mutation of mutationsList) {
if (mutation.type === 'childList') {
onChangeNodeCallback();
observer.disconnect();
}
}
};
// Create an observer instance linked to the callback function
const observer = new MutationObserver(callback);
// Start observing the target node for configured mutations
observer.observe(targetNode, config);
}
</script>
<style id="wsg-custom-style">
/* A friend of hideWsg - this will _show_ only for wsg customers. Add class to an element to use */
.showWsg {
display: none;
}
/* Signup/login */
#wsg-signup select,
#wsg-signup input,
#wsg-signup textarea {
height: 46px;
border: thin solid #d1d1d1;
padding: 6px 10px;
}
#wsg-signup textarea {
min-height: 100px;
}
.wsg-login-input {
height: 46px;
border: thin solid #d1d1d1;
padding: 6px 10px;
}
#wsg-signup select {
}
/* Quick Order Form */
.wsg-table td {
border: none;
min-width: 150px;
}
.wsg-table tr {
border-bottom: thin solid #d1d1d1;
border-left: none;
}
.wsg-table input[type="number"] {
border: thin solid #d1d1d1;
padding: 5px 15px;
min-height: 42px;
}
#wsg-spof-link a {
text-decoration: inherit;
color: inherit;
}
.wsg-proxy-container {
margin-top: 0% !important;
}
@media screen and (max-width:768px){
.wsg-proxy-container .wsg-table input[type="number"] {
max-width: 80%;
}
.wsg-center img {
width: 50px !important;
}
.wsg-variant-price-area {
min-width: 70px !important;
}
}
/* Submit button */
#wsg-cart-update{
padding: 8px 10px;
min-height: 45px;
max-width: 100% !important;
}
.wsg-table {
background: inherit !important;
}
.wsg-spof-container-main {
background: inherit !important;
}
/* General fixes */
.wsg-hide-prices {
opacity: 0;
}
.wsg-ws-only .button {
margin: 0;
}
.wsg-submit-copy {
color: black !important;
}
.spof-btn {
color: black !important;
text-transform: uppercase;
font-family: Brandon Grotesque!important;
letter-spacing: .2em;
font-weight: 900;
}
</style>
<!-- BEGIN app block: shopify://apps/warnify-product-warnings/blocks/main/b82106ea-6172-4ab0-814f-17df1cb2b18a --><!-- BEGIN app snippet: cart -->
<script> var Elspw = { params: { money_format: "${{amount}}", cart: { "total_price" : 0, "attributes": {}, "items" : [ ] } } };</script>
<!-- END app snippet --><!-- BEGIN app snippet: settings -->
<script> (function(){ Elspw.loadScript=function(a,b){var c=document.createElement("script");c.type="text/javascript",c.readyState?c.onreadystatechange=function(){"loaded"!=c.readyState&&"complete"!=c.readyState||(c.onreadystatechange=null,b())}:c.onload=function(){b()},c.src=a,document.getElementsByTagName("head")[0].appendChild(c)}; Elspw.config= {"sort_by":"","enabled":"1","button":"form button[name=\"checkout\"]","css":".elspw-modal .remodal-cancel { display:none !important; }","tag":"Els PW","alerts":[{"id":14548,"shop_id":11388,"enabled":1,"name":"Address Verification","settings":{"checkout_allowed":"1","line_item_property":""},"design_settings":"","checkout_settings":null,"message":"<p><strong>Please make sure your shipping address is correct before you complete your purchase. Cuvée will not issue refunds if incorrect information is provided. Thank you. </strong></p>","based_on":"all","one_time":1,"geo_enabled":0,"geo":[],"created_at":"2021-02-03T15:19:51.000000Z","updated_at":"2021-04-02T16:59:09.000000Z","tag":"Els PW 14548"}],"grid_enabled":1,"cdn":"https://s3.amazonaws.com/els-apps/product-warnings/","theme_app_extensions_enabled":1} ; })(Elspw) </script> <script defer src="https://cdn.shopify.com/extensions/02a52c0d-aff3-46ba-9edb-b0a867475fef/warnify-pro-warnings-4/assets/app.js"></script>
<script>
Elspw.params.elsGeoScriptPath = "https://cdn.shopify.com/extensions/02a52c0d-aff3-46ba-9edb-b0a867475fef/warnify-pro-warnings-4/assets/els.geo.js";
Elspw.params.remodalScriptPath = "https://cdn.shopify.com/extensions/02a52c0d-aff3-46ba-9edb-b0a867475fef/warnify-pro-warnings-4/assets/remodal.js";
Elspw.params.cssPath = "https://cdn.shopify.com/extensions/02a52c0d-aff3-46ba-9edb-b0a867475fef/warnify-pro-warnings-4/assets/app.css";
</script><!-- END app snippet --><!-- BEGIN app snippet: elspw-jsons -->
<!-- END app snippet -->
<!-- END app app block --><!-- BEGIN app block: shopify://apps/wholesale-gorilla/blocks/wsg-header/c48d0487-dff9-41a4-94c8-ec6173fe8b8d -->
<!-- check for wsg customer - this now downcases to compare so we are no longer concerned about case matching in tags -->
<!-- ajax data -->
<script>
// here we need to check if we on a previw theme and set the shop config from the metafield
const wsgShopConfigMetafields = {
shopConfig : {"btnClasses":"Button Button--primary","hideDomElements":[".hideWsg",".Price--compareAt","#rc_container"],"wsgPriceSelectors":{"productPrice":[".Product .Price",".ProductForm .Button__SeparatorDot + span"],"collectionPrices":[".ProductItem .ProductItem__Price",".FeaturedProduct__Info .ProductMeta__Price"]},"autoInstall":false,"wsgAjax":true,"wsgMultiAjax":false,"wsgAjaxSettings":{"price":".CartItem__Price","linePrice":"","subtotal":".Cart__Checkout .Button__SeparatorDot + span","checkoutBtn":".Cart__Checkout"},"wsgSwatch":"","wsgAccountPageSelector":".PageHeader","wsgVolumeTable":"#Description","excludedSections":[],"productSelectors":[".ProductList > .Grid__Cell","[data-section-type='featured-product']",".flickity-slider > div.Carousel__Cell",".Grid > .Grid__Cell"],"wsgQVSelector":[],"fileList":["layout/theme.liquid"],"wsgVersion":6,"themeId":136209891552},
shopConfig136209891552 : {"btnClasses":"Button Button--primary","hideDomElements":[".hideWsg",".Price--compareAt","#rc_container"],"wsgPriceSelectors":{"productPrice":[".Product .Price",".ProductForm .Button__SeparatorDot + span"],"collectionPrices":[".ProductItem .ProductItem__Price",".FeaturedProduct__Info .ProductMeta__Price"]},"autoInstall":false,"wsgAjax":true,"wsgMultiAjax":false,"wsgAjaxSettings":{"price":".CartItem__Price","linePrice":"","subtotal":".Cart__Checkout .Button__SeparatorDot + span","checkoutBtn":".Cart__Checkout"},"wsgSwatch":"","wsgAccountPageSelector":".PageHeader","wsgVolumeTable":"#Description","excludedSections":[],"productSelectors":[".ProductList > .Grid__Cell","[data-section-type='featured-product']",".flickity-slider > div.Carousel__Cell",".Grid > .Grid__Cell"],"wsgQVSelector":[],"fileList":["layout/theme.liquid"],"wsgVersion":6,"themeId":136209891552},
shopConfig136677785824 : {"btnClasses":"cuvee-product-page-button","hideDomElements":[".hideWsg",".Price--compareAt","#rc_container"],"wsgPriceSelectors":{"productPrice":[".Product .Price",".ProductForm .Button__SeparatorDot + span"],"collectionPrices":[".ProductItem .ProductItem__Price",".FeaturedProduct__Info .ProductMeta__Price"]},"autoInstall":false,"wsgAjax":true,"wsgMultiAjax":false,"wsgAjaxSettings":{"price":".CartItem__Price","linePrice":"","subtotal":".Cart__Checkout .Button__SeparatorDot + span","checkoutBtn":".Cart__Checkout"},"wsgSwatch":"","wsgAccountPageSelector":"h1.h3","wsgVolumeTable":".ProductMeta__Description","excludedSections":[],"productSelectors":[".ProductList > .Grid__Cell","[data-section-type='featured-product']",".flickity-slider > div.Carousel__Cell",".Grid > .Grid__Cell"],"wsgQVSelector":[],"fileList":["layout/theme.liquid"],"wsgVersion":6,"themeId":136677785824},
}
let wsgShopConfig = {"btnClasses":"Button Button--primary","hideDomElements":[".hideWsg",".Price--compareAt","#rc_container"],"wsgPriceSelectors":{"productPrice":[".Product .Price",".ProductForm .Button__SeparatorDot + span"],"collectionPrices":[".ProductItem .ProductItem__Price",".FeaturedProduct__Info .ProductMeta__Price"]},"autoInstall":false,"wsgAjax":true,"wsgMultiAjax":false,"wsgAjaxSettings":{"price":".CartItem__Price","linePrice":"","subtotal":".Cart__Checkout .Button__SeparatorDot + span","checkoutBtn":".Cart__Checkout"},"wsgSwatch":"","wsgAccountPageSelector":".PageHeader","wsgVolumeTable":"#Description","excludedSections":[],"productSelectors":[".ProductList > .Grid__Cell","[data-section-type='featured-product']",".flickity-slider > div.Carousel__Cell",".Grid > .Grid__Cell"],"wsgQVSelector":[],"fileList":["layout/theme.liquid"],"wsgVersion":6,"themeId":136209891552};
if (window.Shopify.theme.role !== 'main') {
const wsgShopConfigUnpublishedTheme = wsgShopConfigMetafields[`shopConfig${window.Shopify.theme.id}`];
if (wsgShopConfigUnpublishedTheme) {
wsgShopConfig = wsgShopConfigUnpublishedTheme;
}
}
// ==========================================
// Set global liquid variables
// ==========================================
// general variables 1220
var wsgVersion = 6.0;
var wsgActive = true;
// the permanent domain of the shop
var shopPermanentDomain = 'cuveecoffee.myshopify.com';
const wsgShopOrigin = 'https://cuveecoffee.com';
const wsgThemeTemplate = '404';
//customer
var isWsgCustomer =
false
;
var wsgCustomerTags = null
var wsgCustomerId = null
// execution variables
var wsgRunCollection;
var wsgCollectionObserver;
var wsgRunProduct;
var wsgRunAccount;
var wsgRunCart;
var wsgRunSinglePage;
var wsgRunSignup;
var wsgRunSignupV2;
var runProxy;
// wsgData
var wsgData = {"hostedStore":{"branding":{"isShowLogo":true},"accountPage":{"title":"My Account"},"cartPage":{"description":"","title":"Your Cart"},"catalogPage":{"collections":[],"hideSoldOut":false},"spofPage":{"description":"","title":"Quick Order Form"},"colorSettings":{"background":"#FFFFFF","primaryColor":"#000000","secondaryColor":"#FFFFFF","textColor":"#000000"},"footer":{"privacyPolicy":false,"termsOfService":false},"bannerText":"You are logged in to your wholesale account"},"translations":{"custom":false,"enable":false,"language":"english"},"shop_preferences":{"cart":{"note":{"description":"","isRequired":false},"poNumber":{"isRequired":false,"isShow":false},"termsAndConditions":{"isEnable":false,"text":""}},"exclusionsAndLocksSettings":{},"transitions":{"showTransitions":false,"installedTransitions":false},"retailPrice":{"enable":false,"strikethrough":false,"lowerOpacity":true,"label":" MSRP"},"checkInventory":false,"showShipPartial":false,"exclusions":["retail-only"],"autoBackorder":false,"taxRate":-1,"draftNotification":false,"hideExclusions":true,"minOrder":-1,"customWholesaleDiscountLabel":"","marketSetting":false,"taxLabel":""},"page_styles":{"btnClasses":"","proxyMargin":0,"shipMargin":50},"volume_discounts":{"quantity_discounts":{"enabled":false,"products":[],"collections":[]},"settings":{"product_price_table":{},"custom_messages":{"custom_banner":{"banner_default":true,"banner_input":"Spend {{$}}, receive {{%}} off of your order."},"custom_success":{"success_default":true,"success_input":"Congratulations! You received {{%}} off of your order!"}}},"discounts":[],"enabled":false},"shipping_rates":{"itemReservationOnInternational":{"isEnabledCustomReservationTime":false,"isReserveInventory":false,"reserveInventoryDays":60},"internationalMsg":{"message":"Because you are outside of our home country we will calculate your shipping and send you an invoice shortly.","title":"Thank you for your order!"},"localPickup":{"isEnabled":false,"minOrderPrice":0,"fee":-1,"instructions":"","locations":[],"pickupTime":""},"localDelivery":{"isEnabled":true,"minOrderPrice":0},"fixedPercent":-1,"flatRate":-1,"freeShippingMin":-1,"ignoreAll":false,"ignoreCarrierRates":false,"redirectInternational":false,"useShopifyDefault":true,"deliveryTime":"","handlingFee":-1,"ignoreShopifyFreeRates":false,"autoApplyLowestRate":true,"customShippingRateLabel":"","isIncludeLocalDeliveryInLowestRate":true},"single_page":{"collapseCollections":true,"linkInCart":true,"menuAction":"exclude","message":"","isShowInventoryInfo":true,"isShowSku":true,"isHideSPOFbtn":false},"net_orders":{"netRedirect":{"title":"Thank you for your order!","message":"We've received your order!<br/>A confirmation will be sent to you in the next 2 business days.","autoEmail":false},"netTag":"Wholesale","enabled":true,"autoPending":false,"defaultPaymentTermsTemplateId":"","netTags":[],"isEnabledCustomReservationTime":false,"isReserveInventory":false,"reserveInventoryDays":60},"customer":{"signup":{"autoInvite":false,"autoTags":[],"taxExempt":true},"accountMessage":"","loginMessage":"Log in to your wholesale account here.","redirectMessage":"Keep an eye on your email. As soon as we verify your account we will send you an email with a link to set up your password and start shopping.","accountPendingTitle":"Account Created!"},"quantity":{"cart":{},"collections":[{"rules":{"min":3},"_id":"5e1f2fa6c8aea40016d8106c","id":89163235446,"name":"Wholesale Coffee"}],"products":[],"migratedToCurrent":true},"activeTags":["Tart","Wholesale"],"bulk_discounts":[],"hideDrafts":[],"server_link":"https://calm-coast-69919.herokuapp.com/shop_assets/wsg-index.js","tier":"basic","isPauseShop":false,"installStatus":"complete"}
var wsgTier = 'basic'
// AJAX variables
var wsgRunAjax;
var wsgAjaxCart;
// product variables
var wsgCollectionsList = null
var wsgProdData = null
var wsgCurrentVariant = null;
var wsgCheckRestrictedProd = false;
// Market and tax variables
var wsgShopCountryCode = "US";
var wsgCustomerTaxExempt = null
var wsgCustomerSelectedMarket = {
country: "United States",
iso_code: "US"
}
var wsgPrimaryMarketCurrency = "USD";
// money formatting
var wsgMoneyFormat = "${{amount}}";
// config variables
var wsgAjaxSettings = wsgShopConfig.wsgAjaxSettings;
var wsgSwatch = wsgShopConfig.wsgSwatch;
var wsgPriceSelectors = wsgShopConfig.wsgPriceSelectors;
var wsgVolumeTable = wsgShopConfig.wsgVolumeTable;
var wsgUseLegacyCollection = wsgShopConfig.wsgUseLegacyCollection;
var wsgQVSelector = wsgShopConfig.wsgQVSelector;
var hideDomElements = wsgShopConfig.hideDomElements;
// button color settings
var embedButtonBg = '#000000';
var embedButtonText = '#000000';
// Quick Order Form Label settings
var embedSPOFLabel = '';
// Load WSG script
(function() {
var loadWsg = function(url, callback) {
var script = document.createElement("script");
script.type = "text/javascript";
// If the browser is Internet Explorer.
if (script.readyState) {
script.onreadystatechange = function() {
if (script.readyState == "loaded" || script.readyState == "complete") {
script.onreadystatechange = null;
callback();
}
};
// For any other browser.
} else {
script.onload = function() {
callback();
};
} script.src = url;
document.getElementsByTagName("head")[0].appendChild(script);
};
loadWsg(wsgData.server_link + "?v=6", function() {})
})();
// Run appropriate WSG process
// === PRODUCT===
// === ACCOUNT ===
// === SPOF ===
// === COLLECTION ===
// Run collection on all templates/pages if we're running the 5+ script
wsgRunCollection = true;
// === AJAX CART ===
if (wsgAjaxSettings && (wsgAjaxSettings.price || wsgAjaxSettings.linePrice || wsgAjaxSettings.subtotal || wsgAjaxSettings.checkoutBtn)) {
wsgRunAjax = true;
}
// === CART ===
</script>
<!-- BEGIN app snippet: wsg-exclusions --><script>
const currentPageUrl = "https://cuveecoffee.com/404";
const wsgExclusionConfig = {
currentPageUrl: currentPageUrl,
customerTags: wsgCustomerTags,
productExclusionTags: wsgData.shop_preferences.exclusions,
tagsOverrideExclusions: wsgData.shop_preferences.tagsOverrideExclusions || [],
isWsgCustomer: isWsgCustomer,
//areas we do not want exclusions to run. edge cases, for example hidden products within the 'head' tag. Any time weird parts of site are disappearing
excludedSections: wsgShopConfig.excludedSections,
//used to be col-item, usually product grid item. If a collection isn't repricing OR exclusions leaves gaps. if you set this for 1, you have to set for all.
productSelectors: wsgShopConfig.productSelectors // '.grid__item', '.predictive-search__list-item'
}
var loadExclusions = function (url, callback) {
var script = document.createElement("script");
script.setAttribute("defer", "")
script.type = "text/javascript";
// If the browser is Internet Explorer.
if (script.readyState) {
script.onreadystatechange = function () {
if (script.readyState == "loaded" || script.readyState == "complete") {
script.onreadystatechange = null;
callback();
}
};
// For any other browser.
} else {
script.onload = function () {
callback();
};
}
script.src = url;
document.getElementsByTagName("head")[0].appendChild(script);
};
loadExclusions(wsgData.server_link.split("wsg-index.js")[0] + "wsg-exclusions.js?v=6", function () {
})
</script><!-- END app snippet -->
<link href="//cdn.shopify.com/extensions/b0eb931f-f26e-4e59-99b9-e629374eb2b8/wholesale-gorilla-4/assets/wsg-embed.css" rel="stylesheet" type="text/css" media="all" />
<link href="//cdn.shopify.com/extensions/b0eb931f-f26e-4e59-99b9-e629374eb2b8/wholesale-gorilla-4/assets/wsg-embed.css" rel="stylesheet" type="text/css" media="all" />
<!-- END app app block --><script src="https://cdn.shopify.com/extensions/b0eb931f-f26e-4e59-99b9-e629374eb2b8/wholesale-gorilla-4/assets/wsg-dependencies.js" type="text/javascript" defer="defer"></script>
<script src="https://cdn.shopify.com/extensions/57285714-1b25-45e7-b441-9794aea3b99f/smile-io-66/assets/smile-loader.js" type="text/javascript" defer="defer"></script>
<meta property="og:image" content="https://cdn.shopify.com/s/files/1/0008/6743/4614/files/CuveeCoffee-Checkout.png?height=628&pad_color=ffffff&v=1613519601&width=1200" />
<meta property="og:image:secure_url" content="https://cdn.shopify.com/s/files/1/0008/6743/4614/files/CuveeCoffee-Checkout.png?height=628&pad_color=ffffff&v=1613519601&width=1200" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="628" />
<link href="https://monorail-edge.shopifysvc.com" rel="dns-prefetch">
<script>(function(){if ("sendBeacon" in navigator && "performance" in window) {var session_token = document.cookie.match(/_shopify_s=([^;]*)/);function handle_abandonment_event(e) {var entries = performance.getEntries().filter(function(entry) {return /monorail-edge.shopifysvc.com/.test(entry.name);});if (!window.abandonment_tracked && entries.length === 0) {window.abandonment_tracked = true;var currentMs = Date.now();var navigation_start = performance.timing.navigationStart;var payload = {shop_id: 867434614,url: window.location.href,navigation_start,duration: currentMs - navigation_start,session_token: session_token && session_token.length === 2 ? session_token[1] : "",page_type: "404"};window.navigator.sendBeacon("https://monorail-edge.shopifysvc.com/v1/produce", JSON.stringify({schema_id: "online_store_buyer_site_abandonment/1.1",payload: payload,metadata: {event_created_at_ms: currentMs,event_sent_at_ms: currentMs}}));}}window.addEventListener('pagehide', handle_abandonment_event);}}());</script>
<script id="web-pixels-manager-setup">(function e(e,n,a,t,r){var o="function"==typeof BigInt&&-1!==BigInt.toString().indexOf("[native code]")?"modern":"legacy";window.Shopify=window.Shopify||{};var i=window.Shopify;i.analytics=i.analytics||{};var s=i.analytics;s.replayQueue=[],s.publish=function(e,n,a){return s.replayQueue.push([e,n,a]),!0};try{self.performance.mark("wpm:start")}catch(e){}var l=[a,"/wpm","/b",r,o.substring(0,1),".js"].join("");!function(e){var n=e.src,a=e.async,t=void 0===a||a,r=e.onload,o=e.onerror,i=document.createElement("script"),s=document.head,l=document.body;i.async=t,i.src=n,r&&i.addEventListener("load",r),o&&i.addEventListener("error",o),s?s.appendChild(i):l?l.appendChild(i):console.error("Did not find a head or body element to append the script")}({src:l,async:!0,onload:function(){var a=window.webPixelsManager.init(e);n(a);var t=window.Shopify.analytics;t.replayQueue.forEach((function(e){var n=e[0],t=e[1],r=e[2];a.publishCustomEvent(n,t,r)})),t.replayQueue=[],t.publish=a.publishCustomEvent,t.visitor=a.visitor},onerror:function(){var n=e.storefrontBaseUrl.replace(/\/$/,""),a="".concat(n,"/.well-known/shopify/monorail/unstable/produce_batch"),r=JSON.stringify({metadata:{event_sent_at_ms:(new Date).getTime()},events:[{schema_id:"web_pixels_manager_load/2.0",payload:{version:t||"latest",page_url:self.location.href,status:"failed",error_msg:"".concat(l," has failed to load")},metadata:{event_created_at_ms:(new Date).getTime()}}]});try{if(self.navigator.sendBeacon.bind(self.navigator)(a,r))return!0}catch(e){}var o=new XMLHttpRequest;try{return o.open("POST",a,!0),o.setRequestHeader("Content-Type","text/plain"),o.send(r),!0}catch(e){console&&console.warn&&console.warn("[Web Pixels Manager] Got an unhandled error while logging a load error.")}return!1}})})({shopId: 867434614,storefrontBaseUrl: "https://cuveecoffee.com",cdnBaseUrl: "https://cuveecoffee.com/cdn",surface: "storefront-renderer",enabledBetaFlags: ["5de24938","3b4293f9"],webPixelsConfigList: [{"id":"78643424","configuration":"{\"tagID\":\"2612660626420\"}","eventPayloadVersion":"v1","runtimeContext":"STRICT","scriptVersion":"54f3ea9d23f4af69f7d812fb978ff7ee","type":"APP","apiClientId":3009811,"privacyPurposes":["ANALYTICS","MARKETING","SALE_OF_DATA"]},{"id":"17957088","configuration":"{\"pixelCode\":\"C8EGLV59481ULI7QKCE0\"}","eventPayloadVersion":"v1","runtimeContext":"STRICT","scriptVersion":"0.1.0-99c70b3e91db3b02f187f0b0b5db3b0a","type":"APP","apiClientId":4383523,"privacyPurposes":["ANALYTICS","MARKETING","SALE_OF_DATA"]},{"id":"shopify-app-pixel","configuration":"{}","eventPayloadVersion":"v1","runtimeContext":"STRICT","scriptVersion":"064","apiClientId":"shopify-pixel","type":"APP","purposes":["ANALYTICS","MARKETING"]},{"id":"shopify-custom-pixel","eventPayloadVersion":"v1","runtimeContext":"LAX","scriptVersion":"064","apiClientId":"shopify-pixel","type":"CUSTOM","purposes":["ANALYTICS","MARKETING"]}],initData: {"cart":null,"checkout":null,"customer":null,"productVariants":[]},},function pageEvents(webPixelsManagerAPI) {webPixelsManagerAPI.publish("page_viewed");},"https://cuveecoffee.com/cdn","c157e660c1df6c6d62156dca28587468ee5731eb","4b0714a5we2075becp6bfc88a7mb2acf37a",);</script> <script>window.ShopifyAnalytics = window.ShopifyAnalytics || {};
window.ShopifyAnalytics.meta = window.ShopifyAnalytics.meta || {};
window.ShopifyAnalytics.meta.currency = 'USD';
var meta = {"page":{}};
for (var attr in meta) {
window.ShopifyAnalytics.meta[attr] = meta[attr];
}</script>
<script>window.ShopifyAnalytics.merchantGoogleAnalytics = function() {
//Start of Checkout Steps for ee labelling
var ShopifyCheckoutstep = Shopify.Checkout.step;
switch (ShopifyCheckoutstep) {
case "contact_information":
ga("require", "ec");
ga("ec:setAction", "checkout", {
"step": 1,
"option": ""
});
ga('send', 'event', 'Checkout', 'Viewed Checkout Steps','Contact Information');
break;
case "shipping_method":
ga("require", "ec");
ga("ec:setAction", "checkout", {
"step": 2,
"option": ""
});
ga('send', 'event', 'Checkout', 'Viewed Checkout Steps','Shipping Information');
break;
case "payment_method":
ga("require", "ec");
ga("ec:setAction", "checkout", {
"step": 3,
"option": ""
});
ga('send', 'event', 'Checkout', 'Viewed Checkout Steps','Payment Information');
break;
}
//End of Checkout Steps for ee labelling
if(__st["cid"]){
ga('set', 'dimension1', true);
ga('set', '&uid', __st["cid"]);
}
};
</script>
<script class="analytics">(window.gaDevIds=window.gaDevIds||[]).push('BwiEti');
(function () {
var customDocumentWrite = function(content) {
var jquery = null;
if (window.jQuery) {
jquery = window.jQuery;
} else if (window.Checkout && window.Checkout.$) {
jquery = window.Checkout.$;
}
if (jquery) {
jquery('body').append(content);
}
};
var hasLoggedConversion = function(token) {
if (token) {
return document.cookie.indexOf('loggedConversion=' + token) !== -1;
}
return false;
}
var setCookieIfConversion = function(token) {
if (token) {
var twoMonthsFromNow = new Date(Date.now());
twoMonthsFromNow.setMonth(twoMonthsFromNow.getMonth() + 2);
document.cookie = 'loggedConversion=' + token + '; expires=' + twoMonthsFromNow;
}
}
var trekkie = window.ShopifyAnalytics.lib = window.trekkie = window.trekkie || [];
if (trekkie.integrations) {
return;
}
trekkie.methods = [
'identify',
'page',
'ready',
'track',
'trackForm',
'trackLink'
];
trekkie.factory = function(method) {
return function() {
var args = Array.prototype.slice.call(arguments);
args.unshift(method);
trekkie.push(args);
return trekkie;
};
};
for (var i = 0; i < trekkie.methods.length; i++) {
var key = trekkie.methods[i];
trekkie[key] = trekkie.factory(key);
}
trekkie.load = function(config) {
trekkie.config = config || {};
trekkie.config.initialDocumentCookie = document.cookie;
var first = document.getElementsByTagName('script')[0];
var script = document.createElement('script');
script.type = 'text/javascript';
script.onerror = function(e) {
var scriptFallback = document.createElement('script');
scriptFallback.type = 'text/javascript';
scriptFallback.onerror = function(error) {
var Monorail = {
produce: function produce(monorailDomain, schemaId, payload) {
var currentMs = new Date().getTime();
var event = {
schema_id: schemaId,
payload: payload,
metadata: {
event_created_at_ms: currentMs,
event_sent_at_ms: currentMs
}
};
return Monorail.sendRequest("https://" + monorailDomain + "/v1/produce", JSON.stringify(event));
},
sendRequest: function sendRequest(endpointUrl, payload) {
// Try the sendBeacon API
if (window && window.navigator && typeof window.navigator.sendBeacon === 'function' && typeof window.Blob === 'function' && !Monorail.isIos12()) {
var blobData = new window.Blob([payload], {
type: 'text/plain'
});
if (window.navigator.sendBeacon(endpointUrl, blobData)) {
return true;
} // sendBeacon was not successful
} // XHR beacon
var xhr = new XMLHttpRequest();
try {
xhr.open('POST', endpointUrl);
xhr.setRequestHeader('Content-Type', 'text/plain');
xhr.send(payload);
} catch (e) {
console.log(e);
}
return false;
},
isIos12: function isIos12() {
return window.navigator.userAgent.lastIndexOf('iPhone; CPU iPhone OS 12_') !== -1 || window.navigator.userAgent.lastIndexOf('iPad; CPU OS 12_') !== -1;
}
};
Monorail.produce('monorail-edge.shopifysvc.com',
'trekkie_storefront_load_errors/1.1',
{shop_id: 867434614,
theme_id: 136209891552,
app_name: "storefront",
context_url: window.location.href,
source_url: "//cuveecoffee.com/cdn/s/trekkie.storefront.88baf04046928b6edf6574afd22dbd026cc7d568.min.js"});
};
scriptFallback.async = true;
scriptFallback.src = '//cuveecoffee.com/cdn/s/trekkie.storefront.88baf04046928b6edf6574afd22dbd026cc7d568.min.js';
first.parentNode.insertBefore(scriptFallback, first);
};
script.async = true;
script.src = '//cuveecoffee.com/cdn/s/trekkie.storefront.88baf04046928b6edf6574afd22dbd026cc7d568.min.js';
first.parentNode.insertBefore(script, first);
};
trekkie.load(
{"Trekkie":{"appName":"storefront","development":false,"defaultAttributes":{"shopId":867434614,"isMerchantRequest":null,"themeId":136209891552,"themeCityHash":"15356184126636977404","contentLanguage":"en","currency":"USD"},"isServerSideCookieWritingEnabled":true,"monorailRegion":"shop_domain","enabledBetaFlags":["bbcf04e6"]},"Google Analytics":{"trackingId":"UA-122649303-1","domain":"auto","siteSpeedSampleRate":"10","enhancedEcommerce":true,"doubleClick":true,"includeSearch":true},"Facebook Pixel":{"pixelIds":["140233041308091"],"agent":"plshopify1.2"},"TikTok Pixel":{"pixelId":"C8EGLV59481ULI7QKCE0"},"Google Gtag Pixel":{"conversionId":"G-8Z6HMD6TN2","eventLabels":[{"type":"search","action_label":["G-8Z6HMD6TN2","AW-10877319655\/1N2xCLy89K4DEOfz2sIo"]},{"type":"begin_checkout","action_label":["G-8Z6HMD6TN2","AW-10877319655\/Q9j5CLm89K4DEOfz2sIo"]},{"type":"view_item","action_label":["G-8Z6HMD6TN2","AW-10877319655\/2n75CLu79K4DEOfz2sIo","MC-1ZH02RSVY9"]},{"type":"purchase","action_label":["G-8Z6HMD6TN2","AW-10877319655\/KIADCLi79K4DEOfz2sIo","MC-1ZH02RSVY9"]},{"type":"page_view","action_label":["G-8Z6HMD6TN2","AW-10877319655\/PyuBCLW79K4DEOfz2sIo","MC-1ZH02RSVY9"]},{"type":"add_payment_info","action_label":["G-8Z6HMD6TN2","AW-10877319655\/P6V3CL-89K4DEOfz2sIo"]},{"type":"add_to_cart","action_label":["G-8Z6HMD6TN2","AW-10877319655\/L1CwCL679K4DEOfz2sIo"]}],"targetCountry":"US"},"Session Attribution":{},"S2S":{"facebookCapiEnabled":true,"facebookAppPixelId":"140233041308091","source":"trekkie-storefront-renderer"}}
);
var loaded = false;
trekkie.ready(function() {
if (loaded) return;
loaded = true;
window.ShopifyAnalytics.lib = window.trekkie;
ga('require', 'linker');
function addListener(element, type, callback) {
if (element.addEventListener) {
element.addEventListener(type, callback);
}
else if (element.attachEvent) {
element.attachEvent('on' + type, callback);
}
}
function decorate(event) {
event = event || window.event;
var target = event.target || event.srcElement;
if (target && (target.getAttribute('action') || target.getAttribute('href'))) {
ga(function (tracker) {
var linkerParam = tracker.get('linkerParam');
document.cookie = '_shopify_ga=' + linkerParam + '; ' + 'path=/';
});
}
}
addListener(window, 'load', function(){
for (var i=0; i < document.forms.length; i++) {
var action = document.forms[i].getAttribute('action');
if(action && action.indexOf('/cart') >= 0) {
addListener(document.forms[i], 'submit', decorate);
}
}
for (var i=0; i < document.links.length; i++) {
var href = document.links[i].getAttribute('href');
if(href && href.indexOf('/checkout') >= 0) {
addListener(document.links[i], 'click', decorate);
}
}
});
var originalDocumentWrite = document.write;
document.write = customDocumentWrite;
try { window.ShopifyAnalytics.merchantGoogleAnalytics.call(this); } catch(error) {};
document.write = originalDocumentWrite;
window.ShopifyAnalytics.lib.page(null,{});
var match = window.location.pathname.match(/checkouts\/(.+)\/(thank_you|post_purchase)/)
var token = match? match[1]: undefined;
if (!hasLoggedConversion(token)) {
setCookieIfConversion(token);
}
});
var eventsListenerScript = document.createElement('script');
eventsListenerScript.async = true;
eventsListenerScript.src = "//cuveecoffee.com/cdn/shopifycloud/shopify/assets/shop_events_listener-61fa9e0a912c675e178777d2b27f6cbd482f8912a6b0aa31fa3515985a8cd626.js";
document.getElementsByTagName('head')[0].appendChild(eventsListenerScript);
})();</script>
<script class="boomerang">
(function () {
if (window.BOOMR && (window.BOOMR.version || window.BOOMR.snippetExecuted)) {
return;
}
window.BOOMR = window.BOOMR || {};
window.BOOMR.snippetStart = new Date().getTime();
window.BOOMR.snippetExecuted = true;
window.BOOMR.snippetVersion = 12;
window.BOOMR.application = "storefront-renderer";
window.BOOMR.themeName = "Prestige";
window.BOOMR.themeVersion = "1.1.5";
window.BOOMR.shopId = 867434614;
window.BOOMR.themeId = 136209891552;
window.BOOMR.renderRegion = "gcp-us-east1";
window.BOOMR.url =
"https://cuveecoffee.com/cdn/shopifycloud/boomerang/shopify-boomerang-1.0.0.min.js";
var where = document.currentScript || document.getElementsByTagName("script")[0];
var parentNode = where.parentNode;
var promoted = false;
var LOADER_TIMEOUT = 3000;
function promote() {
if (promoted) {
return;
}
var script = document.createElement("script");
script.id = "boomr-scr-as";
script.src = window.BOOMR.url;
script.async = true;
parentNode.appendChild(script);
promoted = true;
}
function iframeLoader(wasFallback) {
promoted = true;
var dom, bootstrap, iframe, iframeStyle;
var doc = document;
var win = window;
window.BOOMR.snippetMethod = wasFallback ? "if" : "i";
bootstrap = function(parent, scriptId) {
var script = doc.createElement("script");
script.id = scriptId || "boomr-if-as";
script.src = window.BOOMR.url;
BOOMR_lstart = new Date().getTime();
parent = parent || doc.body;
parent.appendChild(script);
};
if (!window.addEventListener && window.attachEvent && navigator.userAgent.match(/MSIE [67]./)) {
window.BOOMR.snippetMethod = "s";
bootstrap(parentNode, "boomr-async");
return;
}
iframe = document.createElement("IFRAME");
iframe.src = "about:blank";
iframe.title = "";
iframe.role = "presentation";
iframe.loading = "eager";
iframeStyle = (iframe.frameElement || iframe).style;
iframeStyle.width = 0;
iframeStyle.height = 0;
iframeStyle.border = 0;
iframeStyle.display = "none";
parentNode.appendChild(iframe);
try {
win = iframe.contentWindow;
doc = win.document.open();
} catch (e) {
dom = document.domain;
iframe.src = "javascript:var d=document.open();d.domain='" + dom + "';void(0);";
win = iframe.contentWindow;
doc = win.document.open();
}
if (dom) {
doc._boomrl = function() {
this.domain = dom;
bootstrap();
};
doc.write("<body onload='document._boomrl();'>");
} else {
win._boomrl = function() {
bootstrap();
};
if (win.addEventListener) {
win.addEventListener("load", win._boomrl, false);
} else if (win.attachEvent) {
win.attachEvent("onload", win._boomrl);
}
}
doc.close();
}
var link = document.createElement("link");
if (link.relList &&
typeof link.relList.supports === "function" &&
link.relList.supports("preload") &&
("as" in link)) {
window.BOOMR.snippetMethod = "p";
link.href = window.BOOMR.url;
link.rel = "preload";
link.as = "script";
link.addEventListener("load", promote);
link.addEventListener("error", function() {
iframeLoader(true);
});
setTimeout(function() {
if (!promoted) {
iframeLoader(true);
}
}, LOADER_TIMEOUT);
BOOMR_lstart = new Date().getTime();
parentNode.appendChild(link);
} else {
iframeLoader(false);
}
function boomerangSaveLoadTime(e) {
window.BOOMR_onload = (e && e.timeStamp) || new Date().getTime();
}
if (window.addEventListener) {
window.addEventListener("load", boomerangSaveLoadTime, false);
} else if (window.attachEvent) {
window.attachEvent("onload", boomerangSaveLoadTime);
}
if (document.addEventListener) {
document.addEventListener("onBoomerangLoaded", function(e) {
e.detail.BOOMR.init({
ResourceTiming: {
enabled: true,
trackedResourceTypes: ["script", "img", "css"]
},
});
e.detail.BOOMR.t_end = new Date().getTime();
});
} else if (document.attachEvent) {
document.attachEvent("onpropertychange", function(e) {
if (!e) e=event;
if (e.propertyName === "onBoomerangLoaded") {
e.detail.BOOMR.init({
ResourceTiming: {
enabled: true,
trackedResourceTypes: ["script", "img", "css"]
},
});
e.detail.BOOMR.t_end = new Date().getTime();
}
});
}
})();</script>
</head>
<!-- - INPUT STATIC FLOATING BUY BUTTON - -->
<!--
<div class="cuveefloatWrapper">
<div class="cuveeFloat">
<a href="https://cuveecoffee.myshopify.com/collections/all-coffee">BUY COFFEE</a>
</div>
</div>
-->
<!-- - INPUT STATIC FLOATING BUY BUTTON - -->
<!-- - INPUT STATIC LOGIN BUTTON - -->
<!--
<div class="cuveeLogin">
<a href="https://cuveecoffee.myshopify.com/account/login">LOGIN</a>
</div>
-->
<!-- - INPUT STATIC LOGIN BUTTON - -->
<body class="prestige--v1 template-404"><!-- Google .Tag Manager (noscript) -->
<noscript
><iframe
src="https://www.googletagmanager.com/ns.html?id=GTM-WJ4HJT4"
height="0"
width="0"
style="display:none;visibility:hidden"
></iframe
></noscript>
<!-- End Google Tag Manager (noscript) -->
<script>!function(s,a,e,v,n,t,z){if(s.saq)return;n=s.saq=function(){n.callMethod?n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!s._saq)s._saq=n;n.push=n;n.loaded=!0;n.version='1.0';n.queue=[];t=a.createElement(e);t.async=!0;t.src=v;z=a.getElementsByTagName(e)[0];z.parentNode.insertBefore(t,z)}(window,document,'script','https://tags.srv.stackadapt.com/events.js');saq('ts', 'agw0OZSENPX45RbH0AL5cg');</script><!-- Google Tag Manager (noscript) -->
<noscript
><iframe
src="https://www.googletagmanager.com/ns.html?id=GTM-T9FKNXB"
height="0"
width="0"
style="display:none;visibility:hidden"
></iframe
></noscript>
<!-- End Google Tag Manager (noscript) -->
<!-- check for active ws customer --><a class="PageSkipLink u-visually-hidden" href="#main">Skip to content</a>
<span class="LoadingBar"></span>
<div class="PageOverlay"></div>
<div class="PageTransition"></div>
<div id="shopify-section-popup" class="shopify-section"></div>
<div id="shopify-section-sidebar-menu" class="shopify-section"><!-- check for active ws customer -->
<section
id="sidebar-menu"
class="tw-z-50 SidebarMenu Drawer Drawer--small Drawer--fromLeft"
aria-hidden="true"
data-section-id="sidebar-menu"
data-section-type="sidebar-menu"
>
<header class="Drawer__Header" data-drawer-animated-left>
<button
class="Drawer__Close Icon-Wrapper--clickable"
data-action="close-drawer"
data-drawer-id="sidebar-menu"
aria-label="Close navigation"
><svg class="Icon Icon--close" role="presentation" viewBox="0 0 16 14">
<path d="M15 0L1 14m14 0L1 0" stroke="currentColor" fill="none" fill-rule="evenodd"></path>
</svg></button>
</header>
<div class="Drawer__Content">
<div class="Drawer__Main" data-drawer-animated-left data-scrollable>
<div class="Drawer__Container">
<nav
class="SidebarMenu__Nav SidebarMenu__Nav--primary"
aria-label="Sidebar navigation"
><div class="Collapsible"><a href="/collections/all-coffee" class="Collapsible__Button Heading Link Link--primary u-h6">BUY COFFEE</a></div><div class="Collapsible"><a href="/pages/subscriptions" class="Collapsible__Button Heading Link Link--primary u-h6">SUBSCRIPTIONS</a></div><div class="Collapsible"><a href="/products/gift-card" class="Collapsible__Button Heading Link Link--primary u-h6">GIFT CARDS</a></div><div class="Collapsible"><a href="/collections/all-gear" class="Collapsible__Button Heading Link Link--primary u-h6">BUY GEAR</a></div><div class="Collapsible"><a href="/pages/about-us" class="Collapsible__Button Heading Link Link--primary u-h6">ABOUT</a></div><div class="Collapsible"><a href="/pages/about-roastery" class="Collapsible__Button Heading Link Link--primary u-h6">ROASTERY</a></div><div class="Collapsible"><a href="https://cuveecoffee.com/pages/cold-brewery" class="Collapsible__Button Heading Link Link--primary u-h6">COLD BREWERY</a></div><div class="Collapsible"><a href="/pages/about-coffee-bar" class="Collapsible__Button Heading Link Link--primary u-h6">COFFEE BAR</a></div><div class="Collapsible"><a href="/pages/contact" class="Collapsible__Button Heading Link Link--primary u-h6">CONTACT</a></div><div class="Collapsible"><a href="/collections/clearance-items/clearance" class="Collapsible__Button Heading Link Link--primary u-h6">CLEARANCE</a></div></nav><nav class="SidebarMenu__Nav SidebarMenu__Nav--secondary">
<ul class="Linklist Linklist--spacingLoose"><li class="Linklist__Item">
<a
href="/account/login"
class="Text--subdued Link Link--primary"
>Account</a>
</li>
</ul>
</nav>
</div>
</div><aside class="Drawer__Footer" data-drawer-animated-bottom><ul class="SidebarMenu__Social HorizontalList HorizontalList--spacingFill">
<li class="HorizontalList__Item">
<a href="https://www.facebook.com/CuveeCoffee/" class="Link Link--primary" target="_blank" rel="noopener" aria-label="Facebook">
<span class="Icon-Wrapper--clickable"><svg class="Icon Icon--facebook" viewBox="0 0 9 17">
<path d="M5.842 17V9.246h2.653l.398-3.023h-3.05v-1.93c0-.874.246-1.47 1.526-1.47H9V.118C8.718.082 7.75 0 6.623 0 4.27 0 2.66 1.408 2.66 3.994v2.23H0v3.022h2.66V17h3.182z"></path>
</svg></span>
</a>
</li>
<li class="HorizontalList__Item">
<a href="https://twitter.com/CuveeCoffee" class="Link Link--primary" target="_blank" rel="noopener" aria-label="Twitter">
<span class="Icon-Wrapper--clickable"><svg class="Icon Icon--twitter" role="presentation" viewBox="0 0 32 26">
<path d="M32 3.077c-1.1748.525-2.4433.8748-3.768 1.031 1.356-.8123 2.3932-2.0995 2.887-3.6305-1.2686.7498-2.6746 1.2997-4.168 1.5934C25.751.796 24.045.0025 22.158.0025c-3.6242 0-6.561 2.937-6.561 6.5612 0 .5124.0562 1.0123.1686 1.4935C10.3104 7.7822 5.474 5.1702 2.237 1.196c-.5624.9687-.8873 2.0997-.8873 3.2994 0 2.2746 1.156 4.2867 2.9182 5.4615-1.075-.0314-2.0872-.3313-2.9745-.8187v.0812c0 3.1806 2.262 5.8363 5.2677 6.4362-.55.15-1.131.2312-1.731.2312-.4248 0-.831-.0438-1.2372-.1188.8374 2.6057 3.262 4.5054 6.13 4.5616-2.2495 1.7622-5.074 2.812-8.1546 2.812-.531 0-1.0498-.0313-1.5684-.0938 2.912 1.8684 6.3613 2.9494 10.0668 2.9494 12.0726 0 18.6776-10.0043 18.6776-18.6776 0-.2874-.0063-.5686-.0188-.8498C30.0066 5.5514 31.119 4.3954 32 3.077z"></path>
</svg></span>
</a>
</li>
<li class="HorizontalList__Item">
<a href="https://www.instagram.com/cuveecoffee/?hl=en" class="Link Link--primary" target="_blank" rel="noopener" aria-label="Instagram">
<span class="Icon-Wrapper--clickable"><svg class="Icon Icon--instagram" role="presentation" viewBox="0 0 32 32">
<path d="M15.994 2.886c4.273 0 4.775.019 6.464.095 1.562.07 2.406.33 2.971.552.749.292 1.283.635 1.841 1.194s.908 1.092 1.194 1.841c.216.565.483 1.41.552 2.971.076 1.689.095 2.19.095 6.464s-.019 4.775-.095 6.464c-.07 1.562-.33 2.406-.552 2.971-.292.749-.635 1.283-1.194 1.841s-1.092.908-1.841 1.194c-.565.216-1.41.483-2.971.552-1.689.076-2.19.095-6.464.095s-4.775-.019-6.464-.095c-1.562-.07-2.406-.33-2.971-.552-.749-.292-1.283-.635-1.841-1.194s-.908-1.092-1.194-1.841c-.216-.565-.483-1.41-.552-2.971-.076-1.689-.095-2.19-.095-6.464s.019-4.775.095-6.464c.07-1.562.33-2.406.552-2.971.292-.749.635-1.283 1.194-1.841s1.092-.908 1.841-1.194c.565-.216 1.41-.483 2.971-.552 1.689-.083 2.19-.095 6.464-.095zm0-2.883c-4.343 0-4.889.019-6.597.095-1.702.076-2.864.349-3.879.743-1.054.406-1.943.959-2.832 1.848S1.251 4.473.838 5.521C.444 6.537.171 7.699.095 9.407.019 11.109 0 11.655 0 15.997s.019 4.889.095 6.597c.076 1.702.349 2.864.743 3.886.406 1.054.959 1.943 1.848 2.832s1.784 1.435 2.832 1.848c1.016.394 2.178.667 3.886.743s2.248.095 6.597.095 4.889-.019 6.597-.095c1.702-.076 2.864-.349 3.886-.743 1.054-.406 1.943-.959 2.832-1.848s1.435-1.784 1.848-2.832c.394-1.016.667-2.178.743-3.886s.095-2.248.095-6.597-.019-4.889-.095-6.597c-.076-1.702-.349-2.864-.743-3.886-.406-1.054-.959-1.943-1.848-2.832S27.532 1.247 26.484.834C25.468.44 24.306.167 22.598.091c-1.714-.07-2.26-.089-6.603-.089zm0 7.778c-4.533 0-8.216 3.676-8.216 8.216s3.683 8.216 8.216 8.216 8.216-3.683 8.216-8.216-3.683-8.216-8.216-8.216zm0 13.549c-2.946 0-5.333-2.387-5.333-5.333s2.387-5.333 5.333-5.333 5.333 2.387 5.333 5.333-2.387 5.333-5.333 5.333zM26.451 7.457c0 1.059-.858 1.917-1.917 1.917s-1.917-.858-1.917-1.917c0-1.059.858-1.917 1.917-1.917s1.917.858 1.917 1.917z"></path>
</svg></span>
</a>
</li>
<li class="HorizontalList__Item">
<a href="https://www.youtube.com/channel/UC8eYqO1rczdkuK79tcfinRg" class="Link Link--primary" target="_blank" rel="noopener" aria-label="YouTube">
<span class="Icon-Wrapper--clickable"><svg class="Icon Icon--youtube" role="presentation" viewBox="0 0 33 32">
<path d="M0 25.693q0 1.997 1.318 3.395t3.209 1.398h24.259q1.891 0 3.209-1.398t1.318-3.395V6.387q0-1.997-1.331-3.435t-3.195-1.438H4.528q-1.864 0-3.195 1.438T.002 6.387v19.306zm12.116-3.488V9.876q0-.186.107-.293.08-.027.133-.027l.133.027 11.61 6.178q.107.107.107.266 0 .107-.107.213l-11.61 6.178q-.053.053-.107.053-.107 0-.16-.053-.107-.107-.107-.213z"></path>
</svg></span>
</a>
</li>
</ul>
</aside></div>
</section>
</div>
<!-- check for active ws customer --><div id="sidebar-cart" class="Drawer Drawer--fromRight" aria-hidden="true" data-section-id="cart" data-section-type="cart" data-section-settings='{
"type": "drawer",
"itemCount": 0,
"drawer": true,
"hasShippingEstimator": false
}'>
<div class="Drawer__Header Drawer__Header--bordered Drawer__Container">
<span class="Drawer__Title Heading u-h4">Cart</span>
<button class="Drawer__Close Icon-Wrapper--clickable" data-action="close-drawer" data-drawer-id="sidebar-cart" aria-label="Close cart"><svg class="Icon Icon--close" role="presentation" viewBox="0 0 16 14">
<path d="M15 0L1 14m14 0L1 0" stroke="currentColor" fill="none" fill-rule="evenodd"></path>
</svg></button>
</div>
<form class="Cart Drawer__Content" action="/cart" method="POST" novalidate>
<div class="Drawer__Main" data-scrollable><p class="Cart__Empty Heading u-h5">Your cart is empty</p></div></form>
</div>
<div class="PageContainer">
<div id="shopify-section-announcement" class="shopify-section"><section id="section-announcement" data-section-id="announcement" data-section-type="announcement-bar">
<div class="AnnouncementBar">
<div class="AnnouncementBar__Wrapper">
<p class="AnnouncementBar__Content Heading"><a href="https://cuveecoffee.com/collections/all-coffee">FREE SHIPPING ON US ORDERS OVER $25</a></p>
</div>
</div>
</section>
<style>
#section-announcement {
background: #ffffff;
color: #3e96db;
}
</style>
<script>
document.documentElement.style.setProperty('--announcement-bar-height', document.getElementById('shopify-section-announcement').offsetHeight + 'px');
</script></div>
<div id="shopify-section-header" class="shopify-section shopify-section--header"><header id="section-header"
class="tw-z-10 Header Header--inline "
data-section-id="header"
data-section-type="header"
data-section-settings='{
"navigationStyle": "inline",
"hasTransparentHeader": false,
"isSticky": true
}'
role="banner">
<div class="Header__Wrapper" id="test-commit">
<div class="Header__FlexItem Header__FlexItem--fill">
<button class="Header__Icon Icon-Wrapper Icon-Wrapper--clickable " aria-expanded="false" data-action="open-drawer" data-drawer-id="sidebar-menu" aria-label="Open navigation">
<span class="hidden-tablet-and-up"><svg class="Icon Icon--nav" role="presentation" viewBox="0 0 20 14">
<path d="M0 14v-1h20v1H0zm0-7.5h20v1H0v-1zM0 0h20v1H0V0z" fill="currentColor"></path>
</svg></span>
<span class="hidden-phone"><svg class="Icon Icon--nav-desktop" role="presentation" viewBox="0 0 24 16">
<path d="M0 15.985v-2h24v2H0zm0-9h24v2H0v-2zm0-7h24v2H0v-2z" fill="currentColor"></path>
</svg></span>
</button>
<nav class="Header__MainNav hidden-pocket hidden-lap" aria-label="Main navigation">
<ul class="HorizontalList HorizontalList--spacingExtraLoose"><li class="HorizontalList__Item " >
<a href="/collections/all-coffee" class="Heading u-h6">BUY COFFEE<span class="Header__LinkSpacer">BUY COFFEE</span></a></li></ul>
</nav></div><div class="Header__FlexItem"><div class="Header__Logo"><a href="/" class="Header__LogoLink"><img class="Header__LogoImage Header__LogoImage--primary"
src="//cuveecoffee.com/cdn/shop/files/CuveeCoffee-UpdatedLogoWhite_200x.png?v=1613517793"
srcset="//cuveecoffee.com/cdn/shop/files/CuveeCoffee-UpdatedLogoWhite_200x.png?v=1613517793 1x, //cuveecoffee.com/cdn/shop/files/CuveeCoffee-UpdatedLogoWhite_200x@2x.png?v=1613517793 2x"
width="200"
alt="Cuvée Coffee"></a></div></div>
<div class="Header__FlexItem Header__FlexItem--fill">
<a href="/cart" class="Header__Icon Icon-Wrapper Icon-Wrapper--clickable" data-action="open-drawer" data-drawer-id="sidebar-cart" aria-expanded="false" aria-label="Open cart">
<span class="hidden-tablet-and-up"><svg class="Icon Icon--cart" role="presentation" viewBox="0 0 17 20">
<path d="M0 20V4.995l1 .006v.015l4-.002V4c0-2.484 1.274-4 3.5-4C10.518 0 12 1.48 12 4v1.012l5-.003v.985H1V19h15V6.005h1V20H0zM11 4.49C11 2.267 10.507 1 8.5 1 6.5 1 6 2.27 6 4.49V5l5-.002V4.49z" fill="currentColor"></path>
</svg></span>
<span class="hidden-phone"><svg class="Icon Icon--cart-desktop" role="presentation" viewBox="0 0 19 23">
<path d="M0 22.985V5.995L2 6v.03l17-.014v16.968H0zm17-15H2v13h15v-13zm-5-2.882c0-2.04-.493-3.203-2.5-3.203-2 0-2.5 1.164-2.5 3.203v.912H5V4.647C5 1.19 7.274 0 9.5 0 11.517 0 14 1.354 14 4.647v1.368h-2v-.912z" fill="currentColor"></path>
</svg></span>
<span class="Header__CartDot ">0</span>
</a>
</div>
</div><div class="cuvee-header-fix-sec">
<a href="/collections/all-coffee">Just give me my coffee ></a>
</div>
</header>
<style>:root {
--use-sticky-header: 1;
}
.shopify-section--header {
position: -webkit-sticky;
position: sticky;
}:root {
--header-is-not-transparent: 1;
--header-is-transparent: 0;
}.cuvee-header-fix-sec {
background-color: #003b4a;
padding: 20px 10px;
text-align:center;
}
.cuvee-header-fix-sec a {
font-size:19px;
line-height:1.05em;
border-bottom:1px solid #3e96db;
color: #3e96db;
text-align: center;
font-weight: 600;
text-transform: uppercase;
}
</style>
<script>
document.documentElement.style.setProperty('--header-height', document.getElementById('shopify-section-header').offsetHeight + 'px');
</script>
</div>
<main id="main" role="main">
<!-- - Check if Customer is Wholesale Begin - -->
<div class="EmptyState">
<div class="Container">
<h3 class="EmptyState__Title Heading u-h5">404</h3>
<p class="EmptyState__Description Text--subdued">The page you are looking for cannot be found.</p>
<a href="/collections/all-coffee" class="EmptyState__Action Button Button--primary">BUY COFFEE</a>
</div>
</div><script id="esc-redirects-404-script" src="https://redirects.eastsideco.io/js/app.js"></script><script data-locksmith>
var load = function () {
Locksmith.initializeSession({silent: window.location.search === ""});
Locksmith.util.on('submit', 'locksmith-resource-form', function (event) {
event.preventDefault();
var data = Locksmith.util.serializeForm(event.target);
Locksmith.postResource(data, { spinner: false, container: 'locksmith-content' });
});
Locksmith.util.on('click', 'locksmith-manual-trigger', function (event) {
event.preventDefault();
Locksmith.postResource({}, { spinner: true, container: document });
});
Locksmith.submitPasscode = function (passcode) {
Locksmith.postResource(
{ passcode: passcode },
{ spinner: false, container: 'locksmith-content' }
);
};
};
if (typeof Locksmith !== 'undefined') {
load();
} else {
window.addEventListener('load', load);
}
</script>
<!-- - Check if Customer is Wholesale End - -->
</main>
<!-- - Klaviyo Tracking Begin - -->
<script type="text/javascript">
var _learnq = _learnq || [];
_learnq.push(['account', 'NCwnhf']);
(function () {
var b = document.createElement('script');
b.type = 'text/javascript';
b.async = true;
b.src =
('https:' == document.location.protocol ? 'https://' : 'http://') +
'a.klaviyo.com/media/js/analytics/analytics.js';
var a = document.getElementsByTagName('script')[0];
a.parentNode.insertBefore(b, a);
})();
</script>
<!-- - Klaviyo Tracking End - -->
<div id="shopify-section-footer" class="shopify-section shopify-section--footer"><!-- check for active ws customer -->
<style>
.ImageHero iframe {
position: inherit!important;
height: 100%;
width: 200%;
left: -50%;
pointer-events: auto!important;
}
@media only screen and (max-width:640px){
.lnviXl.lnviXl {
flex-wrap:wrap;
}
.iBCUJM.iBCUJM, .kRPtuU.kRPtuU {
flex: 1 1 100% !important;
padding-left: 0 !important;
padding-right:0 !important;
}
.kRPtuU.kRPtuU button{
width:100% !important;
}
.kzkVSS.kzkVSS.kzkVSS.kzkVSS.kzkVSS.kzkVSS span.ql-font-lato {
font-size:14px !important;
}
}
</style>
<!--- BEGIN INPUT CUSTOM NEWSLETTER --->
<div id="shopify-section-1535148517448" class="shopify-section"><section id="section-1535148517448"><div class="FlexboxIeFix">
<div class="ImageHero ImageHero--small ImageHero--newsletter" style="background: url(//cdn.shopify.com/s/files/1/0008/6743/4614/files/Newsletter-BG-Black-NEW-compressor_1x1.png?v=1535169180);">
<div class="ImageHero__ImageWrapper">
<div class="ImageHero__Image Image--zoomOut Image--lazyLoaded" data-optimumx="1.4" data-expand="-150" data-bgset="//cdn.shopify.com/s/files/1/0008/6743/4614/files/Newsletter-BG-Black-NEW-compressor_750x500_crop_center.png?v=1535169180 750w, //cdn.shopify.com/s/files/1/0008/6743/4614/files/Newsletter-BG-Black-NEW-compressor_1000x.png?v=1535169180 1000w, //cdn.shopify.com/s/files/1/0008/6743/4614/files/Newsletter-BG-Black-NEW-compressor_1500x.png?v=1535169180 1500w" style="background-image: url("https://cdn.shopify.com/s/files/1/0008/6743/4614/files/Newsletter-BG-Black-NEW-compressor_1500x.png?v=1535169180"); background-position: center right;">
<picture style="display: none;"><source data-srcset="//cdn.shopify.com/s/files/1/0008/6743/4614/files/Newsletter-BG-Black-NEW-compressor_750x500_crop_center.png?v=1535169180 750w, //cdn.shopify.com/s/files/1/0008/6743/4614/files/Newsletter-BG-Black-NEW-compressor_1000x.png?v=1535169180 1000w, //cdn.shopify.com/s/files/1/0008/6743/4614/files/Newsletter-BG-Black-NEW-compressor_1500x.png?v=1535169180 1500w" sizes="1441px" srcset="//cdn.shopify.com/s/files/1/0008/6743/4614/files/Newsletter-BG-Black-NEW-compressor_750x500_crop_center.png?v=1535169180 750w, //cdn.shopify.com/s/files/1/0008/6743/4614/files/Newsletter-BG-Black-NEW-compressor_1000x.png?v=1535169180 1000w, //cdn.shopify.com/s/files/1/0008/6743/4614/files/Newsletter-BG-Black-NEW-compressor_1500x.png?v=1535169180 1500w"><img alt="" class="lazyautosizes Image--lazyLoaded" data-sizes="auto" data-optimumx="1.4" data-parent-fit="cover" data-srcset="" sizes="1441px"></picture></div>
<noscript>
<div class="ImageHero__Image" style="background-image: url(//cdn.shopify.com/s/files/1/0008/6743/4614/files/Newsletter-BG-Black-NEW-compressor_1000x.png?v=1535169180);"></div>
</noscript></div>
<div class="ImageHero__ContentOverlay">
<header class="SectionHeader SectionHeader--center" style="margin-bottom:0;"><h3 class="SectionHeader__SubHeading Heading u-h6 cuvee-subheadline">YOU'VE GOT</h3><h2 class="SectionHeader__Heading Heading u-h1 cuvee-h2-title remove-bottom-margin">COFFEE MAIL</h2></header>
<div class="klaviyo-form-VE9zUg"></div>
</div>
</div>
</div>
</section>
<script>
var actCallback = function (response) {
$('#contactFormSubmit').prop("disabled", false);
$('#re-captcha').remove();
};
var expCallback = function() {
$('#contactFormSubmit').prop("disabled", true);
};
var onloadCallback = function () {
var widget = grecaptcha.render(document.getElementById("re-captcha"), {
'sitekey' : "6LcOu4kUAAAAABoDrebbKFnP1xQO8CKnzmxF58jb", // Sitekey, Retrieving from reCaptcha
'theme': "light",
'callback' : actCallback,
'expired-callback': expCallback,
});
}
</script>
<style>
#section-1535148517448,
#section-1535148517448 .Heading {
color: #ffffff;
}
#section-1535148517448 .Form__Submit {
border-color: #ffffff;
color: #000000;
}
#section-1535148517448 .Form__Submit::before {
background-color: #ffffff;
}
@media (-moz-touch-enabled: 0), (hover: hover) {
#section-1535148517448 .Form__Submit:hover {
color: #ffffff;
}
}
</style>
</div>
<!--- END INPUT CUSTOM NEWSLETTER --->
<footer id="section-footer" style="margin-top:0;" class="Footer " role="contentinfo">
<div class="Container">
<div class="Footer__Inner"><div class="Footer__Block Footer__Block--links" ><h2 class="Footer__Title Heading u-h6">SHOP</h2>
<ul class="Linklist"><li class="Linklist__Item">
<a href="/collections/all-coffee" class="Link Link--primary">Coffee</a>
</li><li class="Linklist__Item">
<a href="/pages/subscriptions" class="Link Link--primary">Subscriptions</a>
</li><li class="Linklist__Item">
<a href="/collections/all-gear" class="Link Link--primary">Gear</a>
</li></ul></div><div class="Footer__Block Footer__Block--links" ><h2 class="Footer__Title Heading u-h6">COMPANY</h2>
<ul class="Linklist"><li class="Linklist__Item">
<a href="/pages/about-us" class="Link Link--primary">About</a>
</li><li class="Linklist__Item">
<a href="/pages/about-roastery" class="Link Link--primary">Roastery</a>
</li><li class="Linklist__Item">
<a href="https://cuveecoffee.com/pages/cold-brewery" class="Link Link--primary">Cold Brewery</a>
</li><li class="Linklist__Item">
<a href="/pages/about-coffee-bar" class="Link Link--primary">Coffee Bar</a>
</li><li class="Linklist__Item">
<a href="/blogs/news" class="Link Link--primary">What's Brewing</a>
</li></ul></div><div class="Footer__Block Footer__Block--links" ><h2 class="Footer__Title Heading u-h6">HELP</h2>
<ul class="Linklist"><li class="Linklist__Item">
<a href="/pages/frequently-asked-questions" class="Link Link--primary">FAQs</a>
</li><li class="Linklist__Item">
<a href="/pages/contact" class="Link Link--primary">Contact</a>
</li><li class="Linklist__Item">
<a href="/pages/wholesale-and-retail-inquiry" class="Link Link--primary">Wholesale Inquiry</a>
</li><li class="Linklist__Item">
<a href="/pages/privacy-policy" class="Link Link--primary">Privacy Policy</a>
</li><li class="Linklist__Item">
<a href="/pages/accessibility-statement" class="Link Link--primary">Accessibility Statement</a>
</li><li class="Linklist__Item">
<a href="https://cuveecoffee.com/account/login" class="Link Link--primary">Account Login</a>
</li><li class="Linklist__Item">
<a href="/policies/refund-policy" class="Link Link--primary">Refund Policy</a>
</li><li class="Linklist__Item">
<a href="/policies/terms-of-service" class="Link Link--primary">Terms of Service</a>
</li></ul></div><div class="Footer__Block Footer__Block--text" ><h2 class="Footer__Title Heading u-h6">SOCIAL</h2><div class="Footer__Content Rte">
<p>#Its5AMSomewhere #CuveeAllDay</p>
</div><ul class="Footer__Social HorizontalList HorizontalList--spacingLoose">
<li class="HorizontalList__Item">
<a href="https://www.facebook.com/CuveeCoffee/" class="Link Link--primary" target="_blank" rel="noopener" aria-label="Facebook">
<span class="Icon-Wrapper--clickable"><svg class="Icon Icon--facebook" viewBox="0 0 9 17">
<path d="M5.842 17V9.246h2.653l.398-3.023h-3.05v-1.93c0-.874.246-1.47 1.526-1.47H9V.118C8.718.082 7.75 0 6.623 0 4.27 0 2.66 1.408 2.66 3.994v2.23H0v3.022h2.66V17h3.182z"></path>
</svg></span>
</a>
</li>
<li class="HorizontalList__Item">
<a href="https://twitter.com/CuveeCoffee" class="Link Link--primary" target="_blank" rel="noopener" aria-label="Twitter">
<span class="Icon-Wrapper--clickable"><svg class="Icon Icon--twitter" role="presentation" viewBox="0 0 32 26">
<path d="M32 3.077c-1.1748.525-2.4433.8748-3.768 1.031 1.356-.8123 2.3932-2.0995 2.887-3.6305-1.2686.7498-2.6746 1.2997-4.168 1.5934C25.751.796 24.045.0025 22.158.0025c-3.6242 0-6.561 2.937-6.561 6.5612 0 .5124.0562 1.0123.1686 1.4935C10.3104 7.7822 5.474 5.1702 2.237 1.196c-.5624.9687-.8873 2.0997-.8873 3.2994 0 2.2746 1.156 4.2867 2.9182 5.4615-1.075-.0314-2.0872-.3313-2.9745-.8187v.0812c0 3.1806 2.262 5.8363 5.2677 6.4362-.55.15-1.131.2312-1.731.2312-.4248 0-.831-.0438-1.2372-.1188.8374 2.6057 3.262 4.5054 6.13 4.5616-2.2495 1.7622-5.074 2.812-8.1546 2.812-.531 0-1.0498-.0313-1.5684-.0938 2.912 1.8684 6.3613 2.9494 10.0668 2.9494 12.0726 0 18.6776-10.0043 18.6776-18.6776 0-.2874-.0063-.5686-.0188-.8498C30.0066 5.5514 31.119 4.3954 32 3.077z"></path>
</svg></span>
</a>
</li>
<li class="HorizontalList__Item">
<a href="https://www.instagram.com/cuveecoffee/?hl=en" class="Link Link--primary" target="_blank" rel="noopener" aria-label="Instagram">
<span class="Icon-Wrapper--clickable"><svg class="Icon Icon--instagram" role="presentation" viewBox="0 0 32 32">
<path d="M15.994 2.886c4.273 0 4.775.019 6.464.095 1.562.07 2.406.33 2.971.552.749.292 1.283.635 1.841 1.194s.908 1.092 1.194 1.841c.216.565.483 1.41.552 2.971.076 1.689.095 2.19.095 6.464s-.019 4.775-.095 6.464c-.07 1.562-.33 2.406-.552 2.971-.292.749-.635 1.283-1.194 1.841s-1.092.908-1.841 1.194c-.565.216-1.41.483-2.971.552-1.689.076-2.19.095-6.464.095s-4.775-.019-6.464-.095c-1.562-.07-2.406-.33-2.971-.552-.749-.292-1.283-.635-1.841-1.194s-.908-1.092-1.194-1.841c-.216-.565-.483-1.41-.552-2.971-.076-1.689-.095-2.19-.095-6.464s.019-4.775.095-6.464c.07-1.562.33-2.406.552-2.971.292-.749.635-1.283 1.194-1.841s1.092-.908 1.841-1.194c.565-.216 1.41-.483 2.971-.552 1.689-.083 2.19-.095 6.464-.095zm0-2.883c-4.343 0-4.889.019-6.597.095-1.702.076-2.864.349-3.879.743-1.054.406-1.943.959-2.832 1.848S1.251 4.473.838 5.521C.444 6.537.171 7.699.095 9.407.019 11.109 0 11.655 0 15.997s.019 4.889.095 6.597c.076 1.702.349 2.864.743 3.886.406 1.054.959 1.943 1.848 2.832s1.784 1.435 2.832 1.848c1.016.394 2.178.667 3.886.743s2.248.095 6.597.095 4.889-.019 6.597-.095c1.702-.076 2.864-.349 3.886-.743 1.054-.406 1.943-.959 2.832-1.848s1.435-1.784 1.848-2.832c.394-1.016.667-2.178.743-3.886s.095-2.248.095-6.597-.019-4.889-.095-6.597c-.076-1.702-.349-2.864-.743-3.886-.406-1.054-.959-1.943-1.848-2.832S27.532 1.247 26.484.834C25.468.44 24.306.167 22.598.091c-1.714-.07-2.26-.089-6.603-.089zm0 7.778c-4.533 0-8.216 3.676-8.216 8.216s3.683 8.216 8.216 8.216 8.216-3.683 8.216-8.216-3.683-8.216-8.216-8.216zm0 13.549c-2.946 0-5.333-2.387-5.333-5.333s2.387-5.333 5.333-5.333 5.333 2.387 5.333 5.333-2.387 5.333-5.333 5.333zM26.451 7.457c0 1.059-.858 1.917-1.917 1.917s-1.917-.858-1.917-1.917c0-1.059.858-1.917 1.917-1.917s1.917.858 1.917 1.917z"></path>
</svg></span>
</a>
</li>
<li class="HorizontalList__Item">
<a href="https://www.youtube.com/channel/UC8eYqO1rczdkuK79tcfinRg" class="Link Link--primary" target="_blank" rel="noopener" aria-label="YouTube">
<span class="Icon-Wrapper--clickable"><svg class="Icon Icon--youtube" role="presentation" viewBox="0 0 33 32">
<path d="M0 25.693q0 1.997 1.318 3.395t3.209 1.398h24.259q1.891 0 3.209-1.398t1.318-3.395V6.387q0-1.997-1.331-3.435t-3.195-1.438H4.528q-1.864 0-3.195 1.438T.002 6.387v19.306zm12.116-3.488V9.876q0-.186.107-.293.08-.027.133-.027l.133.027 11.61 6.178q.107.107.107.266 0 .107-.107.213l-11.61 6.178q-.053.053-.107.053-.107 0-.16-.053-.107-.107-.107-.213z"></path>
</svg></span>
</a>
</li>
</ul>
</div></div>
<div class="Footer__Aside">
<div class="Footer__Copyright">
<a style="color:#fff;" href="https://cuveecoffee.com" class="Footer__StoreName Heading u-h7 Link Link--secondary">© Cuvée Coffee</a><p class="Footer__ThemeAuthor"> | <a class="Link Link--primary" target="_blank" rel="nofollow" href="https://www.shopify.com?utm_campaign=poweredby&utm_medium=shopify&utm_source=onlinestore">Powered by Shopify</a></p>
</div></div>
</div>
</footer>
</div>
</div><div id="Search" class="Search Modal Modal--fullScreen" aria-hidden="true" data-scrollable>
<div class="Search__SearchBar">
<form action="/search" name="GET" role="search" class="Search__Form">
<input
type="search"
class="Search__Input Heading"
name="q"
autocomplete="off"
autocorrect="off"
autocapitalize="off"
placeholder="Search..."
autofocus
>
<input type="hidden" name="type" value="product">
</form>
<button class="Search__Close Link Link--primary" data-action="close-modal">
<svg class="Icon Icon--close" role="presentation" viewBox="0 0 16 14">
<path d="M15 0L1 14m14 0L1 0" stroke="currentColor" fill="none" fill-rule="evenodd"></path>
</svg>
</button>
</div>
<div class="Search__Results"><div class="PageLayout PageLayout--breakLap">
<div class="PageLayout__Section"></div>
<div class="PageLayout__Section PageLayout__Section--secondary"></div>
</div></div>
</div>
<!-- Subscriptions Powered by ReCharge Payments: Begin Liquid Code -->
<!--
Subscription Theme Footer
http://rechargepayments.com: v2
Updated: 2017/09/12
-->
<script>
// Subscriptions Powered by ReCharge Payments: JavaScript
(function() {
// Basic function to load script files, will be used to include jQuery
var loadScript = function(url, callback) {
var script = document.createElement("script");
script.type = "text/javascript";
// If the browser is Internet Explorer
if (script.readyState){
script.onreadystatechange = function() {
if (script.readyState == "loaded" || script.readyState == "complete") {
script.onreadystatechange = null;
callback();
}
};
// For any other browser
} else {
script.onload = function() {
callback();
};
}
script.src = url;
document.getElementsByTagName("head")[0].appendChild(script);
};
// This is our JavaScript that we'll run after jQuery is included
var reChargeThemeFooterJS = function($) {
function reChargeSaveCartNoteAndRedirectToCart() {
var has_cart_note_or_attribute = false;
try {
var data = {};
if ($('[name="note"]').val() != undefined) {
var note = $('[name="note"]').val();
data['note'] = note;
has_cart_note_or_attribute = true;
}
if (has_cart_note_or_attribute) {
$.ajax({
type: 'POST',
data: data,
url: '/cart/update.js',
dataType: 'json',
success: function() {
window.location.href = '/cart';
}
});
} else {
window.location.href = '/cart';
}
} catch (e) {
window.location.href = '/cart';
}
}
var checkout_button_selectors = '[href="/checkout"], form[action="/cart"] button[type="submit"], form[action="/cart"] input[type="submit"], form[action="/checkout"] input[type="submit"], form[action="/checkout"] button[type="submit"]';
$(document).on('click', checkout_button_selectors, function(e) {
if (!e.target.hasAttribute('data-disable-recharge')) {
e.preventDefault();
var paramCart = '&cart_token=' + (document.cookie.match('(^|; )cart=([^;]*)')||0)[2];
$.ajax({
type: 'GET',
url: '/cart.js',
dataType: 'text',
success: function(data) {
if (data.indexOf("shipping_interval_frequency") > -1) {
var paramDomain = 'myshopify_domain=cuveecoffee.myshopify.com';
try {
var paramLinker = "&" + ga.getAll()[0].get('linkerParam');
} catch (err) {
var paramLinker = '';
}
var paramCustomer = '';
window.location = "https://checkout.rechargeapps.com/r/checkout?" + paramDomain + paramCart + paramLinker + paramCustomer;
} else {
window.location = '/checkout';
}
}
});
} else {
console.info('ReCharge disabled');
}
});
}
// Check if jQuery is added, if not, then we'll loadScript, otherwise, run reChargeJS
if ((typeof(jQuery) == 'undefined') || (parseInt(jQuery.fn.jquery) == 1 && parseFloat(jQuery.fn.jquery.replace(/^1\./,"")) < 7.2)) {
// We'll get our jQuery from Google APIs
loadScript('//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js', function() {
jQuery172 = jQuery.noConflict(true);
reChargeThemeFooterJS(jQuery172);
});
} else {
reChargeThemeFooterJS(jQuery);
}
})();
</script>
<!-- Subscriptions Powered by ReCharge Payments: End Liquid Code -->
<script>window.__sumoShopify = {product:null, customer: null};</script>
<!-- - AudioEye Begin - -->
<script type="text/javascript">
!(function () {
var t = function () {
var t = document.createElement('script');
(t.src = 'https://ws.audioeye.com/ae.js'),
(t.type = 'text/javascript'),
t.setAttribute('async', ''),
document.getElementsByTagName('body')[0].appendChild(t);
};
'complete' !== document.readyState
? window.addEventListener
? window.addEventListener('load', t)
: window.attachEvent && window.attachEvent('onload', t)
: t();
})();
</script>
<!-- - AudioEye End - -->
<script>
if(typeof(Spurit) === 'undefined'){
var Spurit = {};
}
if(!Spurit['Discountmanager']){
Spurit['Discountmanager'] = {};
}
if(!Spurit['Discountmanager'].snippet){
Spurit['Discountmanager'].snippet = {};
}
if (!Spurit['Discountmanager'].snippet.products) {
Spurit['Discountmanager'].snippet.products = {};
}
Spurit['Discountmanager'].snippet.userId = '220625';
Spurit['Discountmanager'].snippet.signature = 'a23e476815f047961617eee9fdc99708';
Spurit['Discountmanager'].snippet.domain = 'https://discountmanager.amai.com';
Spurit['Discountmanager'].snippet.flashSaleUrl = 'https://cuveecoffee.com/pages/';
Spurit['Discountmanager'].snippet.mixCdnCommonUrl = 'https://amaicdn.com/discountmanager';
Spurit['Discountmanager'].snippet.shopHash = '86a2996ae26dd216db731b4218ecb508';
Spurit['Discountmanager'].snippet.appDataFile = '//cuveecoffee.com/cdn/shop/t/54/assets/dmr.js?v=32924881061913555841664783591';
Spurit['Discountmanager'].snippet.loopStep = 6;
Spurit['Discountmanager'].snippet.logStt = {productPage: false, cartPage: false, cartDrawer: false};
</script>
<!-- Back in Stock helper snippet -->
<script id="back-in-stock-helper">
var _BISConfig = _BISConfig || {};
</script>
<!-- .End Back in Stock helper snippet -->
<div class="smile-shopify-init"
data-channel-key="channel_M1VVJ6SalxDkALtCkqa6u4aD"
></div>
<script> !(function () { if (window.OCUIncart) return; window.Zipify = window.Zipify || {}; window.OCUApi = window.OCUApi || {}; Zipify.OCU = { api: OCUApi }; })() </script>
<style>.ocu-hidden.ocu-hidden.ocu-hidden,.bold_hidden.bold_hidden.bold_hidden{display:none !important}</style>
<script>
!function(){
if (window.OCUIncart) return;const loopReturns=JSON.parse(localStorage.getItem('loop-onstore-data'));if (loopReturns && loopReturns.active) return;
const _excluded=["token"];function _objectWithoutProperties(t,e){if(null==t)return{};var i,n=_objectWithoutPropertiesLoose(t,e);if(Object.getOwnPropertySymbols)for(var r=Object.getOwnPropertySymbols(t),o=0;o<r.length;o++)i=r[o],0<=e.indexOf(i)||Object.prototype.propertyIsEnumerable.call(t,i)&&(n[i]=t[i]);return n}function _objectWithoutPropertiesLoose(t,e){if(null==t)return{};for(var i,n={},r=Object.keys(t),o=0;o<r.length;o++)i=r[o],0<=e.indexOf(i)||(n[i]=t[i]);return n}function ownKeys(e,t){var i,n=Object.keys(e);return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(e),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)),n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(i),!0).forEach(function(t){_defineProperty(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):ownKeys(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function _defineProperty(t,e,i){return(e=_toPropertyKey(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function _toPropertyKey(t){t=_toPrimitive(t,"string");return"symbol"==typeof t?t:String(t)}function _toPrimitive(t,e){if("object"!=typeof t||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0===i)return("string"===e?String:Number)(t);e=i.call(t,e||"default");if("object"!=typeof e)return e;throw new TypeError("@@toPrimitive must return a primitive value.")}const ocuCdn="https://d1u9wuqimc88kc.cloudfront.net",APP_HOST="https://ocu.zipify.com";if(Zipify.OCU.api.loaded=Zipify.OCU.api.loaded||{},Zipify.OCU.loadScriptTags=function(){OCU_SCRIPT_TAGS=Zipify.OCU.lqd.scripts,OCU_SCRIPT_TAGS.forEach(t=>{const e=document.createElement("script");Zipify.OCU.api.loaded[t]=!0,e.src=`https://d1npnstlfekkfz.cloudfront.net/${t}.js`,e.defer=!0,document.head.append(e)})},window.performance){const M=window.performance.getEntriesByType&&window.performance.getEntriesByType("navigation"),N=()=>{window.OCUApi&&!OCUApi.preventReloadOnNavigate&&location.reload()};(M&&0<M.length&&"back_forward"===M[0].type||window.performance.navigation&&window.performance.navigation.type===window.performance.navigation.TYPE_BACK_FORWARD)&&N()}!function(){var t,e=[];window.Promise||e.push("Promise"),window.URLSearchParams||e.push("URL"),Element.prototype.closest||e.push("Element.prototype.closest"),Array.from||e.push("Array.from"),Object.assign||e.push("Object.assign"),Object.entries||e.push("Object.entries"),Object.values||e.push("Object.values"),Array.prototype.includes||e.push("Array.prototype.includes");try{new Event("event")}catch(t){e.push("Event")}try{Symbol}catch(t){e.push("Symbol")}e.length&&((t=document.createElement("script")).src="https://cdn.polyfill.io/v3/polyfill.min.js?features="+e.join(",")+"&flags=gated",t.async=!0,document.head.appendChild(t)),Object.setPrototypeOf=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t}}();var ajax,originalURLSearchParams=URLSearchParams,utils={store:Object.freeze(new Store),cookie:{options:{expires:86400,path:"/",encodeValue:!1},get:function(t){t=document.cookie.match(new RegExp("(?:^|; )"+t.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)"));return t?decodeURIComponent(t[1]):void 0},set:function(t,e,i){var n,r=(i=i||this.options).expires;"number"==typeof r&&r&&((n=new Date).setTime(n.getTime()+1e3*r),r=i.expires=n),r&&r.toUTCString&&(i.expires=r.toUTCString());var o,s=t+"="+(e=encodeURIComponent(e));for(o in i){s+="; "+o;var c=i[o];!0!==c&&(s+="="+c)}document.cookie=s},remove:function(t){this.set(t,null,{expires:-1})}},queryParams:function(t){var i={};return t.replace("?","").split("&").forEach(function(t){var e=t.split("=")[0],t=t.split("=")[1];i[e]=decodeURIComponent(t)}),i},shareableDiscount:function(t){t=t||{};var e=utils.queryParams(location.search)[t.key||"discount"];e&&(utils.cookie.set(t.name||"ocu-share-discount",e,utils.cookie.options),t.clear&&history.pushState(null,null,location.href.replace(/\?.+/,"")))},serializeForm:function(t){return new originalURLSearchParams(new FormData(t).fd||new FormData(t)).toString()},serializeFormEdge:function(t){var e,n=[];if("object"==typeof t&&"FORM"==t.nodeName){var r=t.elements.length;for(i=0;i<r;i++)if((e=t.elements[i]).name&&!e.disabled&&"file"!=e.type&&"reset"!=e.type&&"submit"!=e.type&&"button"!=e.type)if("select-multiple"==e.type)for(j=t.elements[i].options.length-1;0<=j;j--)e.options[j].selected&&(n[n.length]=encodeURIComponent(e.name)+"="+encodeURIComponent(e.options[j].value));else("checkbox"!=e.type&&"radio"!=e.type||e.checked)&&(n[n.length]=encodeURIComponent(e.name)+"="+encodeURIComponent(e.value))}return n.join("&").replace(/%20/g,"+")},serialize:function(n,r,o,s){return this.helpers.isFormData(r)&&(s=o,o=r,r=null),(r=r||{}).indices=r.indices||!1,o=o||new originalURLSearchParams,this.helpers.isUndefined(n)||(this.helpers.isNull(n)?o.append(s,""):this.helpers.isArray(n)?n.length?n.forEach(function(t,e){e=s+"["+(r.indices&&"object"==typeof t?e:"")+"]";this.serialize(t,r,o,e)}.bind(this)):(t=s+"[]",o.append(t,"")):this.helpers.isDate(n)?o.append(s,n.toISOString()):!this.helpers.isObject(n)||this.helpers.isFile(n)||this.helpers.isBlob(n)?o.append(s,n):Object.keys(n).forEach(function(t){var e=n[t];if(this.helpers.isArray(e))for(;2<t.length&&t.lastIndexOf("[]")===t.length-2;)t=t.substring(0,t.length-2);var i=s?s+"["+t+"]":t;this.serialize(e,r,o,i)}.bind(this))),o;var t},inArray:function(t,e,i){return t.some(function(t){return t[e]===i})},filterObject:function(i,t){return t.reduce(function(t,e){return t[e]=i[e],t},{})},helpers:{isUndefined:function(t){return void 0===t},isNull:function(t){return null===t},isObject:function(t){return t===Object(t)},isArray:function(t){return Array.isArray(t)},isDate:function(t){return t instanceof Date},isBlob:function(t){return t&&"number"==typeof t.size&&"string"==typeof t.type&&"function"==typeof t.slice},isFile:function(t){return this.isBlob(t)&&("object"==typeof t.lastModifiedDate||"number"==typeof t.lastModified)&&"string"==typeof t.name},isFormData:function(t){return t instanceof FormData}}};Zipify.OCU.PrecheckoutIntegrations=function(t){this.cartItems=t},window.OCUIncart=window.OCUIncart||{},window.OCUIncart.integrations=t=>new Zipify.OCU.PrecheckoutIntegrations(t),Zipify.OCU.PrecheckoutIntegrations.prototype={get advancedProductOptions(){const t=this.cartItems;return{get present(){return!!window.mwProductOptions},get relations(){return t.reduce(function(t,e){return e.properties&&e.properties._mw_option_relation&&t.push(+e.properties._mw_option_relation.split("_")[0]),t},[])}}},get zapiet(){return{get present(){return!(!window.Zapiet||!document.querySelector("#storePickupApp"))},get params(){var t=Zapiet.Cart&&Zapiet.Cart.getUrlParams()||{};return Object.entries(t).reduce(function(t,e){if(/^\s*$/.test(e[1]))return t;const i={};return i[e[0]]=e[1],t.push(i),t},[])},merge:function(t){return(t||[]).concat(this.params)}}},get simpleInStorePickup(){return{get present(){var t=document.querySelector("#in-store-pick-up");return t&&t.checked},get params(){const t=document.querySelector('form[action^="/cart"]');if(!t)return[];const e=t.action.split(/\?|&/),i=e.slice(7).slice(0,3);var n=e.slice(-6);const r=i.concat(n);return r.reduce(function(t,e){e=e.split("=");const i={};return i[e[0]]=decodeURIComponent(e[1]),t.push(i),t},[])},merge:function(t){return(t||[]).concat(this.params)}}},get weglot(){return{get present(){return!!window.Weglot},get params(){return[{locale:window.Weglot.getCurrentLang()}]},merge:function(t){return(t||[]).concat(this.params)}}},get bt(){return{get present(){return!(!window.BT||!window.$)},get addToCartBtn(){return document.querySelector('button[name="add"]')},startLoadingBtn:function(){BT.startLoadingBtn($(this.addToCartBtn))},endLoadingBtn:function(){BT.endLoadingBtn($(this.addToCartBtn))}}},get exemptify(){return{get present(){var t=document.querySelector('[name="checkout-exemptify"]'),e=document.querySelectorAll("[data-ocu-checkout]");return!!t&&1<e.length}}},get tidio(){return{stateStorageKey:null,selector:{main:'script[src*="code.tidio.co"]',fallback:'script[src*="code.tidio"],script[src*="code"][src*="tidio"],script[src*="uploads/redirect"][src*="tidio"]'},get present(){return!!window.tidioChatApi},get storageKey(){return this.stateStorageKey||(this.stateStorageKey="tidio_state_"+(this.publickey||"preview"))},get publickey(){let t=document.querySelector(this.selector.main);t=t||document.querySelector(this.selector.fallback);var e=/([a-z0-9]+)(\.js|$)/g.exec(t.src);if(e&&32===e[1].length)return e[1]},saveKeyToStorage:function(t,e){e=JSON.stringify(e);localStorage.setItem(this.storageKey+"_"+t,e)},trackEvent:function(t,e){window.tidioChatApi.track("shopify."+t,{},e||function(){})},track:function(){try{this.saveKeyToStorage("goToCheckout",!0),this.trackEvent("go_to_checkout")}catch(t){console.log("tidio integration error",t.message)}}}},get buttonLoading(){return{idTheme:null,typeButton:null,typeElement:null,context:null,init(t){this.idTheme=this.supportTheme;const e=t.querySelector('[name="add"], [name="checkout"]')||t;this.typeButton=e.getAttribute("name")},get present(){return!(!window.hasOwnProperty("Shopify")||void 0===window.Shopify||Shopify.theme.id!==this.idTheme)},get buttonSelector(){return{checkout:'button[name="checkout"]',add:'button[name="add"]'}[this.typeButton]},get supportTheme(){const t=[120471879906],e=[120430788673];if(-1!==t.indexOf(Shopify.theme.id)){this.typeElement="class";var i=t.indexOf(Shopify.theme.id);return t[i]}if(-1!==e.indexOf(Shopify.theme.id)){this.typeElement="element";i=e.indexOf(Shopify.theme.id);return e[i]}},get buttonElements(){return document.querySelectorAll(this.buttonSelector)},get checkCondition(){return this.present&&0<this.buttonElements.length},get loaderSelector(){return{120471879906:"btn--loading"}[this.idTheme]},get loaderElement(){return{120430788673:'<i class="fa fa-spinner fa-spin"></i>'}[this.idTheme]},startingLoadingAction(){var t;null===(t={class:this.addingClasses,element:this.insertElements}[this.typeElement])||void 0===t||t.call(this)},endingLoadingAction(){var t;null===(t={class:this.deletingClasses,element:this.deleteElements}[this.typeElement])||void 0===t||t.call(this)},addingClasses(){this.buttonElements.forEach(t=>{t.setAttribute("disabled","disabled"),t.classList.add(this.loaderSelector)})},deletingClasses(){this.buttonElements.forEach(t=>{t.classList.remove(this.loaderSelector),t.removeAttribute("disabled")})},insertElements(){this.buttonElements.forEach(t=>{t.insertAdjacentHTML("beforeend",this.loaderElement)})},deleteElements(){this.buttonElements.forEach(t=>{t.removeChild(t.lastChild)})},startLoadingButton(){this.checkCondition&&this.startingLoadingAction()},endLoadingButton(){this.checkCondition&&this.endingLoadingAction()}}},get salesRocket(){return{get present(){return!!window.SalesRocket},setup:function(){if(this.present&&!utils.store.get("salesRocketIntegrationApplied"))try{document.querySelector(".ws-cs-checkout-btn").setAttribute("name","checkout"),utils.store.set("salesRocketIntegrationApplied",!0)}catch(t){console.error("salesRocketIntegrationError",t),utils.store.set("salesRocketIntegrationApplied",!1)}}}},get bundlerBuilder(){return{selector:"/apps/bundles",get bundleBuilderInput(){return document.querySelector("#bb_proxy_prefix")},get present(){return this.bundleBuilderInput&&this.bundleBuilderInput.value===this.selector&&this.bundlerForm&&!!this.bundlerForm.querySelector(`[formaction="${this.selector}/cart"]`)},get bundlerForm(){return this.bundleBuilderInput.closest(`form[action*="${this.selector}"]`)},submit(){this.bundlerForm.submit()}}},get minMaxify(){return{get present(){return!!window.minMaxify},get isFunction(){return minMaxify.checkLimits instanceof Function},get invalid(){return this.present&&this.isFunction&&!minMaxify.checkLimits()}}},get navidiumShippingProtection(){return{get checked(){var t;return null===(t=document.querySelector("#shippingProtectionCheckBox"))||void 0===t?void 0:t.checked},get callbackExist(){return"function"==typeof addProtection},checkTriggers:function(t){t=t.target;const e=Array.from(document.querySelectorAll('.nvd-checkout, .nvd-checkout *, [name="checkout"]'));return e.includes(t)},setup:async function(t){var e;this.checked&&this.checkTriggers(t)&&(t.preventDefault(),t.stopImmediatePropagation(),e=localStorage.getItem("nvdVariant"),this.callbackExist&&await(null!==(t=OCUApi.navidiumAddProtection)&&void 0!==t?t:addProtection)(e))}}}},window.OCUApi||(window.OCUApi={customCheckoutButton:null,customBuyNowButton:null,customAddToCartButton:null,customAddToCartEvent:null,customAddToCartEventHandler:null,customAddToCartForm:null,customAddToCartFetch:null,customButtonLoader:null,customCheckoutForm:null,customCheckoutDuplicatedForm:null,getCustomAddToCartData:null,preventReloadOnNavigate:!1,preventReloadPersistedPage:!1,customLineItemAttributes:null,excludeActionButton:null,excludeUpdateElement:null,originFetch:null,customCartDrawerCloseButton:null,axios:null,customQuantityInput:null,refreshCart:null,isWindowLocationForClickListener:null,listenFormEvents:null,isFormInvalid:!1,customFormValidate:null,callbackBeforeRedirect:null,callbackAfterNativeClick:null,cartDiscountSelectors:null,forceRenderDiscounts:null,dualPricing:null,customRechargeUrl:null,productLocationOnly:!1,isButtonDisabledAfterClick:!1,fireAddToCartEvent:null,preventEventBeforeNativeClick:!1,enableCollectionLocation:!1,enableCustomPages:null,customPageName:null,beforeCreate:null,popupWasShown:null,product:null,cart:null,resetCartCache:!1,shopPayDraftOrder:!1,navidiumAddProtection:null,moneyFormat:null,customSkipCart:!1,customAllowUpsellsValidation:null,preventRestoreXMLHttp:!1,customUpdateCart:null,customShippingInsurance:{enabled:!1,price:0},widget:{customProceedAccept:null}}),OCUApi.store=utils.store,OCUApi.documentationReference="https://github.com/ZipifyApps/ocu/wiki/Public-API",OCUApi.customCheckoutButton&&(OCUApi.customCheckoutButton=`, ${OCUApi.customCheckoutButton}`),OCUApi.customQuantityInput&&(OCUApi.customQuantityInput=`, ${OCUApi.customQuantityInput}`),OCUApi.callbackBeforeRedirect||(OCUApi.callbackBeforeRedirect=()=>Promise.resolve({}));const FALSE_REDIRECT={redirect_url:null};function PopupDispatcher(){}window.OCUApi=Object.assign(OCUApi,{showUpsell:function(o){const s=this.context.popupDispatcher,c=this.context;return s.context=this.context,s.target=o.form,new Promise((e,t)=>{if(s.popupAccepted||"once"===OCUIncart.settings.popup_frequency&&utils.cookie.get("ocu_popup_token"))return e(FALSE_REDIRECT);function i(t){s._upsellAppInstance()&&s._upsellAppInstance().hide(),c.integrations.zipifyPages.clear(),e((t=t.detail.response||FALSE_REDIRECT,_objectSpread({skip_cart:lqd.skip_cart},t)))}var{blockId:n,products:r}=o;return this.context.integrations.zipifyPages.setProducts(r),this.context.integrations.zipifyPages.setBlockId(n),this.context.integrations.zipifyPages.isBlockOutsideProductPage()?this.context.integrations.zipifyPages.handleZPOutsidePage(this.context,i):s.isProductAction?(s.listenCustomEvent(i),void s._show(null,!0)):(c.integrations.zipifyPages.clear(),e(FALSE_REDIRECT))})},getProductPageWidgetConfig:async function(t){let e="/product_page/v1/offers/appropriate";var i=window.OCUIncart&&OCUIncart.appEndpoint,n={"Content-Type":"application/json","Shop-Domain":lqd.permanent_domain},r=utils.cookie.get("ocu_widget_ids");let o=lqd.cart.token||utils.cookie.get("cart");Zipify.OCU.api.context.popupDispatcher.context=Zipify.OCU.api.context,await Zipify.OCU.api.context.popupDispatcher.verifyToken();var s=await Zipify.OCU.api.context.cart.createToken();s&&s.data&&(o=s.data.token);const c=lqd.product,a=null===c||void 0===c||null===(l=c.variants.find(t=>t.available))||void 0===l?void 0:l.id,u=null===c||void 0===c?void 0:c.variants.find(t=>t.id===a&&t.available);var l=u||c;if(!l||!l.available)return{data:{error:"Unavaliable product"}};var l=c.options.map((t,e)=>({name:t,value:u.options[e]}));let d={variant_id:a,product_id:c.id,price:c.price,handle:c.handle,title:c.title,quantity:1,is_product_location:!0,options_with_values:l};(c.available||u)&&!Number.isNaN(a)||(d=null);const p=t.getCartItems((this.actualCart||lqd.cart).items).line_items;d&&p.push(d);l={line_items:p,cart_token:o,customer_tags:lqd.customer_tags||[],currency:t.currencyRate(),location:"product",customer_location:null===(l=OCUIncart.customer_location)||void 0===l?void 0:l.handle,snippet_version:OCUIncart.version,appropriate_type:"on_page_1"};if(!t.validateAppropriate(l)){r&&(e+=`?split_test_weight=${r}`);try{return OCUApi.axios.post(i+e,l,{headers:n})}catch(t){return console.log(t),t}}},initialize:function(t){this.context=t.context},onAccept:function(){},onDecline:function(){},onPopupIsNotShown:function(){}}),PopupDispatcher.prototype={proceed:function(t,e,i){this.context=i,this.target=e,this.event=t,this.appropriateResponse=null,this.actualCart=null,this.listenCustomEvent(),this.bt=OCUIncart.integrations().bt,this.isBuyNow=i.helpers.isBuyNow(t),this.shopPayInstallments=i.helpers.isShopPayInstallments(t),this.buttonLoading=this._initButtonLoading(),this.buttonLoading.init(e),this._startLoading();i=this.isProductLocationOption(e)&&"cart"===lqd.template_name;return OCUIncart._is_product_action=this.isProductAction,(!t.isTrusted&&this.secondAttempt||i||this.context.helpers.isDisabledButton(this.event.target)||this.context.helpers.termsOfServiceConfirmation(this.event.target))&&!this.ignoreTrust?this._clearFlow():this.isProductLocationOption(e)?this.productLocation(t,e):(this.context.prevent(t,"immediate"),OCUApi.customButtonLoader&&OCUApi.customButtonLoader(this.event),this.check(t,e))},check:function(i,n){const r=this.context;return r.cart.get().then(r.cart.update).then(function(t){OCUIncart.cart_items=t.data.items||t.data.cart.items,lqd.cart=t.data.items?t.data:t.data.cart;try{var e=r.helpers.isSubscriptionProductInCart(lqd.cart);if(e&&this.isProductAction)return this.nativeClick();if(e)return r.integrations[e].redirect(i,lqd.cart)}catch(t){return this.checkout()}if(!utils.cookie.get("ocu_shown_popup"))return this.show(i,n);this.checkout()}.bind(this)).catch(this.checkout.bind(this))},show:function(t,e){if(this.context.prevent(t),utils.store.get("amazonPayInitiated"))return null;const i=e.closest('[action="/cart"], [action="/checkout"]');return i&&!this.context.validate(i)?(clearTimeout(utils.store.get("fallback").id),utils.store.set("submitted",!1),i.reportValidity()):(window.disableBodyScroll&&disableBodyScroll(),this._show(t,!1))},_show:function(e,i){this.apiMode=i;let t=lqd.product;if(OCUApi.enableCollectionLocation){var n,r=null!==(n=OCUApi.customAddToCartForm)&&void 0!==n?n:'form[action*="/cart/add"]',o=null===(n=(o=OCUApi).getCustomAddToCartData)||void 0===n?void 0:n.call(o);const u=+(null!==(o=null==o?void 0:o.id)&&void 0!==o?o:null===(r=e.target.closest(r))||void 0===r||null===(c=r.id)||void 0===c?void 0:c.value);t=lqd.collectionProducts.find(t=>t.variants.find(t=>t.id===u))}const s=this.context;var c=lqd.integrate_with_recharge&&!lqd.disabled_by_subscription_app;const a={utils:utils,Updater:Updater,is_recharge_enabled:c,is_skip_cart:lqd.skip_cart,product:t,integrations:{zipifyPages:s.integrations.zipifyPages}};return this[this.appropriateResponse?"_emptyResolve":"getIncartConfig"](this.appropriateResponse).then(function(t){if("skip"===t)throw new Error("There are no appropriate funnels");window.OCUIncart.preLoad&&window.OCUIncart.preLoad.showLoader(),s.helpers.beforeCreate(),utils.store.set("isTargetBuyNow",s.helpers.isBuyNow(e)),this.kind=t.data.kind,a.config=t.data,a.customer_tags=lqd.customer_tags||[],a.customer_location=OCUIncart.customer_location.handle;t=lqd.skip_cart||this.apiMode;return a.product&&!t&&(a.product=Object.assign({},a.product,{quantity:this._quantityOfProduct,selectedPageProduct:this._selectedVariant(a.product.variants)})),s.utils.beforePrecheckoutPopup(),OCUIncart._is_product_action=this.isProductAction,this._upsellAppInstance().setData(a)}.bind(this)).catch(t=>{t instanceof Error&&console.error(t),OCUApi.onPopupIsNotShown(),this[i?"_finalizeEvent":"checkout"].bind(this)()})},handleErrorResponse:function(){return this.apiMode||this.nativeClick(),this._emptyResolve("skip")},getIncartConfig:async function(){let t="/pre_purchase/v2/checkout_offers/appropriate?";var e=window.OCUIncart&&OCUIncart.appEndpoint,i={"Content-Type":"application/json","Shop-Domain":lqd.permanent_domain};const n=this.context;var r=this.actualCart||lqd.cart,o=n.helpers.isSameCart(r),r=n.helpers.isSameCartToken(r);(o||r)&&r||utils.cookie.remove("ocu_popup_ids");r=utils.cookie.get("ocu_popup_ids");r&&(t+="split_test_weight="+r);try{this.apiMode||this._endLoading();var s=this._incartPayload();if(n.helpers.validateAppropriate(s))return this.handleErrorResponse();var c=await OCUApi.axios.post(e+t,s,{headers:i});return c.data.error?this.handleErrorResponse():{data:c.data.context}}catch(t){return this.handleErrorResponse()}},checkout:async function(t){var e=t&&"ocuNativeClick"===t.type,i=t&&!(null!==(i=t.detail.response)&&void 0!==i&&i.accepted)&&this.isBuyNow;t&&!e&&(t.response?console.error(t.response.data.message):console.error(t));let n=this.isProductAction&&(!this.isBuyNow||i)&&e&&"Upgrade"!==t.detail.type&&!lqd.skip_cart;this._endLoading(),window.OCUIncart.preLoad&&window.OCUIncart.preLoad.hideLoader(),this.bt&&this.bt.present&&this.bt.endLoadingBtn();var{discount:e}=await OCUApi.callbackBeforeRedirect(this,t);if(!this.shopPayInstallments||(n=!this.handleShopPayInstallments(null!=t?t:{}),n||OCUApi.shopPayDraftOrder)){if(n)return this._upsellAppInstance().hide(),void this.nativeClick();!t||t instanceof Error||this.context.prevent(t,!0);t=t&&t.detail&&t.detail.response;return this.context.checkout({discount:e,redirect:!0,redirect_url:t&&t.redirect_url})}},handleShopPayInstallments:function(t,e){let{detail:i}=t;if(void 0===(null===i||void 0===i||null===(s=i.response)||void 0===s?void 0:s.accepted))return!1;const n=this.context.helpers.getCustomAddToCartData(this),{token:r}=n,o=_objectWithoutProperties(n,_excluded);var{checkoutUrl:t,query:s}=utils.store.get("shopPayInstallments"),s=`/cart/${o.id}:${o.quantity}?${s}=${r}`;const c=e?s:`${t}=${r}`;return!!(async()=>{"Upgrade"===(null===i||void 0===i?void 0:i.type)||e||await this.context.cart.add(null,null,o),location.assign(c)})()},isProductLocationOption:function(t){return this.shopPayInstallments?lqd.isPopupTriggerPage:OCUApi.customAddToCartButton?lqd.isPopupTriggerPage&&this._isAddAction(t):lqd.isPopupTriggerPage&&"form"===t.tagName.toLowerCase()&&this._isAddAction(t)},productLocation:function(t,e){const i=t=>{var{offer_type:t}=t;return!this.shopPayInstallments&&(lqd.skip_cart||this.isBuyNow&&"Upgrade"!==t)};if(this.popupAccepted)return OCUApi.preventEventBeforeNativeClick&&this.context.prevent(t,!0),this.nativeClick();this.context.prevent(t,!0),this.bt&&this.bt.present&&this.bt.startLoadingBtn(),e.disabled=!0,this.verifyToken().then(this[this.secondAttempt?"getActualCart":"_emptyResolve"].bind(this)).then(t=>this.actualCart=t&&t.data).then(function(){this.getIncartConfig().then(function(t){if("skip"!==t){if(i(t.data))return this.addAndCheck();this.appropriateResponse=t,this.check(this.event,this.target,null)}}.bind(this)).catch(t=>{OCUApi.onPopupIsNotShown(),this.nativeClick.bind(this)()})}.bind(this))},verifyToken:function(){return this.cartToken?this._emptyResolve():this.context.cart.bulkAdd()},addAndCheck:function(){var t,e=[null,null,null===(t=(e=OCUApi).getCustomAddToCartData)||void 0===t?void 0:t.call(e).payload],e=OCUApi.customSkipCart?e:[this.target];this.context.cart.add(...e).then(function(t){this.check(this.event,this.target,t.data)}.bind(this)).catch(this.checkout)},getActualCart:function(){return this.context.cart.get()},nativeClick:function(t){this._clearFlow(),this.secondAttempt=!0,this.ignoreTrust=t;const e=OCUApi.customAddToCartButton?this.target:this.eventTarget;this.context.helpers.removeExtraClassList(e),OCUApi.customAddToCartEvent?(e.dispatchEvent(new Event("click")),e.disabled=!1):OCUApi.customAddToCartEventHandler?OCUApi.customAddToCartEventHandler(e):(null!==e&&void 0!==e&&e.focus(),null!==e&&void 0!==e&&e.click()),this.shopPayInstallments&&this.isProductAction&&!this.popupAccepted&&this.handleShopPayInstallments({detail:{response:{accepted:!1}}},"nativeClick"),OCUApi.callbackAfterNativeClick&&OCUApi.callbackAfterNativeClick(this.event),this.bt&&this.bt.present&&this.bt.endLoadingBtn()},getTriggerAction(){return{cart:"cart",product:"product"}[this.isAcceptableAction(this.targetAction)?this.targetAction:"cart"]},isAcceptableAction:function(t){return lqd.isPopupTriggerPage&&OCUIncart.popupLocation[t]},breakHandling:function(t,e){return lqd.skip_cart?(this.context.prevent(t),this.context.cart.add(e).then(this.checkout.bind(this)).catch(this.checkout.bind(this))):this._clearFlow()},listenCustomEvent:function(t){const e=t||this.checkout;document.addEventListener("ocuNativeClick",e.bind(this),{once:!0})},removeCustomEvents:function(){document.removeEventListener("ocuNativeClick",this.checkout,!0)},_upsellAppInstance:function(){return OCUIncart[this.kind+"Upsells"]},_incartPayload(){const t=this.context.helpers.getCartItems((this.actualCart||lqd.cart).items);var e=this._productPageVariant,i=utils.cookie.get("ocu_shown_id");if(t.cart_token=this.cartToken,t.location=this.getTriggerAction(),t.currency=this.context.helpers.currencyRate(),t.customer_tags=lqd.customer_tags||[],t.customer_location=OCUIncart.customer_location.handle,t.snippet_version=OCUIncart.version,i&&(t.shown_popup_id=i),"product"===t.location){if(!e)throw new Error("Variant not found");t.line_items.push(e)}return utils.store.set("productLocation",e),t},_isAddAction:function(e){if(this.shopPayInstallments)return!0;return!!["customAddToCartButton","customAddToCartForm"].some(t=>e&&e.closest(OCUApi[t]))||e&&(/cart\/add/.test(e.action)||e.dataset.hasOwnProperty("zpAddToCartForm"))},_emptyResolve:function(e){return new Promise(function(t){t(e)})},_finalizeEvent:function(t){document.dispatchEvent(new CustomEvent("ocuNativeClick",{detail:{redirect_url:null}}))},_clearFlow(){return window.OCUIncart.preLoad&&window.OCUIncart.preLoad.hideLoader(),window.Zipify.OCU.api.context.helpers.clearFallback(),utils.store.set("submitted",!1),null},_initButtonLoading:function(){return OCUIncart.integrations().buttonLoading},_startLoading:function(){this.buttonLoading.startLoadingButton()},_endLoading:function(){this.buttonLoading.endLoadingButton()},_selectedVariant:function(t){const e=this._productPageVariant.variant_id;let i=0,n=null;return t.forEach(function(t){t.id===Number(e)&&(i=t.price,n=t.id)}),{price:i,variantId:n}},get _productPageVariant(){var t=this.context.helpers.getCustomAddToCartData(this);if(!this.isProductAction||t.subscription)return{};var e=this.target.querySelector('[name="id"], [name="id[]"]'),i=this.target.querySelector('[name="quantity"]')||(null===(i=this.target.closest('[id^="ProductInfo-template"]'))||void 0===i?void 0:i.querySelector('[name="quantity"]'));const n=+(t.id||e&&e.value);e=+(t.quantity||i&&i.value);let r=null!==(i=t.product)&&void 0!==i?i:lqd.product;OCUApi.enableCollectionLocation&&(r=lqd.collectionProducts.find(t=>t.variants.find(t=>t.id===n)));const o=r.variants.find(function(t){return t.id===n&&t.available});if(!((r.available||o)&&!Number.isNaN(n)))return null;t=o||r,i=r.options.map((t,e)=>({name:t,value:o.options[e]}));return{variant_id:n,product_id:r.id,price:t.price,handle:r.handle,title:r.title,quantity:e||1,is_product_location:!0,options_with_values:i}},get cartToken(){return lqd.cart.token||utils.cookie.get("cart")},get isProductAction(){return!lqd.skip_cart_only&&"product"===this.getTriggerAction()},get destination(){return!utils.store.get("isTargetBuyNow")&&this.isProductAction?"cart":"checkout"},get popupAccepted(){return"accept_or_decline"===OCUIncart.settings.popup_frequency&&utils.cookie.get("cart")===utils.cookie.get("ocu_popup_token")&&!!utils.cookie.get("ocu_accepted")},get targetAction(){if(!this.target)return"cart";if(OCUApi.customAddToCartButton)return lqd.isPopupTriggerPage&&this._isAddAction(this.target)?"product":"cart";var t=this.target&&"form"===this.target.tagName.toLowerCase()?this.target:this.target.closest("form");return this._isAddAction(t)?"product":"cart"},get eventTarget(){return this.isBuyNow?this.event.target:this.target.querySelector('[type="submit"], [name="add"], [name="checkout"], [data-skip-cart]')},get _quantityOfProduct(){var t=document.querySelector('[name="quantity"]');return t?t.value:"1"}};class CartDispatcher{constructor(t){this.cartToken=t&&t.cart.token||utils.cookie.get("cart"),this.cartDiscounts=null,this.cartRequested=!1,this.selectors={productPrice:null,totalProductsPrice:null,cartSubtotal:null,cartDiscount:null},this.helpers=new Helpers,this.cart=new Cart,this.cache=null,this.renderDiscounts=this.renderDiscounts.bind(this),this.renderOCUDiscounts=this.renderOCUDiscounts.bind(this)}renderDiscounts(t,e,i){if(document.dispatchEvent(new Event("renderOCUDiscounts")),i&&this.fillSelectors(i),!this.shouldGetDiscounts(e)&&this.areAttributesPresent(e)){if(this.helpers.deepEqual(this.lineItems,e))return this.renderDiscountsFromCache();this.lineItems=e,this.getDiscounts(t,e).then(function(t){const e=t.data.discounts.lineItems;this.cartDiscounts=t.data.discounts,this.cache=t.data,e.map(function(t){var e,i;if(t.price===t.discountedPrice)return null===(i=OCUApi.cartDiscountSelectors)||void 0===i||null===(e=i.showOriginalPrice)||void 0===e?void 0:e.call(i,t,!0);null===(e=OCUApi.cartDiscountSelectors)||void 0===e||null!==(i=e.showOriginalPrice)&&void 0!==i&&i.call(e,t,!1),this.fillDiscountedPrice(t),this.fillItemTotal(t)}.bind(this)),this.fillCartSubtotal(t.data.discounts.subtotal),this.fillCartDiscount(t.data.discounts.progressiveDiscount)}.bind(this)).catch(function(t){console.log(t.message)})}}renderDiscountsFromCache(){if(this.cache){const t=this.cache.discounts.lineItems;this.cartDiscounts=this.cache.discounts,t.map(t=>{var e,i;return t.price===t.discountedPrice?null===(i=OCUApi.cartDiscountSelectors)||void 0===i||null===(e=i.showOriginalPrice)||void 0===e?void 0:e.call(i,t,!0):(null===(e=OCUApi.cartDiscountSelectors)||void 0===e||null!==(i=e.showOriginalPrice)&&void 0!==i&&i.call(e,t,!1),this.fillDiscountedPrice(t),void this.fillItemTotal(t))}),this.fillCartSubtotal(this.cache.discounts.subtotal),this.fillCartDiscount(this.cache.discounts.progressiveDiscount)}}async getDiscounts(t,e){var i=window.OCUIncart&&OCUIncart.appEndpoint,n={"Content-Type":"application/json","Shop-Domain":lqd.permanent_domain};const r=this.helpers.getCartItems(e||lqd.cart.items);return r.cart_token=this.cartToken||t,r.currency_rate=window.Shopify&&Shopify.currency&&+Shopify.currency.rate||1,r.customer_tags=lqd.customer_tags||[],r.customer_location=OCUIncart.customer_location.handle,r.cart_token?{data:(await OCUApi.axios.post(i+"/pre_purchase/v2/cart_discounts",r,{headers:n})).data.context}:Promise.reject(new Error("Cart Token is Missing"))}doesUrlMatch(e){var t=["add","update","change","clear"].some(t=>e&&e.includes(`/cart/${t}`));return t&&this.setCartRequested(!1),t}shouldCartRequest(t){if(!t||this.cartRequested)return!1;var e=!/\/cart.(js|json)\?icu/.test(t),e=t.includes("/cart.js")&&!t.includes("/cart.js?ocu")&&e;return e&&this.setCartRequested(!0),e}shouldRequest(t){return!!t&&(this.doesUrlMatch(t)||this.shouldCartRequest(t))}shouldGetDiscounts(t){const e=this.helpers.getCartItems(t||lqd.cart.items).line_items;return e.every(function(t){if(t.properties)return void 0===t.properties._ocu_offer_id&&void 0===t.properties._ocu_product_page_id}.bind(this))}areAttributesPresent(t){const e=this.helpers.getCartItems(t||lqd.cart.items).line_items;return e.some(t=>{var e=this.getSelectors(t),i=document.querySelector(e.productPrice),n=document.querySelector(e.totalProductsPrice),t=document.querySelector(e.cartSubtotal),e=document.querySelector(e.cartDiscount);return!!(i||n||t||e)})}fillDiscountedPrice(r){var{productPrice:t}=this.getSelectors(r);const e=document.querySelectorAll(t);e.forEach(t=>{var e,i,n;t&&(e=t.dataset.ocuWithCurrency,i=this.getCurrency(r.discountedPrice,OCUIncart.money_format,e),n=this.getCurrency(r.price,OCUIncart.money_format,e),n=null!==(e=OCUApi.cartDiscountSelectors)&&void 0!==e&&e.disableWasPrice?"":`<del style="padding-right:16px">${n}</del>`,t.innerHTML=`${n}<span>${i}</span>`)})}fillItemTotal(o){var{totalProductsPrice:t}=this.getSelectors(o);const e=document.querySelectorAll(t);e.forEach(t=>{if(t){const r=t.dataset.ocuWithCurrency;var e=t=>this.getCurrency(t*o.quantity,OCUIncart.money_format,r),i=e(o.discountedPrice),n=e(o.price),n=null!==(e=OCUApi.cartDiscountSelectors)&&void 0!==e&&e.wasTotalPrice?`<del style="padding-right:16px;text-decoration:line-through">${n}</del>`:"";t.innerHTML=`${n}<span>${i}</span>`}})}fillCartSubtotal(t){var{cartSubtotal:e}=this.getSelectors();const i=document.querySelectorAll(e);var n=Zipify.OCU.api.customShippingInsurance,e=t+(null!==(e=null==n?void 0:n.price)&&void 0!==e?e:0);const r=null!=n&&n.enabled?e:t;i.forEach(t=>{var e;t&&(e=t.dataset.ocuSubtotal,t.innerHTML=this.getCurrency(r,OCUIncart.money_format,e))}),this.fillCartSubtotalCustom(r)}fillCartSubtotalCustom(t){var e,i;null===(e=OCUApi.cartDiscountSelectors)||void 0===e||null!==(i=e.cartSubtotalCustom)&&void 0!==i&&i.call(e,this.getCurrency(t,OCUIncart.money_format))}fillCartDiscount(e){if(0!==e){var{cartDiscount:t}=this.getSelectors();const i=document.querySelectorAll(t);i.forEach(t=>{t&&(t.innerHTML=`-${this.getCurrency(e,OCUIncart.money_format)}`)})}}getCurrency(t,e,i){var n=window.Shopify&&Shopify.currency&&Shopify.currency.active||"USD",e=!e.match(n)&&i?`${e} ${n}`:e;return Shopify.formatMoney&&Shopify.formatMoney(t,e)||window.OCUApi.currency(t/100,e,n)}fillSelectors(t){if(OCUApi.cartDiscountSelectors)return Object.entries(OCUApi.cartDiscountSelectors).forEach(t=>{var[e,t]=t;t instanceof Function||(this.selectors[e]=t)});this.selectors.productPrice=`[${t.productPrice}`,this.selectors.totalProductsPrice=`[${t.totalProductsPrice}`,this.selectors.cartSubtotal=`[${t.cartSubtotal}]`,this.selectors.cartDiscount=`[${t.cartDiscount}]`}getSelectors(t){var e,i,n;return{productPrice:(null===(i=OCUApi.cartDiscountSelectors)||void 0===i||null===(e=i.productPrice)||void 0===e?void 0:e.call(i,t,this))||`${this.selectors.productPrice||"[data-ocu-price-block"}="${null==t?void 0:t.key}"]`,totalProductsPrice:(null===(i=OCUApi.cartDiscountSelectors)||void 0===i||null===(n=i.totalProductsPrice)||void 0===n?void 0:n.call(i,t,this))||`${this.selectors.totalProductsPrice||"[data-ocu-total-block"}="${null==t?void 0:t.key}"]`,cartSubtotal:(null===(t=OCUApi.cartDiscountSelectors)||void 0===t?void 0:t.cartSubtotal)||this.selectors.cartSubtotal||"[data-ocu-subtotal]",cartDiscount:(null===(t=OCUApi.cartDiscountSelectors)||void 0===t?void 0:t.cartDiscount)||this.selectors.cartDiscount||"[data-ocu-cart-discount]"}}renderOCUDiscounts(n){let t="?ocu";OCUApi.resetCartCache&&(t+=`=${Date.now()}`),cart.get(t).then(t=>{var e;const i=[t.data.token,t.data.items,n];this.renderDiscounts(...i),null!==(t=(e=OCUApi).forceRenderDiscounts)&&void 0!==t&&t.call(e,()=>this.renderDiscounts(...i))})}removePrivateAttributes(t){if(t){const e=Array.from(document.querySelectorAll(t)),i=e.filter(t=>/_ocu_offer_/.test(t.innerHTML));i.forEach(t=>t.remove())}}proceedDiscounts(t,e){this.renderDiscounts(t.data.token,t.data.items),e&&this.removePrivateAttributes(OCUApi.customLineItemAttributes)}setCartRequested(t){this.cartRequested=t}}const cart=new Cart,cartDispatcher=new CartDispatcher(Zipify.OCU.lqd),open=window.XMLHttpRequest.prototype.open,originSend=window.XMLHttpRequest.prototype.send,openReplacement=function(t,e){return this.addEventListener("load",function(t){cartDispatcher.shouldCartRequest(this._url)?cartDispatcher.proceedDiscounts({data:JSON.parse(this.responseText)},!0):cartDispatcher.doesUrlMatch(this._url)&&cart.get("?ocu").then(function(t){cartDispatcher.proceedDiscounts(t,!0)}),OCUApi.customLineItemAttributes&&setTimeout(()=>cartDispatcher.removePrivateAttributes(OCUApi.customLineItemAttributes))}),window.simplyInsurance&&(this._url=e),open.apply(this,arguments)},fetchReplacement=function(t,e){"function"==typeof e&&(t.fetch=function(){const t=e.apply(this,arguments);return t.then(function(t){if(cartDispatcher.shouldCartRequest(t.url)){const e=t.clone();e.json().then(t=>{cartDispatcher.renderDiscounts(t.token,t.items)})}else cartDispatcher.doesUrlMatch(t.url)&&cart.get("?ocu").then(function(t){cartDispatcher.renderDiscounts(t.data.token,t.data.items)})}),t})};fetchReplacement(window,window.fetch),window.XMLHttpRequest.prototype.open=openReplacement,window.OCUApi||(window.OCUApi={}),window.OCUApi.renderOCUDiscounts=cartDispatcher.renderOCUDiscounts;class Currency{constructor(){this.currenciesWithoutDec=["BYR","XAF","XPF","CLP","KMF","JPY","PYG","RWF","KRW","VND","VUV","XOF","MGA","UGX","ISK"],this.entities={" ":" ","£":"£","€":"€","$":"$"},this.types={amount:[2,",","."],amount_no_decimals:[2,",","."],amount_with_comma_separator:[2,".",","],amount_no_decimals_with_comma_separator:[2,".",","],amount_with_space_separator:[2," ",","],amount_no_decimals_with_space_separator:[2," ",","],amount_with_apostrophe_separator:[2,"'","."],get default(){return this.amount}},this.currency=this.currency.bind(this)}round(t){var e=10**(1<arguments.length&&void 0!==arguments[1]?arguments[1]:1);return Number.isInteger(t)?t*e/e:Math.round(t*e)/e}thousand(t){return isNaN(t)||0===t?t:t<999?Math.round(100*t)/100:t<9999||t<1e6?this.round(Math.round(10*t)/1e4,0)+"k":t<1e7?this.round(Math.round(10*t)/1e7,0)+"m":t<1e9?this.round(Math.round(10*t/1e7),0)+"m":1e9<=t?this.round(Math.round(10*t/1e10),0)+"b":void 0}replaceCharEntity(t){var e=t=>null!==this.entities[t]&&void 0!==this.entities[t]?this.entities[t]:t;return t&&null!==t.replace(/(&\w+;)/g,e)&&void 0!==t.replace(/(&\w+;)/g,e)?t.replace(/(&\w+;)/g,e):t}type(t){t=/\{\{\s*(\w+)\s*\}\}/.exec(t)&&/\{\{\s*(\w+)\s*\}\}/.exec(t)[1];return null!==this.types[t]&&void 0!==this.types[t]?this.types[t]:this.types.default}toFixed(t,e){var i=Math.pow(10,e);return(Math.round((t+1e-8)*i)/i).toFixed(e)}formatNumber(t,e,i){if(!+t&&0!=+t)return"—";let n;var r=i.includes("thousand"),o=i.includes("noCurrency"),o=i.find(t=>this.currenciesWithoutDec.includes(t))||o,i=i.includes("noPrecision");r&&(t=this.thousand(+t),n=/\d+\.?\d*([k-m])/.exec(t)&&/\d+\.?\d*([k-m])/.exec(t)[1]||"",t=parseFloat(t)),e={precision:i?0:e[0],thousand:e[1],decimal:e[2]};r=t<0?"-":"";let s=parseInt(this.toFixed(Math.abs(t),e.precision),10)+"";i=3<s.length?s.length%3:0;let c=r+(i?s.substr(0,i)+e.thousand:"")+s.substr(i).replace(/(\d{3})(?=\d)/g,"$1"+e.thousand)+(0<e.precision?e.decimal+this.toFixed(Math.abs(t),e.precision).split(".")[1]:"");return n&&(c=c.replace(/([,.]00|0)$/,"")+n),o&&!n?c.split(e.decimal)[0]:c}formatNumberForView(t,e){e=this.replaceCharEntity(e);for(var i=arguments.length,n=new Array(2<i?i-2:0),r=2;r<i;r++)n[r-2]=arguments[r];var o=n.includes("noCurrency");return e&&e.replace(o?/.*\{\{\s*\w+\s*\}\}.*/:/\{\{\s*\w+\s*\}\}/,this.formatNumber(t,this.type(e),n))}currency(t,e){for(var i=arguments.length,n=new Array(2<i?i-2:0),r=2;r<i;r++)n[r-2]=arguments[r];return this.formatNumberForView(t,e,...n)}}window.OCUApi||(window.OCUApi={}),window.OCUApi.currency=(new Currency).currency;
window.OCUIncart={...(window.OCUIncart ||{}),version:'2023/12/05',cart_items:[],subscription_tags:'',money_format:'${{amount}}',option_selection:'//cuveecoffee.com/cdn/shopifycloud/shopify/assets/themes_support/option_selection-86cdd286ddf3be7e25d68b9fc5965d7798a3ff6228ff79af67b3f4e41d6a34be.js',metafields:{main:{ general: {"settings":{"app_endpoint":"https://ocu.zipify.com","proxy_url":"/apps/oneclickupsell","sdp":"https://e7d54b729aaf49ea8b2f80dae22860aa@sentry.zipify.com/52","inc_sdp":"https://f14faca962674f149161045845b21b35@sentry.zipify.com/50","popup_locations":{"product":false,"cart":true},"popup_settings":{"popup_frequency":"accept_or_decline"},"snippet_source":"snippet","features":{"ppw":true},"offer_scripts":{"zipify-oneclickupsell-single":true,"zipify-oneclickupsell-multiple":false,"zipify-oneclickupsell-on-page":false}},"integrations":{"skip_cart":"false"}}, } ||{},get general() {return this.main.general ||{};},get settings() {return this.general.settings ||{};},get triggers() {return this.general.triggers ? this.general.triggers.pre_checkout:{};},get proxy_url() {return this.settings.proxy_url ||'/apps/secure-checkout';},get scripts() {const onPage='zipify-oneclickupsell-on-page';const scripts=this.general.settings.offer_scripts ?? {};const vendor='zipify-oneclickupsell-vendor';const loaded=Zipify.OCU.api.loaded ||{};if (Shopify?.designMode && !scripts[onPage]) scripts[onPage]=true;const uris=Object .entries(scripts) .reduce((acc,[script,enabled]) => (enabled && !script.includes('.js') && !loaded[script] ? [...acc,script]:acc),[]);return uris.length ? [...uris,vendor]:uris;}},get hasNotOfferInCart() {if (!this.cart_items.length) return true;return !this.cart_items.find(function(item) {return item && item.properties && (item.properties._ocu_offer_id ||item.properties._ocu_product_page_id);});},get hasWidgetOffersInCart() {if (!this.cart_items.length) return true;return this.cart_items.find(function(item) {return item && item.properties && item.properties._ocu_product_page_id;});},get settings() {return this.metafields.settings.popup_settings;},get proxy_url() {return this.metafields.proxy_url;},get appEndpoint() {return this.metafields.settings.app_endpoint;},get popupLocation() {return this.metafields.general.settings.popup_locations;},get isEmptyCart() {return !this.cart_items.length && this.popupLocation.product;},get permanent_domain() {return Zipify.OCU.lqd.permanent_domain;},get hasWidgetOffers() {return !!Object.keys(OCUApi.store.get('productPageWidget')).length;},preventHandle(checkoutButton,addToCartButton) {return OCUApi.productLocationOnly && !this.popupLocation.cart && checkoutButton && !addToCartButton;}};Zipify.OCU.lqd={cart:{"note":null,"attributes":{},"original_total_price":0,"total_price":0,"total_discount":0,"total_weight":0.0,"item_count":0,"items":[],"requires_shipping":false,"currency":"USD","items_subtotal_price":0,"cart_level_discount_applications":[],"checkout_charge_amount":0},path:'' ==='true' ? 'd56719fefdd75e95ba06caea3d9a3732':'5965fedc7708e03e1024db4bf2ed5fe6',template_name:'404',shop_currency:'USD',skip_cart:OCUIncart.metafields.general.integrations.skip_cart ==='true',skip_cart_only:'false' ==='true',cart_products_json:JSON.parse("[]"),cart_collections_json:[],cart_variants_json:[],customer_id:"",customer:{id:"",email:''},customer_tags:[],proxy_url:OCUIncart.metafields.general.settings.proxy_url,scripts:OCUIncart.metafields.scripts,permanent_domain:'cuveecoffee.myshopify.com',current_domain:'cuveecoffee.com',disabled_by_subscription_app:false,subscription_app_enabled:true,subscription_products_json:'',subscription_variants_json:'',subscription_products_size:0,integrate_with_recharge:'false' ==='true',product:null ||OCUApi.product,collectionProducts:null,product_tags:[],amazon_pay:'' ==='true',themePopup:'' ==='true' ||'' ==='true',root_url:'/',themeSkipCart:'' ==='redirect_checkout' ||'' ==='true' ||'' ==='skip_cart',get upsell_cart_include_subscription_upsells() {var self=this;var hasSubscription=this.product_tags.reduce(function(acc,tag) {return acc ||~self.postcheckout_tags.indexOf(tag.toLowerCase());},false);return hasSubscription;},get isThemePopupTag() {return this.product && this.product.tags.some(function(tag) {return /cross-sell-\d/.test(tag);});},get isSkipCartPage() {return /index|collection|product/.test(this.template_name);},get isSkipCartCondition() {return (this.skip_cart ||this.themeSkipCart) && this.isSkipCartPage && !this.isThemePopupTag;},get checkoutUrl() {return (this.root_url ==='/' ? '':this.root_url) + '/checkout';},get isPopupTriggerPage() {const popupLocation={...OCUIncart.popupLocation};if (OCUApi.enableCollectionLocation) {popupLocation.collection=popupLocation.product;} if (OCUApi.enableCustomPages) {const pageName=OCUApi.customPageName ||'page';popupLocation[pageName]=popupLocation.product && OCUApi.enableCustomPages.includes(location.pathname);} return popupLocation[Zipify.OCU.lqd.template_name];}};Zipify.OCU.lqd.cart_products_json=Zipify.OCU.lqd.cart_products_json.filter(function(item) {return item.handle && !item.error;});const lqd=Zipify.OCU.lqd;if (Zipify.OCU.loadScriptTags) Zipify.OCU.loadScriptTags();
function _toPropertyKey(t){t=_toPrimitive(t,"string");return"symbol"==typeof t?t:String(t)}function _toPrimitive(t,e){if("object"!=typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0===r)return("string"===e?String:Number)(t);e=r.call(t,e||"default");if("object"!=typeof e)return e;throw new TypeError("@@toPrimitive must return a primitive value.")}function Application(){OCUApi.axios=OCUApi.axios||axios,ajax=OCUApi.axios.create({timeout:8e3}),ajax.defaults.headers.common["X-Requested-With"]="XMLHttpRequest",utils.shareableDiscount({clear:!1}),new PublicMethod,new SkipCart,new HistoryApi,this.helpers.getLocation().then(()=>{var t,e;return lqd.skip_cart_only||this.setAttributes(),null!==(t=OCUIncart)&&void 0!==t&&null!==(e=t.productPageWidget)&&void 0!==e&&e.setData?OCUIncart.productPageWidget.setData():void this.helpers.listenWidgetEvent()})}function ProductPageWidget(){this.isWidgetPresent=function(){return document.querySelector("#ocu-widget")&&OCUIncart.hasWidgetOffers&&!utils.store.get("widgetHandled")},this.acceptableToProceed=function(t,e){var r,n;return null!==(r=window.OCUApi)&&void 0!==r&&null!==(n=r.widget)&&void 0!==n&&n.customProceedAccept?OCUApi.widget.customProceedAccept(t,e):e.isTrusted&&!t.helpers.isBuyNow(e)},this.accept=async function(){if(OCUIncart.hasWidgetOffers){const n=Zipify.OCU.api.context;var t=await n.cart.get(),e=window.OCUIncart&&OCUIncart.appEndpoint,r={"Content-Type":"application/json","Shop-Domain":lqd.permanent_domain},t=t.data;OCUIncart.cart_items=t.items;t={checkout:{attributes:t.attributes,cart_token:t.token,line_items:t.items,note:t.note},customer_location:null===(t=OCUIncart.customer_location)||void 0===t?void 0:t.handle,customer_tags:lqd.customer_tags||[]};return OCUApi.axios.post(e+"/product_page/v1/offers/accepted",t,{headers:r})}},this.clearState=function(){OCUApi.store.set("productPageWidget",{}),OCUIncart.productPageWidget.clear()},this.proceed=function(){const t=Zipify.OCU.api.context;var e=window.OCUApi.store.get("productPageWidget"),e=Object.entries(e).reduce((t,e)=>{var[r,e]=e;return r&&t.push({id:e.variantId,quantity:1,properties:{_ocu_product_page_id:+r,_ocu_offer_reference_id:+e.referenceId}}),t},[]);return e.length?t.cart.add(null,null,{items:e}):new Promise(function(t){t()})},this.disable=function(t){utils.store.set("widgetHandled",t)}}function ZipifyPages(){const n="ocu_integration_data";this.setProducts=t=>{this.products=t},this.setBlockId=t=>{this.block_id=t},this.getProduct=()=>this.product,this.appendZipifyPagesProduct=t=>{var e;if(!this.products)return t;const n=null===(e=this.products.find(t=>t.discountHash))||void 0===e?void 0:e.discountHash;return t.map(e=>{const t=this.products.find(t=>t.productData.key===e.key);if(!t)return e;if(null===t||void 0===t||!t.discountData.includes("dynamic"))return e;var r={pages:!0,discount_hash:n,block_id:this.block_id};return e.properties=_objectSpread(_objectSpread({},e.properties),r),e})},this.init=()=>{try{this.sessionData=JSON.parse(sessionStorage.getItem(n)),this.sessionData&&this.sessionData.token!==lqd.cart.token&&(this.sessionData=null,sessionStorage.removeItem(n))}catch(t){console.error(t)}},this.handleZPOutsidePage=(e,r)=>{try{var t=JSON.stringify({products:this.products,block_id:this.block_id,token:lqd.cart.token});sessionStorage.setItem(n,t),r({detail:{}})}catch(t){console.error(t),this._verifyFallback(e,r)}},this._verifyFallback=(e,r)=>{e.cart.get().then(t=>{OCUIncart.cart_items=t.data.items,e.verify().then(()=>{r({detail:{}})})})},this.clear=()=>{this.products=null},this.isBlockOutsideProductPage=()=>!lqd.isPopupTriggerPage&&this.products.some(t=>t.discountHash),this.init()}function amazonPay(t){const e=t.target.closest('form[action^="https://payments.amazon"]');if(e&&lqd.amazon_pay){t.preventDefault(),t.stopPropagation(),utils.store.set("amazonPayInitiated",!0);var r=t.target.closest('form[action="/cart/add"]');const i=lqd.proxy_url+"/amazon/forward",o=function(){e.submit()};function n(t){if(!t.status)return o();t=function(t){var e=lqd.proxy_url.replace(/\//g,"\\/");const r=new RegExp(e+"\\/((?:\\w+[-_]?)+)\\/?");t=r.exec(t);return t&&t[1]}(t.checkout_url);if(!t)return o();utils.cookie.set("ocu_checkout_token",t),location.assign(i)}if(!r)return this.checkout().then(n).catch(o);t=document.querySelector('form[action="/cart/add"]'),r=e.querySelector('[type="submit"]');this.cart.add(t,r).then(this.checkout).then(n).catch(o)}}function Bold(){this.isBoldRecuring=function(){var t=document.querySelector("[data-bold-recurring]");return t&&t.checked},this.upsellPopup=function(t){[t.querySelector('[data-bold-component-id="upsell_continue"]'),t.querySelector('[data-bold-component-id="upsell_no_thanks"]'),t.querySelector("#bold-modal__btn-close")].forEach(function(t){t&&t.addEventListener("click",function(t){setTimeout(function(){self.checkout({redirect:!0})},500)})})},this.initRecurring=function(){var t=document.querySelectorAll("[data-ocu-clone]"),t=Array.prototype.filter.call(t,function(t){return t&&!t.dataset.ocuCheckout})[0];t&&t.click()},this.redirect=function(t){if(!(window.BOLD&&BOLD.recurring_orders&&BOLD.recurring_orders.app&&t.isTrusted))throw new Error("Bold Recurring not found");if(!BOLD.common.cartDoctor.cart.is_recurring)throw new Error("Bold Recurring cart error");t.preventDefault(),t.stopImmediatePropagation(),BOLD.recurring_orders.app.cartWidget.checkoutEvent=t,BOLD.recurring_orders.app.cartWidget.checkRecurringCheckout(t)},this.recurring=function(t,e){var r="https://",n="recurringcheckout.com",i="/s/",o=/(\w+)\.myshopify\.com/.exec(BOLD.common.Shopify.shop.permanent_domain)[1],a="/checkout/recurring/",s="?shop_url="+location.host;t.action=r+n+i+o+a+e+s,t.submit()}}function BuyNowBtns(){if(lqd.themeSkipCart){const r=this,n=document.querySelector('button[id="AddToCart"]');if(n){var t=n.querySelector("#AddToCartText");if(/buy\s*(it)?\s*now/i.test(t&&t.innerText)){const i=function(){r.checkout({redirect:!0})};n.addEventListener("click",function(t){t.preventDefault();var e=n.closest('form[action="/cart/add"]');r.cart.add(e,t.target).then(i).catch(function(t){t.submit()}.bind(null,e))})}}}}function HandlePermalink(r,t){var e=this,n=utils.store.get("permalink").exec(r),i={redirect:t};if(!n)return{promise:new Promise(function(t){t({checkout_url:r})}),callback:function(e){return t?location.assign(r):new Promise(function(t){t(e)})}};var o=n[2];o&&(i.params=[{discount:o}]);n=n[1].split(",").reduce(function(t,e,r,n){var i=+e.split(":")[0],o=+e.split(":")[1],e=lqd.cart_variants_json.filter(function(t){return t.id===i})[0];return e&&(o+=e.quantity),t&&(t+="&"),t+"updates["+i+"]="+o},"");return{promise:e.cart.bulkAdd(n),callback:function(){return e.checkout(i)}}}function CartDrawer(t){t=t.querySelector('form[action="/cart"]'),t=t&&t.querySelector('input[type="submit"]');t&&(t.type="button",t.addEventListener("click",function(t){self.checkout({redirect:!0})}))}function CartPopup(){var t,e,r,n,a=document.querySelector(".bkt--upsell-target-checkout");a&&(t="input ",e='type="button" ',r='style="position:absolute;left:0;top:0;width:100%;height:100%;cursor:pointer;opacity:0" ',n="data-ocu-dialog-btn ",a.style.position="relative",a.insertAdjacentHTML("beforeend","<"+t+e+r+n+">"),document.querySelector("[data-ocu-dialog-btn]").addEventListener("click",function(t){var o;t.stopPropagation(),a.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="bkt--nc-icon" x="0px" y="0px" width="64px" height="15px" viewBox="0 0 64 64"><g><circle class="nc-dots-7-2" data-color="color-2" fill="#445FFF" cx="32" cy="32" r="26" transform="translate(6.26687999999989 6.26687999999989) scale(0.8041600000000034)" style="opacity:0.8041600000000034"></circle><circle class="nc-dots-7-1" fill="#445FFF" cx="-72" cy="32" r="26" transform="translate(3.2332800000000272 12.933120000000109) scale(0.5958399999999966)" style="opacity:0.5958399999999966"></circle><circle class="nc-dots-7-3" fill="#445FFF" cx="132" cy="32" r="26" transform="translate(33.6 19.2) scale(0.4)" style="opacity:0.4"></circle></g></svg>',o=0,window.requestAnimationFrame||(window.requestAnimationFrame=function(t){var e=(new Date).getTime(),r=Math.max(0,16-(e-o)),n=window.setTimeout(function(){t(e+r)},r);return o=e+r,n});var u=[],l=null;u[0]=document.getElementsByClassName("nc-dots-7-1"),u[1]=document.getElementsByClassName("nc-dots-7-2"),u[2]=document.getElementsByClassName("nc-dots-7-3"),circleDots7Number=u[0].length,window.requestAnimationFrame(function t(e){var r=e-(l=l||e),e=Math.min(r/250,4);if(decimalRot=(e=4==e?0:e)%1,upperInteger=Math.ceil(e),r<1e3||(l+=1e3),u[0][0]){window.requestAnimationFrame(t);var n=[],o=[],a=[],s=[-72,32,132],c=[32,32,32];for(j=0;circleDots7Number>j;j++)for(n[0]=n[1]=n[2]=.4,1==upperInteger?(n[0]=1-3*decimalRot/5,n[1]=.4+3*decimalRot/5):2==upperInteger?(n[1]=1-3*decimalRot/5,n[2]=.4+3*decimalRot/5):3==upperInteger?(n[1]=.4+3*decimalRot/5,n[2]=1-3*decimalRot/5):4==upperInteger?(n[0]=.4+3*decimalRot/5,n[1]=1-3*decimalRot/5):n[0]=1,i=0;i<3;i++)o[i]=(1-n[i])*s[i],a[i]=(1-n[i])*c[i],function(t,e){for(var r in e)t.setAttribute(r,e[r])}(u[i][j],{transform:"translate("+o[i]+" "+a[i]+") scale("+n[i]+")",style:"opacity:"+n[i]+";"})}}),self.checkout({redirect:!0})}))}function CheckoutLinks(){var t=document.querySelectorAll('a[href="/checkout"]');Array.prototype.forEach.call(t,function(t){t&&t.addEventListener("click",function(t){t.stopPropagation(),t.preventDefault(),self.checkout({redirect:!0})})})}function Discounts(){var t,e=document.querySelector('input[name="discount"]'),r=utils.cookie.get("discount_code"),n=utils.cookie.get("ocu-share-discount"),i=utils.cookie.get("popupcookie");window._chpmgr&&!i||(e||r||n)&&(e&&(t=e.value),r&&(t=r,utils.cookie.remove("discount_code")),n&&(t=n,utils.cookie.remove("ocu-share-discount")),r={name:"discount",value:encodeURIComponent(t)},t=utils.store.get("params"),n&&"page"===lqd.template_name||!r.value||(t.arr.push(r),utils.store.set("params",t)))}function Recharge(){var t=this;this.isSubscription=function(t){const e=t.cart||t.data.cart||t.data;return e.items.some(function(t){return t.selling_plan_allocation?null:t.properties&&(t.properties.subscription_id||t.properties.shipping_interval_frequency)})},this.processCart=function(){window.reChargeProcessCart=function(){t.checkout({redirect:!0})}},this.redirect=function(t,e,i){let r=OCUApi.customRechargeUrl||"https://checkout.rechargeapps.com";function o(){var t=["myshopify_domain="+Shopify.shop];return r+"/r/checkout?"+(t=t.concat(function(){try{return["cart_token="+(document.cookie.match("(^|; )cart=([^;]*)")||0)[2]]}catch(t){return[]}}()).concat(function(){try{return[ga.getAll()[0].get("linkerParam")]}catch(t){return[]}}())).join("&")}function c(t){return t.filter(function(t){var e="radio"===t.getAttribute("type")&&t.checked,r="checkbox"===t.getAttribute("type")&&t.checked,n="checkbox"!==t.getAttribute("type")&&"radio"!==t.getAttribute("type");return!!t.value&&(n||e||r)})}function a(){var t,e,n=/attributes\[(.*?)\]/,i=/\[(.*?)\]/,r=document.querySelectorAll(['[name*="attributes"]'].join(",")),r=c(Array.prototype.slice.apply(r)),o={},a=function(){var e=/^_shopify_sa_p/,r=/^utm_/,n=/^_shopify_sa_t/,i={},o="",a="";document.cookie.split(";").map(function(t){return t.trim()}).forEach(function(t){e.test(t)&&(o=t),n.test(t)&&(a=decodeURIComponent(t.split("=")[1]))});var t=o.split("=")[1];if(decodeURIComponent(t).split("&").forEach(function(t){var e=t.split("=")[0],t=t.split("=")[1];if(r.test(e))return i[e]=t}),Object.keys(i).length)return i.utm_timestamp=a,i.utm_data_source="shopify_cookie",i}(),s=new URLSearchParams(decodeURIComponent(window.location.search));for(t of s)n.test(t[0])&&(e=(e=t[0].match(i)[0]).substring(1,e.length-1),o[e]=s.get(t[0]));return r.forEach(function(t){var e=t.getAttribute("name"),r=t.value;if(n.test(e)){t=(t=e.match(i)[0]).substring(1,t.length-1);return o[t]=r}return o[e]=r}),a&&Object.keys(a).forEach(function(t){o[t]=a[t]}),Object.keys(o).length?{attributes:Object.assign({},o)}:{}}function n(){return fetch("/cart.js").then(function(t){return t.json()}).then(function(t){return{cart:JSON.stringify(t)}}).catch(function(t){return console.error("Error retreiving cart: ",t),{cart:{}}}).then(function(t){var e,r,n={};return[(r=document.querySelectorAll(["#terms","#agree"].join(",")),(r=c(Array.prototype.slice.apply(r)).map(function(t){return t.value})).length?{terms_and_conditions:r.join(", ")}:{}),(e=document.querySelectorAll(['[name="note"]'].join(",")),r=Array.prototype.slice.apply(e).filter(function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)}).map(function(t){return t.value}),(e=new URLSearchParams(decodeURIComponent(window.location.search)).get("note"))&&r.push(e),r.length?{note:r.filter(function(t,e,r){return r.indexOf(t)===e}).join(", ")}:""),a(),n=t].forEach(function(t){Object.assign(n,t)}),n})}function s(t,e){var r,n,i=document.createElement("form");return i.setAttribute("method","post"),i.setAttribute("action",e),i.setAttribute("id","rc_form"),i.style.display="none",r=i,n=t,Object.keys(n).forEach(function(t){var e=document.createElement("input");e.setAttribute("type","hidden"),e.setAttribute("name",t),e.setAttribute("value","object"==typeof n[t]?JSON.stringify(n[t]):n[t]),r.appendChild(e)}),i}n().then(function(e){var r,n;[...JSON.parse(e.cart).items].some(t=>t.properties&&(t.properties.shipping_interval_unit_type||t.properties.shipping_interval_frequency))?(r=o(),e?((n=new XMLHttpRequest).open("POST","/cart/update.js"),n.setRequestHeader("Content-Type","application/json"),n.onload=function(){200===n.status?window.console.log("done",JSON.parse(n.responseText)):200!==n.status&&window.console.log("fail",JSON.parse(n.responseText));var t=s(e,r);document.body.appendChild(t),t.submit()},n.send(JSON.stringify(e))):window.location.href=r):window.location.href=i||"/checkout"})}}function smar7(){var t,e,r,n,i=this;~document.head.innerHTML.indexOf("bundle-upsell")&&(t=document.querySelectorAll("[name='checkout'], [href^='/checkout'], form[action='/checkout'] [type='submit'], #checkout, [name='goto_pp'], .checkout_button"),Array.prototype.forEach.call(t,function(t){t.disabled=!0}),e=0,r=setInterval(function(){(++e&&7<e||window.SMAR7&&SMAR7.bundle)&&(Array.prototype.forEach.call(t,function(t){t.disabled=!1}),clearInterval(r))},3e3),n=function(t){var e=utils.store.get("params");t?(SMAR7.util.setCookie("smar7coupon",t,3600),e.arr.push({name:"discount",value:encodeURIComponent(t)})):t=SMAR7.bundle.helper.determineCoupon&&SMAR7.bundle.helper.determineCoupon(),SMAR7.paypal?(encodeURIComponent(t),document.querySelector('[name="goto_pp"]')):(encodeURIComponent(t),document.querySelector('[name="checkout"], [href="/checkout"], form[action="/checkout"] input[type="submit"], #checkout')),utils.store.set("params",e),i.checkout({redirect:!0})},document.addEventListener("click",function(){window.SMAR7&&SMAR7.bundle&&(SMAR7.bundle.redirect=n)},!0))}function Integrations(){const i=this;var t=new Bold,e=new Recharge,r=new ZipifyPages,n=new ProductPageWidget;this.list={bold:{get isInstalled(){return window.BOLD&&BOLD.apps_installed},get productOptions(){return this.isInstalled&&BOLD.apps_installed["Product Options"]},get productUpsell(){return this.isInstalled&&BOLD.apps_installed["Product Upsell"]}},recharge:{isSubscriptionProduct:function(t){return t.items.some(function(t){return t.properties&&(t.properties.subscription_id||t.properties.shipping_interval_frequency)})}}},this.boldUpsellCheckoutOffer=function(){if(window.BOLD&&window.Shopify){var t={data:{cart:{items:lqd.cart.items,total_price:lqd.cart.total_price}}};return ajax.request({method:"post",url:window.BOLD.upsell.path+window.Shopify.shop+"/validate_checkout_offer",data:JSON.stringify(t)})}},this.needSkipClick=this.list.bold.productOptions||this.list.bold.productUpsell,this.start=function(){lqd.upsell_cart_include_upsells&&"cart"!==lqd.template_name&&this.main()},this.main=function(){function e(t){if("attributes"===t.type&&t.target===document.querySelector(i.ocuSelectors)&&/cart-?(popup|container|drawer)/i.test(t.target.id)&&/bold-upsell-modal-window/i.test(t.target.id)){if("bold-upsell-modal-window"===t.target.id)return i.boldUpsellPopup(t.target);var e=document.querySelectorAll(i.ocuSelectors),r="true"===e[0].dataset.disableRecharge,n=Array.prototype.forEach;n.call(e,function(t){"Checkout"===t.innerHTML&&t.removeAttribute("onclick")}),lqd.disabled_by_subscription_app&&r||(n.call(e,function(t){t.disableRecharge=!0}),i.cartPopup(),i.cartDrawer(t.target),i.checkoutLinks(),i.listenEvents())}}new MutationObserver(function(t){t.forEach(e)}).observe(document,{childList:!0,subtree:!0,attributes:!0}),i.buyNowBtns(),i.recharge.processCart(),i.revy()},this.revy=function(){window.RevyApp&&RevyApp.events&&(RevyApp.events.updatedCart=[])},this.discounts=Discounts,this.smar7=smar7,this.isBoldRecuring=t.isBoldRecuring,this.boldRecurring=t.initRecurring,this.bold=t,this.boldUpsellPopup=t.upsellPopup,this.cartPopup=CartPopup,this.cartDrawer=CartDrawer,this.checkoutLinks=CheckoutLinks,this.handlePermalink=window.oneClickUpsellHandlePermalink=HandlePermalink.bind(this),this.buyNowBtns=BuyNowBtns,this.recharge=e,this.amazonPay=amazonPay,this.zipifyPages=r,this.widget=n,this.start()}function HistoryApi(){var e,r;history.pushState=(e=history.pushState,function(){var t=e.apply(this,arguments);return window.dispatchEvent(new Event("pushState")),window.dispatchEvent(new Event("locationchange")),t}),history.replaceState=(r=history.replaceState,function(){var t=r.apply(this,arguments);return window.dispatchEvent(new Event("replaceState")),window.dispatchEvent(new Event("locationchange")),t}),window.addEventListener("popstate",function(){window.dispatchEvent(new Event("locationchange"))})}Application.prototype={checkout:null,ocuSelectors:`${utils.store.get("ocuSelectors")} ${OCUApi.customCheckoutButton||""}`,integrations:new Integrations,helpers:new Helpers,cart:new Cart,utils:new ApplicationsUtils,popupDispatcher:new PopupDispatcher,cartDispatcher:new CartDispatcher(Zipify.OCU.lqd),setAttributes:function(){var t=/register|account|login|reset_password|search|^$/.test(lqd.template_name),e=OCUApi.enableCustomPages&&""===lqd.template_name;if(!t||e){this.cartDispatcher.renderDiscounts();const r=Array.prototype.forEach;t=document.querySelectorAll(this.ocuSelectors),e=document.querySelectorAll("a");r.call(t,function(t){"update"===t.name||"FORM"===t.tagName||t.closest(OCUApi.excludeActionButton)||(t.dataset.ocuCheckout=!0)}),r.call(e,function(t){utils.store.get("shopPayInstallments").id!==t.id&&utils.store.get("permalink").test(t.href)&&(t.dataset.ocuCheckoutLink=!0)}),this.listenEvents(),setTimeout(this.helpers.showCheckoutButton)}},check:function(t,e){this.prevent(t);t=e.closest('[action="/cart"], [action="/checkout"]');return t&&!this.validate(t)?(clearTimeout(utils.store.get("fallback").id),utils.store.set("submitted",!1),t.reportValidity()):utils.store.get("cartChanged")?void 0:this.handle(e)},handle:function(t){this.integrations.discounts(),utils.store.get("checkoutButtonState")||(utils.store.set("checkoutButtonState",!0),this.helpers.payPal(t),this.checkout({redirect:!0}))},init:async function(t,e){var r=this;if(OCUApi.callbackBeforeRedirect&&utils.store.get("submitted")&&!OCUApi.preventReloadPersistedPage)return r.prevent(t);const n=OCUIncart.integrations().navidiumShippingProtection;if(n.callbackExist&&await n.setup(t),!OCUApi.onCheckout||!OCUApi.onCheckout()){if("cart"===lqd.template_name&&utils.store.get("submitted"))return t.stopPropagation(),t.preventDefault();if(utils.store.set("submitted",!0),this.fallbackRedirect(),window.RevyApp&&this.handleMonkeyPatching(),this.allowUpsells(e)){if("product"===lqd.template_name&&"add"===e.name&&!e.closest('form[action$="/cart/add"]')&&!OCUApi.customAddToCartForm){const s=document.querySelector('form[action$="/cart/add"]');return s?(t.preventDefault(),t.stopPropagation(),s.submit()):this.helpers.clearFallback()}var i,o=window.OCUIncart&&(OCUIncart.singleUpsells||OCUIncart.multipleUpsells);if(o)return(null!==(i=(a=OCUApi).customFormValidate)&&void 0!==i&&i.call(a,e),OCUApi.isFormInvalid)?(r.prevent(t,!0),clearTimeout(utils.store.get("fallback").id),void utils.store.set("submitted",!1)):(OCUApi.originFetch&&(fetch=OCUApi.originFetch),this.popupDispatcher.proceed(t,e,r));this.popupDispatcher.target=e,utils.store.set("submitted",!1);var a=this.popupDispatcher._isAddAction(e);return!o&&lqd.isPopupTriggerPage&&a?clearTimeout(utils.store.get("fallback").id):("true"===t.target.dataset.skipCart||t.target.closest("[data-skip-cart]"))&&utils.store.get("submitted")?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation(),this.cart.add(e).finally(this.checkout({redirect:!0}))):(e.dataset.customBuyNow&&(r.prevent(t),o=e.dataset.varientId,a=e.dataset.itemQuantity,this.cart.add(null,null,{id:o,quantity:a}).then(function(){r.checkout({redirect:!0})}).catch(function(){alert("Network Error")})),this.check(t,e))}}},prevent:function(t,e){t.preventDefault(),t.stopPropagation(),e&&t.stopImmediatePropagation()},validate:function(t){const e=[...t.querySelectorAll('[type="text"], [type="checkbox"], select, textarea')],r=e.filter(t=>{var e;return!utils.store.get("excludedRequiredFormIds").includes(null==t||null===(e=t.form)||void 0===e?void 0:e.id)&&(t&&t.required)});return!r.length||!r.some(t=>!t.checkValidity())},allowUpsells:function(t){return OCUApi.customAllowUpsellsValidation?OCUApi.customAllowUpsellsValidation():!(window.popup_upsell&&!document.querySelector("#upsellclosebtn")||window.ol_checkout_ok instanceof Function&&!ol_checkout_ok()||""===t.dataset.zpaSubmitButton)||void 0},fallbackRedirect:function(){const t=utils.store.get("fallback");t.id||(t.id=setTimeout(function(){this.checkout({redirect:!0})}.bind(this),t.timeout),utils.store.set("fallback",t))},handleMonkeyPatching:function(){var t=utils.store.get("XHR").send;XMLHttpRequest.prototype.send!==t&&(XMLHttpRequest.prototype.send=t)},handleClick:function(e){if(("page"!==lqd.template_name||e.isTrusted)&&"update"!==e.target.name&&!e.target.closest('[name="update"]')&&(lqd.amazon_pay||!e.target.closest('form[action^="https://payments.amazon"]'))&&!this.helpers.zpPreventRedirect(e.target)){if(this.helpers.isBuyNow(e)&&!lqd.isPopupTriggerPage)return new BuyNow(e,this.integrations.widget);if(!this.helpers.isCartPopupRedirectsToCart(e)){const n=this.helpers.checkAddToCart(e.target);if(n||!OCUIncart.integrations().minMaxify.invalid){if(e.target.dataset.ocuCheckoutLink||e.target.closest("[data-ocu-checkout-link]")){e.preventDefault();var r=(e.target.dataset.ocuCheckoutLink?e.target:e.target.closest("[data-ocu-checkout-link]")).href;if(utils.store.get("isPermalinkHandling"))return;utils.store.set("isPermalinkHandling",!0);r=this.integrations.handlePermalink(r,"redirect");return r.promise.then(r.callback)}OCUIncart.integrations().salesRocket.setup();let t=this.helpers.checkSelector(e.target);if(!OCUIncart.preventHandle(t,n)){const{isWidgetPresent:i,proceed:o,disable:a,accept:s,clearState:c}=this.integrations.widget,u=this.integrations.widget;if(lqd.isPopupTriggerPage&&(t=n||t),i()&&n&&u.acceptableToProceed(this,e))return this.prevent(e,!0),o().then(async()=>{(this.popupDispatcher.context=this).popupDispatcher.target=n,a(!0),await s(),c(),a(!1),this.popupDispatcher.nativeClick(!0)});t&&this.init(e,t)}}}}},handleFocus:function(){window.addEventListener("focus",function(t){t.stopImmediatePropagation()},!0)},listenEvents:function(){var t;let e;var r={capture:!0,passive:!1};const n=function(t){window.OCUDisableEvents||this.handleClick(t)}.bind(this),i=OCUApi.isWindowLocationForClickListener?window:document;document.addEventListener("mousedown",this.integrations.amazonPay.bind(this),!0),i.addEventListener("click",n,!0),window.addEventListener("pagehide",this.helpers.disableButtons),i.addEventListener("touchend",t=>{e||n(t)},r),i.addEventListener("touchmove",()=>{e=!0},r),i.addEventListener("touchstart",()=>{e=!1},r),window.addEventListener("locationchange",function(){i.removeEventListener("click",n,!0),i.addEventListener("click",n,!0)}.bind(this)),window.addEventListener("pageshow",function(t){t.persisted&&!OCUApi.preventReloadPersistedPage&&location.reload(),this.helpers.disableButtons()}.bind(this)),null!==(r=(t=OCUApi).listenFormEvents)&&void 0!==r&&r.call(t)}};const appendChain=window.Symbol?Symbol("appendChain"):"oneClickUpsellAppendChain";function Updater(t){this.res=t,this.isCartUpdated=utils.store.get("cartUpdated"),this.isOfferDeclined=utils.store.get("offerDeclined"),this.options={add:{method:"post",url:"/cart/add.js"},change:{method:"post",url:"/cart/change.js"},update:{method:"post",url:"/cart/update.js"}},this.regs={attributes:/\[(.+?)\]/,key:/(?:(?:updates|quantity)_(?:.*?))?(\d+:\w+)/,id:/(?:(?:updates|quantity)_(?:.*?))?(\d+):?/,noId:/(\d+(:\w+)?)$/},this.selectors={form:'form[action^="/checkout"], form[action^="/cart"]',attributes:'[name^="attributes["]',currency:'[name="currency"]',localization:'form[action="/localization"]',geolocation_currency:'input[name="currency_code"]',updates:'[name^="updates["], [data-cart-item-input-quantity], [data-cart-item-quantity], input[data-line], [name="quantity"], [data-quantity-input]'+(OCUApi.customQuantityInput||""),note:'[name="note"]',noteOutOfForm:'[form="cart"][name="note"]',cartItemKey:"[data-cart-item-key], [data-cart-item], [data-variant]"},this.data={currency:Shopify.currency.active!==lqd.shop_currency?Shopify.currency.active:lqd.shop_currency,attributes:{},lineItems:[],updates:{},changes:[],sameIds:[],note:""},this.payload={updates:{},currency:"",note:null,attributes:{}},window.klpixel||OCUApi.preventRestoreXMLHttp||this._restoreXMLHttp()}Object[appendChain]=function(t,e){for(var r=e,n=o2nd=oLast=t instanceof this?t:new t.constructor(t),i=this.getPrototypeOf(o2nd);i!==Object.prototype&&i!==Function.prototype;i=this.getPrototypeOf(o2nd))o2nd=i;return e.constructor===String&&(r=Function.prototype,n=Function.apply(null,Array.prototype.slice.call(arguments,1)),this.setPrototypeOf(n,oLast)),this.setPrototypeOf(o2nd,r),n},Updater.prototype={init:function(){return this.isCartUpdated&&!this.isOfferDeclined?this.resolve(this.res):this.form?(this.buildPayload(),this.res?this.updateCart():void 0):this.updateCurrency()}};const UpdaterRequests={updateCart:function(t,e){const r=this._getOptions("update",t,e);t=e&&t.changeData;return this._updateSameId(t).then(function(){return ajax.request(r)})},addToCart:function(t){var e,r=this._getOptions("add",t);return null!==(e=null===(t=(e=OCUApi).customAddToCartFetch)||void 0===t?void 0:t.call(e,r))&&void 0!==e?e:ajax.request(r)},changeCart:function(t,e){const r=this._getOptions("change",t);return!e||e instanceof Object?ajax.request(r):function(){return ajax.request(r)}},updateCurrency:function(){if(!this.needCurrencyUpdate)return this.resolve(this.res);this.getCurrency();var t=this._getOptions("update",{currency:this.data.currency});return ajax.request(t).catch(this.resolve.bind(this,this.res))},_updateSameId:function(t){if(!this.data.sameIds.length||!t)return this.resolve(!1);t=this._getCartChangeRequests(t);const e=this._requestChain(t);return new Promise(e.bind(this))},_getCartChangeRequests:function(i){return this.data.changes.reduce(function(t,e){if(!e.id&&!e.line)return t;if(i){var r=i.id,n=i.__line||i.line;if(e.line===n||r&&e.id===r)return t}return delete e.__variantId,t.push(this.changeCart(e,"chain")),t}.bind(this),[])},_requestChain:function(i){return function(r,n){if(!i.length)return r(!1);!function e(){const t=i.pop();return t().then(function(t){if(i.length)return e();r(t)}).catch(n)}()}},_getOptions:function(t,e,r){const n=Object.assign({},this.options[t]);return n.data=r?e.updateData:e||this.payload,n}},UpdaterPayload={buildPayload:function(){return this.getUpdates(),this.getAttributes(),this.getCurrency(),this.getNote(),Object.keys(this.payload).forEach(function(t){this.payload[t]=this.data[t]}.bind(this)),this.payload},getUpdates:function(){return this.updateElements.forEach(function(t){if(t){var e=!(t.dataset.id||t.dataset.key||this.regs.noId.test(t.id)||this._getClosestKey(t)),r=parseFloat(t.value),n=this._getLine(t);if(e)return this._saveLineItem(null,null,n,r);e=this._getKey(t);const i=this._getId(t);t=i.toString().length<3;this._saveLineItem(i,e,n,r),(this.data.updates[i]||t)&&this._saveSameId(i),this._saveChanges(),~this.data.sameIds.indexOf(i)||t||this._saveUpdates(i,r)}}.bind(this)),this.data.updates},getAttributes:function(){if(!this.attributesElements.length)return{};return this.data.attributes=this.attributesElements.reduce(function(t,e){var r=this._getAttribute(e);return r.key&&(/radio|checkbox/.test(e.type)&&!e.checked||(t[r.key]=r.value)),t}.bind(this),{}),this.data.attributes},getCurrency:function(){return this.currencyElement&&(this.data.currency=this.currencyElement.value),this.data.currency},getNote:function(){return this.noteElement?(this.data.note=this.noteElement.value,this.data.note):""}},UpdaterPrecheckout={acceptAddOffer:function(t,e){const r=this.addToCart.bind(this,t);return e?r():this.updateCart().then(r)},acceptUpgradeOffer:function(){try{return this._vintageUpgrade(...arguments)}catch(t){return console.log("os2 used"),this._os2Upgrade(...arguments)}},_os2Upgrade:function(t,e,r){var n,i,o=this;return(null!==(i=null===(n=(i=OCUApi).customUpdateCart)||void 0===n?void 0:n.call(i))&&void 0!==i?i:this.updateCart(new FormData(this.form))).then(t=>function(){var t=((t,e,r)=>{t=t.items.find(t=>{var{key:t}=t;return t===e.key});return t?{line:r,quantity:t.quantity-1}:null})(...arguments);return t&&!OCUIncart._is_product_action&&o.changeCart(t)}(t.data,e,r)).then(()=>this.addToCart(t)).catch(t=>console.log(t))},_vintageUpgrade:function(t,e,r){r=this._getUpgradeOfferData(e,r);const n=Object.assign({},r.changeData);return delete n.__line,this.updateCart(r,"upgrade").then(()=>OCUIncart._is_product_action?this.addToCart(t):this.changeCart(n).then(this.addToCart.bind(this,t)))},_getUpgradeOfferData:function(e,r){const t=Object.assign({},this.payload);var n=this.data.lineItems.find(function(t){return t.id===e.key}),i=this.data.lineItems.find(function(t){return t.__variantId===e.id}),o=this.data.lineItems.find(function(t){return t.line===r}),o=n||i||o,o=o.quantity?o.quantity-1:0,o={line:r,quantity:o};return delete t.updates[e.id],{updateData:t,changeData:o}}},UpdaterElements={get forms(){var t=document.querySelectorAll(this.selectors.form);return Array.from(t).filter(function(t){return t.offsetHeight||this._isVisible(t)}.bind(this))},get form(){const r=this.forms.some(function(t){return t.note&&t.note.value});var t=this.forms.find(function(t){return!/add|change|update/.test(t.action)&&t.querySelector(this.selectors.updates)&&(!r||t.note&&t.note.value)&&(t=!!(e=t).closest(".cv_outer_cart_drawer"),e=!!e.querySelector('[id="pro_quantity"]'),!(t&&e));var e}.bind(this)),e=null!==(e=OCUApi.customCheckoutDuplicatedForm)&&void 0!==e?e:OCUApi.customCheckoutForm,e=document.querySelector(e);return!OCUApi.customCheckoutDuplicatedForm&&null!=t?t:e},get updateElements(){const t=Array.from(this.form.querySelectorAll(this.selectors.updates));return t.filter(function(t){return t&&!t.disabled&&!t.dataset.removedItemRow&&!t.closest(OCUApi.excludeUpdateElement)}).map(function(t){var e=t.querySelector("input");return e||t})},get attributesElements(){var t=this.form.querySelectorAll(this.selectors.attributes);return Array.from(t)},get noteElement(){return this.form.querySelector(this.selectors.note)||document.querySelector(this.selectors.noteOutOfForm)},get currencyElement(){return document.querySelector(this.selectors.currency)||this._geolocationElement},get _geolocationElement(){var t=document.querySelectorAll(this.selectors.localization);const e=Array.from(t).find(t=>t.offsetHeight||this._isVisible(t));return e&&e.querySelector(this.selectors.geolocation_currency)}},UpdaterHelpers={resolve:function(e){return new Promise(function(t){t(e)})},_getLine:function(t){return+(t.dataset.quantityItem||t.dataset.lineId||t.dataset.line||t.closest("[data-line]")&&t.closest("[data-line]").dataset.line)},_getKey:function(t){const e=this.regs.key.exec(t.dataset.id||t.dataset.key||t.id||this._getClosestKey(t));return e&&e[1].split("_")[0]},_getId:function(t){t=this.regs.id.exec(t.dataset.variant||t.dataset.id||t.dataset.key||t.id||this._getClosestKey(t));return t&&+t[1]},_saveSameId:function(t){delete this.data.updates[t],this.data.sameIds.push(t)},_saveLineItem:function(t,e,r,n){const i={__variantId:t,quantity:n};r?i.line=r:e&&(i.id=e),this.data.lineItems.push(i)},_saveChanges:function(){this.data.changes=this.data.lineItems.filter(function(t){return~this.data.sameIds.indexOf(t.__variantId)}.bind(this))},_saveUpdates:function(t,e){this.data.updates[t]=e},_getAttribute:function(t){var e=this.regs.attributes.exec(t.name);return e?{key:e[1],value:t.value}:{}},_isVisible:function(t){t=window.getComputedStyle(t);return"block"===t.display&&"visible"===t.visibility},get needCurrencyUpdate(){return this.currencyElement&&this.currencyElement.value!==this.data.currency},_getClosestKey:function(t){t=t.closest(this.selectors.cartItemKey);if(t){const e=["cartItemKey","cartItem","variant"];return t.dataset[Object.keys(t.dataset).find(function(t){return e.includes(t)})]}},_restoreXMLHttp:function(){try{XMLHttpRequest.prototype.open=openReplacement,XMLHttpRequest.prototype.send=originSend}catch(t){console.log(t)}}};function Cart(){var i=this;this.add=function(t,e,r){var n;return t&&(!(n=function(t){return!/id/.test(t)})(r=i.serialize(t))||(t=document.querySelector("#AddToCartForm"))&&(r=i.serialize(t)),!n(r)||(n=document.querySelector("[data-cart-add]"))&&(r="id="+n.dataset.cartAdd)),ajax.request({method:"post",url:"/cart/add.js",data:r})},this.bulkAdd=function(t){return ajax.request({method:"post",url:"/cart/update.js",data:t})},this.get=function(t){return ajax.request({method:"get",url:"/cart.js"+("string"==typeof t?t:"")})},this.update=function(t){return new Updater(t).init()},this.createToken=function(){var t=!!lqd.cart.token,e=lqd.cart.token!==utils.cookie.get("cart"),r=!lqd.cart.line_items||0===lqd.cart.line_items.length;if(t||e||r)return ajax.request({method:"post",url:"/cart/update.js",data:{updates:{}}})},this.save=function(t){return i.disableMultiUpdate(t.data.cart.items),i.saveTags(t),lqd.cart_products_json=t.data.cart_products,lqd.cart_collections_json=t.data.cart_collections,lqd.subscription_products_json=t.data.subscription_products,lqd.subscription_variants_json=t.data.subscription_variants,i.resolve(t)},this.modify=function(t){var e=t.cart||t.data.cart||t.data;return t.data=e,t.data.subscription_products=lqd.subscription_products_json,t.data.cart_collections=lqd.cart_collections_json,t.data.cart_products=lqd.cart_products_json.filter(function(t){return!t.error}),t.data.customer_id=lqd.customer_id,t=i.helpers.addBuyXGetYDiscount(t),e.cart_level_discount_applications&&(t.data.automatic_discount=e.cart_level_discount_applications[0]),t},this.serialize=function(t){return/trident|edge/i.test(navigator.userAgent)?utils.serializeFormEdge(t):utils.serializeForm(t)},this.attrubutes=function(t){ajax.request({method:"post",url:"/cart/update.js",data:{attributes:t}})},this.prepareUpdate=function(t){return t=t.length?t:[t],{updates:Array.prototype.reduce.call(t,function(t,e){return t[e.id.replace(/(\w+_)(\d+)(:\w+)/,"$2")]=e.value,t},{}),currency:lqd.shop_currency}},this.saveTags=function(t){t=t.data.cart_products.reduce(function(t,e){return t.concat(e.tags)},[]);utils.store.set("tags",t)},this.disableMultiUpdate=function(t){var e=document.querySelectorAll('input[name="updates[]"]'),r="add"===utils.store.get("offer");r&&t.length===e.length+1||!r&&t.length===e.length||Array.prototype.forEach.call(e,function(t){t.offsetHeight||(t.disabled=!0)})},this.state=function(t){"updates[]"===t.target.name&&utils.store.set("cartChanged",!0)},this.resolve=function(e){return new Promise(function(t){t(e)})},this.needCurrencyUpdate=function(){return document.querySelector('[name="currency"]')},this.updateCurrency=function(){var t={method:"post",url:"/cart/update.js",data:{currency:lqd.shop_currency}};ajax.request(t).then(function(){utils.store.set("cartChanged",!1)})},this.isNotePresent=function(t){return Array.prototype.some.call(t,function(t){return t.note&&t.note.value})},this.filterFormsIfNotes=function(t,e){return Array.prototype.filter.call(t,function(t){return t["updates[]"]&&(!e||t.note&&t.note.value)})[0]},this.error=function(t){var e=t.data.description;if(422!==t.status)return alert(e||"Something went wrong. Please try again.");var r=/all/i.test(e),t=/sold out/i.test(e);if(alert(e),r)return i.checkout({redirect:!0});t&&location.reload()}}[UpdaterRequests,UpdaterPayload,UpdaterPrecheckout,UpdaterElements,UpdaterHelpers].forEach(function(t){Updater.prototype=Object[appendChain](Updater.prototype,t)});var SyncQtyFields={init:function(){this.fields.length&&this.listenEvents()},get fields(){return document.querySelectorAll("[data-quantity-item]")},getFiledsForUpdate:function(t){t=this.getId(t),t=document.querySelectorAll('[data-quantity-item="'+t+'"]');return this.getArray(t)},getId:function(t){return t.dataset.quantityItem},getArray:function(t){return Array.prototype.slice.call(t)},update:function(t,e){this.getFiledsForUpdate(t).forEach(function(t){t.value=e})},handle:function(t){this.update(t.target,t.target.value)},listenEvents:function(t){this.getArray(this.fields).forEach(function(t){t.addEventListener("input",this.handle.bind(this))}.bind(this))}}.init();function SkipCart(){var i=this;this.init=function(){var t=/index|collection|product/.test(lqd.template_name);lqd.skip_cart&&t&&setTimeout(i.prepare)},this.prepare=function(){Array.prototype.forEach;const r=function(t){return Array.prototype.slice.call(t)};var t=r(document.querySelectorAll(".product-form__cart"));let e=r(document.querySelectorAll('form[action*="cart"], [data-zp-add-to-cart-form], #AddToCartForm1'));e=e.filter(function(t){return"zipify_page"!==t.dataset.zpLinkType}),t.length&&(e=e.concat(t)),e.forEach(function(t){const e=r(t.querySelectorAll('*[type="submit"], input[type="button"], button'));e.forEach(function(t){t.dataset.pfType&&"ProductATC"!==t.dataset.pfType||/plus|minus|zpa-quantity/.test(t.className)||/error_txt|quantity|sold-out/i.test(t.id)||/amount|review/i.test(t.value)||t.dataset.qty||t.dataset.quantityAction||t.getAttribute("aria-controls")||"product"===t.dataset.zpLinkType||t.closest("quantity-input, cart-remove-button")||(t.removeAttribute("onclick"),t.dataset.skipCart=!0,t.type="button")})}),i.listenEvents(e)},this.handle=function(r){var n,t=i.handleZPEvent(r);if(!t&&(null!==(t=(n=OCUApi).customButtonLoader)&&void 0!==t&&t.call(n,r),i.popupDispatcher.target||(i.popupDispatcher.target=r.target),!i.popupDispatcher.isProductAction||i.popupDispatcher.secondAttempt)){let t=r.target.dataset.skipCart?r.target:null;if(t=t||r.target.closest("[data-skip-cart]"),!t)return i.popupDispatcher.target=null;t.disabled=!0,r.stopImmediatePropagation(),r.stopPropagation(),r.preventDefault();let e=t.closest("form");e=e||document.querySelector('form[action="/cart/add"]'),i.cart.add(e,t,null===(r=(n=OCUApi).getCustomAddToCartData)||void 0===r?void 0:r.call(n).payload).then(i.cart.get).then(i.onSuccess).catch(i.onError.bind(null,e))}},this.onSuccess=function(t){if(OCUApi.fireAddToCartEvent&&OCUApi.fireAddToCartEvent(t.data),utils.store.set("cart_token",t.data.token),i.helpers.isSubscriptionProductInCart(t.data))return location="/cart";i.checkout({redirect:!0})},this.onError=function(t){t.submit()},this.listenEvents=function(t){document.addEventListener("click",i.handle,!0)},this.handleZPEvent=t=>{var e=t=>void 0!==t.dataset.zpAddToCart;const r=t.target,n=e(r)?r:r.closest("[data-zp-add-to-cart]");return!!(n&&t.isTrusted&&e(n))&&(n.type="submit",n.click(),!0)},this.init()}function BuyNow(t,e){const r=this;var n;lqd.themePopup&&lqd.isThemePopupTag||!t.isTrusted||(n=t.target.closest('form[action="/cart/add"]')||document.querySelector('form[action="/cart/add"]'))&&(t.stopImmediatePropagation(),t.preventDefault(),t.target.disabled=!0,r.cart.add(n,t.target).then(function(){r.checkout({redirect:!0})}).catch(function(t){t.submit()}.bind(null,n)))}function PublicMethod(){const o=this,r=o.__proto__.__proto__,i=OCUIncart.integrations();let a=!1;this.init=function(){window.oneClickUpsellGetCheckoutUrl=r.checkout=o.create,r.verify=o._verify.bind(this)},this.create=async function(e){if(!a){if(a=!0,"skip_cart"===e)return new Promise(function(t){t(lqd.skip_cart)});var t=utils.cookie.get("ocu_progress_bar")&&utils.cookie.get("ocu_progress_bar").length,r=OCUIncart.hasNotOfferInCart,n=utils.cookie.get("ocu_header"),i=e&&e.redirect_url;return!r&&!i||n||t?(e.discount&&utils.cookie.set("ocu-share-discount",e.discount),OCUIncart.hasWidgetOffersInCart&&(t=await o.cart.get(),OCUIncart.cart_items=t.data.items),o._verify().then(function(t){return o._checkout(Object.assign(e,{redirect_url:t.data.redirect_url||lqd.checkoutUrl,verified:t.data.verified}))}).catch(function(){o._checkout(e)})):o._checkout(e)}},this.prepare=function(t){const e=utils.store.get("params");o.config=t||{},o.config.discount&&utils.cookie.set("ocu-share-discount",t.discount),o.config.incarts&&utils.store.set("incarts",o.config.incarts),o.config.path&&utils.store.set("amazonPath",o.config.path),o.config.button&&o.helpers.payPal(o.config.button),o.integrations.discounts(),o.params(),o.handleDeclineOffer(t),i.tidio.present&&i.tidio.track(),OCUApi.preventReloadPersistedPage&&(a=!1),e.str=e.str?"?"+e.str:"",o.config.checkoutUrl=(o.config.redirect_url||lqd.checkoutUrl)+e.str,utils.store.set("params",e)},this.redirect=function(t){const e=o.integrations.recharge,r=i.bundlerBuilder;return r.present?r.submit():e.isSubscription(lqd)?e.redirect(null,null,t.checkout_url):"checkout"===t.destination||lqd.skip_cart?location.assign(t.checkout_url):void location.assign("/"+t.destination)},this._checkout=function(t){o.prepare(t);const e={status:!1,verified:t.verified,checkout_url:o.config.checkoutUrl,skip_cart:lqd.skip_cart,get redirect_url(){return this.checkout_url},destination:r.popupDispatcher.destination};return o.config.redirect?this.redirect(e):new Promise(function(t){t(e)})},this._verify=function(){var t=window.OCUIncart&&OCUIncart.appEndpoint,e={"Content-Type":"application/json","Shop-Domain":lqd.permanent_domain};return OCUApi.axios.post(t+"/pre_purchase/v1/draft_orders/verify",this._verifyPayload(),{headers:e})},this._verifyPayload=function(){var t=utils.cookie.get("cart"),e=o.helpers.getCartItems(null!==(i=OCUApi.cart)&&void 0!==i?i:OCUIncart.cart_items);const r={checkout:{line_items:e=o.integrations.zipifyPages.appendZipifyPagesProduct(e.line_items)}};var n=+utils.cookie.get("ocu_progress_bar"),i=OCUIncart.header_type||utils.cookie.get("ocu_header");return r.checkout=Object.assign(r.checkout,{cart_token:t,verify_draft_order:!0,note:lqd.cart.note,attributes:lqd.cart.attributes,currency_rate:window.Shopify&&Shopify.currency&&+Shopify.currency.rate||1,threshold:n,header_type:i,selling_plan:o.helpers.hasSellingPlan(e)}),r.currency=this.helpers.currencyRate(),r.customer_tags=lqd.customer_tags||[],r.customer_location=OCUIncart.customer_location.handle,r.snippet_version=OCUIncart.version,r},this.params=function(){const e=utils.store.get("params"),n=i.zapiet,t=i.simpleInStorePickup,r=i.weglot;n.present&&(o.config.params=n.merge(o.config.params)),t.present&&(o.config.params=t.merge(o.config.params)),r.present&&(o.config.params=r.merge(o.config.params)),(o.config.params||[]).concat(o.gaLinker()).concat({t:+Date.now()}).map(function(r){return Object.keys(r).map(function(t){var e="discount"===t||n.present?r[t]:encodeURIComponent(r[t]);return{name:encodeURIComponent(t),value:e}})[0]}).forEach(function(t){e.arr.push(t)}),utils.store.set("params",e),o.helpers.params()},this.handleDeclineOffer=function(e){var t;!e||e&&!e.incarts||(t=Object.keys(e.incarts).some(function(t){return"declined"===e.incarts[t].status}),utils.store.set("offerDeclined",t))},this.gaLinker=function(){try{const e=ga.getAll()[0].get("linkerParam");var t=e.split("=");const r={};return r[t[0]]=t[1],[r]}catch(t){return[]}},this.init()}function Helpers(){var a=this;this.disableButtons=function(){utils.store.set("checkoutButtonState",!1)},this.params=function(){for(var t=utils.store.get("params"),e=0;t.arr.length>e;e++)new RegExp(t.arr[e].name).test(t.str)||(t.str+=t.arr[e].name+"="+t.arr[e].value,e+1!==t.arr.length&&(t.str+="&"));utils.store.set("params",t)},this.redirect=function(t){if(t.redirect_url)return location.assign(t.redirect_url);if(!lqd.subscription_products_size)return location.assign(t.checkout_url);const e=document.querySelector('form[action="/checkout"], form[action="/cart"]');if(!e)return a.checkout({redirect:!0});e.submit()},this.simulateSubmit=function(){var t=document.querySelectorAll(a.ocuSelectors);if(!t.length)return location="/cart";Array.prototype.slice.call(t,-1)[0].dispatchEvent(new MouseEvent("click"))},this.simulateDocumentClick=function(){var t=new Event("click"),e=document.createElement("button");e.type="submit",e.name="checkout",Object.defineProperty(t,"target",{value:e}),document.dispatchEvent(t)},this.preventMouseDown=function(t){t.preventDefault(),t.stopPropagation()},this.payPal=function(t){var e;"goto_pp"===t.name&&"paypal_express"===t.value&&((e=utils.store.get("params")).arr.push({name:t.name,value:t.value}),utils.store.set("requirePayPal",!0),utils.store.set("params",e))},this.filterFields=function(t){var e=utils.store.get("neededCartFileds"),r=utils.store.get("neededCartItemsFields");return(t=utils.filterObject(t,e)).items=t.items.map(function(t){return utils.filterObject(t,r)}),t},this.filterCartItemFields=function(t){return t.map(function(r){return Object.keys(r).reduce(function(t,e){return"product_description"===e||(t[e]=r[e]),t},{})})},this.checkSelector=function(e){if(e.closest(OCUApi.excludeActionButton))return null;if("true"===e.dataset.ocuCheckout)return e;var t=t=>{t=e.closest(t);return t&&"FORM"!==t.tagName?t:null},r=document.querySelectorAll(a.ocuSelectors),n=Array.prototype.some.call(r,function(t){return t===e}),i=e.closest(".cart_content")&&e.closest('form[action="/checkout"] [type="submit"]'),o="cart"===lqd.template_name&&e.closest('form[action="/cart"] [type="submit"]'),r=t(a.ocuSelectors)||i||o,i=!e.closest(".nudge-offer"),o="product"===lqd.template_name&&!e.closest('form[action$="/cart/add"]')&&(("add"===e.name&&"submit"===e.type?e:null)||e.closest('[name="add"]')&&e.closest('[type="submit"]')),o=!n&&(r||t('[name="checkout"]'))||o;return(n||o)&&i?n?e:o:void 0},this.checkDirectCheckoutButtons=function(t){return/\/checkout/.test(t.onclick&&t.onclick.toString())},this.checkAddToCart=function(t){if(t.closest(OCUApi.excludeActionButton))return null;var e=/^(submit|add|checkout)$/.test(t.name)||this.isActionButton(t);if(e&&OCUApi.customAddToCartButton)return t;if(this.isShopPayInstallments({target:t}))return t;var r=OCUApi.customAddToCartForm||'form[action*="/cart/add"]';return(e||this.isBuyNow({target:t}))&&t.closest(r)},this.zpPreventRedirect=function(t){if("crm_dest"===t.dataset.type||""===t.dataset.zpProductRedirectLink||""===t.dataset.zpAddToCart||t.closest('[data-type="crm_dest"]')||t.closest("[data-zp-product-redirect-link]")||t.closest("[data-zp-add-to-cart]"))return!0},this.isOfferProduct=function(){return lqd.cart_variants_json.some(function(t){return t.properties&&t.properties._ocu_offer_id})},this.addBuyXGetYDiscount=function(t){var e=t.data.items.reduce(function(t,e){if(!e.discounts[0])return t;let r={item_key:e.key,discount:e.discounts};return e.line_level_discount_allocations[0]&&(r.discount_data=e.line_level_discount_allocations),t.push(r),t},[]);return e.length&&(t.data.per_item_discounts=e),t},this.isActionButton=function(r){const t=['[type="submit"]','[name="add"]','[name="checkout"]','[data-skip-cart="true"]'];return OCUApi.customAddToCartButton&&t.push(OCUApi.customAddToCartButton),t.reduce(function(t,e){e=r.closest(e);return t=e&&"FORM"!==e.tagName?!0:t},!1)},this.isBuyNow=function(t){if(!t)return!1;var e=utils.store.get("classList");return t.target.classList.contains(e.buyNow)&&!t.target.classList.contains(e.buyNowBranded)||!!t.target.closest(e.customBuyNowButton)||this.isShopPayInstallments(t)},this.isShopPayInstallments=function(t){var{parent:e}=utils.store.get("shopPayInstallments");return!!t&&t.target.closest(e)},this.getCartItems=function(t){const e=["key","properties","quantity","variant_id","product_id","price","original_price","discounted_price","line_price","original_line_price","final_price","final_line_price","handle","title","options_with_values","selling_plan_allocation"];return{line_items:t.map(function(r){return e.reduce(function(t,e){return t[e]=r[e]||0===r[e]?r[e]:{},t},{})})}},this.isSameCart=function(t){var e=utils.cookie.get("ocu_cart_items"),t=t.items.map(t=>t.key);if(utils.cookie.set("ocu_cart_items",JSON.stringify(t)),!e)return!1;t=new Set(t),e=new Set(JSON.parse(e));return this.areSetsEqual(t,e)},this.isSameCartToken=function(t){return t.token===utils.cookie.get("ocu_popup_token")},this.areSetsEqual=function(t,e){return t.size===e.size&&Array.from(t).every(t=>e.has(t))},this.isSubscriptionProductInCart=function(t){return t.items.reduce(this.isSubscriptionItem,null)},this.isSubscriptionItem=function(t,e){var r=utils.store.get("subscriptionProperties");let n=t;return Object.entries(r).some(function(t){return t[1].some(function(t){return e.properties&&e.properties[t]})&&!e.selling_plan_allocation&&(n=t[0]),n}),n},this.showCheckoutButton=function(){var t=utils.store.get("checkoutButton");const e=document.querySelector(t.selector);var r=OCUIncart.integrations().exemptify;e&&!r.present&&Object.entries(t.excludes).every(function(t){return!t[1].test(e[t[0]])})&&"none"===e.style.display&&(e.style.display="inline-block")},this.clearFallback=function(){var t=utils.store.get("fallback").id;clearTimeout(t)},this.beforeCreate=function(){var t,e;if(utils.store.get("salesRocketIntegrationApplied")){const a=document.querySelector(utils.store.get("cartDrawerSalesRocketControl").selector);a&&a.click()}const r=document.querySelector(utils.store.get("cartDrawerTimberControl").selector);r&&r.click();const n=document.querySelector(utils.store.get("cartDrawerControl").selector);n&&n.click();const i=document.querySelector(utils.store.get("chatButton").selector);i&&i.remove();const o=document.querySelector(OCUApi.customCartDrawerCloseButton);o&&o.click(),null!==(t=(e=OCUApi).beforeCreate)&&void 0!==t&&t.call(e)},this.isDisabledButton=function(t){if(OCUApi.isButtonDisabledAfterClick)return!1;var e=t.closest("button"),e="button"===t.tagName.toLowerCase()?t:e;return e&&(e.disabled||!!e.ariaDisabled)},this.termsOfServiceConfirmation=function(t){const e=t.closest('form[action="/checkout"], form[action="/cart"]');t=e&&e.querySelector(utils.store.get("termsOfServiceCheckbox").selector);return t&&!t.checked},this.isCartPopupRedirectsToCart=function(t){if(t.target.dataset.ocuCheckout&&"cart"!==lqd.template_name)return Shopify.theme_settings&&!1===Shopify.theme_settings.go_to_checkout},this.removeExtraClassList=function(t){var e;t&&(e=utils.store.get("extraClassListToRemove").join(","),t.classList.remove(e))},this.currencyRate=function(){var t;return(null===(t=Shopify)||void 0===t?void 0:t.currency)||{}},this.validateAppropriate=function(n){var t=["cart_token","currency"].reduce((t,e)=>{var r="object"==typeof n[e];return(!n[e]||r&&0===Object.keys(n[e]).length)&&t.push(e),t},[]);return t.length&&console.error("Undefined payload keys:",t),!!t.length},this.getLocation=function(){return OCUApi.axios.get("/browsing_context_suggestions.json").then(t=>{var e;return OCUIncart.customer_location=(null===(t=t.data)||void 0===t||null===(e=t.detected_values)||void 0===e?void 0:e.country)||{handle:null}}).catch(()=>OCUIncart.customer_location={handle:null})},this.preventFallbackRedirect=function(){clearTimeout(utils.store.get("fallback").id)},this.deepEqual=function t(e,r){function n(t){return null!=t&&"object"==typeof t}if(!e||!r)return!1;var i=Object.keys(e),o=Object.keys(r);if(i.length!==o.length)return!1;for(const u of i){var a=e[u],s=r[u],c=n(a)&&n(s);if(c&&!t(a,s)||!c&&a!==s)return!1}return!0},this.getCustomAddToCartData=function(t){let{shopPayInstallments:e,event:r}=t;var t=null===(n=(i=OCUApi).getCustomAddToCartData)||void 0===n?void 0:n.call(i,r);if(t||!e)return null!=t?t:{};var{attr:n}=utils.store.get("shopPayInstallments"),i=e.getAttribute(n.token),[t,n]=null!==(n=null===(t=e.getAttribute(n.variant))||void 0===t?void 0:t.split(":"))&&void 0!==n?n:[];return{id:t,quantity:n,token:i}},this.hasSellingPlan=function(t){return!!t.find(t=>{var e;if(null!==(e=t.properties)&&void 0!==e&&e._ocu_offer_id&&Object.keys(t.selling_plan_allocation).length)return t})},this.listenWidgetEvent=function(){document.addEventListener("OCUWidgetReady",()=>{console.log("[WIDGET PROCEED VIA EVENT]"),OCUIncart.productPageWidget.setData()})}}function ApplicationsUtils(){const t={overlay:".slidecarthq-overlay",cartDrawer:"[cart-drawer-show], .slidecarthq, #sidebar-cart",chatWindow:"#chat-window",chatButton:"#chat-button"};this.beforePrecheckoutPopup=function(){this.adjustZIndex(),this.hideSlidecart()},this.adjustZIndex=function(){Object.values(t).forEach(function(t){const e=document.querySelector(t);e&&(e.style.zIndex=1e3)})},this.hideSlidecart=function(){this.isMobile()&&window.SLIDECART_STATE&&window.SLIDECART_STATE().open&&window.SLIDECART_CLOSE&&SLIDECART_CLOSE()},this.isMobile=function(){return/Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Mobile|Opera Mini/i.test(navigator.userAgent)}}function initApplication(){var t=new Application;return OCUApi.initialize({context:t}),t}function loadAxios(t){const e=document.createElement("script"),r=ocuCdn+"/vendor/axios.min.js";e.src=r,e.onload=()=>{if(window.axios)return t();requireJsAxios(r,t)},document.head.append(e)}function requireJsAxios(t,e){var r,n;null!==(r=(n=window).require)&&void 0!==r&&r.call(n,[t],t=>{window.axios=t,e()})}function replaceCurrencyFormat(){window.Shopify&&Shopify.money_format&&(Shopify.money_format=OCUIncart.money_format)}function Store(){const r={store:{ocuSelectors:'[name="checkout"], [href^="/checkout"], form[action^="/checkout"] [type="submit"], form[action$="/cart"] [type="submit"], #checkout, [name="goto_pp"], .checkout_button, .checkout-button, [value="Checkout"], .cart-button-checkout, #btn-checkout, .btn__checkout.js-prefill-url, form[action^="/checkout"] .chk_out, form[action^="/cart"] .chk_out, form[action^="/cart"] .cart__checkout, form[action^="/cart"] .ajaxcart__checkout.ajax-cart__button, form[action^="/cart"] .btn-checkout, #rebuy-cart .rebuy-cart__flyout-footer .rebuy-cart__checkout-button, #slidedown-cart .actions .btn.btn-checkout',addToCartButton:'[name="add"]',proxy:"/apps/secure-checkout",lqdCart:"/upsellapp_cart",checkUpsells:"/check_upsells",excludedRequiredFormIds:["cbb-shipping-rates-calculator-form"],neededCartFileds:["token","note","attributes","items","currency","cart_level_discount_applications"],neededCartItemsFields:["product_id","variant_id","quantity","grams","price","line_price","title","properties","vendor","sku","key"],permalink:/cart\/(\d+:\d+(?:,\d+:\d+)*)(?:[?&]discount=([-\w! %205]+))*/,subscriptionProperties:{recharge:["subscription_id","shipping_interval_frequency","shipping_interval_unit_type"],bold:["frequency_num","frequency_type"]},isAddToCartClicked:!1,cartChanged:!1,cartUpdated:!1,requirePayPal:!1,checkoutButtonState:!1,submitted:!1,amazonPayInitiated:!1,salesRocketIntegrationApplied:!1,redirect_url:null,offer:null,offerDeclined:!1,incarts:{},tags:[],isPermalinkHandling:!1,isTargetBuyNow:!1,cart_token:null,classList:{buyNow:"shopify-payment-button__button",buyNowBranded:"shopify-payment-button__button--branded",customBuyNowButton:OCUApi.customBuyNowButton},params:{str:"",arr:[]},fallback:{timeout:15e3,id:0},XHR:{send:XMLHttpRequest.prototype.send},checkoutButton:{selector:"[data-ocu-checkout]",excludes:{tagName:/^P$/,id:/^ProceedToCheckout(Top|Bottom)$/}},cartDrawerControl:{selector:'[data-action="close-drawer"][data-drawer-id="sidebar-cart"], #CartDrawer .drawer__close-button, #CartDrawer .js-drawer-close'},cartDrawerSalesRocketControl:{selector:"#cartSlider-shopper .ws-cs-close"},cartDrawerTimberControl:{selector:"#CartDrawer .js-drawer-close button"},chatButton:{selector:"#shopify-chat"},termsOfServiceCheckbox:{selector:".cart__terms-checkbox"},productLocation:{variant_id:null,product_id:null},extraClassListToRemove:["hulkapps_submit_cart"],shopPayInstallments:{id:"shop-pay-button-link",parent:"#shopify-payment-terms-modal shop-pay-button",query:"payment=shop_pay_installments&source=installments_modal&source_token",checkoutUrl:"/checkout?payment=shop_pay_installments&source=installments_modal&source_token",attr:{variant:"variants",token:"source-token"}},pagesIntegrationData:{},productPageWidget:{},widgetHandled:!1},event:function(t){return new Event("store:"+t)},emit:function(t){document.dispatchEvent(this.event(t))}};this.get=function(t){return r.store[t]},this.set=function(t,e){if(!r.store.hasOwnProperty(t))return console.error("Unavailable key! ",t);r.emit(t),r.store[t]=e},this.listen=function(e){return new Promise(function(t){document.addEventListener("store:"+e,t)})}}[Helpers,Integrations,Cart,PublicMethod,SkipCart,BuyNow].forEach(function(t){Object.setPrototypeOf(t.prototype,Application.prototype)}),OCUApi.axios||window.axios?initApplication():loadAxios(initApplication);
}();
</script>
<style> </style>
<div id="shopify-block-6174324309569838175" class="shopify-block shopify-app-block">
<div class="smile-shopify-init"
data-channel-key="channel_M1VVJ6SalxDkALtCkqa6u4aD"
></div>
</div></body>
</html>