!function(){function t(t,e,r,n){Object.defineProperty(t,e,{get:r,set:n,enumerable:!0,configurable:!0})}var e,r,n,o,i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},f={},s={},u=i.parcelRequire07df;null==u&&((u=function(t){if(t in f)return f[t].exports;if(t in s){var e=s[t];delete s[t];var r={id:t,exports:{}};return f[t]=r,e.call(r.exports,r,r.exports),r.exports}var n=Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}).register=function(t,e){s[t]=e},i.parcelRequire07df=u);var a=u.register;a("7SZEv",function(e,r){t(e.exports,"register",function(){return n},function(t){return n=t}),t(e.exports,"resolve",function(){return o},function(t){return o=t});var n,o,i=new Map;n=function(t,e){for(var r=0;r<e.length-1;r+=2)i.set(e[r],{baseUrl:t,path:e[r+1]})},o=function(t){var e=i.get(t);if(null==e)throw Error("Could not resolve bundle with id "+t);return new URL(e.path,e.baseUrl).toString()}}),a("4lGUa",function(e,r){t(e.exports,"getBundleURL",function(){return n},function(t){return n=t});var n,o={};n=function(t){var e=o[t];return e||(e=function(){try{throw Error()}catch(e){var t=(""+e.stack).match(/(https?|file|ftp|(chrome|moz|safari-web)-extension):\/\/[^)\n]+/g);if(t)return(""+t[2]).replace(/^((?:https?|file|ftp|(chrome|moz|safari-web)-extension):\/\/.+)\/[^/]+$/,"$1")+"/"}return"/"}(),o[t]=e),e}}),a("9gbKS",function(e,r){t(e.exports,"_",function(){return o});var n=u("nvKTJ");function o(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),o.forEach(function(e){(0,n._)(t,e,r[e])})}return t}}),a("nvKTJ",function(e,r){t(e.exports,"_",function(){return n});function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}}),a("lwczO",function(e,r){t(e.exports,"createLogger",function(){return f}),t(e.exports,"default",function(){return s});let n={debug:"color: White; background: #CB7A01; font-weight: bold; padding: 1px 4px; border-radius: 3px;",info:"color: White; background: #388AB8; font-weight: bold; padding: 1px 4px; border-radius: 3px;",warn:"color: White; background: #F26430; font-weight: bold; padding: 1px 4px; border-radius: 3px;",error:"color: White; background: #AD343E; font-weight: bold; padding: 1px 4px; border-radius: 3px;"},o=t=>"string"==typeof t||"number"==typeof t?t.toString():Array.isArray(t)?t.map(o).join(" "):JSON.stringify(t,null,2),i=(t,e,r,n)=>{let o=new Date().toISOString(),i=r?`${e} - ${r}`:e;return`${o} [${i}] ${t.toUpperCase()} : ${n}`},f=t=>{let e=null,r=(r,...f)=>{let s=i(r,t,e,o(f));console.log(`%c${s}`,n[r]||"")};return{setLabel:t=>{e=t},debug:(...t)=>r("debug",...t),info:(...t)=>r("info",...t),warn:(...t)=>r("warn",...t),error:(...t)=>r("error",...t)}};var s=f("MJ")}),a("3tZSl",function(e,r){t(e.exports,"datalayerSource",function(){return n});let n=(t,e=window.dataLayer||[])=>{if(!e||"function"!=typeof e.push){console.error("dataLayer.push is not a function");return}e.forEach(e=>{t(e)});let r=e.push.bind(e);e.push=(...n)=>{r(...n),t(e.slice(-1)[0])}}}),a("kuf8T",function(e,r){t(e.exports,"xhrRequestSource",function(){return n}),t(e.exports,"formatXhrPayload",function(){return o});let n=t=>{let e=XMLHttpRequest.prototype.send;XMLHttpRequest.prototype.send=function(r){this.addEventListener("readystatechange",function(){t(r)}),e.apply(this,arguments)}},o=t=>{if(t instanceof FormData||t instanceof URLSearchParams)return Object.fromEntries(Array.from(t));if("string"==typeof t)try{return JSON.parse(t)}catch(t){}return t}}),a("eU8cG",function(e,r){t(e.exports,"xhrResponseSource",function(){return n});let n=t=>{let e=XMLHttpRequest.prototype.open;XMLHttpRequest.prototype.open=function(){this.addEventListener("load",()=>t(this)),e.apply(this,arguments)}}}),a("apXfG",function(e,r){t(e.exports,"fetchSource",function(){return n});let n=(t,e)=>{let r=window.fetch;window.fetch=function(...n){return t(...n),r(...n).then(async t=>{let r=t.clone();return e(t,await o(r)),t}).catch(t=>{throw console.error("Fetch error:",t),t})}},o=async t=>{let e=t.headers.get("content-type");return e&&e.includes("application/json")?await t.json():await t.text()}}),a("eUzHe",function(t,e){t.exports=u("aiXW3")(u("7SZEv").resolve("bgaXi")).then(()=>u("9tnsc"))}),a("aiXW3",function(t,e){var r=u("1c3ZS");t.exports=r(function(t){return new Promise(function(e,r){if([].concat(document.getElementsByTagName("script")).some(function(e){return e.src===t})){e();return}var n=document.createElement("link");n.href=t,n.rel="preload",n.as="script",document.head.appendChild(n);var o=document.createElement("script");o.async=!0,o.type="text/javascript",o.src=t,o.onerror=function(e){var n=TypeError("Failed to fetch dynamically imported module: ".concat(t,". Error: ").concat(e.message));o.onerror=o.onload=null,o.remove(),r(n)},o.onload=function(){o.onerror=o.onload=null,e()},document.getElementsByTagName("head")[0].appendChild(o)})})}),a("1c3ZS",function(t,e){var r={},n={},o={};t.exports=function(t,e){return function(i){var f=function(t){switch(t){case"preload":return n;case"prefetch":return o;default:return r}}(e);return f[i]?f[i]:f[i]=t.apply(null,arguments).catch(function(t){throw delete f[i],t})}}}),u("7SZEv").register(u("4lGUa").getBundleURL("fDxWw"),JSON.parse('["fDxWw","index.js","bgaXi","adapters.531d282f.js","32qsa","tracker.6431efcf.js","cJt3G","impressions.d15b5c95.js","41h2r","ecommerce.25984dec.js","dqqna","tracker.ea01267b.js","e9BL7","impressions.b1a4a20b.js","7gxBy","ecommerce.66b8c4d7.js","9DPLo","ecommerce.68780c01.js","6NtUh","bigcommerce.9941478e.js","7kseD","blaze.2b69ca65.js","k6WnI","buddi.64a75f07.js","5P0NC","dispense.8a90a0e3.js","bvWSZ","drupal.16fbb34a.js","5QIpC","dutchie-iframe.1417c9c6.js","4Xfd5","dutchie-subdomain.3f910997.js","jgSon","dutchie-plus.eb0f20e6.js","jAQaW","dutchie.eecd1a35.js","292sz","ecwid.a5c1a99b.js","HtKqv","foxy.ac24cda1.js","9voW2","grassdoor.69439c32.js","jFecf","greenrush.0bfa5123.js","hraRe","iqmetrix.18807092.js","kp1Mc","jane.a96e6594.js","3mysF","leafly.22eaa288.js","5thz2","lightspeed.12b57680.js","1lWLa","magento.a5c0d1ba.js","5znd4","meadow.ddef5515.js","4jzOF","olla.21fabde1.js","j9xDU","shopify.0180af11.js","8FLYg","square.441c3ca7.js","4yUUm","sticky-leaf.7df87a63.js","jBZ8z","sweed.2c142433.js","8ITl5","tymber.66156e3b.js","cWZQT","ticketmaster.21926875.js","kiJMr","ticketure.d10a2db2.js","7tJCy","tnew.e92de229.js","euBXr","weave.c4e927e3.js","5620G","webjoint.02608fbb.js","dPOq8","wefunder.3a785702.js","lj3rq","wix.af8229a7.js","fwDWh","woocommerce.f0353430.js","9xs8E","yotpo.ffd487c1.js","2XTWP","flowhub.24c09210.js","ltium","thirdparty.1d2a32c6.js","6L2JC","carrot.26545ac0.js","6x0lw","impressions.f312e65c.js"]'));var c=u("9gbKS"),l=u("lwczO"),c=u("9gbKS"),h=()=>{let t=document.getElementsByTagName("script"),e=document.currentScript||t[t.length-1],r=Object.fromEntries(new URLSearchParams(e.src.substring(e.src.indexOf("?"))).entries()),{mediajelAppId:n,appId:o,version:i}=r,f=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],!(e.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(r,["mediajelAppId","appId","version"]);return console.log("Updated 9/10/25,2"),(0,c._)({appId:o||n,version:i||"1",collector:f.test?"//collector.dmp.mediajel.ninja":"//collector-azsx401.dmp.cnna.io",tag:e.outerHTML.replace(/&amp;/g,"&").replace(/\\"/g,'"')},f)},l=u("lwczO");e=function(t){var e,r,n=function(t){var e=t.length;if(e%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");-1===r&&(r=e);var n=r===e?0:4-r%4;return[r,n]}(t),o=n[0],i=n[1],f=new g((o+i)*3/4-i),s=0,u=i>0?o-4:o;for(r=0;r<u;r+=4)e=d[t.charCodeAt(r)]<<18|d[t.charCodeAt(r+1)]<<12|d[t.charCodeAt(r+2)]<<6|d[t.charCodeAt(r+3)],f[s++]=e>>16&255,f[s++]=e>>8&255,f[s++]=255&e;return 2===i&&(e=d[t.charCodeAt(r)]<<2|d[t.charCodeAt(r+1)]>>4,f[s++]=255&e),1===i&&(e=d[t.charCodeAt(r)]<<10|d[t.charCodeAt(r+1)]<<4|d[t.charCodeAt(r+2)]>>2,f[s++]=e>>8&255,f[s++]=255&e),f},r=function(t){for(var e,r=t.length,n=r%3,o=[],i=0,f=r-n;i<f;i+=16383)o.push(function(t,e,r){for(var n,o=[],i=e;i<r;i+=3)o.push(p[(n=(t[i]<<16&0xff0000)+(t[i+1]<<8&65280)+(255&t[i+2]))>>18&63]+p[n>>12&63]+p[n>>6&63]+p[63&n]);return o.join("")}(t,i,i+16383>f?f:i+16383));return 1===n?o.push(p[(e=t[r-1])>>2]+p[e<<4&63]+"=="):2===n&&o.push(p[(e=(t[r-2]<<8)+t[r-1])>>10]+p[e>>4&63]+p[e<<2&63]+"="),o.join("")};for(var p=[],d=[],g="undefined"!=typeof Uint8Array?Uint8Array:Array,y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b=0,w=y.length;b<w;++b)p[b]=y[b],d[y.charCodeAt(b)]=b;d["-".charCodeAt(0)]=62,d["_".charCodeAt(0)]=63,n=function(t,e,r,n,o){var i,f,s=8*o-n-1,u=(1<<s)-1,a=u>>1,c=-7,l=r?o-1:0,h=r?-1:1,p=t[e+l];for(l+=h,i=p&(1<<-c)-1,p>>=-c,c+=s;c>0;i=256*i+t[e+l],l+=h,c-=8);for(f=i&(1<<-c)-1,i>>=-c,c+=n;c>0;f=256*f+t[e+l],l+=h,c-=8);if(0===i)i=1-a;else{if(i===u)return f?NaN:1/0*(p?-1:1);f+=Math.pow(2,n),i-=a}return(p?-1:1)*f*Math.pow(2,i-n)},o=function(t,e,r,n,o,i){var f,s,u,a=8*i-o-1,c=(1<<a)-1,l=c>>1,h=23===o?5960464477539062e-23:0,p=n?0:i-1,d=n?1:-1,g=e<0||0===e&&1/e<0?1:0;for(isNaN(e=Math.abs(e))||e===1/0?(s=isNaN(e)?1:0,f=c):(f=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-f))<1&&(f--,u*=2),f+l>=1?e+=h/u:e+=h*Math.pow(2,1-l),e*u>=2&&(f++,u/=2),f+l>=c?(s=0,f=c):f+l>=1?(s=(e*u-1)*Math.pow(2,o),f+=l):(s=e*Math.pow(2,l-1)*Math.pow(2,o),f=0));o>=8;t[r+p]=255&s,p+=d,s/=256,o-=8);for(f=f<<o|s,a+=o;a>0;t[r+p]=255&f,p+=d,f/=256,a-=8);t[r+p-d]|=128*g};let m="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function E(t){if(t>0x7fffffff)throw RangeError('The value "'+t+'" is invalid for option "size"');let e=new Uint8Array(t);return Object.setPrototypeOf(e,v.prototype),e}function v(t,e,r){if("number"==typeof t){if("string"==typeof e)throw TypeError('The "string" argument must be of type string. Received type number');return B(t)}return A(t,e,r)}function A(t,e,r){if("string"==typeof t)return function(t,e){if(("string"!=typeof e||""===e)&&(e="utf8"),!v.isEncoding(e))throw TypeError("Unknown encoding: "+e);let r=0|H(t,e),n=E(r),o=n.write(t,e);return o!==r&&(n=n.slice(0,o)),n}(t,e);if(ArrayBuffer.isView(t))return function(t){if(K(t,Uint8Array)){let e=new Uint8Array(t);return S(e.buffer,e.byteOffset,e.byteLength)}return x(t)}(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(K(t,ArrayBuffer)||t&&K(t.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(K(t,SharedArrayBuffer)||t&&K(t.buffer,SharedArrayBuffer)))return S(t,e,r);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');let n=t.valueOf&&t.valueOf();if(null!=n&&n!==t)return v.from(n,e,r);let o=function(t){var e;if(v.isBuffer(t)){let e=0|R(t.length),r=E(e);return 0===r.length||t.copy(r,0,0,e),r}return void 0!==t.length?"number"!=typeof t.length||(e=t.length)!=e?E(0):x(t):"Buffer"===t.type&&Array.isArray(t.data)?x(t.data):void 0}(t);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return v.from(t[Symbol.toPrimitive]("string"),e,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function _(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function B(t){return _(t),E(t<0?0:0|R(t))}function x(t){let e=t.length<0?0:0|R(t.length),r=E(e);for(let n=0;n<e;n+=1)r[n]=255&t[n];return r}function S(t,e,r){let n;if(e<0||t.byteLength<e)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),v.prototype),n}function R(t){if(t>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function H(t,e){if(v.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||K(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);let r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let o=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return J(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Z(t).length;default:if(o)return n?-1:J(t).length;e=(""+e).toLowerCase(),o=!0}}function I(t,e,n){let o=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(e>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,e,r){let n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);let o="";for(let n=e;n<r;++n)o+=V[t[n]];return o}(this,e,n);case"utf8":case"utf-8":return F(this,e,n);case"ascii":return function(t,e,r){let n="";r=Math.min(t.length,r);for(let o=e;o<r;++o)n+=String.fromCharCode(127&t[o]);return n}(this,e,n);case"latin1":case"binary":return function(t,e,r){let n="";r=Math.min(t.length,r);for(let o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}(this,e,n);case"base64":var i,f;return i=e,f=n,0===i&&f===this.length?r(this):r(this.slice(i,f));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,e,r){let n=t.slice(e,r),o="";for(let t=0;t<n.length-1;t+=2)o+=String.fromCharCode(n[t]+256*n[t+1]);return o}(this,e,n);default:if(o)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),o=!0}}function U(t,e,r){let n=t[e];t[e]=t[r],t[r]=n}function j(t,e,r,n,o){var i;if(0===t.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(i=r=+r)!=i&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return -1;r=t.length-1}else if(r<0){if(!o)return -1;r=0}if("string"==typeof e&&(e=v.from(e,n)),v.isBuffer(e))return 0===e.length?-1:O(t,e,r,n,o);if("number"==typeof e)return(e&=255,"function"==typeof Uint8Array.prototype.indexOf)?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):O(t,[e],r,n,o);throw TypeError("val must be string, number or Buffer")}function O(t,e,r,n,o){let i,f=1,s=t.length,u=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return -1;f=2,s/=2,u/=2,r/=2}function a(t,e){return 1===f?t[e]:t.readUInt16BE(e*f)}if(o){let n=-1;for(i=r;i<s;i++)if(a(t,i)===a(e,-1===n?0:i-n)){if(-1===n&&(n=i),i-n+1===u)return n*f}else -1!==n&&(i-=i-n),n=-1}else for(r+u>s&&(r=s-u),i=r;i>=0;i--){let r=!0;for(let n=0;n<u;n++)if(a(t,i+n)!==a(e,n)){r=!1;break}if(r)return i}return -1}function F(t,e,r){r=Math.min(t.length,r);let n=[],o=e;for(;o<r;){let e=t[o],i=null,f=e>239?4:e>223?3:e>191?2:1;if(o+f<=r){let r,n,s,u;switch(f){case 1:e<128&&(i=e);break;case 2:(192&(r=t[o+1]))==128&&(u=(31&e)<<6|63&r)>127&&(i=u);break;case 3:r=t[o+1],n=t[o+2],(192&r)==128&&(192&n)==128&&(u=(15&e)<<12|(63&r)<<6|63&n)>2047&&(u<55296||u>57343)&&(i=u);break;case 4:r=t[o+1],n=t[o+2],s=t[o+3],(192&r)==128&&(192&n)==128&&(192&s)==128&&(u=(15&e)<<18|(63&r)<<12|(63&n)<<6|63&s)>65535&&u<1114112&&(i=u)}}null===i?(i=65533,f=1):i>65535&&(i-=65536,n.push(i>>>10&1023|55296),i=56320|1023&i),n.push(i),o+=f}return function(t){let e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);let r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=4096));return r}(n)}function L(t,e,r){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+e>r)throw RangeError("Trying to access beyond buffer length")}function T(t,e,r,n,o,i){if(!v.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw RangeError('"value" argument is out of bounds');if(r+n>t.length)throw RangeError("Index out of range")}function k(t,e,r,n,o){q(e,n,o,t,r,7);let i=Number(e&BigInt(0xffffffff));t[r++]=i,i>>=8,t[r++]=i,i>>=8,t[r++]=i,i>>=8,t[r++]=i;let f=Number(e>>BigInt(32)&BigInt(0xffffffff));return t[r++]=f,f>>=8,t[r++]=f,f>>=8,t[r++]=f,f>>=8,t[r++]=f,r}function $(t,e,r,n,o){q(e,n,o,t,r,7);let i=Number(e&BigInt(0xffffffff));t[r+7]=i,i>>=8,t[r+6]=i,i>>=8,t[r+5]=i,i>>=8,t[r+4]=i;let f=Number(e>>BigInt(32)&BigInt(0xffffffff));return t[r+3]=f,f>>=8,t[r+2]=f,f>>=8,t[r+1]=f,f>>=8,t[r]=f,r+8}function C(t,e,r,n,o,i){if(r+n>t.length||r<0)throw RangeError("Index out of range")}function P(t,e,r,n,i){return e=+e,r>>>=0,i||C(t,e,r,4,34028234663852886e22,-34028234663852886e22),o(t,e,r,n,23,4),r+4}function M(t,e,r,n,i){return e=+e,r>>>=0,i||C(t,e,r,8,17976931348623157e292,-17976931348623157e292),o(t,e,r,n,52,8),r+8}v.TYPED_ARRAY_SUPPORT=function(){try{let t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),v.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(v.prototype,"parent",{enumerable:!0,get:function(){if(v.isBuffer(this))return this.buffer}}),Object.defineProperty(v.prototype,"offset",{enumerable:!0,get:function(){if(v.isBuffer(this))return this.byteOffset}}),v.poolSize=8192,v.from=function(t,e,r){return A(t,e,r)},Object.setPrototypeOf(v.prototype,Uint8Array.prototype),Object.setPrototypeOf(v,Uint8Array),v.alloc=function(t,e,r){return(_(t),t<=0)?E(t):void 0!==e?"string"==typeof r?E(t).fill(e,r):E(t).fill(e):E(t)},v.allocUnsafe=function(t){return B(t)},v.allocUnsafeSlow=function(t){return B(t)},v.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==v.prototype},v.compare=function(t,e){if(K(t,Uint8Array)&&(t=v.from(t,t.offset,t.byteLength)),K(e,Uint8Array)&&(e=v.from(e,e.offset,e.byteLength)),!v.isBuffer(t)||!v.isBuffer(e))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;let r=t.length,n=e.length;for(let o=0,i=Math.min(r,n);o<i;++o)if(t[o]!==e[o]){r=t[o],n=e[o];break}return r<n?-1:n<r?1:0},v.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},v.concat=function(t,e){let r;if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return v.alloc(0);if(void 0===e)for(r=0,e=0;r<t.length;++r)e+=t[r].length;let n=v.allocUnsafe(e),o=0;for(r=0;r<t.length;++r){let e=t[r];if(K(e,Uint8Array))o+e.length>n.length?(v.isBuffer(e)||(e=v.from(e)),e.copy(n,o)):Uint8Array.prototype.set.call(n,e,o);else if(v.isBuffer(e))e.copy(n,o);else throw TypeError('"list" argument must be an Array of Buffers');o+=e.length}return n},v.byteLength=H,v.prototype._isBuffer=!0,v.prototype.swap16=function(){let t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let e=0;e<t;e+=2)U(this,e,e+1);return this},v.prototype.swap32=function(){let t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(let e=0;e<t;e+=4)U(this,e,e+3),U(this,e+1,e+2);return this},v.prototype.swap64=function(){let t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(let e=0;e<t;e+=8)U(this,e,e+7),U(this,e+1,e+6),U(this,e+2,e+5),U(this,e+3,e+4);return this},v.prototype.toString=function(){let t=this.length;return 0===t?"":0==arguments.length?F(this,0,t):I.apply(this,arguments)},v.prototype.toLocaleString=v.prototype.toString,v.prototype.equals=function(t){if(!v.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===v.compare(this,t)},v.prototype.inspect=function(){let t="";return t=this.toString("hex",0,50).replace(/(.{2})/g,"$1 ").trim(),this.length>50&&(t+=" ... "),"<Buffer "+t+">"},m&&(v.prototype[m]=v.prototype.inspect),v.prototype.compare=function(t,e,r,n,o){if(K(t,Uint8Array)&&(t=v.from(t,t.offset,t.byteLength)),!v.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return -1;if(e>=r)return 1;if(e>>>=0,r>>>=0,n>>>=0,o>>>=0,this===t)return 0;let i=o-n,f=r-e,s=Math.min(i,f),u=this.slice(n,o),a=t.slice(e,r);for(let t=0;t<s;++t)if(u[t]!==a[t]){i=u[t],f=a[t];break}return i<f?-1:f<i?1:0},v.prototype.includes=function(t,e,r){return -1!==this.indexOf(t,e,r)},v.prototype.indexOf=function(t,e,r){return j(this,t,e,r,!0)},v.prototype.lastIndexOf=function(t,e,r){return j(this,t,e,r,!1)},v.prototype.write=function(t,e,r,n){var o,i,f,s,u,a,c,l;if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else if(isFinite(e))e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let h=this.length-e;if((void 0===r||r>h)&&(r=h),t.length>0&&(r<0||e<0)||e>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let p=!1;for(;;)switch(n){case"hex":return function(t,e,r,n){let o;r=Number(r)||0;let i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;let f=e.length;for(n>f/2&&(n=f/2),o=0;o<n;++o){let n=parseInt(e.substr(2*o,2),16);if(n!=n)break;t[r+o]=n}return o}(this,t,e,r);case"utf8":case"utf-8":return o=e,i=r,Y(J(t,this.length-o),this,o,i);case"ascii":case"latin1":case"binary":return f=e,s=r,Y(function(t){let e=[];for(let r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(t),this,f,s);case"base64":return u=e,a=r,Y(Z(t),this,u,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=e,l=r,Y(function(t,e){let r,n;let o=[];for(let i=0;i<t.length&&!((e-=2)<0);++i)n=(r=t.charCodeAt(i))>>8,o.push(r%256),o.push(n);return o}(t,this.length-c),this,c,l);default:if(p)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),p=!0}},v.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},v.prototype.slice=function(t,e){let r=this.length;t=~~t,e=void 0===e?r:~~e,t<0?(t+=r)<0&&(t=0):t>r&&(t=r),e<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);let n=this.subarray(t,e);return Object.setPrototypeOf(n,v.prototype),n},v.prototype.readUintLE=v.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||L(t,e,this.length);let n=this[t],o=1,i=0;for(;++i<e&&(o*=256);)n+=this[t+i]*o;return n},v.prototype.readUintBE=v.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||L(t,e,this.length);let n=this[t+--e],o=1;for(;e>0&&(o*=256);)n+=this[t+--e]*o;return n},v.prototype.readUint8=v.prototype.readUInt8=function(t,e){return t>>>=0,e||L(t,1,this.length),this[t]},v.prototype.readUint16LE=v.prototype.readUInt16LE=function(t,e){return t>>>=0,e||L(t,2,this.length),this[t]|this[t+1]<<8},v.prototype.readUint16BE=v.prototype.readUInt16BE=function(t,e){return t>>>=0,e||L(t,2,this.length),this[t]<<8|this[t+1]},v.prototype.readUint32LE=v.prototype.readUInt32LE=function(t,e){return t>>>=0,e||L(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+0x1000000*this[t+3]},v.prototype.readUint32BE=v.prototype.readUInt32BE=function(t,e){return t>>>=0,e||L(t,4,this.length),0x1000000*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},v.prototype.readBigUInt64LE=Q(function(t){W(t>>>=0,"offset");let e=this[t],r=this[t+7];(void 0===e||void 0===r)&&X(t,this.length-8);let n=e+256*this[++t]+65536*this[++t]+0x1000000*this[++t],o=this[++t]+256*this[++t]+65536*this[++t]+0x1000000*r;return BigInt(n)+(BigInt(o)<<BigInt(32))}),v.prototype.readBigUInt64BE=Q(function(t){W(t>>>=0,"offset");let e=this[t],r=this[t+7];(void 0===e||void 0===r)&&X(t,this.length-8);let n=0x1000000*e+65536*this[++t]+256*this[++t]+this[++t],o=0x1000000*this[++t]+65536*this[++t]+256*this[++t]+r;return(BigInt(n)<<BigInt(32))+BigInt(o)}),v.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||L(t,e,this.length);let n=this[t],o=1,i=0;for(;++i<e&&(o*=256);)n+=this[t+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*e)),n},v.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||L(t,e,this.length);let n=e,o=1,i=this[t+--n];for(;n>0&&(o*=256);)i+=this[t+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*e)),i},v.prototype.readInt8=function(t,e){return(t>>>=0,e||L(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},v.prototype.readInt16LE=function(t,e){t>>>=0,e||L(t,2,this.length);let r=this[t]|this[t+1]<<8;return 32768&r?0xffff0000|r:r},v.prototype.readInt16BE=function(t,e){t>>>=0,e||L(t,2,this.length);let r=this[t+1]|this[t]<<8;return 32768&r?0xffff0000|r:r},v.prototype.readInt32LE=function(t,e){return t>>>=0,e||L(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},v.prototype.readInt32BE=function(t,e){return t>>>=0,e||L(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},v.prototype.readBigInt64LE=Q(function(t){W(t>>>=0,"offset");let e=this[t],r=this[t+7];return(void 0===e||void 0===r)&&X(t,this.length-8),(BigInt(this[t+4]+256*this[t+5]+65536*this[t+6]+(r<<24))<<BigInt(32))+BigInt(e+256*this[++t]+65536*this[++t]+0x1000000*this[++t])}),v.prototype.readBigInt64BE=Q(function(t){W(t>>>=0,"offset");let e=this[t],r=this[t+7];return(void 0===e||void 0===r)&&X(t,this.length-8),(BigInt((e<<24)+65536*this[++t]+256*this[++t]+this[++t])<<BigInt(32))+BigInt(0x1000000*this[++t]+65536*this[++t]+256*this[++t]+r)}),v.prototype.readFloatLE=function(t,e){return t>>>=0,e||L(t,4,this.length),n(this,t,!0,23,4)},v.prototype.readFloatBE=function(t,e){return t>>>=0,e||L(t,4,this.length),n(this,t,!1,23,4)},v.prototype.readDoubleLE=function(t,e){return t>>>=0,e||L(t,8,this.length),n(this,t,!0,52,8)},v.prototype.readDoubleBE=function(t,e){return t>>>=0,e||L(t,8,this.length),n(this,t,!1,52,8)},v.prototype.writeUintLE=v.prototype.writeUIntLE=function(t,e,r,n){if(t=+t,e>>>=0,r>>>=0,!n){let n=Math.pow(2,8*r)-1;T(this,t,e,r,n,0)}let o=1,i=0;for(this[e]=255&t;++i<r&&(o*=256);)this[e+i]=t/o&255;return e+r},v.prototype.writeUintBE=v.prototype.writeUIntBE=function(t,e,r,n){if(t=+t,e>>>=0,r>>>=0,!n){let n=Math.pow(2,8*r)-1;T(this,t,e,r,n,0)}let o=r-1,i=1;for(this[e+o]=255&t;--o>=0&&(i*=256);)this[e+o]=t/i&255;return e+r},v.prototype.writeUint8=v.prototype.writeUInt8=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,1,255,0),this[e]=255&t,e+1},v.prototype.writeUint16LE=v.prototype.writeUInt16LE=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},v.prototype.writeUint16BE=v.prototype.writeUInt16BE=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},v.prototype.writeUint32LE=v.prototype.writeUInt32LE=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,4,0xffffffff,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},v.prototype.writeUint32BE=v.prototype.writeUInt32BE=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,4,0xffffffff,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},v.prototype.writeBigUInt64LE=Q(function(t,e=0){return k(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))}),v.prototype.writeBigUInt64BE=Q(function(t,e=0){return $(this,t,e,BigInt(0),BigInt("0xffffffffffffffff"))}),v.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e>>>=0,!n){let n=Math.pow(2,8*r-1);T(this,t,e,r,n-1,-n)}let o=0,i=1,f=0;for(this[e]=255&t;++o<r&&(i*=256);)t<0&&0===f&&0!==this[e+o-1]&&(f=1),this[e+o]=(t/i>>0)-f&255;return e+r},v.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e>>>=0,!n){let n=Math.pow(2,8*r-1);T(this,t,e,r,n-1,-n)}let o=r-1,i=1,f=0;for(this[e+o]=255&t;--o>=0&&(i*=256);)t<0&&0===f&&0!==this[e+o+1]&&(f=1),this[e+o]=(t/i>>0)-f&255;return e+r},v.prototype.writeInt8=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},v.prototype.writeInt16LE=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},v.prototype.writeInt16BE=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},v.prototype.writeInt32LE=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,4,0x7fffffff,-0x80000000),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},v.prototype.writeInt32BE=function(t,e,r){return t=+t,e>>>=0,r||T(this,t,e,4,0x7fffffff,-0x80000000),t<0&&(t=0xffffffff+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},v.prototype.writeBigInt64LE=Q(function(t,e=0){return k(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),v.prototype.writeBigInt64BE=Q(function(t,e=0){return $(this,t,e,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),v.prototype.writeFloatLE=function(t,e,r){return P(this,t,e,!0,r)},v.prototype.writeFloatBE=function(t,e,r){return P(this,t,e,!1,r)},v.prototype.writeDoubleLE=function(t,e,r){return M(this,t,e,!0,r)},v.prototype.writeDoubleBE=function(t,e,r){return M(this,t,e,!1,r)},v.prototype.copy=function(t,e,r,n){if(!v.isBuffer(t))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r||0===t.length||0===this.length)return 0;if(e<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);let o=n-r;return this===t&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(e,r,n):Uint8Array.prototype.set.call(t,this.subarray(r,n),e),o},v.prototype.fill=function(t,e,r,n){let o;if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!v.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===t.length){let e=t.charCodeAt(0);("utf8"===n&&e<128||"latin1"===n)&&(t=e)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw RangeError("Out of range index");if(r<=e)return this;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(o=e;o<r;++o)this[o]=t;else{let i=v.isBuffer(t)?t:v.from(t,n),f=i.length;if(0===f)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(o=0;o<r-e;++o)this[o+e]=i[o%f]}return this};let N={};function z(t,e,r){N[t]=class extends r{get code(){return t}set code(t){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:t,writable:!0})}toString(){return`${this.name} [${t}]: ${this.message}`}constructor(){super(),Object.defineProperty(this,"message",{value:e.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${t}]`,this.stack,delete this.name}}}function D(t){let e="",r=t.length,n="-"===t[0]?1:0;for(;r>=n+4;r-=3)e=`_${t.slice(r-3,r)}${e}`;return`${t.slice(0,r)}${e}`}function q(t,e,r,n,o,i){if(t>r||t<e){let n;let o="bigint"==typeof e?"n":"";throw n=i>3?0===e||e===BigInt(0)?`>= 0${o} and < 2${o} ** ${(i+1)*8}${o}`:`>= -(2${o} ** ${(i+1)*8-1}${o}) and < 2 ** ${(i+1)*8-1}${o}`:`>= ${e}${o} and <= ${r}${o}`,new N.ERR_OUT_OF_RANGE("value",n,t)}W(o,"offset"),(void 0===n[o]||void 0===n[o+i])&&X(o,n.length-(i+1))}function W(t,e){if("number"!=typeof t)throw new N.ERR_INVALID_ARG_TYPE(e,"number",t)}function X(t,e,r){if(Math.floor(t)!==t)throw W(t,r),new N.ERR_OUT_OF_RANGE(r||"offset","an integer",t);if(e<0)throw new N.ERR_BUFFER_OUT_OF_BOUNDS;throw new N.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${e}`,t)}z("ERR_BUFFER_OUT_OF_BOUNDS",function(t){return t?`${t} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),z("ERR_INVALID_ARG_TYPE",function(t,e){return`The "${t}" argument must be of type number. Received type ${typeof e}`},TypeError),z("ERR_OUT_OF_RANGE",function(t,e,r){let n=`The value of "${t}" is out of range.`,o=r;return Number.isInteger(r)&&Math.abs(r)>0x100000000?o=D(String(r)):"bigint"==typeof r&&(o=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(o=D(o)),o+="n"),n+=` It must be ${e}. Received ${o}`},RangeError);let G=/[^+/0-9A-Za-z-_]/g;function J(t,e){let r;e=e||1/0;let n=t.length,o=null,i=[];for(let f=0;f<n;++f){if((r=t.charCodeAt(f))>55295&&r<57344){if(!o){if(r>56319||f+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return i}function Z(t){return e(function(t){if((t=(t=t.split("=")[0]).trim().replace(G,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function Y(t,e,r,n){let o;for(o=0;o<n&&!(o+r>=e.length)&&!(o>=t.length);++o)e[o+r]=t[o];return o}function K(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}let V=function(){let t="0123456789abcdef",e=Array(256);for(let r=0;r<16;++r){let n=16*r;for(let o=0;o<16;++o)e[n+o]=t[r]+t[o]}return e}();function Q(t){return"undefined"==typeof BigInt?tt:t}function tt(){throw Error("BigInt not supported")}let te=async()=>{let t=window.location.hostname,e=`https://test-custom-tags.cnna.io/domains/${v.from(t,"utf-8").toString("base64")}.js`;try{let t=await fetch(e),r=await t.text(),n=document.createElement("script");n.type="text/javascript",n.text=r,document.head.appendChild(n),(0,l.default).info(`Successfully imported external script from ${e}`)}catch(t){(0,l.default).warn(`Failed to import script from ${e}: ${t}`);return}};var tr=u("3tZSl"),tn=u("kuf8T"),to=u("eU8cG"),ti=u("apXfG");let tf=()=>{var t;(0,tr.datalayerSource)(t=>{console.log("DataLayer Source Data:",t)}),(0,to.xhrResponseSource)(t=>{try{console.log("xhr Response Source Data: ",t)}catch(t){}}),(0,tn.xhrRequestSource)(t=>{try{let e=(0,tn.formatXhrPayload)(t);console.log("xhr Request Source Data: ",e)}catch(t){}}),window.addEventListener("message",t=>console.log("post message data",t),!1),t=t=>console.log("Post Message Data: ",t),window.addEventListener("message",t,!1),(0,ti.fetchSource)(t=>{},(t,e)=>{try{console.log("fetch response: ",e)}catch(t){}})};var l=u("lwczO");let ts=async()=>{let t=h(),e=`https://test-custom-tags.cnna.io/app-ids/${t.appId}.js`;try{let t=await fetch(e),r=await t.text(),n=document.createElement("script");n.type="text/javascript",n.text=r,document.head.appendChild(n),(0,l.default).info(`Successfully imported external script from ${e}`)}catch(t){(0,l.default).warn(`Failed to import script from ${e}: ${t}`);return}};var l=u("lwczO");(0,l.createLogger)("session-tracking");let tu="https://unpkg.com/highlight.run",ta=()=>!!window.H&&"function"==typeof window.H.init,tc=()=>new Promise((t,e)=>{let r=0,n=()=>{if(r++,ta()){console.info("Highlight.run library loaded successfully"),t(window.H);return}if(r>=50){let t="Highlight.run failed to initialize after maximum retry attempts";console.error(t),e(Error(t));return}setTimeout(n,100)};n()}),tl=()=>new Promise((t,e)=>{if(document.querySelector(`script[src="${tu}"]`)){console.info("Highlight.run script already in DOM"),t();return}let r=document.createElement("script");r.type="text/javascript",r.src=tu;let n=setTimeout(()=>{console.error("Script loading timeout"),e(Error("Script loading timeout after 10 seconds"))},1e4);if(r.onload=()=>{clearTimeout(n),console.info("Highlight.run script element loaded"),t()},r.onerror=t=>{clearTimeout(n),console.error("Failed to load Highlight.run script",t),e(Error(`Failed to load script from ${tu}`))},!document.head){let t="document.head is not available";console.error(t),e(Error(t));return}try{document.head.appendChild(r)}catch(t){console.error("Error appending script to head",t),e(t)}}),th=async t=>{try{if(console.info("Starting session tracking initialization",t),ta()){console.info("Highlight.run already loaded, initializing with context");let e=window.H;if("function"==typeof e.identify){e.identify(t.appId,t),console.info("Updated existing Highlight session with new context");return}}await tl();let e=await tc();try{e.init("ldwyk6kg",{environment:"production",version:"1.0.0",networkRecording:{enabled:!0,recordHeadersAndBody:!0,urlBlocklist:["https://www.googleapis.com/identitytoolkit","https://securetoken.googleapis.com"]}}),e.identify(t.appId,t),console.info("Session tracking initialized successfully")}catch(t){throw console.error("Error during H.init or H.identify",t),t}}catch(t){console.error("Failed to initialize session tracking",t)}};(async()=>{try{let t=h();await te(),await ts();let e={};if(window.overrides){if(Array.isArray(window.overrides)){let r=window.overrides.find(e=>e.tag===t.appId||e.appId===t.appId);r&&(e=r)}else"object"==typeof window.overrides&&null!==window.overrides&&(e=t.appId&&window.overrides[t.appId]?window.overrides[t.appId]:window.overrides)}else e=(0,c._)({},t["s3.pv"]?{}:{"s3.pv":"00000"},t["s3.tr"]?{}:{"s3.tr":"00000"});let r=(0,c._)({},t,e);if((0,l.default).debug("MJ Tag Context",r),(0,l.default).debug("Integrations In Progress"),!r.appId)throw Error("appId is required");r.debug&&"true"===r.debug&&(tf(),th(r)),await u("eUzHe").then(({default:t})=>t(r))}catch(t){console.error("An error has occured, please contact your pixel provider: "+t.message)}})()}();
//# sourceMappingURL=index.js.map
