const f="modulepreload",w=function(r){return"/build/"+r},a={},u=function(o,t,d){if(!t||t.length===0)return o();const c=document.getElementsByTagName("link");return Promise.all(t.map(e=>{if(e=w(e),e in a)return;a[e]=!0;const n=e.endsWith(".css"),h=n?'[rel="stylesheet"]':"";if(!!d)for(let i=c.length-1;i>=0;i--){const l=c[i];if(l.href===e&&(!n||l.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${e}"]${h}`))return;const s=document.createElement("link");if(s.rel=n?"stylesheet":f,n||(s.as="script",s.crossOrigin=""),s.href=e,document.head.appendChild(s),n)return new Promise((i,l)=>{s.addEventListener("load",i),s.addEventListener("error",()=>l(new Error(`Unable to preload CSS for ${e}`)))})})).then(()=>o()).catch(e=>{const n=new Event("vite:preloadError",{cancelable:!0});if(n.payload=e,window.dispatchEvent(n),!n.defaultPrevented)throw e})};typeof window.pusherConfig<"u"?u(()=>import("./echo-4c3fda6b.js"),[]).then(({default:r})=>{u(()=>import("./pusher-32a7bc32.js").then(o=>o.p),[]).then(({default:o})=>{window.Pusher=o;let t=window.pusherConfig;window.Echo=new r({broadcaster:"pusher",key:t.key,cluster:t.cluster,wsHost:t.wsHost??`ws-${t.cluster}.pusher.com`,wsPort:t.port??80,wssPort:t.port??443,forceTLS:(t.scheme??"https")==="https",enabledTransports:["ws","wss"]})}).catch(o=>console.log("Failed to load Pusher:",o))}).catch(r=>console.log("Failed to load Echo:",r)):console.log("window.pusherConfig is not defined.");
