File: /var/www/quadcode.com/.svelte-kit/output/server/chunks/ssr.js
import{r as m,c as $}from"./utils.js";let u;function l(t){u=t}function d(){if(!u)throw new Error("Function called outside component initialization");return u}function b(t){d().$$.on_destroy.push(t)}function y(t,n){return d().$$.context.set(t,n),n}function E(t){return d().$$.context.get(t)}function h(t){return t?.length!==void 0?t:Array.from(t)}const _=/[&"]/g,g=/[&<]/g;function w(t,n=!1){const e=String(t),o=n?_:g;o.lastIndex=0;let a="",r=0;for(;o.test(e);){const c=o.lastIndex-1,s=e[c];a+=e.substring(r,c)+(s==="&"?"&":s==='"'?""":"<"),r=c+1}return a+e.substring(r)}function R(t,n){t=h(t);let e="";for(let o=0;o<t.length;o+=1)e+=n(t[o],o);return e}const S={$$render:()=>""};function T(t,n){if(!t||!t.$$render)throw n==="svelte:component"&&(n+=" this={...}"),new Error(`<${n}> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules. Otherwise you may need to fix a <${n}>.`);return t}let i;function A(t){function n(e,o,a,r,c){const s=u,f={on_destroy:i,context:new Map(c||(s?s.$$.context:[])),on_mount:[],before_update:[],after_update:[],callbacks:$()};l({$$:f});const p=t(e,o,a,r);return l(s),p}return{render:(e={},{$$slots:o={},context:a=new Map}={})=>{i=[];const r={title:"",head:"",css:new Set},c=n(r,e,{},o,a);return m(i),{html:c,css:{code:Array.from(r.css).map(s=>s.code).join(`
`),map:null},head:r.title+r.head}},$$render:n}}function C(t,n,e){if(n==null||e&&!n)return"";const o=e&&n===!0?"":`="${w(n,!0)}"`;return` ${t}${o}`}export{C as a,w as b,A as c,l as d,R as e,u as f,E as g,S as m,b as o,y as s,T as v};