@liip/liipgpt 3.3.2 → 3.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/button/liipgpt-button.iife.js +100 -61
- package/chat/liipgpt-chat.iife.js +102 -66
- package/config/index.cjs +13289 -3693
- package/config/index.d.ts +5246 -26814
- package/config/index.js +13253 -3657
- package/configurator/_app/env.js +1 -1
- package/configurator/_app/immutable/chunks/6gGOJNBB.js +1 -0
- package/configurator/_app/immutable/chunks/B9KqQVWK.js +1 -0
- package/configurator/_app/immutable/chunks/BR4Ri1mV.js +15 -0
- package/configurator/_app/immutable/chunks/BXCiGO5D.js +1 -0
- package/configurator/_app/immutable/chunks/BXvq-tJR.js +1 -0
- package/configurator/_app/immutable/chunks/Bg7q39r6.js +1 -0
- package/configurator/_app/immutable/chunks/{CUA2mQrz.js → CR5-hwU3.js} +1 -1
- package/configurator/_app/immutable/chunks/CfJtR48A.js +2 -0
- package/configurator/_app/immutable/chunks/DDdNR6B9.js +1 -0
- package/configurator/_app/immutable/chunks/DP18hDNz.js +324 -0
- package/configurator/_app/immutable/chunks/DZ0jooU7.js +1 -0
- package/configurator/_app/immutable/chunks/DoVxcdSh.js +143 -0
- package/configurator/_app/immutable/chunks/DsnmJJEf.js +1 -0
- package/configurator/_app/immutable/chunks/NTlCU5wx.js +113 -0
- package/configurator/_app/immutable/chunks/hrZ0qwUL.js +1 -0
- package/configurator/_app/immutable/entry/app.DX1BO32c.js +2 -0
- package/configurator/_app/immutable/entry/start.DU4iEglC.js +1 -0
- package/configurator/_app/immutable/nodes/{0.B1_BHoHM.js → 0.DFZ7OBkw.js} +3 -3
- package/configurator/_app/immutable/nodes/1.RVsOXI4d.js +1 -0
- package/configurator/_app/immutable/nodes/2.gxyeht7h.js +31 -0
- package/configurator/_app/immutable/nodes/3.BbSVwn6I.js +954 -0
- package/configurator/_app/version.json +1 -1
- package/configurator/index.html +12 -12
- package/configurator/sidebar.html +12 -12
- package/index.cjs +16249 -6028
- package/index.d.ts +6952 -70037
- package/index.js +16249 -6028
- package/package.json +4 -4
- package/configurator/_app/immutable/chunks/BHyoBcMB.js +0 -15
- package/configurator/_app/immutable/chunks/Bwlnp1Fv.js +0 -3
- package/configurator/_app/immutable/chunks/C8ORMuNm.js +0 -286
- package/configurator/_app/immutable/chunks/Cg1M8nhR.js +0 -1
- package/configurator/_app/immutable/chunks/CjlIFGQR.js +0 -1
- package/configurator/_app/immutable/chunks/DEfNJr1d.js +0 -1
- package/configurator/_app/immutable/chunks/DShclvIF.js +0 -116
- package/configurator/_app/immutable/chunks/Dzs3iOAP.js +0 -1
- package/configurator/_app/immutable/chunks/KwlzJn94.js +0 -1
- package/configurator/_app/immutable/chunks/NZTpNUN0.js +0 -1
- package/configurator/_app/immutable/chunks/PaGpozZ3.js +0 -1
- package/configurator/_app/immutable/chunks/UUVzZ2eQ.js +0 -1
- package/configurator/_app/immutable/chunks/bzMFxNOM.js +0 -143
- package/configurator/_app/immutable/chunks/tg4KZpKp.js +0 -1
- package/configurator/_app/immutable/entry/app.wS03Lw9v.js +0 -2
- package/configurator/_app/immutable/entry/start.DC6usZVj.js +0 -1
- package/configurator/_app/immutable/nodes/1.Qf-3txMY.js +0 -1
- package/configurator/_app/immutable/nodes/2.QF2vvVAB.js +0 -31
- package/configurator/_app/immutable/nodes/3.y9o-F-NC.js +0 -897
package/configurator/_app/env.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const env={"PUBLIC_API_URL":"https://liipgpt.api.dev.genai.liip.ch/liipgpt","PUBLIC_CI_COMMIT_TAG":"3.3.
|
|
1
|
+
export const env={"PUBLIC_API_URL":"https://liipgpt.api.dev.genai.liip.ch/liipgpt","PUBLIC_CI_COMMIT_TAG":"3.3.4"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{l as e,u,h as t,i as a,j as l}from"./CfJtR48A.js";function c(n){t===null&&e(),a&&t.l!==null?i(t).m.push(n):u(()=>{const o=l(n);if(typeof o=="function")return o})}function f(n){t===null&&e(),c(()=>()=>l(n))}function i(n){var o=n.l;return o.u??={a:[],b:[],m:[]}}export{f as a,c as o};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./DsnmJJEf.js";import{p as y,n as f,b as S,m as r,k as d,o as h,c as _}from"./CfJtR48A.js";import{p as n,s as k}from"./hrZ0qwUL.js";import{E as T}from"./BR4Ri1mV.js";import{O as C}from"./DZ0jooU7.js";function U(b,e){y(e,!0);let o=n(e,"onclick",7),s=n(e,"buttonClass",7),a=n(e,"buttonStyle",7),l=n(e,"apiUrl",7),u=n(e,"forceTheme",7),i=n(e,"lang",7),c=h(()=>({onclick:o(),buttonClass:s(),buttonStyle:a(),apiUrl:l(),forceTheme:u(),lang:i()}));var p={get onclick(){return o()},set onclick(t){o(t),r()},get buttonClass(){return s()},set buttonClass(t){s(t),r()},get buttonStyle(){return a()},set buttonStyle(t){a(t),r()},get apiUrl(){return l()},set apiUrl(t){l(t),r()},get forceTheme(){return u()},set forceTheme(t){u(t),r()},get lang(){return i()},set lang(t){i(t),r()}};return T(b,{silent:!0,body:(m,g=f)=>{C(m,k({host:e.$$host,get onError(){return g()}},()=>d(c)))},$$slots:{body:!0}}),S(p)}customElements.define("liipgpt-button",_(U,{forceTheme:{attribute:"force-theme",type:"String"},buttonClass:{attribute:"button-class",type:"String"},buttonStyle:{attribute:"button-style",type:"String"},apiUrl:{attribute:"api-url",type:"String"},lang:{attribute:"lang",type:"String"},onclick:{}},[],[],{mode:"open"}));export{U as LiipGPTButton};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import"./DsnmJJEf.js";import{p as R,z as b,f as d,A as T,a,b as U,m as x,k,n as j,B as q,c as G,C as H,s as E,t as I,g as J,D as z,d as F,E as K,e as S,r as w,F as L}from"./CfJtR48A.js";import{s as N}from"./DP18hDNz.js";import{i as B}from"./Bg7q39r6.js";import{a as O}from"./NTlCU5wx.js";import{p as C}from"./hrZ0qwUL.js";var Q=F('<div class="chat-app__container"><div class="error-message svelte-14mj70v">Server is unreachable, please try later... <button class="error-message__retry-button svelte-14mj70v">Retry</button></div></div>'),V=F(" <!>",1);const W={hash:"svelte-14mj70v",code:`
|
|
2
|
+
/* These styles are inline, because at this point theme loading has failed. */.error-message.svelte-14mj70v {display:table;z-index:1000;width:auto;margin:2rem auto;padding:2rem;border-radius:2px;background:white;color:oklch(27.8% 0.033 256.848);font-family:-apple-system,
|
|
3
|
+
BlinkMacSystemFont,
|
|
4
|
+
avenir next,
|
|
5
|
+
avenir,
|
|
6
|
+
segoe ui,
|
|
7
|
+
helvetica neue,
|
|
8
|
+
helvetica,
|
|
9
|
+
Cantarell,
|
|
10
|
+
Ubuntu,
|
|
11
|
+
roboto,
|
|
12
|
+
noto,
|
|
13
|
+
arial,
|
|
14
|
+
sans-serif;}.error-message__retry-button.svelte-14mj70v {border:none;outline:none;background:none;font-size:1rem;text-decoration:underline;&:active {outline:none;}}`};function X(_,v){R(v,!0),O(_,W);const g=(e,s=j,u=j)=>{K();var o=V(),i=d(o),r=E(i);{var l=t=>{},f=t=>{var p=Q(),y=S(p),P=E(S(y));w(y),w(p),L("click",P,()=>u()()),a(t,p)};B(r,t=>{c()?t(l):t(f,!1)})}I(t=>J(i,`${t??""} `),[()=>console.error(`Panic, uncaught error:
|
|
15
|
+
`,s())??""]),a(e,o)};let m=C(v,"body",7),c=C(v,"silent",7),n=H(void 0);const A=e=>{z(n,{error:e},!0)};var D={get body(){return m()},set body(e){m(e),x()},get silent(){return c()},set silent(e){c(e),x()}},h=b(),M=d(h);return T(M,{get failed(){return g}},e=>{var s=b(),u=d(s);{var o=r=>{g(r,()=>k(n).error,()=>()=>{z(n,void 0)})},i=r=>{var l=b(),f=d(l);N(f,m,()=>A),a(r,l)};B(u,r=>{k(n)?r(o):r(i,!1)})}a(e,s)}),a(_,h),U(D)}q(["click"]);G(X,{body:{},silent:{}},[],[],{mode:"open"});export{X as E};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n as pe,bh as _t,C as A,k as U,D as T,a4 as te,bH as wt}from"./CfJtR48A.js";import{o as De}from"./6gGOJNBB.js";const V=[];function Se(e,t=pe){let n=null;const r=new Set;function a(o){if(_t(e,o)&&(e=o,n)){const c=!V.length;for(const l of r)l[1](),V.push(l,e);if(c){for(let l=0;l<V.length;l+=2)V[l][0](V[l+1]);V.length=0}}}function i(o){a(o(e))}function s(o,c=pe){const l=[o,c];return r.add(l),r.size===1&&(n=t(a,i)||pe),o(e),()=>{r.delete(l),r.size===0&&n&&(n(),n=null)}}return{set:a,update:i,subscribe:s}}class Re{constructor(t,n){this.status=t,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class xe{constructor(t,n){this.status=t,this.location=n}}class Le extends Error{constructor(t,n,r){super(r),this.status=t,this.text=n}}new URL("sveltekit-internal://");function vt(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function yt(e){return e.split("%25").map(decodeURI).join("%25")}function bt(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function ge({href:e}){return e.split("#")[0]}function kt(e,t,n,r=!1){const a=new URL(e);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(s,o){if(o==="get"||o==="getAll"||o==="has")return(l,...d)=>(n(l),s[o](l,...d));t();const c=Reflect.get(s,o);return typeof c=="function"?c.bind(s):c}}),enumerable:!0,configurable:!0});const i=["href","pathname","search","toString","toJSON"];r&&i.push("hash");for(const s of i)Object.defineProperty(a,s,{get(){return t(),e[s]},enumerable:!0,configurable:!0});return a}function Et(...e){let t=5381;for(const n of e)if(typeof n=="string"){let r=n.length;for(;r;)t=t*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)t=t*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}new TextEncoder;new TextDecoder;function St(e){const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}const Rt=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&G.delete(Ae(e)),Rt(e,t));const G=new Map;function xt(e,t){const n=Ae(e,t),r=document.querySelector(n);if(r?.textContent){r.remove();let{body:a,...i}=JSON.parse(r.textContent);const s=r.getAttribute("data-ttl");return s&&G.set(n,{body:a,init:i,ttl:1e3*Number(s)}),r.getAttribute("data-b64")!==null&&(a=St(a)),Promise.resolve(new Response(a,i))}return window.fetch(e,t)}function Lt(e,t,n){if(G.size>0){const r=Ae(e,n),a=G.get(r);if(a){if(performance.now()<a.ttl&&["default","force-cache","only-if-cached",void 0].includes(n?.cache))return new Response(a.body,a.init);G.delete(r)}}return window.fetch(t,n)}function Ae(e,t){let r=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){const a=[];t.headers&&a.push([...new Headers(t.headers)].join(",")),t.body&&(typeof t.body=="string"||ArrayBuffer.isView(t.body))&&a.push(t.body),r+=`[data-hash="${Et(...a)}"]`}return r}const At=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function Ut(e){const t=[];return{pattern:e==="/"?/^\/$/:new RegExp(`^${Pt(e).map(r=>{const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return t.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const i=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(i)return t.push({name:i[1],matcher:i[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const s=r.split(/\[(.+?)\](?!\])/);return"/"+s.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return me(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return me(String.fromCharCode(...c.slice(2).split("-").map(w=>parseInt(w,16))));const d=At.exec(c),[,p,f,u,h]=d;return t.push({name:u,matcher:h,optional:!!p,rest:!!f,chained:f?l===1&&s[0]==="":!1}),f?"([^]*?)":p?"([^/]*)?":"([^/]+?)"}return me(c)}).join("")}).join("")}/?$`),params:t}}function Tt(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function Pt(e){return e.slice(1).split("/").filter(Tt)}function It(e,t,n){const r={},a=e.slice(1),i=a.filter(o=>o!==void 0);let s=0;for(let o=0;o<t.length;o+=1){const c=t[o];let l=a[o-s];if(c.chained&&c.rest&&s&&(l=a.slice(o-s,o+1).filter(d=>d).join("/"),s=0),l===void 0)if(c.rest)l="";else continue;if(!c.matcher||n[c.matcher](l)){r[c.name]=l;const d=t[o+1],p=a[o+1];d&&!d.rest&&d.optional&&p&&c.chained&&(s=0),!d&&!p&&Object.keys(r).length===i.length&&(s=0);continue}if(c.optional&&c.chained){s++;continue}return}if(!s)return r}function me(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Ot({nodes:e,server_loads:t,dictionary:n,matchers:r}){const a=new Set(t);return Object.entries(n).map(([o,[c,l,d]])=>{const{pattern:p,params:f}=Ut(o),u={id:o,exec:h=>{const w=p.exec(h);if(w)return It(w,f,r)},errors:[1,...d||[]].map(h=>e[h]),layouts:[0,...l||[]].map(s),leaf:i(c)};return u.errors.length=u.layouts.length=Math.max(u.errors.length,u.layouts.length),u});function i(o){const c=o<0;return c&&(o=~o),[c,e[o]]}function s(o){return o===void 0?o:[a.has(o),e[o]]}}function We(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function Ve(e,t,n=JSON.stringify){const r=n(t);try{sessionStorage[e]=r}catch{}}const x=globalThis.__sveltekit_1azq73u?.base??"/configurator",Ct=globalThis.__sveltekit_1azq73u?.assets??x??"",$t="1772549789662",Je="sveltekit:snapshot",Ye="sveltekit:scroll",Xe="sveltekit:states",jt="sveltekit:pageurl",B="sveltekit:history",M="sveltekit:navigation",j={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},ue=location.origin;function Ue(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const n=document.getElementsByTagName("base");t=n.length?n[0].href:document.URL}return new URL(e,t)}function q(){return{x:pageXOffset,y:pageYOffset}}function z(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const ze={...j,"":j.hover};function Qe(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function Ze(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=Qe(e)}}function ve(e,t,n){let r;try{if(r=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const o=location.hash.split("#")[1]||"/";r.hash=`#${o}${r.hash}`}}catch{}const a=e instanceof SVGAElement?e.target.baseVal:e.target,i=!r||!!a||fe(r,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),s=r?.origin===ue&&e.hasAttribute("download");return{url:r,external:i,target:a,download:s}}function ne(e){let t=null,n=null,r=null,a=null,i=null,s=null,o=e;for(;o&&o!==document.documentElement;)r===null&&(r=z(o,"preload-code")),a===null&&(a=z(o,"preload-data")),t===null&&(t=z(o,"keepfocus")),n===null&&(n=z(o,"noscroll")),i===null&&(i=z(o,"reload")),s===null&&(s=z(o,"replacestate")),o=Qe(o);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:ze[r??"off"],preload_data:ze[a??"off"],keepfocus:c(t),noscroll:c(n),reload:c(i),replace_state:c(s)}}function Be(e){const t=Se(e);let n=!0;function r(){n=!0,t.update(s=>s)}function a(s){n=!1,t.set(s)}function i(s){let o;return t.subscribe(c=>{(o===void 0||n&&c!==o)&&s(o=c)})}return{notify:r,set:a,subscribe:i}}const et={v:()=>{}};function Nt(){const{set:e,subscribe:t}=Se(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${Ct}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const s=(await a.json()).version!==$t;return s&&(e(!0),et.v(),clearTimeout(n)),s}catch{return!1}}return{subscribe:t,check:r}}function fe(e,t,n){return e.origin!==ue||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function fn(e){}const tt=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...tt];const qt=new Set([...tt]);[...qt];function Dt(e){return e.filter(t=>t!=null)}function Te(e){return e instanceof Re||e instanceof Le?e.status:500}function Vt(e){return e instanceof Le?e.text:"Internal Error"}let k,W,_e;const zt=De.toString().includes("$$")||/function \w+\(\) \{\}/.test(De.toString());zt?(k={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},W={current:null},_e={current:!1}):(k=new class{#e=A({});get data(){return U(this.#e)}set data(t){T(this.#e,t)}#t=A(null);get form(){return U(this.#t)}set form(t){T(this.#t,t)}#n=A(null);get error(){return U(this.#n)}set error(t){T(this.#n,t)}#r=A({});get params(){return U(this.#r)}set params(t){T(this.#r,t)}#a=A({id:null});get route(){return U(this.#a)}set route(t){T(this.#a,t)}#o=A({});get state(){return U(this.#o)}set state(t){T(this.#o,t)}#s=A(-1);get status(){return U(this.#s)}set status(t){T(this.#s,t)}#i=A(new URL("https://example.com"));get url(){return U(this.#i)}set url(t){T(this.#i,t)}},W=new class{#e=A(null);get current(){return U(this.#e)}set current(t){T(this.#e,t)}},_e=new class{#e=A(!1);get current(){return U(this.#e)}set current(t){T(this.#e,t)}},et.v=()=>_e.current=!0);function Bt(e){Object.assign(k,e)}const Ke={spanContext(){return Kt},setAttribute(){return this},setAttributes(){return this},addEvent(){return this},setStatus(){return this},updateName(){return this},end(){return this},isRecording(){return!1},recordException(){return this},addLink(){return this},addLinks(){return this}},Kt={traceId:"",spanId:"",traceFlags:0},Ft=new Set(["icon","shortcut icon","apple-touch-icon"]),$=We(Ye)??{},J=We(Je)??{},C={url:Be({}),page:Be({}),navigating:Se(null),updated:Nt()};function Pe(e){$[e]=q()}function Gt(e,t){let n=e+1;for(;$[n];)delete $[n],n+=1;for(n=t+1;J[n];)delete J[n],n+=1}function Y(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(()=>{})}async function nt(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(x||"/");e&&await e.update()}}function Fe(){}let Ie,ye,re,P,be,v;const ae=[],oe=[];let L=null;function ke(){L?.fork?.then(e=>e?.discard()),L=null}const ee=new Map,rt=new Set,Ht=new Set,H=new Set;let _={branch:[],error:null,url:null},at=!1,se=!1,Ge=!0,X=!1,F=!1,ot=!1,Oe=!1,st,y,R,N;const ie=new Set,He=new Map;async function gn(e,t,n){globalThis.__sveltekit_1azq73u?.data&&globalThis.__sveltekit_1azq73u.data,document.URL!==location.href&&(location.href=location.href),v=e,await e.hooks.init?.(),Ie=Ot(e),P=document.documentElement,be=t,ye=e.nodes[0],re=e.nodes[1],ye(),re(),y=history.state?.[B],R=history.state?.[M],y||(y=R=Date.now(),history.replaceState({...history.state,[B]:y,[M]:R},""));const r=$[y];function a(){r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y))}n?(a(),await an(be,n)):(await K({type:"enter",url:Ue(v.hash?cn(new URL(location.href)):location.href),replace_state:!0}),a()),rn()}function Mt(){ae.length=0,Oe=!1}function it(e){oe.some(t=>t?.snapshot)&&(J[e]=oe.map(t=>t?.snapshot?.capture()))}function ct(e){J[e]?.forEach((t,n)=>{oe[n]?.snapshot?.restore(t)})}function Me(){Pe(y),Ve(Ye,$),it(R),Ve(Je,J)}async function lt(e,t,n,r){let a;t.invalidateAll&&ke(),await K({type:"goto",url:Ue(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:r,accept:()=>{t.invalidateAll&&(Oe=!0,a=[...He.keys()]),t.invalidate&&t.invalidate.forEach(nn)}}),t.invalidateAll&&te().then(te).then(()=>{He.forEach(({resource:i},s)=>{a?.includes(s)&&i.refresh?.()})})}async function Wt(e){if(e.id!==L?.id){ke();const t={};ie.add(t),L={id:e.id,token:t,promise:dt({...e,preload:t}).then(n=>(ie.delete(t),n.type==="loaded"&&n.state.error&&ke(),n)),fork:null}}return L.promise}async function we(e){const t=(await de(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(n=>n[1]()))}async function ut(e,t,n){_=e.state;const r=document.querySelector("style[data-sveltekit]");if(r&&r.remove(),Object.assign(k,e.props.page),st=new v.root({target:t,props:{...e.props,stores:C,components:oe},hydrate:n,sync:!1}),await Promise.resolve(),ct(R),n){const a={from:null,to:{params:_.params,route:{id:_.route?.id??null},url:new URL(location.href),scroll:$[y]??q()},willUnload:!1,type:"enter",complete:Promise.resolve()};H.forEach(i=>i(a))}se=!0}function ce({url:e,params:t,branch:n,status:r,error:a,route:i,form:s}){let o="never";if(x&&(e.pathname===x||e.pathname===x+"/"))o="always";else for(const u of n)u?.slash!==void 0&&(o=u.slash);e.pathname=vt(e.pathname,o),e.search=e.search;const c={type:"loaded",state:{url:e,params:t,branch:n,error:a,route:i},props:{constructors:Dt(n).map(u=>u.node.component),page:qe(k)}};s!==void 0&&(c.props.form=s);let l={},d=!k,p=0;for(let u=0;u<Math.max(n.length,_.branch.length);u+=1){const h=n[u],w=_.branch[u];h?.data!==w?.data&&(d=!0),h&&(l={...l,...h.data},d&&(c.props[`data_${p}`]=l),p+=1)}return(!_.url||e.href!==_.url.href||_.error!==a||s!==void 0&&s!==k.form||d)&&(c.props.page={error:a,params:t,route:{id:i?.id??null},state:{},status:r,url:new URL(e),form:s??null,data:d?l:k.data}),c}async function Ce({loader:e,parent:t,url:n,params:r,route:a,server_data_node:i}){let s=null,o=!0;const c={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},l=await e();if(l.universal?.load){let d=function(...f){for(const u of f){const{href:h}=new URL(u,n);c.dependencies.add(h)}};const p={tracing:{enabled:!1,root:Ke,current:Ke},route:new Proxy(a,{get:(f,u)=>(o&&(c.route=!0),f[u])}),params:new Proxy(r,{get:(f,u)=>(o&&c.params.add(u),f[u])}),data:i?.data??null,url:kt(n,()=>{o&&(c.url=!0)},f=>{o&&c.search_params.add(f)},v.hash),async fetch(f,u){f instanceof Request&&(u={body:f.method==="GET"||f.method==="HEAD"?void 0:await f.blob(),cache:f.cache,credentials:f.credentials,headers:[...f.headers].length>0?f?.headers:void 0,integrity:f.integrity,keepalive:f.keepalive,method:f.method,mode:f.mode,redirect:f.redirect,referrer:f.referrer,referrerPolicy:f.referrerPolicy,signal:f.signal,...u});const{resolved:h,promise:w}=ft(f,u,n);return o&&d(h.href),w},setHeaders:()=>{},depends:d,parent(){return o&&(c.parent=!0),t()},untrack(f){o=!1;try{return f()}finally{o=!0}}};s=await l.universal.load.call(null,p)??null}return{node:l,loader:e,server:i,universal:l.universal?.load?{type:"data",data:s,uses:c}:null,data:s??i?.data??null,slash:l.universal?.trailingSlash??i?.slash}}function ft(e,t,n){let r=e instanceof Request?e.url:e;const a=new URL(r,n);a.origin===n.origin&&(r=a.href.slice(n.origin.length));const i=se?Lt(r,a.href,t):xt(r,t);return{resolved:a,promise:i}}function Jt(e,t,n,r,a,i){if(Oe)return!0;if(!a)return!1;if(a.parent&&e||a.route&&t||a.url&&n)return!0;for(const s of a.search_params)if(r.has(s))return!0;for(const s of a.params)if(i[s]!==_.params[s])return!0;for(const s of a.dependencies)if(ae.some(o=>o(new URL(s))))return!0;return!1}function $e(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function Yt(e,t){if(!e)return new Set(t.searchParams.keys());const n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const r of n){const a=e.searchParams.getAll(r),i=t.searchParams.getAll(r);a.every(s=>i.includes(s))&&i.every(s=>a.includes(s))&&n.delete(r)}return n}function Xt({error:e,url:t,route:n,params:r}){return{type:"loaded",state:{error:e,url:t,route:n,params:r,branch:[]},props:{page:qe(k),constructors:[]}}}async function dt({id:e,invalidating:t,url:n,params:r,route:a,preload:i}){if(L?.id===e)return ie.delete(L.token),L.promise;const{errors:s,layouts:o,leaf:c}=a,l=[...o,c];s.forEach(m=>m?.().catch(()=>{})),l.forEach(m=>m?.[1]().catch(()=>{}));const d=_.url?e!==le(_.url):!1,p=_.route?a.id!==_.route.id:!1,f=Yt(_.url,n);let u=!1;const h=l.map(async(m,g)=>{if(!m)return;const E=_.branch[g];return m[1]===E?.loader&&!Jt(u,p,d,f,E.universal?.uses,r)?E:(u=!0,Ce({loader:m[1],url:n,params:r,route:a,parent:async()=>{const I={};for(let O=0;O<g;O+=1)Object.assign(I,(await h[O])?.data);return I},server_data_node:$e(m[0]?{type:"skip"}:null,m[0]?E?.server:void 0)}))});for(const m of h)m.catch(()=>{});const w=[];for(let m=0;m<l.length;m+=1)if(l[m])try{w.push(await h[m])}catch(g){if(g instanceof xe)return{type:"redirect",location:g.location};if(ie.has(i))return Xt({error:await Q(g,{params:r,url:n,route:{id:a.id}}),url:n,params:r,route:a});let E=Te(g),S;if(g instanceof Re)S=g.body;else{if(await C.updated.check())return await nt(),await Y(n);S=await Q(g,{params:r,url:n,route:{id:a.id}})}const I=await Qt(m,w,s);return I?ce({url:n,params:r,branch:w.slice(0,I.idx).concat(I.node),status:E,error:S,route:a}):await pt(n,{id:a.id},S,E)}else w.push(void 0);return ce({url:n,params:r,branch:w,status:200,error:null,route:a,form:t?void 0:null})}async function Qt(e,t,n){for(;e--;)if(n[e]){let r=e;for(;!t[r];)r-=1;try{return{idx:r+1,node:{node:await n[e](),loader:n[e],data:{},server:null,universal:null}}}catch{continue}}}async function je({status:e,error:t,url:n,route:r}){const a={};let i=null;try{const s=await Ce({loader:ye,url:n,params:a,route:r,parent:()=>Promise.resolve({}),server_data_node:$e(i)}),o={node:await re(),loader:re,universal:null,server:null,data:null};return ce({url:n,params:a,branch:[s,o],status:e,error:t,route:null})}catch(s){if(s instanceof xe)return lt(new URL(s.location,location.href),{},0);throw s}}async function Zt(e){const t=e.href;if(ee.has(t))return ee.get(t);let n;try{const r=(async()=>{let a=await v.hooks.reroute({url:new URL(e),fetch:async(i,s)=>ft(i,s,e).promise})??e;if(typeof a=="string"){const i=new URL(e);v.hash?i.hash=a:i.pathname=a,a=i}return a})();ee.set(t,r),n=await r}catch{ee.delete(t);return}return n}async function de(e,t){if(e&&!fe(e,x,v.hash)){const n=await Zt(e);if(!n)return;const r=en(n);for(const a of Ie){const i=a.exec(r);if(i)return{id:le(e),invalidating:t,route:a,params:bt(i),url:e}}}}function en(e){return yt(v.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(x.length))||"/"}function le(e){return(v.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function ht({url:e,type:t,intent:n,delta:r,event:a,scroll:i}){let s=!1;const o=Ne(_,n,e,t,i??null);r!==void 0&&(o.navigation.delta=r),a!==void 0&&(o.navigation.event=a);const c={...o.navigation,cancel:()=>{s=!0,o.reject(new Error("navigation cancelled"))}};return X||rt.forEach(l=>l(c)),s?null:o}async function K({type:e,url:t,popped:n,keepfocus:r,noscroll:a,replace_state:i,state:s={},redirect_count:o=0,nav_token:c={},accept:l=Fe,block:d=Fe,event:p}){const f=N;N=c;const u=await de(t,!1),h=e==="enter"?Ne(_,u,t,e):ht({url:t,type:e,delta:n?.delta,intent:u,scroll:n?.scroll,event:p});if(!h){d(),N===c&&(N=f);return}const w=y,m=R;l(),X=!0,se&&h.navigation.type!=="enter"&&C.navigating.set(W.current=h.navigation);let g=u&&await dt(u);if(!g){if(fe(t,x,v.hash))return await Y(t,i);g=await pt(t,{id:null},await Q(new Le(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,i)}if(t=u?.url||t,N!==c)return h.reject(new Error("navigation aborted")),!1;if(g.type==="redirect"){if(o<20){await K({type:e,url:new URL(g.location,t),popped:n,keepfocus:r,noscroll:a,replace_state:i,state:s,redirect_count:o+1,nav_token:c}),h.fulfil(void 0);return}g=await je({status:500,error:await Q(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}})}else g.props.page.status>=400&&await C.updated.check()&&(await nt(),await Y(t,i));if(Mt(),Pe(w),it(m),g.props.page.url.pathname!==t.pathname&&(t.pathname=g.props.page.url.pathname),s=n?n.state:s,!n){const b=i?0:1,Z={[B]:y+=b,[M]:R+=b,[Xe]:s};(i?history.replaceState:history.pushState).call(history,Z,"",t),i||Gt(y,R)}const E=u&&L?.id===u.id?L.fork:null;L=null,g.props.page.state=s;let S;if(se){const b=(await Promise.all(Array.from(Ht,D=>D(h.navigation)))).filter(D=>typeof D=="function");if(b.length>0){let D=function(){b.forEach(he=>{H.delete(he)})};b.push(D),b.forEach(he=>{H.add(he)})}_=g.state,g.props.page&&(g.props.page.url=t);const Z=E&&await E;Z?S=Z.commit():(st.$set(g.props),Bt(g.props.page),S=wt?.()),ot=!0}else await ut(g,be,!1);const{activeElement:I}=document;await S,await te(),await te();let O=null;if(Ge){const b=n?n.scroll:a?q():null;b?scrollTo(b.x,b.y):(O=t.hash&&document.getElementById(gt(t)))?O.scrollIntoView():scrollTo(0,0)}const mt=document.activeElement!==I&&document.activeElement!==document.body;!r&&!mt&&sn(t,!O),Ge=!0,g.props.page&&Object.assign(k,g.props.page),X=!1,e==="popstate"&&ct(R),h.fulfil(void 0),h.navigation.to&&(h.navigation.to.scroll=q()),H.forEach(b=>b(h.navigation)),C.navigating.set(W.current=null)}async function pt(e,t,n,r,a){return e.origin===ue&&e.pathname===location.pathname&&!at?await je({status:r,error:n,url:e,route:t}):await Y(e,a)}function tn(){let e,t={element:void 0,href:void 0},n;P.addEventListener("mousemove",o=>{const c=o.target;clearTimeout(e),e=setTimeout(()=>{i(c,j.hover)},20)});function r(o){o.defaultPrevented||i(o.composedPath()[0],j.tap)}P.addEventListener("mousedown",r),P.addEventListener("touchstart",r,{passive:!0});const a=new IntersectionObserver(o=>{for(const c of o)c.isIntersecting&&(we(new URL(c.target.href)),a.unobserve(c.target))},{threshold:0});async function i(o,c){const l=Ze(o,P),d=l===t.element&&l?.href===t.href&&c>=n;if(!l||d)return;const{url:p,external:f,download:u}=ve(l,x,v.hash);if(f||u)return;const h=ne(l),w=p&&le(_.url)===le(p);if(!(h.reload||w))if(c<=h.preload_data){t={element:l,href:l.href},n=j.tap;const m=await de(p,!1);if(!m)return;Wt(m)}else c<=h.preload_code&&(t={element:l,href:l.href},n=c,we(p))}function s(){a.disconnect();for(const o of P.querySelectorAll("a")){const{url:c,external:l,download:d}=ve(o,x,v.hash);if(l||d)continue;const p=ne(o);p.reload||(p.preload_code===j.viewport&&a.observe(o),p.preload_code===j.eager&&we(c))}}H.add(s),s()}function Q(e,t){if(e instanceof Re)return e.body;const n=Te(e),r=Vt(e);return v.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function mn(e,t={}){return e=new URL(Ue(e)),e.origin!==ue?Promise.reject(new Error("goto: invalid URL")):lt(e,t,0)}function nn(e){if(typeof e=="function")ae.push(e);else{const{href:t}=new URL(e,location.href);ae.push(n=>n.href===t)}}function rn(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let n=!1;if(Me(),!X){const r=Ne(_,void 0,null,"leave"),a={...r.navigation,cancel:()=>{n=!0,r.reject(new Error("navigation cancelled"))}};rt.forEach(i=>i(a))}n?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Me()}),navigator.connection?.saveData||tn(),P.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const n=Ze(t.composedPath()[0],P);if(!n)return;const{url:r,external:a,target:i,download:s}=ve(n,x,v.hash);if(!r)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const o=ne(n);if(!(n instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||s)return;const[l,d]=(v.hash?r.hash.replace(/^#/,""):r.href).split("#"),p=l===ge(location);if(a||o.reload&&(!p||!d)){ht({url:r,type:"link",event:t})?X=!0:t.preventDefault();return}if(d!==void 0&&p){const[,f]=_.url.href.split("#");if(f===d){if(t.preventDefault(),d===""||d==="top"&&n.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const u=n.ownerDocument.getElementById(decodeURIComponent(d));u&&(u.scrollIntoView(),u.focus())}return}if(F=!0,Pe(y),e(r),!o.replace_state)return;F=!1}t.preventDefault(),await new Promise(f=>{requestAnimationFrame(()=>{setTimeout(f,0)}),setTimeout(f,100)}),await K({type:"link",url:r,keepfocus:o.keepfocus,noscroll:o.noscroll,replace_state:o.replace_state??r.href===location.href,event:t})}),P.addEventListener("submit",t=>{if(t.defaultPrevented)return;const n=HTMLFormElement.prototype.cloneNode.call(t.target),r=t.submitter;if((r?.formTarget||n.target)==="_blank"||(r?.formMethod||n.method)!=="get")return;const s=new URL(r?.hasAttribute("formaction")&&r?.formAction||n.action);if(fe(s,x,!1))return;const o=t.target,c=ne(o);if(c.reload)return;t.preventDefault(),t.stopPropagation();const l=new FormData(o,r);s.search=new URLSearchParams(l).toString(),K({type:"form",url:s,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??s.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!Ee){if(t.state?.[B]){const n=t.state[B];if(N={},n===y)return;const r=$[n],a=t.state[Xe]??{},i=new URL(t.state[jt]??location.href),s=t.state[M],o=_.url?ge(location)===ge(_.url):!1;if(s===R&&(ot||o)){a!==k.state&&(k.state=a),e(i),$[y]=q(),r&&scrollTo(r.x,r.y),y=n;return}const l=n-y;await K({type:"popstate",url:i,popped:{state:a,scroll:r,delta:l},accept:()=>{y=n,R=s},block:()=>{history.go(-l)},nav_token:N,event:t})}else if(!F){const n=new URL(location.href);e(n),v.hash&&location.reload()}}}),addEventListener("hashchange",()=>{F&&(F=!1,history.replaceState({...history.state,[B]:++y,[M]:R},"",location.href))});for(const t of document.querySelectorAll("link"))Ft.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&C.navigating.set(W.current=null)});function e(t){_.url=k.url=t,C.page.set(qe(k)),C.page.notify()}}async function an(e,{status:t=200,error:n,node_ids:r,params:a,route:i,server_route:s,data:o,form:c}){at=!0;const l=new URL(location.href);let d;({params:a={},route:i={id:null}}=await de(l,!1)||{}),d=Ie.find(({id:u})=>u===i.id);let p,f=!0;try{const u=r.map(async(w,m)=>{const g=o[m];return g?.uses&&(g.uses=on(g.uses)),Ce({loader:v.nodes[w],url:l,params:a,route:i,parent:async()=>{const E={};for(let S=0;S<m;S+=1)Object.assign(E,(await u[S]).data);return E},server_data_node:$e(g)})}),h=await Promise.all(u);if(d){const w=d.layouts;for(let m=0;m<w.length;m++)w[m]||h.splice(m,0,void 0)}p=ce({url:l,params:a,branch:h,status:t,error:n,form:c,route:d??null})}catch(u){if(u instanceof xe){await Y(new URL(u.location,location.href));return}p=await je({status:Te(u),error:await Q(u,{url:l,params:a,route:i}),url:l,route:i}),e.textContent="",f=!1}p.props.page&&(p.props.page.state={}),await ut(p,e,f)}function on(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}let Ee=!1;function sn(e,t=!0){const n=document.querySelector("[autofocus]");if(n)n.focus();else{const r=gt(e);if(r&&document.getElementById(r)){const{x:i,y:s}=q();setTimeout(()=>{const o=history.state;Ee=!0,location.replace(new URL(`#${r}`,location.href)),history.replaceState(o,"",e),t&&scrollTo(i,s),Ee=!1})}else{const i=document.body,s=i.getAttribute("tabindex");i.tabIndex=-1,i.focus({preventScroll:!0,focusVisible:!1}),s!==null?i.setAttribute("tabindex",s):i.removeAttribute("tabindex")}const a=getSelection();if(a&&a.type!=="None"){const i=[];for(let s=0;s<a.rangeCount;s+=1)i.push(a.getRangeAt(s));setTimeout(()=>{if(a.rangeCount===i.length){for(let s=0;s<a.rangeCount;s+=1){const o=i[s],c=a.getRangeAt(s);if(o.commonAncestorContainer!==c.commonAncestorContainer||o.startContainer!==c.startContainer||o.endContainer!==c.endContainer||o.startOffset!==c.startOffset||o.endOffset!==c.endOffset)return}a.removeAllRanges()}})}}}function Ne(e,t,n,r,a=null){let i,s;const o=new Promise((l,d)=>{i=l,s=d});return o.catch(()=>{}),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:q()},to:n&&{params:t?.params??null,route:{id:t?.route?.id??null},url:n,scroll:a},willUnload:!t,type:r,complete:o},fulfil:i,reject:s}}function qe(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function cn(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function gt(e){let t;if(v.hash){const[,,n]=e.hash.split("#",3);t=n??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{gn as a,mn as g,fn as l,k as p,C as s,Se as w};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./DsnmJJEf.js";import{p as L,n as T,k as h,b as A,m as r,o as b,c as R}from"./CfJtR48A.js";import{p as o,s as U}from"./hrZ0qwUL.js";import{C as _}from"./DoVxcdSh.js";import{E}from"./BR4Ri1mV.js";function v(S,t){L(t,!0);let a=o(t,"forceTheme",7),l=o(t,"apiUrl",7),i=o(t,"apiKey",7),n=o(t,"speechRecognitionApiKey",7),u=o(t,"lang",7),y=o(t,"features",7),s=o(t,"loaderBackground",7),g=o(t,"loaderColor",7),f=o(t,"flyout",7),c=o(t,"flyoutStyle",7),p=o(t,"flyoutClass",7),d=o(t,"inlineLayout",7),m=b(()=>({forceTheme:a(),apiUrl:l(),apiKey:i(),speechRecognitionApiKey:n(),lang:u(),features:y(),loaderBackground:s(),loaderColor:g(),flyout:f(),flyoutStyle:c(),flyoutClass:p(),inlineLayout:d()}));var C={get forceTheme(){return a()},set forceTheme(e){a(e),r()},get apiUrl(){return l()},set apiUrl(e){l(e),r()},get apiKey(){return i()},set apiKey(e){i(e),r()},get speechRecognitionApiKey(){return n()},set speechRecognitionApiKey(e){n(e),r()},get lang(){return u()},set lang(e){u(e),r()},get features(){return y()},set features(e){y(e),r()},get loaderBackground(){return s()},set loaderBackground(e){s(e),r()},get loaderColor(){return g()},set loaderColor(e){g(e),r()},get flyout(){return f()},set flyout(e){f(e),r()},get flyoutStyle(){return c()},set flyoutStyle(e){c(e),r()},get flyoutClass(){return p()},set flyoutClass(e){p(e),r()},get inlineLayout(){return d()},set inlineLayout(e){d(e),r()}};{const e=(k,B=T)=>{_(k,U({host:t.$$host,get onError(){return B()}},()=>h(m)))};let K=b(()=>h(m).flyout??!1);E(S,{get silent(){return h(K)},body:e,$$slots:{body:!0}})}return A(C)}customElements.define("liipgpt-chat",R(v,{forceTheme:{attribute:"force-theme",type:"String"},apiUrl:{attribute:"api-url",type:"String"},apiKey:{attribute:"api-key",type:"String"},speechRecognitionApiKey:{attribute:"speech-recognition-api-key",type:"String"},lang:{attribute:"lang",type:"String"},features:{attribute:"features",type:"String"},loaderBackground:{attribute:"loader-background",type:"String"},loaderColor:{attribute:"loader-color",type:"String"},flyout:{attribute:"flyout",type:"Boolean"},flyoutStyle:{attribute:"flyout-style",type:"String"},flyoutClass:{attribute:"flyout-class",type:"String"},inlineLayout:{attribute:"inline-layout",type:"Boolean"}},[],[],{mode:"open"}));export{v as LiipGPTChat};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a7 as _,a8 as g,O as E,a9 as p,aa as w,ab as A,ac as N,ad as P,ae as R,af as b,P as k,ag as L,ah as O,ai as $,j as B,V as C}from"./CfJtR48A.js";import{B as y}from"./hrZ0qwUL.js";function Y(n,a,i=!1){var f;E&&(f=k,p());var s=new y(n),e=i?g:0;function o(t,u){if(E){var c=w(f),r;if(c===A?r=0:c===N?r=!1:r=parseInt(c.substring(1)),t!==r){var l=P();R(l),s.anchor=l,b(!1),s.ensure(t,u),b(!0);return}}s.ensure(t,u)}_(()=>{var t=!1;a((u,c=0)=>{t=!0,o(c,u)}),t||o(!1,null)},e)}function x(n,a,i){var f;E&&(f=k,p());var s=new y(n);_(()=>{var e=a()??null;if(E){var o=w(f),t=o===A,u=e!==null;if(t!==u){var c=P();R(c),s.anchor=c,b(!1),s.ensure(e,e&&(r=>i(r,e))),b(!0);return}}s.ensure(e,e&&(r=>i(r,e)))},g)}function S(n,a){return n===a||n?.[C]===a}function D(n={},a,i,f){return L(()=>{var s,e;return O(()=>{s=e,e=[],B(()=>{n!==i(...e)&&(a(n,...e),s&&S(i(...s),n)&&a(null,...s))})}),()=>{$(()=>{e&&S(i(...e),n)&&a(null,...e)})}}),n}const j="modulepreload",q=function(n,a){return new URL(n,a).href},T={},F=function(a,i,f){let s=Promise.resolve();if(i&&i.length>0){let c=function(r){return Promise.all(r.map(l=>Promise.resolve(l).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};const o=document.getElementsByTagName("link"),t=document.querySelector("meta[property=csp-nonce]"),u=t?.nonce||t?.getAttribute("nonce");s=c(i.map(r=>{if(r=q(r,f),r in T)return;T[r]=!0;const l=r.endsWith(".css"),d=l?'[rel="stylesheet"]':"";if(f)for(let v=o.length-1;v>=0;v--){const m=o[v];if(m.href===r&&(!l||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${d}`))return;const h=document.createElement("link");if(h.rel=l?"stylesheet":j,l||(h.as="script"),h.crossOrigin="",h.href=r,u&&h.setAttribute("nonce",u),document.head.appendChild(h),l)return new Promise((v,m)=>{h.addEventListener("load",v),h.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${r}`)))})}))}function e(o){const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=o,window.dispatchEvent(t),!t.defaultPrevented)throw o}return s.then(o=>{for(const t of o||[])t.status==="rejected"&&e(t.reason);return a().catch(e)})};export{F as _,D as b,x as c,Y as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as d,
|
|
1
|
+
import{h as d,q as g,u as i,j as m,v as l,w as v,k as p,x as b,y as h}from"./CfJtR48A.js";function x(n=!1){const s=d,e=s.l.u;if(!e)return;let r=()=>b(s.s);if(n){let o=0,t={};const _=h(()=>{let c=!1;const a=s.s;for(const f in a)a[f]!==t[f]&&(t[f]=a[f],c=!0);return c&&o++,o});r=()=>p(_)}e.b.length&&g(()=>{u(s,r),l(e.b)}),i(()=>{const o=m(()=>e.m.map(v));return()=>{for(const t of o)typeof t=="function"&&t()}}),e.a.length&&i(()=>{u(s,r),l(e.a)})}function u(n,s){if(n.l.s)for(const e of n.l.s)p(e);s()}export{x as i};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var Tn=Array.isArray,An=Array.prototype.indexOf,me=Array.prototype.includes,Sn=Array.from,Ye=Object.keys,Ue=Object.defineProperty,be=Object.getOwnPropertyDescriptor,xn=Object.getOwnPropertyDescriptors,Nn=Object.prototype,Rn=Array.prototype,Ct=Object.getPrototypeOf,bt=Object.isExtensible;function zr(e){return typeof e=="function"}const Cn=()=>{};function Kr(e){return typeof e?.then=="function"}function Xr(e){return e()}function On(e){for(var t=0;t<e.length;t++)e[t]()}function Ot(){var e,t,n=new Promise((r,s)=>{e=r,t=s});return{promise:n,resolve:e,reject:t}}function Jr(e,t){if(Array.isArray(e))return e;if(!(Symbol.iterator in e))return Array.from(e);const n=[];for(const r of e)if(n.push(r),n.length===t)break;return n}const A=2,Se=4,we=8,ut=1<<24,ae=16,G=32,oe=64,et=128,k=512,E=1024,S=2048,H=4096,B=8192,ne=16384,pe=32768,Oe=65536,mt=1<<17,kn=1<<18,ge=1<<19,kt=1<<20,Zr=1<<25,de=65536,tt=1<<21,ct=1<<22,re=1<<23,he=Symbol("$state"),Mn=Symbol("legacy props"),Qr=Symbol(""),le=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},In=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml"),ts=1,Me=3,Ie=8,Pn=11;function Dn(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function Ln(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function ns(e,t,n){throw new Error("https://svelte.dev/e/each_key_duplicate")}function Fn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function jn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Hn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Vn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Bn(){throw new Error("https://svelte.dev/e/hydration_failed")}function rs(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function qn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Yn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Un(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Gn(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}const ss=1,is=2,as=4,os=8,fs=16,ls=1,us=2,cs=4,hs=8,_s=16,ds=1,vs=2,ps=4,Wn=1,zn=2,Mt="[",It="[!",wt="[?",Pt="]",$e={},T=Symbol(),Kn="http://www.w3.org/1999/xhtml",gs="http://www.w3.org/2000/svg",ys="http://www.w3.org/1998/Math/MathML",bs="@attach";function We(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function ms(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function Xn(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let b=!1;function Fe(e){b=e}let p;function V(e){if(e===null)throw We(),$e;return p=e}function ht(){return V(Z(p))}function ws(e){if(b){if(Z(p)!==null)throw We(),$e;p=e}}function Jn(e=1){if(b){for(var t=e,n=p;t--;)n=Z(n);p=n}}function Zn(e=!0){for(var t=0,n=p;;){if(n.nodeType===Ie){var r=n.data;if(r===Pt){if(t===0)return n;t-=1}else(r===Mt||r===It||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(t+=1)}var s=Z(n);e&&n.remove(),n=s}}function $s(e){if(!e||e.nodeType!==Ie)throw We(),$e;return e.data}function Dt(e){return e===this.v}function Qn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Lt(e){return!Qn(e,this.v)}let ze=!1;function Es(){ze=!0}let $=null;function Ee(e){$=e}function Ts(e){return Ke().get(e)}function As(e,t){return Ke().set(e,t),t}function Ss(e){return Ke().has(e)}function xs(){return Ke()}function er(e,t=!1,n){$={p:$,i:!1,c:null,e:null,s:e,x:null,l:ze&&!t?{s:null,u:null,$:[]}:null}}function tr(e){var t=$,n=t.e;if(n!==null){t.e=null;for(var r of n)rn(r)}return e!==void 0&&(t.x=e),t.i=!0,$=t.p,e??{}}function Pe(){return!ze||$!==null&&$.l===null}function Ke(e){return $===null&&Dn(),$.c??=new Map(nr($)||void 0)}function nr(e){let t=e.p;for(;t!==null;){const n=t.c;if(n!==null)return n;t=t.p}return null}let ue=[];function Ft(){var e=ue;ue=[],On(e)}function se(e){if(ue.length===0&&!Re){var t=ue;queueMicrotask(()=>{t===ue&&Ft()})}ue.push(e)}function rr(){for(;ue.length>0;)Ft()}function jt(e){var t=v;if(t===null)return d.f|=re,e;if((t.f&pe)===0&&(t.f&Se)===0)throw e;te(e,t)}function te(e,t){for(;t!==null;){if((t.f&et)!==0){if((t.f&pe)===0)throw e;try{t.b.error(e);return}catch(n){e=n}}t=t.parent}throw e}const sr=-7169;function w(e,t){e.f=e.f&sr|t}function _t(e){(e.f&k)!==0||e.deps===null?w(e,E):w(e,H)}function Ht(e){if(e!==null)for(const t of e)(t.f&A)===0||(t.f&de)===0||(t.f^=de,Ht(t.deps))}function Vt(e,t,n){(e.f&S)!==0?t.add(e):(e.f&H)!==0&&n.add(e),Ht(e.deps),w(e,E)}const je=new Set;let m=null,$t=null,D=null,x=[],Xe=null,Re=!1,Te=null;class q{current=new Map;previous=new Map;#e=new Set;#t=new Set;#i=0;#f=0;#s=null;#a=new Set;#n=new Set;#r=new Map;is_fork=!1;#o=!1;#u(){return this.is_fork||this.#f>0}skip_effect(t){this.#r.has(t)||this.#r.set(t,{d:[],m:[]})}unskip_effect(t){var n=this.#r.get(t);if(n){this.#r.delete(t);for(var r of n.d)w(r,S),L(r);for(r of n.m)w(r,H),L(r)}}process(t){x=[],this.apply();var n=Te=[],r=[];for(const s of t)this.#l(s,n,r);if(Te=null,this.#u()){this.#c(r),this.#c(n);for(const[s,i]of this.#r)Gt(s,i)}else{$t=this,m=null;for(const s of this.#e)s(this);this.#e.clear(),this.#i===0&&this.#h(),Et(r),Et(n),this.#a.clear(),this.#n.clear(),$t=null,this.#s?.resolve()}D=null}#l(t,n,r){t.f^=E;for(var s=t.first;s!==null;){var i=s.f,a=(i&(G|oe))!==0,f=a&&(i&E)!==0,o=f||(i&B)!==0||this.#r.has(s);if(!o&&s.fn!==null){a?s.f^=E:(i&Se)!==0?n.push(s):Le(s)&&((i&ae)!==0&&this.#n.add(s),Ae(s));var l=s.first;if(l!==null){s=l;continue}}for(;s!==null;){var u=s.next;if(u!==null){s=u;break}s=s.parent}}}#c(t){for(var n=0;n<t.length;n+=1)Vt(t[n],this.#a,this.#n)}capture(t,n){n!==T&&!this.previous.has(t)&&this.previous.set(t,n),(t.f&re)===0&&(this.current.set(t,t.v),D?.set(t,t.v))}activate(){m=this,this.apply()}deactivate(){m===this&&(m=null,D=null)}flush(){if(x.length>0)m=this,qt();else if(this.#i===0&&!this.is_fork){for(const t of this.#e)t(this);this.#e.clear(),this.#h(),this.#s?.resolve()}this.deactivate()}discard(){for(const t of this.#t)t(this);this.#t.clear()}#h(){if(je.size>1){this.previous.clear();var t=m,n=D,r=!0;for(const i of je){if(i===this){r=!1;continue}const a=[];for(const[o,l]of this.current){if(i.current.has(o))if(r&&l!==i.current.get(o))i.current.set(o,l);else continue;a.push(o)}if(a.length===0)continue;const f=[...i.current.keys()].filter(o=>!this.current.has(o));if(f.length>0){var s=x;x=[];const o=new Set,l=new Map;for(const u of a)Yt(u,f,o,l);if(x.length>0){m=i,i.apply();for(const u of x)i.#l(u,[],[]);i.deactivate()}x=s}}m=t,D=n}this.#r.clear(),je.delete(this)}increment(t){this.#i+=1,t&&(this.#f+=1)}decrement(t){this.#i-=1,t&&(this.#f-=1),!this.#o&&(this.#o=!0,se(()=>{this.#o=!1,this.#u()?x.length>0&&this.flush():this.revive()}))}revive(){for(const t of this.#a)this.#n.delete(t),w(t,S),L(t);for(const t of this.#n)w(t,H),L(t);this.flush()}oncommit(t){this.#e.add(t)}ondiscard(t){this.#t.add(t)}settled(){return(this.#s??=Ot()).promise}static ensure(){if(m===null){const t=m=new q;je.add(m),Re||se(()=>{m===t&&t.flush()})}return m}apply(){}}function Bt(e){var t=Re;Re=!0;try{for(var n;;){if(rr(),x.length===0&&(m?.flush(),x.length===0))return Xe=null,n;qt()}}finally{Re=t}}function qt(){var e=null;try{for(var t=0;x.length>0;){var n=q.ensure();if(t++>1e3){var r,s;ir()}n.process(x),ie.clear()}}finally{x=[],Xe=null,Te=null}}function ir(){try{Vn()}catch(e){te(e,Xe)}}let z=null;function Et(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(ne|B))===0&&Le(r)&&(z=new Set,Ae(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&on(r),z?.size>0)){ie.clear();for(const s of z){if((s.f&(ne|B))!==0)continue;const i=[s];let a=s.parent;for(;a!==null;)z.has(a)&&(z.delete(a),i.push(a)),a=a.parent;for(let f=i.length-1;f>=0;f--){const o=i[f];(o.f&(ne|B))===0&&Ae(o)}}z.clear()}}z=null}}function Yt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const s of e.reactions){const i=s.f;(i&A)!==0?Yt(s,t,n,r):(i&(ct|ae))!==0&&(i&S)===0&&Ut(s,t,r)&&(w(s,S),L(s))}}function Ut(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const s of e.deps){if(me.call(t,s))return!0;if((s.f&A)!==0&&Ut(s,t,n))return n.set(s,!0),!0}return n.set(e,!1),!1}function L(e){var t=Xe=e,n=t.b;if(n?.is_pending&&(e.f&(Se|we|ut))!==0&&(e.f&pe)===0){n.defer_effect(e);return}for(;t.parent!==null;){t=t.parent;var r=t.f;if(Te!==null&&t===v&&(e.f&we)===0)return;if((r&(oe|G))!==0){if((r&E)===0)return;t.f^=E}}x.push(t)}function Gt(e,t){if(!((e.f&G)!==0&&(e.f&E)!==0)){(e.f&S)!==0?t.d.push(e):(e.f&H)!==0&&t.m.push(e),w(e,E);for(var n=e.first;n!==null;)Gt(n,t),n=n.next}}function ar(e){let t=0,n=De(0),r;return()=>{gt()&&(K(n),sn(()=>(t===0&&(r=kr(()=>e(()=>Ce(n)))),t+=1,()=>{se(()=>{t-=1,t===0&&(r?.(),r=void 0,Ce(n))})})))}}var or=Oe|ge;function fr(e,t,n,r){new lr(e,t,n,r)}class lr{parent;is_pending=!1;transform_error;#e;#t=b?p:null;#i;#f;#s;#a=null;#n=null;#r=null;#o=null;#u=0;#l=0;#c=!1;#h=new Set;#d=new Set;#_=null;#b=ar(()=>(this.#_=De(this.#u),()=>{this.#_=null}));constructor(t,n,r,s){this.#e=t,this.#i=n,this.#f=i=>{var a=v;a.b=this,a.f|=et,r(i)},this.parent=v.b,this.transform_error=s??this.parent?.transform_error??(i=>i),this.#s=Sr(()=>{if(b){const i=this.#t;ht();const a=i.data===It;if(i.data.startsWith(wt)){const o=JSON.parse(i.data.slice(wt.length));this.#w(o)}else a?this.#$():this.#m()}else this.#g()},or),b&&(this.#e=p)}#m(){try{this.#a=fe(()=>this.#f(this.#e))}catch(t){this.error(t)}}#w(t){const n=this.#i.failed;n&&(this.#r=fe(()=>{n(this.#e,()=>t,()=>()=>{})}))}#$(){const t=this.#i.pending;t&&(this.is_pending=!0,this.#n=fe(()=>t(this.#e)),se(()=>{var n=this.#o=document.createDocumentFragment(),r=X();n.append(r),this.#a=this.#p(()=>(q.ensure(),fe(()=>this.#f(r)))),this.#l===0&&(this.#e.before(n),this.#o=null,Ve(this.#n,()=>{this.#n=null}),this.#v())}))}#g(){try{if(this.is_pending=this.has_pending_snippet(),this.#l=0,this.#u=0,this.#a=fe(()=>{this.#f(this.#e)}),this.#l>0){var t=this.#o=document.createDocumentFragment();Rr(this.#a,t);const n=this.#i.pending;this.#n=fe(()=>n(this.#e))}else this.#v()}catch(n){this.error(n)}}#v(){this.is_pending=!1;for(const t of this.#h)w(t,S),L(t);for(const t of this.#d)w(t,H),L(t);this.#h.clear(),this.#d.clear()}defer_effect(t){Vt(t,this.#h,this.#d)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#i.pending}#p(t){var n=v,r=d,s=$;U(this.#s),I(this.#s),Ee(this.#s.ctx);try{return t()}catch(i){return jt(i),null}finally{U(n),I(r),Ee(s)}}#y(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#y(t);return}this.#l+=t,this.#l===0&&(this.#v(),this.#n&&Ve(this.#n,()=>{this.#n=null}),this.#o&&(this.#e.before(this.#o),this.#o=null))}update_pending_count(t){this.#y(t),this.#u+=t,!(!this.#_||this.#c)&&(this.#c=!0,se(()=>{this.#c=!1,this.#_&&Ge(this.#_,this.#u)}))}get_effect_pending(){return this.#b(),K(this.#_)}error(t){var n=this.#i.onerror;let r=this.#i.failed;if(!n&&!r)throw t;this.#a&&(j(this.#a),this.#a=null),this.#n&&(j(this.#n),this.#n=null),this.#r&&(j(this.#r),this.#r=null),b&&(V(this.#t),Jn(),V(Zn()));var s=!1,i=!1;const a=()=>{if(s){Xn();return}s=!0,i&&Gn(),this.#r!==null&&Ve(this.#r,()=>{this.#r=null}),this.#p(()=>{q.ensure(),this.#g()})},f=o=>{try{i=!0,n?.(o,a),i=!1}catch(l){te(l,this.#s&&this.#s.parent)}r&&(this.#r=this.#p(()=>{q.ensure();try{return fe(()=>{var l=v;l.b=this,l.f|=et,r(this.#e,()=>o,()=>a)})}catch(l){return te(l,this.#s.parent),null}}))};se(()=>{var o;try{o=this.transform_error(t)}catch(l){te(l,this.#s&&this.#s.parent);return}o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(f,l=>te(l,this.#s&&this.#s.parent)):f(o)})}}function ur(e,t,n,r){const s=Pe()?dt:dr;var i=e.filter(c=>!c.settled);if(n.length===0&&i.length===0){r(t.map(s));return}var a=v,f=cr(),o=i.length===1?i[0].promise:i.length>1?Promise.all(i.map(c=>c.promise)):null;function l(c){f();try{r(c)}catch(h){(a.f&ne)===0&&te(h,a)}nt()}if(n.length===0){o.then(()=>l(t.map(s)));return}function u(){f(),Promise.all(n.map(c=>_r(c))).then(c=>l([...t.map(s),...c])).catch(c=>te(c,a))}o?o.then(u):u()}function cr(){var e=v,t=d,n=$,r=m;return function(i=!0){U(e),I(t),Ee(n),i&&r?.activate()}}function nt(e=!0){U(null),I(null),Ee(null),e&&m?.deactivate()}function hr(){var e=v.b,t=m,n=e.is_rendered();return e.update_pending_count(1),t.increment(n),()=>{e.update_pending_count(-1),t.decrement(n)}}function dt(e){var t=A|S,n=d!==null&&(d.f&A)!==0?d:null;return v!==null&&(v.f|=ge),{ctx:$,deps:null,effects:null,equals:Dt,f:t,fn:e,reactions:null,rv:0,v:T,wv:0,parent:n??v,ac:null}}function _r(e,t,n){v===null&&Ln();var s=void 0,i=De(T),a=!d,f=new Map;return Ar(()=>{var o=Ot();s=o.promise;try{Promise.resolve(e()).then(o.resolve,o.reject).finally(nt)}catch(h){o.reject(h),nt()}var l=m;if(a){var u=hr();f.get(l)?.reject(le),f.delete(l),f.set(l,o)}const c=(h,g=void 0)=>{if(l.activate(),g)g!==le&&(i.f|=re,Ge(i,g));else{(i.f&re)!==0&&(i.f^=re),Ge(i,h);for(const[_,y]of f){if(f.delete(_),_===l)break;y.reject(le)}}u&&u()};o.promise.then(c,h=>c(null,h||"unknown"))}),nn(()=>{for(const o of f.values())o.reject(le)}),new Promise(o=>{function l(u){function c(){u===s?o(i):l(s)}u.then(c,c)}l(s)})}function Ns(e){const t=dt(e);return un(t),t}function dr(e){const t=dt(e);return t.equals=Lt,t}function vr(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)j(t[n])}}function pr(e){for(var t=e.parent;t!==null;){if((t.f&A)===0)return(t.f&ne)===0?t:null;t=t.parent}return null}function vt(e){var t,n=v;U(pr(e));try{e.f&=~de,vr(e),t=dn(e)}finally{U(n)}return t}function Wt(e){var t=vt(e);if(!e.equals(t)&&(e.wv=hn(),(!m?.is_fork||e.deps===null)&&(e.v=t,e.deps===null))){w(e,E);return}ve||(D!==null?(gt()||m?.is_fork)&&D.set(e,t):_t(e))}function gr(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(le),t.teardown=Cn,t.ac=null,ke(t,0),yt(t))}function zt(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&Ae(t)}let rt=new Set;const ie=new Map;let Kt=!1;function De(e,t){var n={f:0,v:e,reactions:null,equals:Dt,rv:0,wv:0};return n}function Q(e,t){const n=De(e);return un(n),n}function yr(e,t=!1,n=!0){const r=De(e);return t||(r.equals=Lt),ze&&n&&$!==null&&$.l!==null&&($.l.s??=[]).push(r),r}function ee(e,t,n=!1){d!==null&&(!F||(d.f&mt)!==0)&&Pe()&&(d.f&(A|ae|ct|mt))!==0&&(M===null||!me.call(M,e))&&Un();let r=n?xe(t):t;return Ge(e,r)}function Ge(e,t){if(!e.equals(t)){var n=e.v;ve?ie.set(e,t):ie.set(e,n),e.v=t;var r=q.ensure();if(r.capture(e,n),(e.f&A)!==0){const s=e;(e.f&S)!==0&&vt(s),_t(s)}e.wv=hn(),Xt(e,S),Pe()&&v!==null&&(v.f&E)!==0&&(v.f&(G|oe))===0&&(O===null?Cr([e]):O.push(e)),!r.is_fork&&rt.size>0&&!Kt&&br()}return t}function br(){Kt=!1;for(const e of rt)(e.f&E)!==0&&w(e,H),Le(e)&&Ae(e);rt.clear()}function Ce(e){ee(e,e.v+1)}function Xt(e,t){var n=e.reactions;if(n!==null)for(var r=Pe(),s=n.length,i=0;i<s;i++){var a=n[i],f=a.f;if(!(!r&&a===v)){var o=(f&S)===0;if(o&&w(a,t),(f&A)!==0){var l=a;D?.delete(l),(f&de)===0&&(f&k&&(a.f|=de),Xt(l,H))}else o&&((f&ae)!==0&&z!==null&&z.add(a),L(a))}}}function xe(e){if(typeof e!="object"||e===null||he in e)return e;const t=Ct(e);if(t!==Nn&&t!==Rn)return e;var n=new Map,r=Tn(e),s=Q(0),i=_e,a=f=>{if(_e===i)return f();var o=d,l=_e;I(null),Nt(i);var u=f();return I(o),Nt(l),u};return r&&n.set("length",Q(e.length)),new Proxy(e,{defineProperty(f,o,l){(!("value"in l)||l.configurable===!1||l.enumerable===!1||l.writable===!1)&&qn();var u=n.get(o);return u===void 0?a(()=>{var c=Q(l.value);return n.set(o,c),c}):ee(u,l.value,!0),!0},deleteProperty(f,o){var l=n.get(o);if(l===void 0){if(o in f){const u=a(()=>Q(T));n.set(o,u),Ce(s)}}else ee(l,T),Ce(s);return!0},get(f,o,l){if(o===he)return e;var u=n.get(o),c=o in f;if(u===void 0&&(!c||be(f,o)?.writable)&&(u=a(()=>{var g=xe(c?f[o]:T),_=Q(g);return _}),n.set(o,u)),u!==void 0){var h=K(u);return h===T?void 0:h}return Reflect.get(f,o,l)},getOwnPropertyDescriptor(f,o){var l=Reflect.getOwnPropertyDescriptor(f,o);if(l&&"value"in l){var u=n.get(o);u&&(l.value=K(u))}else if(l===void 0){var c=n.get(o),h=c?.v;if(c!==void 0&&h!==T)return{enumerable:!0,configurable:!0,value:h,writable:!0}}return l},has(f,o){if(o===he)return!0;var l=n.get(o),u=l!==void 0&&l.v!==T||Reflect.has(f,o);if(l!==void 0||v!==null&&(!u||be(f,o)?.writable)){l===void 0&&(l=a(()=>{var h=u?xe(f[o]):T,g=Q(h);return g}),n.set(o,l));var c=K(l);if(c===T)return!1}return u},set(f,o,l,u){var c=n.get(o),h=o in f;if(r&&o==="length")for(var g=l;g<c.v;g+=1){var _=n.get(g+"");_!==void 0?ee(_,T):g in f&&(_=a(()=>Q(T)),n.set(g+"",_))}if(c===void 0)(!h||be(f,o)?.writable)&&(c=a(()=>Q(void 0)),ee(c,xe(l)),n.set(o,c));else{h=c.v!==T;var y=a(()=>xe(l));ee(c,y)}var R=Reflect.getOwnPropertyDescriptor(f,o);if(R?.set&&R.set.call(u,l),!h){if(r&&typeof o=="string"){var W=n.get("length"),ye=Number(o);Number.isInteger(ye)&&ye>=W.v&&ee(W,ye+1)}Ce(s)}return!0},ownKeys(f){K(s);var o=Reflect.ownKeys(f).filter(c=>{var h=n.get(c);return h===void 0||h.v!==T});for(var[l,u]of n)u.v!==T&&!(l in f)&&o.push(l);return o},setPrototypeOf(){Yn()}})}function Tt(e){try{if(e!==null&&typeof e=="object"&&he in e)return e[he]}catch{}return e}function Rs(e,t){return Object.is(Tt(e),Tt(t))}var At,mr,Jt,Zt,Qt;function st(){if(At===void 0){At=window,mr=document,Jt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Zt=be(t,"firstChild").get,Qt=be(t,"nextSibling").get,bt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),bt(n)&&(n.__t=void 0)}}function X(e=""){return document.createTextNode(e)}function J(e){return Zt.call(e)}function Z(e){return Qt.call(e)}function Cs(e,t){if(!b)return J(e);var n=J(p);if(n===null)n=p.appendChild(X());else if(t&&n.nodeType!==Me){var r=X();return n?.before(r),V(r),r}return t&&Je(n),V(n),n}function Os(e,t=!1){if(!b){var n=J(e);return n instanceof Comment&&n.data===""?Z(n):n}if(t){if(p?.nodeType!==Me){var r=X();return p?.before(r),V(r),r}Je(p)}return p}function ks(e,t=1,n=!1){let r=b?p:e;for(var s;t--;)s=r,r=Z(r);if(!b)return r;if(n){if(r?.nodeType!==Me){var i=X();return r===null?s?.after(i):r.before(i),V(i),i}Je(r)}return V(r),r}function en(e){e.textContent=""}function Ms(){return!1}function pt(e,t,n){return document.createElementNS(t??Kn,e,void 0)}function Je(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===Me;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function Is(e,t){if(t){const n=document.body;e.autofocus=!0,se(()=>{document.activeElement===n&&e.focus()})}}function Ps(e){b&&J(e)!==null&&en(e)}let St=!1;function wr(){St||(St=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(const t of e.target.elements)t.__on_r?.()})},{capture:!0}))}function Ze(e){var t=d,n=v;I(null),U(null);try{return e()}finally{I(t),U(n)}}function Ds(e,t,n,r=n){e.addEventListener(t,()=>Ze(n));const s=e.__on_r;s?e.__on_r=()=>{s(),r(!0)}:e.__on_r=()=>r(!0),wr()}function tn(e){v===null&&(d===null&&Hn(),jn()),ve&&Fn()}function $r(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function P(e,t){var n=v;n!==null&&(n.f&B)!==0&&(e|=B);var r={ctx:$,deps:null,nodes:null,f:e|S|k,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},s=r;if((e&Se)!==0)Te!==null?Te.push(r):L(r);else if(t!==null){try{Ae(r)}catch(a){throw j(r),a}s.deps===null&&s.teardown===null&&s.nodes===null&&s.first===s.last&&(s.f&ge)===0&&(s=s.first,(e&ae)!==0&&(e&Oe)!==0&&s!==null&&(s.f|=Oe))}if(s!==null&&(s.parent=n,n!==null&&$r(s,n),d!==null&&(d.f&A)!==0&&(e&oe)===0)){var i=d;(i.effects??=[]).push(s)}return r}function gt(){return d!==null&&!F}function nn(e){const t=P(we,null);return w(t,E),t.teardown=e,t}function Ls(e){tn();var t=v.f,n=!d&&(t&G)!==0&&(t&pe)===0;if(n){var r=$;(r.e??=[]).push(e)}else return rn(e)}function rn(e){return P(Se|kt,e)}function Fs(e){return tn(),P(we|kt,e)}function Er(e){q.ensure();const t=P(oe|ge,e);return()=>{j(t)}}function Tr(e){q.ensure();const t=P(oe|ge,e);return(n={})=>new Promise(r=>{n.outro?Ve(t,()=>{j(t),r(void 0)}):(j(t),r(void 0))})}function js(e){return P(Se,e)}function Ar(e){return P(ct|ge,e)}function sn(e,t=0){return P(we|t,e)}function Hs(e,t=[],n=[],r=[]){ur(r,t,n,s=>{P(we,()=>e(...s.map(K)))})}function Sr(e,t=0){var n=P(ae|t,e);return n}function Vs(e,t=0){var n=P(ut|t,e);return n}function fe(e){return P(G|ge,e)}function an(e){var t=e.teardown;if(t!==null){const n=ve,r=d;xt(!0),I(null);try{t.call(null)}finally{xt(n),I(r)}}}function yt(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const s=n.ac;s!==null&&Ze(()=>{s.abort(le)});var r=n.next;(n.f&oe)!==0?n.parent=null:j(n,t),n=r}}function xr(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&G)===0&&j(t),t=n}}function j(e,t=!0){var n=!1;(t||(e.f&kn)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(Nr(e.nodes.start,e.nodes.end),n=!0),yt(e,t&&!n),ke(e,0),w(e,ne);var r=e.nodes&&e.nodes.t;if(r!==null)for(const i of r)i.stop();an(e);var s=e.parent;s!==null&&s.first!==null&&on(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=null}function Nr(e,t){for(;e!==null;){var n=e===t?null:Z(e);e.remove(),e=n}}function on(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function Ve(e,t,n=!0){var r=[];fn(e,r,!0);var s=()=>{n&&j(e),t&&t()},i=r.length;if(i>0){var a=()=>--i||s();for(var f of r)f.out(a)}else s()}function fn(e,t,n){if((e.f&B)===0){e.f^=B;var r=e.nodes&&e.nodes.t;if(r!==null)for(const f of r)(f.is_global||n)&&t.push(f);for(var s=e.first;s!==null;){var i=s.next,a=(s.f&Oe)!==0||(s.f&G)!==0&&(e.f&ae)!==0;fn(s,t,a?n:!1),s=i}}}function Bs(e){ln(e,!0)}function ln(e,t){if((e.f&B)!==0){e.f^=B,(e.f&E)===0&&(w(e,S),L(e));for(var n=e.first;n!==null;){var r=n.next,s=(n.f&Oe)!==0||(n.f&G)!==0;ln(n,s?t:!1),n=r}var i=e.nodes&&e.nodes.t;if(i!==null)for(const a of i)(a.is_global||t)&&a.in()}}function Rr(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var s=n===r?null:Z(n);t.append(n),n=s}}let Be=!1,ve=!1;function xt(e){ve=e}let d=null,F=!1;function I(e){d=e}let v=null;function U(e){v=e}let M=null;function un(e){d!==null&&(M===null?M=[e]:M.push(e))}let N=null,C=0,O=null;function Cr(e){O=e}let cn=1,ce=0,_e=ce;function Nt(e){_e=e}function hn(){return++cn}function Le(e){var t=e.f;if((t&S)!==0)return!0;if(t&A&&(e.f&=~de),(t&H)!==0){for(var n=e.deps,r=n.length,s=0;s<r;s++){var i=n[s];if(Le(i)&&Wt(i),i.wv>e.wv)return!0}(t&k)!==0&&D===null&&w(e,E)}return!1}function _n(e,t,n=!0){var r=e.reactions;if(r!==null&&!(M!==null&&me.call(M,e)))for(var s=0;s<r.length;s++){var i=r[s];(i.f&A)!==0?_n(i,t,!1):t===i&&(n?w(i,S):(i.f&E)!==0&&w(i,H),L(i))}}function dn(e){var t=N,n=C,r=O,s=d,i=M,a=$,f=F,o=_e,l=e.f;N=null,C=0,O=null,d=(l&(G|oe))===0?e:null,M=null,Ee(e.ctx),F=!1,_e=++ce,e.ac!==null&&(Ze(()=>{e.ac.abort(le)}),e.ac=null);try{e.f|=tt;var u=e.fn,c=u();e.f|=pe;var h=e.deps,g=m?.is_fork;if(N!==null){var _;if(g||ke(e,C),h!==null&&C>0)for(h.length=C+N.length,_=0;_<N.length;_++)h[C+_]=N[_];else e.deps=h=N;if(gt()&&(e.f&k)!==0)for(_=C;_<h.length;_++)(h[_].reactions??=[]).push(e)}else!g&&h!==null&&C<h.length&&(ke(e,C),h.length=C);if(Pe()&&O!==null&&!F&&h!==null&&(e.f&(A|H|S))===0)for(_=0;_<O.length;_++)_n(O[_],e);if(s!==null&&s!==e){if(ce++,s.deps!==null)for(let y=0;y<n;y+=1)s.deps[y].rv=ce;if(t!==null)for(const y of t)y.rv=ce;O!==null&&(r===null?r=O:r.push(...O))}return(e.f&re)!==0&&(e.f^=re),c}catch(y){return jt(y)}finally{e.f^=tt,N=t,C=n,O=r,d=s,M=i,Ee(a),F=f,_e=o}}function Or(e,t){let n=t.reactions;if(n!==null){var r=An.call(n,e);if(r!==-1){var s=n.length-1;s===0?n=t.reactions=null:(n[r]=n[s],n.pop())}}if(n===null&&(t.f&A)!==0&&(N===null||!me.call(N,t))){var i=t;(i.f&k)!==0&&(i.f^=k,i.f&=~de),_t(i),gr(i),ke(i,0)}}function ke(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Or(e,n[r])}function Ae(e){var t=e.f;if((t&ne)===0){w(e,E);var n=v,r=Be;v=e,Be=!0;try{(t&(ae|ut))!==0?xr(e):yt(e),an(e);var s=dn(e);e.teardown=typeof s=="function"?s:null,e.wv=cn;var i}finally{Be=r,v=n}}}async function qs(){await Promise.resolve(),Bt()}function Ys(){return q.ensure().settled()}function K(e){var t=e.f,n=(t&A)!==0;if(d!==null&&!F){var r=v!==null&&(v.f&ne)!==0;if(!r&&(M===null||!me.call(M,e))){var s=d.deps;if((d.f&tt)!==0)e.rv<ce&&(e.rv=ce,N===null&&s!==null&&s[C]===e?C++:N===null?N=[e]:N.push(e));else{(d.deps??=[]).push(e);var i=e.reactions;i===null?e.reactions=[d]:me.call(i,d)||i.push(d)}}}if(ve&&ie.has(e))return ie.get(e);if(n){var a=e;if(ve){var f=a.v;return((a.f&E)===0&&a.reactions!==null||pn(a))&&(f=vt(a)),ie.set(a,f),f}var o=(a.f&k)===0&&!F&&d!==null&&(Be||(d.f&k)!==0),l=(a.f&pe)===0;Le(a)&&(o&&(a.f|=k),Wt(a)),o&&!l&&(zt(a),vn(a))}if(D?.has(e))return D.get(e);if((e.f&re)!==0)throw e.v;return e.v}function vn(e){if(e.f|=k,e.deps!==null)for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&A)!==0&&(t.f&k)===0&&(zt(t),vn(t))}function pn(e){if(e.v===T)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(ie.has(t)||(t.f&A)!==0&&pn(t))return!0;return!1}function kr(e){var t=F;try{return F=!0,e()}finally{F=t}}function Us(e){if(!(typeof e!="object"||!e||e instanceof EventTarget)){if(he in e)it(e);else if(!Array.isArray(e))for(let t in e){const n=e[t];typeof n=="object"&&n&&he in n&&it(n)}}}function it(e,t=new Set){if(typeof e=="object"&&e!==null&&!(e instanceof EventTarget)&&!t.has(e)){t.add(e),e instanceof Date&&e.getTime();for(let r in e)try{it(e[r],t)}catch{}const n=Ct(e);if(n!==Object.prototype&&n!==Array.prototype&&n!==Map.prototype&&n!==Set.prototype&&n!==Date.prototype){const r=xn(n);for(let s in r){const i=r[s].get;if(i)try{i.call(e)}catch{}}}}}function Gs(e){return e.endsWith("capture")&&e!=="gotpointercapture"&&e!=="lostpointercapture"}const Mr=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function Ws(e){return Mr.includes(e)}const Ir={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function zs(e){return e=e.toLowerCase(),Ir[e]??e}const Pr=["touchstart","touchmove"];function Dr(e){return Pr.includes(e)}const Lr=["textarea","script","style","title"];function Ks(e){return Lr.includes(e)}const Ne=Symbol("events"),gn=new Set,at=new Set;function yn(e,t,n,r={}){function s(i){if(r.capture||ot.call(t,i),!i.cancelBubble)return Ze(()=>n?.call(this,i))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?se(()=>{t.addEventListener(e,s,r)}):t.addEventListener(e,s,r),s}function Xs(e,t,n,r={}){var s=yn(t,e,n,r);return()=>{e.removeEventListener(t,s,r)}}function Js(e,t,n,r,s){var i={capture:r,passive:s},a=yn(e,t,n,i);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&nn(()=>{t.removeEventListener(e,a,i)})}function Zs(e,t,n){(t[Ne]??={})[e]=n}function Qs(e){for(var t=0;t<e.length;t++)gn.add(e[t]);for(var n of at)n(e)}let Rt=null;function ot(e){var t=this,n=t.ownerDocument,r=e.type,s=e.composedPath?.()||[],i=s[0]||e.target;Rt=e;var a=0,f=Rt===e&&e[Ne];if(f){var o=s.indexOf(f);if(o!==-1&&(t===document||t===window)){e[Ne]=t;return}var l=s.indexOf(t);if(l===-1)return;o<=l&&(a=o)}if(i=s[a]||e.target,i!==t){Ue(e,"currentTarget",{configurable:!0,get(){return i||n}});var u=d,c=v;I(null),U(null);try{for(var h,g=[];i!==null;){var _=i.assignedSlot||i.parentNode||i.host||null;try{var y=i[Ne]?.[r];y!=null&&(!i.disabled||e.target===i)&&y.call(i,e)}catch(R){h?g.push(R):h=R}if(e.cancelBubble||_===t||_===null)break;i=_}if(h){for(let R of g)queueMicrotask(()=>{throw R});throw h}}finally{e[Ne]=t,delete e.currentTarget,I(u),U(c)}}}const Fr=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function jr(e){return Fr?.createHTML(e)??e}function bn(e){var t=pt("template");return t.innerHTML=jr(e.replaceAll("<!>","<!---->")),t.content}const Hr=In?"script":"SCRIPT";function Y(e,t){var n=v;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function ei(e,t){var n=(t&Wn)!==0,r=(t&zn)!==0,s,i=!e.startsWith("<!>");return()=>{if(b)return Y(p,null),p;s===void 0&&(s=bn(i?e:"<!>"+e),n||(s=J(s)));var a=r||Jt?document.importNode(s,!0):s.cloneNode(!0);if(n){var f=J(a),o=a.lastChild;Y(f,o)}else Y(a,a);return a}}function Vr(e,t,n="svg"){var r=!e.startsWith("<!>"),s=`<${n}>${r?e:"<!>"+e}</${n}>`,i;return()=>{if(b)return Y(p,null),p;if(!i){var a=bn(s),f=J(a);i=J(f)}var o=i.cloneNode(!0);return Y(o,o),o}}function ti(e,t){return Vr(e,t,"svg")}function ni(e){return()=>Br(e())}function Br(e){if(b)return e;const t=e.nodeType===Pn,n=e.nodeName===Hr?[e]:e.querySelectorAll("script"),r=v;for(const i of n){const a=pt("script");for(var s of i.attributes)a.setAttribute(s.name,s.value);a.textContent=i.textContent,(t?e.firstChild===i:e===i)&&(r.nodes.start=a),(t?e.lastChild===i:e===i)&&(r.nodes.end=a),i.replaceWith(a)}return e}function ri(e=""){if(!b){var t=X(e+"");return Y(t,t),t}var n=p;return n.nodeType!==Me?(n.before(n=X()),V(n)):Je(n),Y(n,n),n}function si(){if(b)return Y(p,null),p;var e=document.createDocumentFragment(),t=document.createComment(""),n=X();return e.append(t,n),Y(t,n),e}function qr(e,t){if(b){var n=v;((n.f&pe)===0||n.nodes.end===null)&&(n.nodes.end=p),ht();return}e!==null&&e.before(t)}function ii(){if(b&&p&&p.nodeType===Ie&&p.textContent?.startsWith("$")){const e=p.textContent.substring(1);return ht(),e}return(window.__svelte??={}).uid??=1,`c${window.__svelte.uid++}`}let ft=!0;function ai(e){ft=e}function oi(e,t){var n=t==null?"":typeof t=="object"?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function mn(e,t){return wn(e,t)}function Yr(e,t){st(),t.intro=t.intro??!1;const n=t.target,r=b,s=p;try{for(var i=J(n);i&&(i.nodeType!==Ie||i.data!==Mt);)i=Z(i);if(!i)throw $e;Fe(!0),V(i);const a=wn(e,{...t,anchor:i});return Fe(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
|
|
2
|
+
`).some(f=>f.startsWith("https://svelte.dev/e/")))throw a;return a!==$e&&console.warn("Failed to hydrate: ",a),t.recover===!1&&Bn(),st(),en(n),Fe(!1),mn(e,t)}finally{Fe(r),V(s)}}const He=new Map;function wn(e,{target:t,anchor:n,props:r={},events:s,context:i,intro:a=!0,transformError:f}){st();var o=void 0,l=Tr(()=>{var u=n??t.appendChild(X());fr(u,{pending:()=>{}},g=>{er({});var _=$;if(i&&(_.c=i),s&&(r.$$events=s),b&&Y(g,null),ft=a,o=e(g,r)||{},ft=!0,b&&(v.nodes.end=p,p===null||p.nodeType!==Ie||p.data!==Pt))throw We(),$e;tr()},f);var c=new Set,h=g=>{for(var _=0;_<g.length;_++){var y=g[_];if(!c.has(y)){c.add(y);var R=Dr(y);for(const Qe of[t,document]){var W=He.get(Qe);W===void 0&&(W=new Map,He.set(Qe,W));var ye=W.get(y);ye===void 0?(Qe.addEventListener(y,ot,{passive:R}),W.set(y,1)):W.set(y,ye+1)}}}};return h(Sn(gn)),at.add(h),()=>{for(var g of c)for(const R of[t,document]){var _=He.get(R),y=_.get(g);--y==0?(R.removeEventListener(g,ot),_.delete(g),_.size===0&&He.delete(R)):_.set(g,y)}at.delete(h),u!==n&&u.parentNode?.removeChild(u)}});return lt.set(o,l),o}let lt=new WeakMap;function Ur(e,t){const n=lt.get(e);return n?(lt.delete(e),n(t)):Promise.resolve()}function Gr(e){return new $n(e)}function fi(e){return class extends $n{constructor(t){super({component:e,...t})}}}class $n{#e;#t;constructor(t){var n=new Map,r=(i,a)=>{var f=yr(a,!1,!1);return n.set(i,f),f};const s=new Proxy({...t.props||{},$$events:{}},{get(i,a){return K(n.get(a)??r(a,Reflect.get(i,a)))},has(i,a){return a===Mn?!0:(K(n.get(a)??r(a,Reflect.get(i,a))),Reflect.has(i,a))},set(i,a,f){return ee(n.get(a)??r(a,f),f),Reflect.set(i,a,f)}});this.#t=(t.hydrate?Yr:mn)(t.component,{target:t.target,anchor:t.anchor,props:s,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&Bt(),this.#e=s.$$events;for(const i of Object.keys(this.#t))i==="$set"||i==="$destroy"||i==="$on"||Ue(this,i,{get(){return this.#t[i]},set(a){this.#t[i]=a},enumerable:!0});this.#t.$set=i=>{Object.assign(s,i)},this.#t.$destroy=()=>{Ur(this.#t)}}$set(t){this.#t.$set(t)}$on(t,n){this.#e[t]=this.#e[t]||[];const r=(...s)=>n.call(this,...s);return this.#e[t].push(r),()=>{this.#e[t]=this.#e[t].filter(s=>s!==r)}}$destroy(){this.#t.$destroy()}}let En;typeof HTMLElement=="function"&&(En=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const r=this.$$c.$on(e,t);this.$$l_u.set(t,r)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const r=this.$$l_u.get(t);r&&(r(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(r){return s=>{const i=pt("slot");r!=="default"&&(i.name=r),qr(s,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=Wr(this);for(const r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(const r of this.attributes){const s=this.$$g_p(r.name);s in this.$$d||(this.$$d[s]=qe(s,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=Gr({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Er(()=>{sn(()=>{this.$$r=!0;for(const r of Ye(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const s=qe(r,this.$$d[r],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,s)}this.$$r=!1})});for(const r in this.$$l)for(const s of this.$$l[r]){const i=this.$$c.$on(r,s);this.$$l_u.set(s,i)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=qe(e,n,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return Ye(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function qe(e,t,n,r){const s=n[e]?.type;if(t=s==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(s){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(s){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Wr(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function li(e,t,n,r,s,i){let a=class extends En{constructor(){super(e,n,s),this.$$p_d=t}static get observedAttributes(){return Ye(t).map(f=>(t[f].attribute||f).toLowerCase())}};return Ye(t).forEach(f=>{Ue(a.prototype,f,{get(){return this.$$c&&f in this.$$c?this.$$c[f]:this.$$d[f]},set(o){o=qe(f,o,t),this.$$d[f]=o;var l=this.$$c;if(l){var u=be(l,f)?.get;u?l[f]=o:l.$set({[f]:o})}}})}),r.forEach(f=>{Ue(a.prototype,f,{get(){return this.$$c?.[f]}})}),e.element=a,a}export{xe as $,fr as A,Qs as B,Q as C,ee as D,Jn as E,Zs as F,Bs as G,j as H,Ve as I,X as J,fe as K,m as L,Rr as M,Ms as N,b as O,p as P,v as Q,ne as R,ve as S,dr as T,zr as U,he as V,Mn as W,be as X,rs as Y,cs as Z,ls as _,qr as a,$e as a$,hs as a0,us as a1,_s as a2,Es as a3,qs as a4,ri as a5,fi as a6,Sr as a7,Oe as a8,ht as a9,Xs as aA,Ss as aB,Ts as aC,As as aD,ti as aE,ii as aF,Tn as aG,Ct as aH,Nn as aI,bs as aJ,ns as aK,Sn as aL,is as aM,ss as aN,fs as aO,J as aP,Ie as aQ,Pt as aR,Zr as aS,as as aT,B as aU,G as aV,os as aW,en as aX,Z as aY,Nr as aZ,We as a_,$s as aa,Mt as ab,It as ac,Zn as ad,V as ae,Fe as af,js as ag,sn as ah,se as ai,Pe as aj,Kr as ak,Ge as al,q as am,nt as an,Re as ao,De as ap,T as aq,yr as ar,cr as as,Js as at,At as au,Jr as av,mr as aw,Ps as ax,ni as ay,ar as az,tr as b,Y as b0,pt as b1,gs as b2,ys as b3,ft as b4,ae as b5,pe as b6,ps as b7,Ze as b8,ds as b9,$t as bA,_e as bB,Ce as bC,xs as bD,mn as bE,Ur as bF,Er as bG,Ys as bH,vs as ba,nn as bb,ts as bc,ai as bd,Ks as be,kn as bf,ge as bg,Qn as bh,Vs as bi,ms as bj,Rs as bk,ur as bl,In as bm,Gs as bn,yn as bo,Is as bp,zs as bq,Kn as br,Qr as bs,I as bt,U as bu,d as bv,Ws as bw,xn as bx,wr as by,Ds as bz,li as c,ei as d,Cs as e,Os as f,oi as g,$ as h,ze as i,kr as j,K as k,Dn as l,Bt as m,Cn as n,Ns as o,er as p,Fs as q,ws as r,ks as s,Hs as t,Ls as u,On as v,Xr as w,Us as x,dt as y,si as z};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a3 as r}from"./CfJtR48A.js";import{s as t,p as e}from"./BXCiGO5D.js";r();const a={get error(){return e.error},get status(){return e.status},get url(){return e.url}};t.updated.check;const p=a;export{p};
|