(() => { var bundles = [['events', () => { var define = true; !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.obBundle=t():(e.obBundle=e.obBundle||{},e.obBundle.events=t())}(self,()=>(()=>{"use strict";var o={d:(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},e={};o.r(e),o.d(e,{EventsBinder:()=>a,factory:()=>function(){for(var e=[],t=0;t ")}function u(e){if(e)return e.id||(e.attribs?e.attribs.id:void 0)}function h(e){if(e)return e.className||(e.attribs?e.attribs.class:void 0)}function f(e,t){var n;if(void 0===t&&(t=window),!e)return[];var o=[];try{o=Array.from(null==(n=t.document)?void 0:n.querySelectorAll(e))}catch(n){r("ERROR: in querySelectorAll ".concat(n.message," ").concat(e," trying with sanitized selector")),o=Array.from(null==(t=t.document)?void 0:t.querySelectorAll(e.replace(/[^a-zA-Z0-9-_:.#\s]/g,"")))}return r("last selector used ".concat(e," results ").concat(o.length)),o}var i,p=function(){return(p=Object.assign||function(e){for(var t,n=1,o=arguments.length;n "),o=t.split(" > ");if(0===n.length||0===o.length)return 1;for(var i=Math.max(n.length,o.length);n.length").map(function(e){return e.trim()}),o=/#([\w-]+)/,(i=n.filter(function(e){return o.test(e)})).length)?(n=n[n.length-1],i=i.join(" ").trim()+" "+n,f(i,e._window)):[]},function(e,t,n){if(null==n||!n.length)return[];n[0],n[1];var n=n[2].split(">").map(function(e){return e.trim()}),o=n.pop(),i=n.filter(function(e){return e.match(/.\w+$/)});if(!i.length)return[];for(var r=[],a=!0;!r.length&&i.length;)a||i.shift(),r=f(i.join(" ").trim()+" "+o,e._window),a=!1;return r},function(e,t,n){if(null==n||!n.length)return[];for(var o=n[0],i=o.replace(/:nth-of-type\(\d+\)/gi,""),r=[];o!==i&&r.length<3;)o=o.replace(/:nth-of-type\(\d+\)/,""),r=f(o,e._window);return r}],this.locationHref=e}return e})()),"undefined"!=typeof obBundle&&(new obBundle.events.EventsBinder).execute([{conversion:{name:"Proceed to Checkout"},metadata:{conversionId:"001ffc36cc0a2b062ac55b0c8436676b13",cssPath:"div#shopify-section-book-video > book-video > div:nth-of-type(2) > div:nth-of-type(2) > a",tagName:"A",elText:"Proceed to Checkout",finalUrl:"https://heyswysh.com/cart",enableGlobalConversion:"",groupAnchorElementsWithUrl:null,groupElementsWithText:null},cssSelectors:["html > body > div#shopify-section-book-video > book-video > div:nth-of-type(2) > div:nth-of-type(2) > a","html.js > body.template-cart > div.shopify-section > book-video.book-video-popup-container > div.cart-checkout > div.book-video__submit-wrapper > a.button","html.js > body.template-cart.cart-page-have-product > div.shopify-section.popup-section > book-video.book-video-popup-container > div.cart-checkout > div.book-video__submit-wrapper > a.button.book-video-addtocart-submit","html.js > body.template-cart.cart-page-have-product > div.shopify-section.popup-section > book-video.book-video-popup-container > div.cart-checkout > div.book-video__submit-wrapper > a.button.book-video-addtocart-submit"],domTrail:[{tagName:"A",elementAttributeNames:"href:/checkout;class:button book-video-addtocart-submit;",elementId:"",elementNthChild:0},{tagName:"DIV",elementAttributeNames:"class:book-video__submit-wrapper;",elementId:"",elementNthChild:2},{tagName:"DIV",elementAttributeNames:"class:cart-checkout;",elementId:"",elementNthChild:2},{tagName:"BOOK-VIDEO",elementAttributeNames:"class:book-video-popup-container;data-step:2;data-book:cart;data-cartid:;",elementId:"",elementNthChild:0},{tagName:"DIV",elementAttributeNames:"id:shopify-section-book-video;class:shopify-section popup-section;",elementId:"shopify-section-book-video",elementNthChild:3},{tagName:"BODY",elementAttributeNames:"class:template-cart cart-page-have-product;",elementId:"",elementNthChild:0},{tagName:"HTML",elementAttributeNames:"class:js;lang:en;",elementId:"",elementNthChild:0}]},{conversion:{name:"bookall"},metadata:{conversionId:"00671c866a5fd96e3d6b709ab342850a0c",cssPath:"div#shopify-section-template--18109126115570__16553397805945ae13 > section > div > div > div:nth-of-type(2) > a",tagName:"A",elText:"Book a video for Dad",finalUrl:"https://heyswysh.com/",enableGlobalConversion:"",groupAnchorElementsWithUrl:"/collections/all",groupElementsWithText:null},cssSelectors:["html > body > main#MainContent > div#shopify-section-template--18109126115570__16553397805945ae13 > section > div > div > div:nth-of-type(2) > a","html.js > body.template-index > main.content-for-layout > div.shopify-section > section.custom-image-with-text > div.page-width > div.content-wrapper > div.text-wrapper > a.cta-text","html.js > body.template-index.detect-location--default > main.content-for-layout.focus-none > div.shopify-section > section.custom-image-with-text.section-au > div.page-width > div.content-wrapper > div.text-wrapper > a.cta-text.button__link","html.js > body.template-index.detect-location--default.sticky-header > main.content-for-layout.focus-none > div.shopify-section > section.custom-image-with-text.section-au > div.page-width > div.content-wrapper > div.text-wrapper > a.cta-text.button__link"],domTrail:[{tagName:"A",elementAttributeNames:"href:/collections/all;class:cta-text button__link;",elementId:"",elementNthChild:0},{tagName:"DIV",elementAttributeNames:"class:text-wrapper;",elementId:"",elementNthChild:2},{tagName:"DIV",elementAttributeNames:"class:content-wrapper;",elementId:"",elementNthChild:0},{tagName:"DIV",elementAttributeNames:"class:page-width;",elementId:"",elementNthChild:0},{tagName:"SECTION",elementAttributeNames:"class:custom-image-with-text section-au;",elementId:"",elementNthChild:0},{tagName:"DIV",elementAttributeNames:"id:shopify-section-template--18109126115570__16553397805945ae13;class:shopify-section;",elementId:"shopify-section-template--18109126115570__16553397805945ae13",elementNthChild:6},{tagName:"MAIN",elementAttributeNames:"id:MainContent;class:content-for-layout focus-none;role:main;tabindex:-1;",elementId:"MainContent",elementNthChild:0},{tagName:"BODY",elementAttributeNames:"class:template-index detect-location--default sticky-header;data-new-gr-c-s-check-loaded:14.1190.0;data-gr-ext-installed:;data-new-gr-c-s-loaded:14.1190.0;",elementId:"",elementNthChild:0},{tagName:"HTML",elementAttributeNames:"class:js;lang:en;",elementId:"",elementNthChild:0}]}]); }]]; for (var i = 0; i < bundles.length; i++) { var bundle = bundles[i]; bundle[1].call(window, bundle[2]); } })()