window.connectEnvConfig={code:"fbc35618-22a2-f9ff-a914-40311256b155",api:"https://api.scorpion.co/platformapp/comms",env:"https://api.scorpion.co",js:"https://scorpionconnect.scorpion.co/static/js/main.7acd7289.js",css:"https://scorpionconnect.scorpion.co/static/css/main.437a3b40.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)}()}();