';const darkTheme="dark"===new URLSearchParams(window.location.search.toLowerCase()).get("theme");if(darkTheme&&(loader.globalAreaTag.style.background="#121416",loader.loadMessageTag.style.background="#121416"),loader.initialize(),loader.show(),!renderScript.isRendertron){const e=document.querySelector(".global-message-hide");e&&(e.innerText="ab cd".repeat(1e3))}const DOMAIN_REPLACE_VARIABLE="%current_domain%",currentDomain=window.location.hostname.replace("www.",""),handleUrlVariable=e=>e.replace("%current_domain%",currentDomain),replaceSettingVar=e=>({...e,common:e.common.map((e=>handleUrlVariable(e))),line:e.line.map((e=>handleUrlVariable(e))),line_rendertron:(e.line_rendertron||[]).map((e=>handleUrlVariable(e))),static:handleUrlVariable(e.static),mapOfAdditionalOriginURIs:Object.keys(e.mapOfAdditionalOriginURIs||{}).reduce(((r,a)=>{const t=e.mapOfAdditionalOriginURIs[a];return r[a]=handleUrlVariable(t),r}),{})}),initSettings=e=>{const r=replaceSettingVar(e);if(window._buildInfo=r,renderScript.isRendertron&&r){const e=(r.line_rendertron||[])[0]||(r.line||[])[0];renderScript.runWindowLoadDelay(e)}},urlsPreloadRaw='{ "common": [ "//clientsapi03.fb2834-resources.com", "//clientsapi21.fb2834-resources.com" ], "line": [ "//line03.fb2834-resources.com", "//line21.fb2834-resources.com" ], "lineByScopeMarket": {}, "static": "//static.fb2834-resources.com", "commonApi": "//fastviewdata.fb2834-resources.com", "staticSiteDir": "/webStaticFB/website", "mapOfAdditionalOriginURIs": {}, "updateUtcDate": "Fri, 11 Oct 2024 16:17:52 GMT", "site": { "version": "1.39.84", "forceUpdateVersion": 0, "environment": "production", "ref": "bWFzdGVy", "configHash": "cad020ef490f9a1199eddff686717c9b" }, "enableClickStream": true}';if(urlsPreloadRaw){const e=JSON.parse(urlsPreloadRaw);initSettings(e),appLoad.loadBootstrap(!1)}else{renderScript.isRendertron&&console.log("render: load script wont work!");const e=renderScript.isRendertron?6e5*Math.trunc(Date.now()/6e5):Date.now();fetch(`/urls.json?hash=${e}`).then((e=>e.json())).then((e=>{initSettings(e),appLoad.loadBootstrap(!1)})).catch((()=>{appLoad&&!appLoad.restartTimer&&(appLoad.restartTimer=setTimeout((()=>{appLoad.restartTimer=void 0,appLoad.restart()}),appLoad.restartTimeout),loader.printMsg(appLoad.newLine(appLoad.msgDownloadFailed)+appLoad.newLine(`The application will be restarted in ${Math.floor(appLoad.restartTimeout/1e3)} seconds.`)+appLoad.btnCancelRestart))}))}