[]
Yoga Clothing – nestcomfy `form[action*=’/${t}’]:not([data-nocaptcha=’true’]) input[name=’form_type’][value=’${e}’]`)).join(‘,’);function s(t,e,n=!1){try{const o=window.sessionStorage;for(const[n,c]of Object.entries(JSON.parse(o.getItem(e))))t.elements[n]&&(t.elements[n].value=c);n&&o.removeItem(e)}catch{}}const a=’form_key’,i=[‘recaptcha-v3-token’,’g-recaptcha-response’,’h-captcha-response’,’password’],u=()=>{try{return window.sessionStorage}catch{return}},m=t=>t.elements[a],f=’form_type’,d=’cptcha’;function p(t){t.dataset[d]=!0}const l=window,h=l.document,_=’Shopify’,y=’ce_forms’,E=’captcha’;let v=!1;((t,e)=>{const n=(g=’f06e6c50-85a8-45c8-87d0-21a2b65856fe’,’https://cdn.shopify.com/shopifycloud/storefront-forms-hcaptcha/ce_storefront_forms_captcha_hcaptcha.v1.4.0.iife.js’,T={infoText:’Protected by hCaptcha’,privacyText:’Privacy’,termsText:’Terms’},(t,e,n)=>{const o=l[_][y],c=o.bindForm;if(c)return c(t,g,e,T).then(n);o.q.push([[t,g,e,T],n]),v||(h.body.append(Object.assign(h.createElement(‘script’),{id:’captcha-provider’,async:!0,src:’https://cdn.shopify.com/shopifycloud/storefront-forms-hcaptcha/ce_storefront_forms_captcha_hcaptcha.v1.4.0.iife.js’})),v=!0)});var g,T;l[_]=l[_]||{},l[_][y]=l[_][y]||{},l[_][y].q=[],l[_][E]=l[_][E]||{},l[_][E].protect=function(t,e){n(t,void 0,e),p(t)},Object.freeze(l[_][E]),function(t,e,n,l,h,_){const[y,E,v,g]=function(t,e,n){const s=e?o:[],a=t?c:[],i=[…s,…a],u=[…o],m=r(i),f=r(s),d=n&&r(i.filter((([t,e])=>n.includes(e)))),p=r(u),l=t=>()=>t?[…document.querySelectorAll(t)].map((t=>t.form)):[];return[l(m),l(f),l(d),l(p)]}(l,h,_),T=t=>{const e=t.target;return e instanceof HTMLFormElement?e:e&&e.form},S=t=>y().includes(t);t.addEventListener(‘submit’,(t=>{const e=T(t);if(!e)return;const n=S(e)&&!e.dataset.hcaptchaBound&&!e.dataset.recaptchaBound,o=m(e),c=g().includes(e)&&(!o||!o.value);(n||c)&&t.preventDefault(),c&&!n&&(function(t){try{if(!u())return;!function(t){const e=u();if(!e)return;const n=m(t);if(!n)return;const o=n.value;o&&e.removeItem(o)}(t);const e=Array.from(Array(32),(()=>Math.random().toString(36)[2])).join(”);!function(t,e){m(t)||t.append(Object.assign(document.createElement(‘input’),{type:’hidden’,name:a})),t.elements[a].value=e}(t,e),function(t,e){const n=u();if(!n)return;const o=[…t.querySelectorAll(‘input[type=”password”]’)].map((({name:t})=>t)),c=[…i,…o],r={};for(const[s,a]of new FormData(t).entries())c.includes(s)||(r[s]=a);n.setItem(e,JSON.stringify(r))}(t,e)}catch(e){console.error(‘failed to persist form’,e)}}(e),e.submit())}));const w=(t,e)=>{t&&!t.dataset[d]&&(n(t,e.some((e=>e===t))),p(t))};for(const o of[‘focusin’,’change’])t.addEventListener(o,(t=>{const e=T(t);S(e)&&w(e,E())}));const A=e.get(‘form_key’),b=e.get(f),I=A&&b;t.addEventListener(‘DOMContentLoaded’,(()=>{const t=E();if(I)for(const e of t)e.elements[f].value===b&&s(e,A);[…new Set([…v(),…y().filter((t=>’true’===t.dataset.shopifyCaptcha))])].forEach((e=>w(e,t)))}))}(h,new URLSearchParams(l.location.search),n,!0,!0,[‘guest_login’])})()}();]]> {let c=o.firstChild;for(;c;)c.nodeType===Node.TEXT_NODE?c.textContent=c.textContent.replace(e,’hCaptcha’):c.nodeType===Node.ELEMENT_NODE&&t(c),c=c.nextSibling};document.addEventListener(‘DOMContentLoaded’,(()=>{(e=>{const o=document.querySelector(‘p[data-spam-detection-disclaimer]’);if(o){for(const e of[‘terms’,’privacy’]){const t=o.querySelector(`a[href*=’https://policies.google.com/${e}’]`);t&&(t.href=`https://hcaptcha.com/${e}`)}t(o)}})()}))}();]]> `, icon_prev: ` { if (!entries[0].isIntersecting || entries[0].target.matches(‘.ajax-loaded’)) return; entries[0].target.classList.add(‘ajax-loaded’); Shopify.Products.showRecentlyViewed({ howManyToShow: limit, wrapperId: ‘recently-viewed-products-list-2’, templateId: ‘recently-viewed-product-block’, layout: ‘slider’, swipe: false, media: ‘adapt’, onComplete: function() { if (window.location.pathname.indexOf(‘/products/’) !== -1) { $.cookie(‘shopify_recently_viewed’, cookieValue, { expires: expireDay, path: “/”, domain: window.location.hostname }); } } }); } this.recentlyViewedBlock = document.querySelector(‘[data-recently-viewed-block]’); const config = { threshold: 0.25, } new IntersectionObserver(handler.bind(this.recentlyViewedBlock), ({}, config)).observe(this.recentlyViewedBlock); } ]]> { button.addEventListener(‘click’, (event) => { event.preventDefault(); if (event.target.nextSibling.classList.contains(‘show’)) { event.target.nextSibling.classList.remove(‘show’); document.querySelector(‘body’).classList.remove(‘show-sidebar-content’); } else { event.target.nextSibling.classList.add(‘show’); document.querySelector(‘body’).classList.add(‘show-sidebar-content’); } }) }); document.querySelectorAll(‘[data-close-content-sidebar]’).forEach((button) => { button.addEventListener(‘click’, (event) => { event.target.closest(‘.bottom-bar–content’).classList.remove(‘show’); }); }) } $(‘body’).addClass(‘sticky-toolbar-mobile’); ]]>
- Choosing a selection results in a full page refresh.
{ document.body.classList.remove(‘quickshop-list-view-show’) }) ]]> { this.timerIncrement(); }, this.time); document.addEventListener(‘mousemove’, this.resetTimer.bind(this)); document.addEventListener(‘keydown’, this.resetTimer.bind(this)); document.addEventListener(‘scroll’, this.resetTimer.bind(this)); this.closeButton.addEventListener(‘click’, this.closeBeforeYouLeave.bind(this)); document.body.addEventListener(‘click’, this.onBodyClick.bind(this)); } onBodyClick(e) { if (!document.body.classList.contains(‘before-you-leave-show’) || this.contains(e.target)) return; document.body.classList.remove(‘before-you-leave-show’); } resetTimer() { this.idleTime = -1; } timerIncrement() { this.idleTime += 1; if (this.idleTime { customElements.define(‘before-you-leave-component’, BeforeYouLeave) }) ]]>