window.connectEnvConfig={code:"3b80f598-2954-2f02-2af4-702d9c392bb0",api:"https://api.scorpion.co/platformapp/comms",env:"https://api.scorpion.co",js:"https://scorpionconnect.scorpion.co/static/js/main.990c2dcb.js",css:"https://scorpionconnect.scorpion.co/static/css/main.c489b7b7.css"},async function(){const n=window.connectEnvConfig.api+"/v1/api/helpcenter/start",o=/(?:^|;\s*)L=#(\d+)(?:;|$)/.exec(document.cookie),e=await fetch(n,{method:"GET",headers:{"Content-Type":"application/json","X-Request-From":window.location.href,"x-location":+o?.[1]||0,"x-code":window.connectEnvConfig.code||void 0,"x-signup":window.connectEnvConfig.signup||void 0}}),t=await e.text(),c=JSON.parse(t);if(!c.result)return void console.error("Unable to obtain helpcenter/start");window.connectEnvConfig.js=c.result.js||window.connectEnvConfig.js,window.connectEnvConfig.css=c.result.css||window.connectEnvConfig.css;const s=new URLSearchParams(window.location.search);if(s.has("rwg_token")&&(document.cookie="rwg_token="+s.get("rwg_token")),s.has("openscheduler")||s.has("rwg_token")){var i=new Date;i.setMinutes(i.getMinutes()+30);var a={expiresOn:i,route:6};localStorage.setItem("connectRoute",JSON.stringify(a))}!function(){const n=document.createElement("script");n.defer=!0,n.src=window.connectEnvConfig.js,document.body.appendChild(n);const o=document.createElement("link");o.href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap",o.rel="stylesheet",document.head.appendChild(o)}()}();