/** * Minified by jsDelivr using Terser v5.39.0. * Original file: /npm/hockeystack@1.3.224/hockeystack.js * * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files */ window.HockeyStack=(()=>{"use strict";const e={};let t="https://data.hockeystack.com",n="/send";const o=[],a=[],r=document.currentScript||document.querySelector('script[src*="hockeystack.min.js"]'),i=r.getAttribute("apikey")||r.getAttribute("data-apikey");let c=r.getAttribute("data-fingerprint-apikey");"97c0d7b226357c703f4588fe18144d"===i&&(c="vh2bFEwArYpztsvgGQ87");if((e=>{try{const t=localStorage.getItem(e);if(!t)return null;const n=JSON.parse(t);return n.expiration&&Date.now()>n.expiration?(localStorage.removeItem(e),null):n.value}catch(e){return null}})("hs_staging")||window.location.search.includes("hsstaging=true"))return document.querySelector('script[src*="hockeystack-staging.min.js"]')?void console.log("Script already exists. Skipping initialization"):(((e,t)=>{const n={value:t,expiration:Date.now()+36e5};localStorage.setItem(e,JSON.stringify(n))})("hs_staging","true"),(()=>{const e=document.createElement("script");e.src="https://cdn.jsdelivr.net/npm/hockeystack@latest/hockeystack-staging.min.js",e.async=1,Array.from(r.attributes).forEach((t=>{(t.name.startsWith("data-")||"apikey"===t.name)&&e.setAttribute(t.name,t.value)})),e.dataset.autoGenerated=!0,document.getElementsByTagName("head")[0].append(e)})(),void console.log("HockeyStack: Running in staging mode"));let s=1e3*r.getAttribute("data-interval-start")||5e3;const l=1e3*r.getAttribute("data-interval-increment")||2e3;let d=!!c,u=!(!r.getAttribute("cookieless")&&!r.getAttribute("data-cookieless")&&""!==r.getAttribute("data-cookieless")||d);const m=!(!r.getAttribute("cross-domain")&&!r.getAttribute("data-cross-domain")||u);let h=!(!r.getAttribute("auto-identify")&&!r.getAttribute("data-auto-identify"));const g=!(!r.getAttribute("only-identify")&&!r.getAttribute("data-only-identify")),p=!(!r.getAttribute("privacy-mode")&&!r.getAttribute("data-privacy-mode")&&""!==r.getAttribute("data-privacy-mode"));r.getAttribute("data-server-url")&&(t=r.getAttribute("data-server-url"));const f=window.location.search.includes("hsdebug=true");e.cookieless=u||d;const y=()=>{d=!1,u=!0};let k=null;if(d&&c){const e=sessionStorage.getItem("hsfpj");if(e){const t=JSON.parse(e);t.initialized=!0,k=new Promise(((e,n)=>{e(t)}))}else{const e=import(`https://fpjscdn.net/v3/${c}`).then((e=>e.load({region:"eu"}))).catch((e=>{f&&console.error("HockeyStack: Error while loading fingerprint v2 script: ",e),y()}));k=e.then((e=>e.get())).catch((e=>{f&&console.error("HockeyStack: Error while getting fingerprint from v2 script: ",e),y()}))}}let b="",S={};if(!i)return void console.error("HockeyStack: No API key provided");if(["d7a8d720de58efe016822c1390cebb","3f5faca79c311a7348a04aa7389bcb"].includes(i))return;["695accfb6c874ac0d46cf9c7b3303f","78f842f2350d245dd06df65bfa49b9","82ee9e4a8b15fc058046998d5e9fbe"].includes(i)&&(h=!0),[].includes(i)&&(t="https://data.hockeystack.com",n="/send-fast"),f&&console.log("HockeyStack: debug mode is on");let w,v,x=0,C=!1,j=0,A=new Date,H=!1,I=[];r.getAttribute("data-identity")&&(v=r.getAttribute("data-identity"));const N=document,q=navigator,O=window;let F,E={};const L=()=>(O.location.origin+O.location.pathname+O.location.search+O.location.hash).toLowerCase(),T=()=>{try{const e=localStorage.getItem("hs_tracking_enabled");return null===e||"true"===e}catch(e){return!0}},_=e=>{try{localStorage.setItem("hs_tracking_enabled",e.toString()),f&&console.log("HockeyStack tracking state set to:",e)}catch(e){f&&console.log("Failed to set tracking state in localStorage:",e.message)}};let D=L();const J=(e,n,o)=>{const a="object"==typeof q&&"function"==typeof q.sendBeacon&&"function"==typeof Blob&&"50fcf52eca5476546b54230ccbaea2"!==i;if(!T())return void(f&&console.log("HockeyStack tracking is disabled, skipping request"));if(f&&console.log("Send request via beacon",JSON.stringify(n),a),!a)return M(e,n),!1;let r=!1;const c=new Blob([JSON.stringify(n)],{type:"application/json"}),s=`${t}${e}`;try{r=q.sendBeacon(s,c)}catch(e){f&&console.log("Error while sending request via beacon: ",e.message),o||R(e,{operation:"sendReqViaBeacon",requestObj:n,serverUrl:s}),r=!1}return f&&console.log("Sent request via beacon",r),r||M(e,n,o),r},M=(e,n,o)=>{if(0===a.length)return!1;if(!T())return void(f&&console.log("HockeyStack tracking is disabled, skipping request"));let r=!0;const i=`${t}${e}`,c=new XMLHttpRequest;try{c.open("POST",i,!0),c.setRequestHeader("Content-Type","text/plain; charset=UTF-8"),c.send(JSON.stringify(n)),c.onreadystatechange=()=>!0}catch(e){o||R(e,{operation:"sendReqViaXHR",requestObj:n,serverUrl:i}),r=!1}return r},P=e=>{try{return window.CSS&&CSS.escape?CSS.escape(String(e)):String(e).replace(/[\0-\x1F\x7F]/g,"�").replace(/(^-?\d)|(^-)|(^--)/,(e=>"\\"+e)).replace(/[\s!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g,(e=>"\\"+e))}catch{return String(e)}},R=(e,t)=>{f&&(console.log("HockeyStack: error metadata",t),console.error(e));const n={error:e.message,apiKey:i,page:window.location.href,metadata:t};J("/send-error",n,!0)};try{e.initWrapper=function(t){d?(t=>{f&&console.log("HockeyStack: Initializing with fingerprint v2"),k.then((n=>{n&&n.visitorId?(f&&console.log("HockeyStack: Fingerprint v2 found",n),b=n.visitorId,S={confidence:n.confidence.score,version:n.meta.version,requestId:n.requestId,visitorFound:n.visitorFound},n.initialized||sessionStorage.setItem("hsfpj",JSON.stringify(n))):(f&&console.log("HockeyStack: Fingerprint v2 not found, falling back to v1"),y()),e.init(t)})).catch((n=>{f&&console.error("HockeyStack: Error while getting fingerprint v2: ",n),y(),e.init(t)}))})(t):e.init(t)},e.init=function(o){if(!Y()&&!q.webdriver){try{0}catch(e){return}e.apiKey=o,A=new Date,w="phone"===Z(q.userAgent.toLowerCase()),u||d||K("hs_uuid",V(),365),F={website:window.location.hostname,apiKey:e.apiKey,isFingerprintV1:u,isFingerprintV2:d,fingerprintMetadata:S,debugMode:f,serverPath:n,serverURL:t,version:"1.3.168"},E={...E,...te()},ne(),le(),$("enter-page",null),z("beacon");try{se()}catch(e){R(e,{operation:"trackContentSchema"})}e.trackSession(),e.sendIntervalData()}},e.sendIntervalData=function(){setTimeout((()=>{N.hasFocus()?(s+=l,e.endSession(!0),e.sendIntervalData()):e.sendIntervalData()}),s)},e.endSession=function(e){let t=re()?parseInt(j/(oe()-ae())*100):100;if(t>100&&(t=100),C&&(void 0===e||!e))return $("scroll-depth",null,t),$("end-session"),void z("beacon");if(!C&&void 0!==e&&e)return $("scroll-depth",null,t),void z("beacon");let n=N.activeElement.href;if(B(n)&&D!==n){n=n.split("#")[0];const e=L();n.startsWith("http")&&e!==n&&($("scroll-depth",null,t),z("beacon"))}else $("scroll-depth",null,t),$("end-session"),z("beacon")},e.trackSession=()=>{C=!1,r(O,"pagehide",(()=>{H||(H=!0,e.endSession())})),w&&r(O,"pageshow",(t=>{t.persisted&&e.initWrapper(e.apiKey)}));let t=N.hasFocus();function n(t,n){const o=t.trim();f&&console.log("identifyThroughForm fired",o);let a={};try{a=ie(n)}catch(e){R(e,{operation:"identifyThroughForm/getClickInfo"})}G(o)&&(e.identify(o),e.goal("Identified from Form",{email:U(o),...JSON.parse(JSON.stringify(a))}))}function o(t){if(!window.innerPageClick)return;let o;l();try{o=ie(t.target),$("onclick",null,o)}catch(e){R(e,{operation:"onClickFunc/getClickInfo"})}!function(t){const o=t.closest("button")||t.closest("a");if(!o)return;if("A"===o.nodeName&&!o.className.includes("button"))return;f&&console.log("checkSubmitClickInForm fired",o);const r=t.closest("form");if(r){f&&console.log("found form",r);const e=r.elements;let t=!0;for(let o=0;o"onsubmit"===e.action.actionType));if(t&&!c&&("submit"===o.type||i)){let e={};try{e=ie(r)}catch(e){R(e,{operation:"checkSubmitClickInForm/getClickInfo"})}const t=JSON.parse(JSON.stringify(e));$("onsubmit",null,{...t,eventSource:"checkSubmitClickInForm"})}}else if(h){const t=[...document.querySelectorAll("input")];f&&console.log("found all inputs to search for email",t),t.forEach((t=>{if("email"!==t.type&&!t.placeholder?.toLowerCase().includes("email")&&!t.name?.toLowerCase().includes("email"))return;const n=t.value.trim();G(n)&&e.identify(n)}))}}(t.target),c()}setInterval((()=>{t!==N.hasFocus()&&(t=N.hasFocus(),t?(H=!1,l()):w&&!H&&(H=!0,e.endSession()))}),500),r(O,"message",(t=>{if(t.data&&"hockeystack-identify"===t.data.name&&t.data.email)e.identify(t.data.email);else if(t.data&&"hockeystack-onsubmit"===t.data.name&&t.data.element&&t.source!==window)$("onsubmit",null,{element:t.data.element,eventSource:"hockeystack-onsubmit"});else if(t.data&&"hockeystack-identify-form"===t.data.name&&t.data.value)n(t.data.value,null);else if(t.data&&"hsFormCallback"===t.data.type&&"onFormSubmit"===t.data.eventName){if(h){const n=t.data.data.find((e=>"email"===e.name)).value;e.identify(n)}$("onsubmit",null,{element:"#hsForm_"+t.data.id,eventSource:"hsFormCallback"})}else if(t.data&&t.data.meetingBookSucceeded){if(h){const n=t.data.meetingsPayload.bookingResponse.postResponse.contact.email;e.identify(n)}e.goal("Meeting Booked on Website",{integration:"HubSpot"})}})),r(O,"klaviyoForms",(t=>{const n=t.detail.metaData;if(n){if(h){const t=n.$email;e.identify(t)}e.goal("Submit Klaviyo Form",{integration:"Klaviyo",klaviyoFormId:t.detail.formId})}}));let i=0;function s(e){l(),f&&console.log("onsubmit fired");const t=e.target;let o={};try{o=ie(t)}catch(e){R(e,{operation:"onSubmitFunc/getClickInfo"})}if(!o||!o.element.startsWith("#hsForm_"))try{const a=t.elements;for(let e=0;e6e5&&(C=!0,e.endSession()),A=new Date,x=0,C&&setTimeout((()=>{N.hasFocus()&&e.initWrapper(e.apiKey)}),5e3),C=!1}r(document,"mouseover",(()=>{window.innerPageClick=!0})),r(document,"mouseleave",(()=>{window.innerPageClick=!1})),r(O,"mousemove",l),r(O,"mousedown",(e=>o(e))),r(O,"scroll",(e=>(l(),i=Math.max(i,window.scrollY,document.body.scrollTop,document.documentElement.scrollTop),void(i>j&&(j=i))))),r(O,"keydown",l),I=[...document.querySelectorAll("form")],I.forEach((e=>r(e,"submit",(e=>s(e))))),setInterval((()=>{const e=[...document.querySelectorAll("form")].filter((e=>!I.includes(e)));e.forEach((e=>r(e,"submit",(e=>s(e))))),I=I.concat(e)}),5e3),r(O,"submit",(e=>{I.includes(e.target)||s(e)}));const d=setInterval((()=>{x++,x>=10&&(clearInterval(d),C=!0,e.endSession())}),6e4)},e.identify=(e,t)=>{f&&console.log("Identify called with",e,t),"string"==typeof e?(e=U(e),v=e,E.identity=e,window.parent&&window.parent.postMessage&&window.parent.postMessage({name:"hockeystack-identify",identity:v},"*")):"object"==typeof e&&(E.custom=Object.assign(E.custom||{},e)),t&&"object"==typeof t&&(E.custom=Object.assign(E.custom||{},t)),$("identify",null)},e.addSharedProperty=({key:e,value:t,properties:n})=>{const o={key:e,value:t,properties:n};f&&console.log("HockeyStack: Shared property called with",JSON.stringify(o)),E.shared||(E.shared=[]),f&&console.log("HockeyStack: userObject.shared",E.shared);try{const t=E.shared.findIndex((t=>t.key===e));-1!==t?E.shared.splice(t,1,o):E.shared.push(o)}catch(e){R(e,{operation:"addSharedProperty",sharedObject:o})}$("identify",null)},e.goal=(e,t={},n)=>{f&&console.log("Goal called with",e,JSON.stringify(t),n);const o=O.location.origin+O.location.pathname+O.location.search,r={actionName:e,actionProperties:t,actionType:"custom",actionDate:n?new Date(n).toISOString():C?new Date(A.getTime()).toISOString():(new Date).toISOString()};a.push({action:r,url:o.toLowerCase()})},e.toggleTracking=e=>{if(void 0===e){const e=T();return _(!e),f&&console.log("HockeyStack tracking toggled to:",!e),!e}return _(!!e),f&&console.log("HockeyStack tracking set to:",!!e),!!e};const r=(e,t,n)=>{!["submit","change"].includes(t)&&o.includes(t)||(f&&console.log("Adding event listener for",t,"on",e),void 0!==e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n),o.push(t))},c=()=>{if(L()!==D){const e=re()?parseInt(j/(oe()-ae())*100):100;$("scroll-depth",D,e),$("enter-page",null),z("beacon")}D=L()};setInterval((()=>{c()}),500);const $=(e,t,n)=>{f&&console.log("Creating action",e,t,JSON.stringify(n));const o=t||L(),r=D;if(g&&"identify"!==e)return;const i={actionType:e,actionDate:C?new Date(A.getTime()).toISOString():(new Date).toISOString()};if("onclick"===e){if(i.actionElement=n.element,n.text&&(i.actionText=n.text),n.url&&(i.actionUrl=n.url,n.url===o&&o!==r))return void $("onclick",r,n)}else"onsearch"===e?(i.actionValue=n.value,i.actionElement=n.element):"scroll-depth"===e?i.actionNumber=n||100:"onsubmit"===e&&(i.actionElement=n.element);["enter-page","scroll-depth"].includes(e)||o===D||c(),a.push({action:i,url:o.toLowerCase()}),"onsubmit"!==e&&"identify"!==e||z("beacon")},U=e=>p?ce(e.toLowerCase()):e.toLowerCase(),z=e=>{if(Y()||q.webdriver)return;if(0===a.length)return;const t=JSON.parse(JSON.stringify(a)),o=X(L(),document.referrer),r={customerObject:F,userObject:E,actionLog:t,referrer:o};let i;i="beacon"===e?J(n,r):M(n,r),i&&(a.length=0)},B=e=>{if(void 0===e)return!1;let t;try{t=new URL(e)}catch(t){return R(t,{operation:"sameSite/newURL",uri:e}),!1}return O.location.hostname===t.hostname},V=()=>Q("hs_uuid")||W(),W=()=>{let e=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){const n=(e+16*Math.random())%16|0;return e=Math.floor(e/16),("x"===t?n:3&n|8).toString(16)}))},G=e=>String(e).toLowerCase().match(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/),K=(e,t,n)=>{const o=new Date;o.setDate(o.getDate()+n);const a=t+(null==n?"":"; expires="+o.toUTCString())+"; path=/;SameSite=Lax"+(m?`;domain=${window.location.hostname}`:"");N.cookie=e+"="+a},Q=e=>{let t,n,o;const a=N.cookie.split(";");for(t=0;t/(\?.*utm_.*=)/.test(e)||/((\?|&)ref=)/.test(e)||/((\?|&)(gclid|fbclid|msclkid)=)/.test(e)?e:""!==t?t:"",Y=()=>{const e=q.userAgent.toLowerCase();return O.location.search.includes("disable_abtestingai")||/(preview|funnelytics|crawl|hexometer|curl|lynx|ptst|nuhk|googlebot|googlesecurityscanner|gtmetrix|slurp|ask jeeves\/teoma|ia_archiver|google web preview|mediapartners-google|baiduspider|ezooms|yahooseeker|altavista|mercator|scooter|infoseek|ultraseek|lycos|wget|yadirectfetcher|magpie-crawler|nutch crawler|cms crawler|domnutch|netseer|digincore|fr-crawler|wesee|aliasio|bingpreview|headlesschrome|facebookexternalhit|facebookplatform|facebookexternalua|bot|crawler|sp(i|y)der|search|worm|fetch|nutch)/i.test(e)},Z=e=>/(ipad|tablet|(android(?!.*mobile))|(windows(?!.*phone)(.*touch))|kindle|playbook|silk|(puffin(?!.*(IP|AP|WP))))/i.test(e)?"tablet":/(mobi|ipod|phone|blackberry|opera mini|fennec|minimo|symbian|psp|nintendo ds|archos|skyfire|puffin|blazer|bolt|gobrowser|iris|maemo|semc|teashark|uzard)/i.test(e)?"phone":"desktop",ee=(e,t)=>{try{const n=e();return null==n?t:n}catch{return t}},te=()=>({language:ee((()=>q.language),void 0),platform:ee((()=>q.platform),void 0),uuid:V(),fingerprintV2:d?b:void 0,screen:{availHeight:ee((()=>O.screen.availHeight),void 0),height:ee((()=>O.screen.height),void 0),width:ee((()=>O.screen.width),void 0),depth:ee((()=>O.screen.colorDepth+O.screen.pixelDepth),void 0)},mimeTypes:ee((()=>Array.from(q.mimeTypes||[]).map((e=>e.type)).join("")),""),plugins:ee((()=>Array.from(q.plugins||[]).map((e=>e.filename||e.name||"")).join("")),""),storageEnabled:[ee((()=>!!localStorage),!1),ee((()=>!!indexedDB),!1),ee((()=>!!q.cookieEnabled),!1)].join(""),otherInfo:String(Number(ee((()=>q.hardwareConcurrency),0))||0),identity:v,custom:{},shared:[]}),ne=t=>{const n=[...new URLSearchParams(window.location.search)].find((e=>{let n=!1;const o=e[0].toLowerCase();return n=t?o===t:o.includes("email"),!(!n||(f&&console.log("Possible identify through URL: ",JSON.stringify(e)),!G(e[1])))}));n&&n[1]&&e.identify(n[1])},oe=()=>{const e=N;return Math.max(Math.max(e.body.scrollHeight,e.documentElement.scrollHeight),Math.max(e.body.offsetHeight,e.documentElement.offsetHeight),Math.max(e.body.clientHeight,e.documentElement.clientHeight))},ae=()=>{const e=N;return Math.min(Math.min(e.body.clientHeight,e.documentElement.clientHeight),Math.min(e.body.offsetHeight,e.documentElement.offsetHeight),window.innerHeight)},re=()=>O.innerHeight?Math.max(N.body.scrollHeight,N.documentElement.scrollHeight)>O.innerHeight:N.documentElement.scrollHeight>N.documentElement.offsetHeight||N.body.scrollHeight>N.body.offsetHeight,ie=e=>{const t=[];let n="",o="";if(!e)return{};if(e.placeholder)n=e.placeholder;else if(e.innerText){let t=e.innerText.replace(/\n/g," ");t.length>103&&(t=t.substring(0,100)+"..."),n=t.trim()}else"input"!==e.tagName.toLowerCase()||"button"!==e.type&&"submit"!==e.type||(n=(e.value||"").trim());for(e.src?o=e.src.trim():e.href&&(o=e.href.trim());e&&e.parentNode;){if(e.id){t.unshift("#"+P(e.id));break}const n=((1===e.nodeType&&"http://www.w3.org/2000/svg"===e.namespaceURI?e.className?e.className.baseVal:e.getAttribute("class"):e.className)||"").trim().split(/\s+/).filter(Boolean).map((e=>"."+P(e))).join("");let o=e.tagName.toLowerCase()+n;const a=e.parentElement;if(a){const t=e.tagName.toLowerCase(),n=Array.from(a.children).filter((e=>e.tagName.toLowerCase()===t));n.length>1&&(o+=`:nth-of-type(${n.indexOf(e)+1})`)}t.unshift(o),e=e.parentNode}const a={element:t.join(" ")};return n&&(a.text=n),o&&(a.url=o),a};e.getClickInfo=ie;const ce=e=>{const t=(e,t)=>e<>>32-t,n=e=>{let t,n,o="";for(t=7;t>=0;t--)n=e>>>4*t&15,o+=n.toString(16);return o};let o,a,r;const i=new Array(80);let c,s,l,d,u,m,h=1732584193,g=4023233417,p=2562383102,f=271733878,y=3285377520;const k=(e=(e=>{e=e.replace(/\r\n/g,"\n");let t="";for(let n=0;n127&&o<2048?(t+=String.fromCharCode(o>>6|192),t+=String.fromCharCode(63&o|128)):(t+=String.fromCharCode(o>>12|224),t+=String.fromCharCode(o>>6&63|128),t+=String.fromCharCode(63&o|128))}return t})(e)).length,b=[];for(a=0;a>>29),b.push(k<<3&4294967295),o=0;o{const t=document.querySelector("script.yoast-schema-graph");if(t&&t.innerText){const n=JSON.parse(t.innerText)["@graph"].find((e=>"Article"===e["@type"])),o=JSON.parse(t.innerText)["@graph"].find((e=>"BreadcrumbList"===e["@type"])),a=JSON.parse(t.innerText)["@graph"].find((e=>"Person"===e["@type"]));n?e.goal("View Content",{content_category:n.articleSection[0],content_author:n.author&&n.author.name||a&&a.name,content_title:n.headline,content_url:new URL(n.mainEntityOfPage["@id"]).pathname}):o&&o.itemListElement.some((e=>e.name.toLowerCase().includes("blog")))&&e.goal("View Content",{content_author:a&&a.name,content_title:document.title,content_url:window.location.pathname})}},le=()=>{const e=e=>{const t=e.value.trim();t&&window.HockeyStack.identify(t)},t=()=>{if(!(n>5e3||"undefined"!=typeof jQuery))return n+=50,void setTimeout(t,50);try{"function"==typeof jQuery&&jQuery(document).on("gform_page_loaded",(function(t,n,o){const a=document.querySelector(`#gform_${n} input[type="email"]`);window.HockeyStack.goal("Move to New Page",{formId:n,page:o,integration:"Gravity Forms"}),a&&e(a)})),window.addEventListener("click",(t=>{const n=t.target.closest("form");if(!(n&&n.id&&n.id.includes("gform")))return;const o=n.id.replace("gform_","");if(window[`gf_submitting_${o}`]){window.HockeyStack.goal("Submit Gravity Form",{formId:o,integration:"Gravity Forms"});const t=n.querySelector('input[type="email"]');t&&e(t)}}))}catch(e){R(e,{operation:"processGForms"})}};let n=0;t()};return i&&e.initWrapper(i),(()=>{const e=new Set,t=()=>{[{name:"arcade",check:()=>!!document.querySelector('iframe[src*="demo.arcade.software"]'),script:"https://cdn.jsdelivr.net/npm/hockeystack@latest/hockeystack-arcade.min.js"},{name:"heyflow",check:()=>!!document.querySelector('script[src*="heyflow.app"]'),script:"https://cdn.jsdelivr.net/npm/hockeystack@latest/hockeystack-heyflow.min.js"},{name:"6sense",check:()=>!!document.querySelector('script[src*="j.6sc.co/6si.min.js"]'),script:"https://cdn.jsdelivr.net/npm/hockeystack@latest/hockeystack-6sense.min.js"},{name:"demandbase",check:()=>!!document.querySelector('script[src*="tag.demandbase.com"]'),script:"https://cdn.jsdelivr.net/npm/hockeystack@latest/hockeystack-demandbase.min.js"},{name:"calendly",check:()=>!!new URLSearchParams(window.location.search).get("event_type_uuid"),script:"https://cdn.jsdelivr.net/npm/hockeystack@latest/hockeystack-calendly.min.js"},{name:"qualified",check:()=>!!document.querySelector('script[src*="qualified"]'),script:"https://cdn.jsdelivr.net/npm/hockeystack@latest/hockeystack-qualified.min.js"},{name:"zoominfo-chat",check:()=>!!document.querySelector('script[src*="insent.ai"]'),script:"https://cdn.jsdelivr.net/npm/hockeystack@latest/hockeystack-zoominfo-chat.min.js"},{name:"navattic",check:()=>!!document.querySelector('script[src*="js.navattic.com"]'),script:"https://cdn.jsdelivr.net/npm/hockeystack@latest/hockeystack-navattic.min.js"},{name:"drift",check:()=>!!document.querySelector('script[src*="js.driftt.com"]'),script:"https://cdn.jsdelivr.net/npm/hockeystack@latest/hockeystack-drift.min.js"},{name:"marketo-forms",check:()=>!!window.MktoForms2,script:"https://cdn.jsdelivr.net/npm/hockeystack@latest/hockeystack-marketo-forms.min.js"},{name:"pardot",check:()=>!!document.querySelector('script[src*="pi.pardot.com"]'),script:"https://cdn.jsdelivr.net/npm/hockeystack@latest/hockeystack-pardot.min.js"}].forEach((t=>{!e.has(t.name)&&t.check()&&((e=>{if(!i)return;if(document.querySelector(`script[src*="${e}"]`))return;f&&console.log("Creating script",e);const t=document.createElement("script");t.src=e,t.async=1,t.dataset.apikey=i,t.dataset.cookieless=1,t.dataset.autoGenerated=!0,document.getElementsByTagName("head")[0].append(t)})(t.script),e.add(t.name),f&&console.log(`HockeyStack: Detected and injected ${t.name}`))}))};"complete"!==document.readyState&&"interactive"!==document.readyState||t(),window.addEventListener("load",(()=>{t();let e=0;const n=()=>{setTimeout((()=>{e>=60?f&&console.log("HockeyStack: Stopped checking for integrations"):(e++,t(),n())}),1e3)};n()}))})(),e}catch(e){R(e,{operation:"general"})}})(),window.hockeystackQueue&&window.hockeystackQueue.forEach((e=>e())); //# sourceMappingURL=/sm/18cdeba61f2d874ab9337e860527a2630ffd87e4c7bfc98c055070fae4ba97e8.map