/*!  Satisfi Embedder SDK - v1.0.136 */(()=>{var t={8330(t){"use strict";t.exports={rE:"1.0.136"}}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var a=e[n]={exports:{}};return t[n](a,a.exports,r),a.exports}
/**
 * SD-10932: Satisfi Embedder Loader (init.js)
 * Enhanced loader with built-in IIS fallback for CSS assets.
 *
 * Asset version is baked at build time via Webpack DefinePlugin (__POPUP_VERSION__).
 * No runtime manifest fetch — loader is synchronous and has zero network dependencies.
 */!function(){const t="satisfiScript",e=t+"-bundle",n="satisfiAppStyle",i="https://chat.satis.fi",a=r(8330).rE,o=i+"/webchat/embedder/",s=["popupId","env","cf","extid"],c=["data-url","data-popupId","data-pageId"];function d(t,r,i,a){if("script"===t){const t=Object.assign(document.createElement("script"),{type:"text/javascript",id:e,src:r});c.forEach(function(e){var r=i.getAttribute(e);r&&t.setAttribute(e,r)}),i.parentNode.insertBefore(t,i.nextSibling)}else{var o=document.getElementById(n);o&&o.remove();var s=Object.assign(document.createElement("link"),{id:n,rel:"stylesheet",href:r});s.setAttribute("fetchpriority","high"),a&&(s.onerror=function(){s.href!==a&&(console.warn("[Satisfi] GCS CSS failed, falling back to IIS"),s.href=a)}),(document.body||document.head).appendChild(s)}}function p(){try{const e=document.getElementById(t);if(!e)return;const r=i+"/popup/GetCSS",n=e.getAttribute("src"),c=new URL(n,window.location.href),p=new URL(o+"satisfipopup."+a+".js"),u=o+"satisfipopup."+a+".css";s.forEach(function(t){var e=c.searchParams.get(t);e&&p.searchParams.set(t,e)}),d("link",u,e,r),d("script",p.href,e)}catch(t){console.warn("[Satisfi] Loader critical error:",t)}}"loading"===document.readyState?document.addEventListener("DOMContentLoaded",p):p()}()})();