function s(o){var t=o+"=",c=decodeURIComponent(document.cookie).split(";");for(let e=0;e<c.length;e++){let o=c[e];for(;" "==o.charAt(0);)o=o.substring(1);if(0==o.indexOf(t))return o.substring(t.length,o.length)}return""}function u(){for(var o=document.cookie.split(";"),e={},t=0,c=o.length;t<c;t+=1){var n=o[t].split("=");" _fbp"===n[0]?e.fbp=n[1]:" _fbc"===n[0]&&(e.fbc=n[1])}return e}function d(o,e){var t=new Date,t=(t.setTime(t.getTime()+31536e6),"expires="+t.toUTCString());document.cookie=e+"="+o+";"+t+";path=/"}let o=()=>Math.random().toString(36).substring(2),y=()=>o()+o();function l(o,e,t){fetch("https://connect.leafsignal.com/shopify/webhook/custom",{method:"POST",headers:{"Content-Type":"application/json","X-Shopify-topic":e,"X-Shopify-shop-id":t},body:JSON.stringify(o)}).then(o=>o.json()).catch(o=>{console.error("Error sending custom event to app: ",JSON.stringify(o))})}function m(o){var e,t={},c=window.dataLayer.find(o=>"logState"===o.event);return c&&(e=c.customerInfo,"purchase"===o?(e=c.billingInfo,t={email:c.checkoutEmail,first_name:c.billingInfo.firstName,last_name:c.billingInfo.lastName,default_address:e}):c.customerInfo&&c.customerEmail&&(t={email:c.customerEmail,first_name:c.customerInfo.firstName,last_name:c.customerInfo.lastName,default_address:e})),t}function p(){return Math.floor(Date.now()/1e3)}function _(){var o=s("latestETMSec"),e=p();return o&&""!==o?0==(o=e-o)?1:o:(d(e,"latestETMSec"),1)}function f(o){var e,t;return o?o.startsWith("GS1")?2<(e=o.split(".")).length?e[2]:"":!o.startsWith("GS2")||-1===(e=o.indexOf(".s"))?"":(t=o.indexOf("$",e=e+".s".length),o.substring(e,-1<t?t:o.length)):""}function h(o,e){var t=s("_ga").split(".").splice(2,3).join("."),c="",e=(e&&(c=f(s("_ga_"+e.split("-")[1]))),s("connect_cid")),n=y(),i=document.referrer,r=_(),a=(r&&!isNaN(r)||(r=1),u()),n={id:n,platform_source:"cms",user_data:{cid:t,ga_session_id:c,external_id:e,fbp:a.fbp||null,fbc:a.fbc||null,page_referrer:i,engagement_time_msec:r,page_location:window.location.href,page_title:document.title},event_source_url:window.location.href};return 0<Object.keys(o).length&&(n.customer=o),n}function g(o,e,t,c){c&&fbq("trackSingle",c,o,e,{eventID:t})}function n(o){var e;return"string"==typeof o?(e=(o=o.trim()).replace(/[^0-9]/g,""),/[,.]d{2}$/.test(o)&&(e=e.replace(/(d{2})$/,".$1")),parseFloat(e)):o}function S(o){o=o.items[0];return{contents:[{id:o.item_id,quantity:1}],content_ids:[o.item_id],content_type:"product",value:n(o.price),currency:o.currency}}function v(o){var e=[],t=[];return o.items.forEach(function(o){e.push({id:o.item_id,quantity:o.quantity,item_price:o.price}),t.push(o.item_id)}),{content_type:"product",value:o.value,currency:o.currency,contents:e,content_ids:t}}function b(o){var e={content_name:"Thank You",content_type:"product",currency:o.currency},t=[],c=[];return e.value=n(o.value),o.items.forEach(function(o){t.push(o.item_id),c.push({id:o.item_id,quantity:o.quantity})}),e.content_ids=t,e.contents=c,e}function M(o){var e={currency:o.currency,content_type:"product",value:parseFloat(o.value)},t=[],c=[];return o.items.forEach(function(o){t.push({id:o.item_id,quantity:o.quantity}),c.push(o.item_id)}),e.contents=t,e.content_ids=c,e}function t(o){var t=[];return o.forEach(function(o){var e={};e.sku=o.item_id,e.title=o.item_name,e.vendor=o.item_brand,e.variant_title=o.item_variant||"default_title",e.price=n(o.price),e.quantity=o.quantity,e.product_id=o.item_id,e.variant_id=o.item_id,t.push(e)}),t}function I(o,e){return o.id=e.transaction_id,o.product_data&&o.product_data.content_name&&delete o.product_data.content_name,o.line_items=t(e.items),o.source_name="web",o.total_price=n(e.value),o.total_tax=n(e.tax),o.subtotal_price=n(e.transaction_subtotal),o.shipping_price=n(e.shipping),o.currency=e.currency,o.name=e.transaction_id,o.gateway=e.gateway,e.coupon&&(o.discount_code=e.coupon,o.discount_amount=n(e.discount)||0),o}function w(o){var t=[],e=JSON.parse(JSON.stringify(o));return e.shop_id&&delete e.shop_id,e.token&&delete e.token,e.value=n(o.value),o.items.forEach(function(o){var e=n(o.price);o.price=e,o.item_variant=o.item_variant||"default_title",t.push(o)}),e.items=t,e}function C(o){var t=[],e=JSON.parse(JSON.stringify(o));return e.shop_id&&delete e.shop_id,e.items&&delete e.items,o.discount&&(e.discount=n(o.discount)),e.total_price=n(o.value),e.tax=n(o.tax),e.shipping=n(o.shipping),e.subtotal=n(o.subtotal),o.items.forEach(function(o){var e={sku:o.item_id,product_id:o.item_id,title:o.item_name,variant_title:o.item_variant||"default_title",vendor:o.item_brand,...o};o.item_variant_id&&(e.variant_id=o.item_variant_id),e.price=n(o.price),t.push(e)}),e.line_items=t,e}function N(o){var t=[];return JSON.parse(JSON.stringify(o)).forEach(function(o){var e=n(o.price);o.price=e,o.item_variant=o.item_variant||"default_title",t.push(o)}),t}function T(o){var e=sessionStorage.getItem("trackedEvents");o=((e=e?JSON.parse(e):[]).push(o),JSON.stringify(e)),sessionStorage.setItem("trackedEvents",o)}function E(o){var e;return void 0===o||!!(e=sessionStorage.getItem("trackedEvents"))&&JSON.parse(e).includes(o)}function A(o,e,t){var c=h(m(o.event),t),n=p();switch(o.event){case"view_item":var i=S(o.ecommerce);c.product_data=i,c.ga4_data=w(o.ecommerce);var r=E(a=o.correlation_id);o.ecommerce.shop_id&&!1===r&&(l(c,"custom/content_view",o.ecommerce.shop_id),g("ViewContent",i,c.id,e),d(n,"latestETMSec"),T(a));break;case"page_view":r=E(a=o.correlation_id);o.shop_id&&!1===r&&(l(c,"custom/page_view",o.shop_id),g("PageView",{},c.id,e),d(n,"latestETMSec"),T(a));break;case"add_to_cart":i=v(o.ecommerce);c.product_data=i,c.items=N(o.ecommerce.items);r=E(a=o.correlation_id);o.ecommerce.shop_id&&!1===r&&(g("AddToCart",i,c.id,e),l(c,"custom/add_to_cart",o.ecommerce.shop_id),d(n,"latestETMSec"),T(a));break;case"purchase":var r=E(a=o.correlation_id);o.ecommerce.shop_id&&!1===r&&(g("Purchase",i=b(o.ecommerce),o.ecommerce.transaction_number,e),c.product_data=JSON.parse(JSON.stringify(i)),l(I(c,o.ecommerce),"custom/purchase",o.ecommerce.shop_id),d(n,"latestETMSec"),T(a));break;case"initiate_checkout":r=E(a=o.correlation_id);o.ecommerce.shop_id&&!1===r&&(g("InitiateCheckout",M(o.ecommerce),c.id,e),c.ga4_data=w(o.ecommerce),c.product_data=v(o.ecommerce),l(c,"custom/begin_checkout",o.ecommerce.shop_id),d(n,"latestETMSec"),T(a));break;case"add_contact_info":case"add_shipping_info":case"add_payment_info":var a,r=E(a=o.correlation_id);o.ecommerce.shop_id&&!1===r&&(c.event_data=C(o.ecommerce),c.step=o.event,l(c,"custom/update_checkout",o.ecommerce.shop_id),d(n,"latestETMSec"),T(a))}}function L(){for(var o=window.location.hostname,e=document.getElementsByTagName("connect-fb"),t="",c=0;c<e.length;c++){var n=e[c].getAttribute("domain");(null===n||n===o)&&(t=e[c].getAttribute("fbid"),c=e.length)}return t}function B(){for(var o=window.location.hostname,e=document.getElementsByTagName("connect-ga"),t="",c=0;c<e.length;c++){var n=e[c].getAttribute("domain");(null===n||n===o)&&(t=e[c].getAttribute("ga"),c=e.length)}return t}function e(o){function e(){dataLayer.push(arguments)}var t,c;o&&(t="https://www.googletagmanager.com/gtag/js?id="+o,(c=document.createElement("script")).setAttribute("src",t),c.setAttribute("async",""),document.head.appendChild(c),window.dataLayer=window.dataLayer||[],e("js",new Date),e("config",o))}function G(o,e){var t,c,n;o&&(c=window,n=document,c.fbq||(t=c.fbq=function(){t.callMethod?t.callMethod.apply(t,arguments):t.queue.push(arguments)},c._fbq||(c._fbq=t),(t.push=t).loaded=!0,t.version="2.0",t.queue=[],(c=n.createElement("script")).async=!0,c.src="https://connect.facebook.net/en_US/fbevents.js",(n=n.getElementsByTagName("script")[0]).parentNode.insertBefore(c,n)),fbq.disablePushState=!0,fbq("init",o,e))}function k(){return[{country:"Afghanistan",code:"93",iso:"AF"},{country:"Albania",code:"355",iso:"AL"},{country:"Algeria",code:"213",iso:"DZ"},{country:"American Samoa",code:"1-684",iso:"AS"},{country:"Andorra",code:"376",iso:"AD"},{country:"Angola",code:"244",iso:"AO"},{country:"Anguilla",code:"1-264",iso:"AI"},{country:"Antarctica",code:"672",iso:"AQ"},{country:"Antigua and Barbuda",code:"1-268",iso:"AG"},{country:"Argentina",code:"54",iso:"AR"},{country:"Armenia",code:"374",iso:"AM"},{country:"Aruba",code:"297",iso:"AW"},{country:"Australia",code:"61",iso:"AU"},{country:"Austria",code:"43",iso:"AT"},{country:"Azerbaijan",code:"994",iso:"AZ"},{country:"Bahamas",code:"1-242",iso:"BS"},{country:"Bahrain",code:"973",iso:"BH"},{country:"Bangladesh",code:"880",iso:"BD"},{country:"Barbados",code:"1-246",iso:"BB"},{country:"Belarus",code:"375",iso:"BY"},{country:"Belgium",code:"32",iso:"BE"},{country:"Belize",code:"501",iso:"BZ"},{country:"Benin",code:"229",iso:"BJ"},{country:"Bermuda",code:"1-441",iso:"BM"},{country:"Bhutan",code:"975",iso:"BT"},{country:"Bolivia",code:"591",iso:"BO"},{country:"Bosnia and Herzegovina",code:"387",iso:"BA"},{country:"Botswana",code:"267",iso:"BW"},{country:"Brazil",code:"55",iso:"BR"},{country:"British Indian Ocean Territory",code:"246",iso:"IO"},{country:"British Virgin Islands",code:"1-284",iso:"VG"},{country:"Brunei",code:"673",iso:"BN"},{country:"Bulgaria",code:"359",iso:"BG"},{country:"Burkina Faso",code:"226",iso:"BF"},{country:"Burundi",code:"257",iso:"BI"},{country:"Cambodia",code:"855",iso:"KH"},{country:"Cameroon",code:"237",iso:"CM"},{country:"Canada",code:"1",iso:"CA"},{country:"Cape Verde",code:"238",iso:"CV"},{country:"Cayman Islands",code:"1-345",iso:"KY"},{country:"Central African Republic",code:"236",iso:"CF"},{country:"Chad",code:"235",iso:"TD"},{country:"Chile",code:"56",iso:"CL"},{country:"China",code:"86",iso:"CN"},{country:"Christmas Island",code:"61",iso:"CX"},{country:"Cocos Islands",code:"61",iso:"CC"},{country:"Colombia",code:"57",iso:"CO"},{country:"Comoros",code:"269",iso:"KM"},{country:"Cook Islands",code:"682",iso:"CK"},{country:"Costa Rica",code:"506",iso:"CR"},{country:"Croatia",code:"385",iso:"HR"},{country:"Cuba",code:"53",iso:"CU"},{country:"Curacao",code:"599",iso:"CW"},{country:"Cyprus",code:"357",iso:"CY"},{country:"Czech Republic",code:"420",iso:"CZ"},{country:"Democratic Republic of the Congo",code:"243",iso:"CD"},{country:"Denmark",code:"45",iso:"DK"},{country:"Djibouti",code:"253",iso:"DJ"},{country:"Dominica",code:"1-767",iso:"DM"},{country:"Dominican Republic",code:"1-809, 1-829, 1-849",iso:"DO"},{country:"East Timor",code:"670",iso:"TL"},{country:"Ecuador",code:"593",iso:"EC"},{country:"Egypt",code:"20",iso:"EG"},{country:"El Salvador",code:"503",iso:"SV"},{country:"Equatorial Guinea",code:"240",iso:"GQ"},{country:"Eritrea",code:"291",iso:"ER"},{country:"Estonia",code:"372",iso:"EE"},{country:"Ethiopia",code:"251",iso:"ET"},{country:"Falkland Islands",code:"500",iso:"FK"},{country:"Faroe Islands",code:"298",iso:"FO"},{country:"Fiji",code:"679",iso:"FJ"},{country:"Finland",code:"358",iso:"FI"},{country:"France",code:"33",iso:"FR"},{country:"French Polynesia",code:"689",iso:"PF"},{country:"Gabon",code:"241",iso:"GA"},{country:"Gambia",code:"220",iso:"GM"},{country:"Georgia",code:"995",iso:"GE"},{country:"Germany",code:"49",iso:"DE"},{country:"Ghana",code:"233",iso:"GH"},{country:"Gibraltar",code:"350",iso:"GI"},{country:"Greece",code:"30",iso:"GR"},{country:"Greenland",code:"299",iso:"GL"},{country:"Grenada",code:"1-473",iso:"GD"},{country:"Guam",code:"1-671",iso:"GU"},{country:"Guatemala",code:"502",iso:"GT"},{country:"Guernsey",code:"44-1481",iso:"GG"},{country:"Guinea",code:"224",iso:"GN"},{country:"Guinea-Bissau",code:"245",iso:"GW"},{country:"Guyana",code:"592",iso:"GY"},{country:"Haiti",code:"509",iso:"HT"},{country:"Honduras",code:"504",iso:"HN"},{country:"Hong Kong",code:"852",iso:"HK"},{country:"Hungary",code:"36",iso:"HU"},{country:"Iceland",code:"354",iso:"IS"},{country:"India",code:"91",iso:"IN"},{country:"Indonesia",code:"62",iso:"ID"},{country:"Iran",code:"98",iso:"IR"},{country:"Iraq",code:"964",iso:"IQ"},{country:"Ireland",code:"353",iso:"IE"},{country:"Isle of Man",code:"44-1624",iso:"IM"},{country:"Israel",code:"972",iso:"IL"},{country:"Italy",code:"39",iso:"IT"},{country:"Ivory Coast",code:"225",iso:"CI"},{country:"Jamaica",code:"1-876",iso:"JM"},{country:"Japan",code:"81",iso:"JP"},{country:"Jersey",code:"44-1534",iso:"JE"},{country:"Jordan",code:"962",iso:"JO"},{country:"Kazakhstan",code:"7",iso:"KZ"},{country:"Kenya",code:"254",iso:"KE"},{country:"Kiribati",code:"686",iso:"KI"},{country:"Kosovo",code:"383",iso:"XK"},{country:"Kuwait",code:"965",iso:"KW"},{country:"Kyrgyzstan",code:"996",iso:"KG"},{country:"Laos",code:"856",iso:"LA"},{country:"Latvia",code:"371",iso:"LV"},{country:"Lebanon",code:"961",iso:"LB"},{country:"Lesotho",code:"266",iso:"LS"},{country:"Liberia",code:"231",iso:"LR"},{country:"Libya",code:"218",iso:"LY"},{country:"Liechtenstein",code:"423",iso:"LI"},{country:"Lithuania",code:"370",iso:"LT"},{country:"Luxembourg",code:"352",iso:"LU"},{country:"Macao",code:"853",iso:"MO"},{country:"Macedonia",code:"389",iso:"MK"},{country:"Madagascar",code:"261",iso:"MG"},{country:"Malawi",code:"265",iso:"MW"},{country:"Malaysia",code:"60",iso:"MY"},{country:"Maldives",code:"960",iso:"MV"},{country:"Mali",code:"223",iso:"ML"},{country:"Malta",code:"356",iso:"MT"},{country:"Marshall Islands",code:"692",iso:"MH"},{country:"Mauritania",code:"222",iso:"MR"},{country:"Mauritius",code:"230",iso:"MU"},{country:"Mayotte",code:"262",iso:"YT"},{country:"Mexico",code:"52",iso:"MX"},{country:"Micronesia",code:"691",iso:"FM"},{country:"Moldova",code:"373",iso:"MD"},{country:"Monaco",code:"377",iso:"MC"},{country:"Mongolia",code:"976",iso:"MN"},{country:"Montenegro",code:"382",iso:"ME"},{country:"Montserrat",code:"1-664",iso:"MS"},{country:"Morocco",code:"212",iso:"MA"},{country:"Mozambique",code:"258",iso:"MZ"},{country:"Myanmar",code:"95",iso:"MM"},{country:"Namibia",code:"264",iso:"NA"},{country:"Nauru",code:"674",iso:"NR"},{country:"Nepal",code:"977",iso:"NP"},{country:"Netherlands",code:"31",iso:"NL"},{country:"Netherlands Antilles",code:"599",iso:"AN"},{country:"New Caledonia",code:"687",iso:"NC"},{country:"New Zealand",code:"64",iso:"NZ"},{country:"Nicaragua",code:"505",iso:"NI"},{country:"Niger",code:"227",iso:"NE"},{country:"Nigeria",code:"234",iso:"NG"},{country:"Niue",code:"683",iso:"NU"},{country:"North Korea",code:"850",iso:"KP"},{country:"Northern Mariana Islands",code:"1-670",iso:"MP"},{country:"Norway",code:"47",iso:"NO"},{country:"Oman",code:"968",iso:"OM"},{country:"Pakistan",code:"92",iso:"PK"},{country:"Palau",code:"680",iso:"PW"},{country:"Palestine",code:"970",iso:"PS"},{country:"Panama",code:"507",iso:"PA"},{country:"Papua New Guinea",code:"675",iso:"PG"},{country:"Paraguay",code:"595",iso:"PY"},{country:"Peru",code:"51",iso:"PE"},{country:"Philippines",code:"63",iso:"PH"},{country:"Pitcairn",code:"64",iso:"PN"},{country:"Poland",code:"48",iso:"PL"},{country:"Portugal",code:"351",iso:"PT"},{country:"Puerto Rico",code:"1-787, 1-939",iso:"PR"},{country:"Qatar",code:"974",iso:"QA"},{country:"Republic of the Congo",code:"242",iso:"CG"},{country:"Reunion",code:"262",iso:"RE"},{country:"Romania",code:"40",iso:"RO"},{country:"Russia",code:"7",iso:"RU"},{country:"Rwanda",code:"250",iso:"RW"},{country:"Saint Barthelemy",code:"590",iso:"BL"},{country:"Saint Helena",code:"290",iso:"SH"},{country:"Saint Kitts and Nevis",code:"1-869",iso:"KN"},{country:"Saint Lucia",code:"1-758",iso:"LC"},{country:"Saint Martin",code:"590",iso:"MF"},{country:"Saint Pierre and Miquelon",code:"508",iso:"PM"},{country:"Saint Vincent and the Grenadines",code:"1-784",iso:"VC"},{country:"Samoa",code:"685",iso:"WS"},{country:"San Marino",code:"378",iso:"SM"},{country:"Sao Tome and Principe",code:"239",iso:"ST"},{country:"Saudi Arabia",code:"966",iso:"SA"},{country:"Senegal",code:"221",iso:"SN"},{country:"Serbia",code:"381",iso:"RS"},{country:"Seychelles",code:"248",iso:"SC"},{country:"Sierra Leone",code:"232",iso:"SL"},{country:"Singapore",code:"65",iso:"SG"},{country:"Sint Maarten",code:"1-721",iso:"SX"},{country:"Slovakia",code:"421",iso:"SK"},{country:"Slovenia",code:"386",iso:"SI"},{country:"Solomon Islands",code:"677",iso:"SB"},{country:"Somalia",code:"252",iso:"SO"},{country:"South Africa",code:"27",iso:"ZA"},{country:"South Korea",code:"82",iso:"KR"},{country:"South Sudan",code:"211",iso:"SS"},{country:"Spain",code:"34",iso:"ES"},{country:"Sri Lanka",code:"94",iso:"LK"},{country:"Sudan",code:"249",iso:"SD"},{country:"Suriname",code:"597",iso:"SR"},{country:"Svalbard and Jan Mayen",code:"47",iso:"SJ"},{country:"Swaziland",code:"268",iso:"SZ"},{country:"Sweden",code:"46",iso:"SE"},{country:"Switzerland",code:"41",iso:"CH"},{country:"Syria",code:"963",iso:"SY"},{country:"Taiwan",code:"886",iso:"TW"},{country:"Tajikistan",code:"992",iso:"TJ"},{country:"Tanzania",code:"255",iso:"TZ"},{country:"Thailand",code:"66",iso:"TH"},{country:"Togo",code:"228",iso:"TG"},{country:"Tokelau",code:"690",iso:"TK"},{country:"Tonga",code:"676",iso:"TO"},{country:"Trinidad and Tobago",code:"1-868",iso:"TT"},{country:"Tunisia",code:"216",iso:"TN"},{country:"Turkey",code:"90",iso:"TR"},{country:"Turkmenistan",code:"993",iso:"TM"},{country:"Turks and Caicos Islands",code:"1-649",iso:"TC"},{country:"Tuvalu",code:"688",iso:"TV"},{country:"U.S. Virgin Islands",code:"1-340",iso:"VI"},{country:"Uganda",code:"256",iso:"UG"},{country:"Ukraine",code:"380",iso:"UA"},{country:"United Arab Emirates",code:"971",iso:"AE"},{country:"United Kingdom",code:"44",iso:"GB"},{country:"United States",code:"1",iso:"US"},{country:"Uruguay",code:"598",iso:"UY"},{country:"Uzbekistan",code:"998",iso:"UZ"},{country:"Vanuatu",code:"678",iso:"VU"},{country:"Vatican",code:"379",iso:"VA"},{country:"Venezuela",code:"58",iso:"VE"},{country:"Vietnam",code:"84",iso:"VN"},{country:"Wallis and Futuna",code:"681",iso:"WF"},{country:"Western Sahara",code:"212",iso:"EH"},{country:"Yemen",code:"967",iso:"YE"},{country:"Zambia",code:"260",iso:"ZM"},{country:"Zimbabwe",code:"263",iso:"ZW"}]}function P(){var o=s("connect_cid");o&&""!==o||d(y(),"connect_cid")}var O=0;function c(o){P();var e,t,c,n=L(),i=B(),r={external_id:s("connect_cid")},a=window.dataLayer.find(o=>"logState"===o.event);a&&a.customerInfo&&(t=a.customerEmail?a.customerEmail.toLowerCase():null,r.em=t,t=a.customerInfo.firstName?a.customerInfo.firstName.toLowerCase():null,r.fn=t,t=a.customerInfo.lastName?a.customerInfo.lastName.toLowerCase():null,r.ln=t,t=a.customerInfo.city||null,r.ct=t?t.replace(/ /g,"").toLowerCase():null,null!==a.customerInfo.state&&(t=a.customerInfo.state,r.st=t?t.replace(/ /g,"").toLowerCase():null),t=a.customerInfo.zip,r.zp=t?t.replace(/ /g,"").replace("-","").toLowerCase():null,r.country=a.customerInfo.country_code?a.customerInfo.country_code.toLowerCase():null,t=a.customerInfo.phone)&&(c=k(),e=a.customerInfo.country_code?a.customerInfo.country_code.toUpperCase():null,a=c.find(o=>o.iso===e),c=t.replace(/D/g,""),t=parseInt(c,10),c=""+a.code+t,r.ph=c),0===O&&(O=1,G(n,r)),A(o,n,i)}var i=setInterval(function(){var e;window.dataLayer=window.dataLayer||[],window.dataLayer&&(clearInterval(i),e=window?.dataLayer?.push,window.dataLayer.push=function(){var o=[].slice.call(arguments,0);return c(o[0]),e.apply(window.dataLayer,o)},0<window.dataLayer.length)&&window.dataLayer.forEach(function(o){c(o)})},200);