1import{_}from"./axp80OZP.js";import{L as f,z as w,g as L,R as h,S as C,i as D,c as l,w as k,U as B,o as c,j as I,F as g,p as y,m as F}from"./Dys0Pqea.js";import{u as P}from"./r2h3mWtY.js";import{u as x}from"./C8I0kubY.js";import{u as V}from"./-WxsaMfJ.js";function b(){const e=f().public.leandata,a=w(!1);return{shouldLoadCalendar:o=>{const n=o.replace(/\/$/,"");return e.calendarPaths.some(r=>n===r)},loadCalendar:async()=>{if(window.LDBookItV2){o();return}await new Promise((n,r)=>{const t=document.createElement("script");t.src=e.scriptUrl,t.onload=()=>n(),t.onerror=()=>r(new Error("Failed to load LeanData script")),document.body.appendChild(t)}),o();function o(){window.LDBookItV2&&(window.LDBookItV2.initialize(e.orgId,e.buttonText,e.hiddenFieldName),window.LDBookItV2.setFormProvider("typeform"),window.LDBookItV2.validateTempUID()&&(window.LDBookItV2.saveFormDataFromURLParams(),window.LDBookItV2.submit()),a.value=!0)}},isLoaded:a}}const S=L({__name:"catchAll",async setup(e){let a,s;const i=h(),{data:o,error:n}=([a,s]=C(()=>P(i.path)),a=await a,s(),a);x(o,n),V(o);const{shouldLoadCalendar:r,loadCalendar:t}=b();return D(async()=>{if(r(i.path))try{await t()}catch(d){console.error("LeanData: Failed to load calendar",d)}}),(d,v)=>{const u=_,m=B;return c(),l(m,{name:"default"},{default:k(()=>[(c(!0),I(g,null,y(F(o).content,p=>(c(),l(u,{component:p},null,8,["component"]))),256))]),_:1})}}});
1export{S as _};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.