@liip/liipgpt 2.3.3 → 2.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/chat/liipgpt-chat.iife.js +25 -25
- package/configurator/_app/env.js +1 -1
- package/configurator/_app/immutable/chunks/{YALcB7vb.js → BdfExRJ-.js} +1 -1
- package/configurator/_app/immutable/chunks/{BRINjubN.js → Bi4PZjwD.js} +18 -18
- package/configurator/_app/immutable/chunks/{ChzxYFTX.js → C1m9OPk7.js} +1 -1
- package/configurator/_app/immutable/chunks/{I-jbfJxN.js → C4InYzKN.js} +1 -1
- package/configurator/_app/immutable/chunks/D3gC0ywi.js +1 -0
- package/configurator/_app/immutable/chunks/D9YRY7Z3.js +3 -0
- package/configurator/_app/immutable/chunks/{pgYKILma.js → DA1gqg6Q.js} +1 -1
- package/configurator/_app/immutable/chunks/{DoMONjgj.js → DCUqa1sE.js} +1 -1
- package/configurator/_app/immutable/chunks/{BHYdGlfZ.js → DU5tWz-J.js} +1 -1
- package/configurator/_app/immutable/entry/{app.Y1bd1xIC.js → app.CmwL9eLu.js} +2 -2
- package/configurator/_app/immutable/entry/start.D-_N2KA9.js +1 -0
- package/configurator/_app/immutable/nodes/{0.CxkD4i3a.js → 0.iAyovnQ-.js} +1 -1
- package/configurator/_app/immutable/nodes/{1.BaXCqRdz.js → 1.Cm2PHbvM.js} +1 -1
- package/configurator/_app/immutable/nodes/2.D21_cUbr.js +30 -0
- package/configurator/_app/immutable/nodes/{3.CXPj1r62.js → 3.BQu0W3j9.js} +1 -1
- package/configurator/_app/version.json +1 -1
- package/configurator/index.html +6 -6
- package/configurator/sidebar.html +6 -6
- package/package.json +1 -1
- package/configurator/_app/immutable/chunks/CMhjWVcv.js +0 -3
- package/configurator/_app/immutable/chunks/vuCcyO86.js +0 -1
- package/configurator/_app/immutable/entry/start.D8fYJWo_.js +0 -1
- package/configurator/_app/immutable/nodes/2.Ca9GV8Pp.js +0 -30
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"../chunks/NZTpNUN0.js";import{p as it,s as Ei,r as _i}from"../chunks/M-YrVFI7.js";import{M as ko,c as Tt,p as Gt,f as Se,s as De,e as ve,r as me,N as bo,t as Ue,G as Ne,K as Vi,g as ot,b as $e,d as Xt,v as nt,O as uo,I as fo,a as Zt,aL as Ni,aH as Oi,aM as Fi,H as po,aJ as Wi}from"../chunks/DC-s52-u.js";import{A as ho,D as mo,s as Ge,E as go,e as yo,i as Ui,F as Di,G as Bi,m as Li,H as Mi,a as Ii,z as Ri}from"../chunks/
|
|
1
|
+
import"../chunks/NZTpNUN0.js";import{p as it,s as Ei,r as _i}from"../chunks/M-YrVFI7.js";import{M as ko,c as Tt,p as Gt,f as Se,s as De,e as ve,r as me,N as bo,t as Ue,G as Ne,K as Vi,g as ot,b as $e,d as Xt,v as nt,O as uo,I as fo,a as Zt,aL as Ni,aH as Oi,aM as Fi,H as po,aJ as Wi}from"../chunks/DC-s52-u.js";import{A as ho,D as mo,s as Ge,E as go,e as yo,i as Ui,F as Di,G as Bi,m as Li,H as Mi,a as Ii,z as Ri}from"../chunks/Bi4PZjwD.js";import"../chunks/D3gC0ywi.js";import{b as Hi,i as rt}from"../chunks/Buwjqn5O.js";import{g as qi}from"../chunks/D9YRY7Z3.js";import{p as Pi}from"../chunks/DA1gqg6Q.js";var vo={},wo;function Yi(){return wo||(wo=1,(()=>{var O="4.1.5",M=92,D=47,_=42,te=34,be=39,I=58,ie=59,J=10,X=32,ne=9,P=123,Z=125,G=40,ge=41,we=91,ye=93,de=45,xe=64,He=33;function fe(e){e[0]==="\uFEFF"&&(e=e.slice(1)),e=e.replaceAll(`\r
|
|
2
2
|
`,`
|
|
3
3
|
`);let r=[],o=[],t=[],i=null,c=null,s="",u="",l;for(let p=0;p<e.length;p++){let m=e.charCodeAt(p);if(m===M)s+=e.slice(p,p+2),p+=1;else if(m===D&&e.charCodeAt(p+1)===_){let h=p;for(let w=p+2;w<e.length;w++)if(l=e.charCodeAt(w),l===M)w+=1;else if(l===_&&e.charCodeAt(w+1)===D){p=w+1;break}let v=e.slice(h,p+1);v.charCodeAt(2)===He&&o.push(sr(v.slice(2,-2)))}else if(m===be||m===te){let h=p;for(let v=p+1;v<e.length;v++)if(l=e.charCodeAt(v),l===M)v+=1;else if(l===m){p=v;break}else{if(l===ie&&e.charCodeAt(v+1)===J)throw new Error(`Unterminated string: ${e.slice(h,v+1)+String.fromCharCode(m)}`);if(l===J)throw new Error(`Unterminated string: ${e.slice(h,v)+String.fromCharCode(m)}`)}s+=e.slice(h,p+1)}else{if((m===X||m===J||m===ne)&&(l=e.charCodeAt(p+1))&&(l===X||l===J||l===ne))continue;if(m===J){if(s.length===0)continue;l=s.charCodeAt(s.length-1),l!==X&&l!==J&&l!==ne&&(s+=" ")}else if(m===de&&e.charCodeAt(p+1)===de&&s.length===0){let h="",v=p,w=-1;for(let b=p+2;b<e.length;b++)if(l=e.charCodeAt(b),l===M)b+=1;else if(l===D&&e.charCodeAt(b+1)===_){for(let A=b+2;A<e.length;A++)if(l=e.charCodeAt(A),l===M)A+=1;else if(l===_&&e.charCodeAt(A+1)===D){b=A+1;break}}else if(w===-1&&l===I)w=s.length+b-v;else if(l===ie&&h.length===0){s+=e.slice(v,b),p=b;break}else if(l===G)h+=")";else if(l===we)h+="]";else if(l===P)h+="}";else if((l===Z||e.length-1===b)&&h.length===0){p=b-1,s+=e.slice(v,b);break}else(l===ge||l===ye||l===Z)&&h.length>0&&e[b]===h[h.length-1]&&(h=h.slice(0,-1));let k=Oe(s,w);if(!k)throw new Error("Invalid custom property, expected a value");i?i.nodes.push(k):r.push(k),s=""}else if(m===ie&&s.charCodeAt(0)===xe)c=Ke(s),i?i.nodes.push(c):r.push(c),s="",c=null;else if(m===ie&&u[u.length-1]!==")"){let h=Oe(s);if(!h)throw s.length===0?new Error("Unexpected semicolon"):new Error(`Invalid declaration: \`${s.trim()}\``);i?i.nodes.push(h):r.push(h),s=""}else if(m===P&&u[u.length-1]!==")")u+="}",c=ae(s.trim()),i&&i.nodes.push(c),t.push(i),i=c,s="",c=null;else if(m===Z&&u[u.length-1]!==")"){if(u==="")throw new Error("Missing opening {");if(u=u.slice(0,-1),s.length>0)if(s.charCodeAt(0)===xe)c=Ke(s),i?i.nodes.push(c):r.push(c),s="",c=null;else{let v=s.indexOf(":");if(i){let w=Oe(s,v);if(!w)throw new Error(`Invalid declaration: \`${s.trim()}\``);i.nodes.push(w)}}let h=t.pop()??null;h===null&&i&&r.push(i),i=h,s="",c=null}else if(m===G)u+=")",s+="(";else if(m===ge){if(u[u.length-1]!==")")throw new Error("Missing opening (");u=u.slice(0,-1),s+=")"}else{if(s.length===0&&(m===X||m===J||m===ne))continue;s+=String.fromCharCode(m)}}}if(s.charCodeAt(0)===xe&&r.push(Ke(s)),u.length>0&&i){if(i.kind==="rule")throw new Error(`Missing closing } at ${i.selector}`);if(i.kind==="at-rule")throw new Error(`Missing closing } at ${i.name} ${i.params}`)}return o.length>0?o.concat(r):r}function Ke(e,r=[]){for(let o=5;o<e.length;o++){let t=e.charCodeAt(o);if(t===X||t===G){let i=e.slice(0,o).trim(),c=e.slice(o).trim();return R(i,c,r)}}return R(e.trim(),"",r)}function Oe(e,r=e.indexOf(":")){if(r===-1)return null;let o=e.indexOf("!important",r+1);return n(e.slice(0,r).trim(),e.slice(r+1,o===-1?e.length:o).trim(),o!==-1)}function je(e){if(arguments.length===0)throw new TypeError("`CSS.escape` requires an argument.");let r=String(e),o=r.length,t=-1,i,c="",s=r.charCodeAt(0);if(o===1&&s===45)return"\\"+r;for(;++t<o;){if(i=r.charCodeAt(t),i===0){c+="�";continue}if(i>=1&&i<=31||i===127||t===0&&i>=48&&i<=57||t===1&&i>=48&&i<=57&&s===45){c+="\\"+i.toString(16)+" ";continue}if(i>=128||i===45||i===95||i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122){c+=r.charAt(t);continue}c+="\\"+r.charAt(t)}return c}function pe(e){return e.replace(/\\([\dA-Fa-f]{1,6}[\t\n\f\r ]?|[\S\s])/g,r=>r.length>2?String.fromCodePoint(Number.parseInt(r.slice(1).trim(),16)):r[1])}var Ae=new Map([["--font",["--font-weight","--font-size"]],["--inset",["--inset-shadow","--inset-ring"]],["--text",["--text-color","--text-decoration-color","--text-decoration-thickness","--text-indent","--text-shadow","--text-underline-offset"]]]);function st(e,r){return(Ae.get(r)??[]).some(o=>e===o||e.startsWith(`${o}-`))}var Ct=class{constructor(e=new Map,r=new Set([])){this.values=e,this.keyframes=r}prefix=null;add(e,r,o=0){if(e.endsWith("-*")){if(r!=="initial")throw new Error(`Invalid theme value \`${r}\` for namespace \`${e}\``);e==="--*"?this.values.clear():this.clearNamespace(e.slice(0,-2),0)}if(o&4){let t=this.values.get(e);if(t&&!(t.options&4))return}r==="initial"?this.values.delete(e):this.values.set(e,{value:r,options:o})}keysInNamespaces(e){let r=[];for(let o of e){let t=`${o}-`;for(let i of this.values.keys())i.startsWith(t)&&i.indexOf("--",2)===-1&&(st(i,o)||r.push(i.slice(t.length)))}return r}get(e){for(let r of e){let o=this.values.get(r);if(o)return o.value}return null}hasDefault(e){return(this.getOptions(e)&4)===4}getOptions(e){return e=pe(this.#r(e)),this.values.get(e)?.options??0}entries(){return this.prefix?Array.from(this.values,e=>(e[0]=this.prefixKey(e[0]),e)):this.values.entries()}prefixKey(e){return this.prefix?`--${this.prefix}-${e.slice(2)}`:e}#r(e){return this.prefix?`--${e.slice(3+this.prefix.length)}`:e}clearNamespace(e,r){let o=Ae.get(e)??[];e:for(let t of this.values.keys())if(t.startsWith(e)){if(r!==0&&(this.getOptions(t)&r)!==r)continue;for(let i of o)if(t.startsWith(i))continue e;this.values.delete(t)}}#e(e,r){for(let o of r){let t=e!==null?`${o}-${e}`:o;if(!this.values.has(t))if(e!==null&&e.includes(".")){if(t=`${o}-${e.replaceAll(".","_")}`,!this.values.has(t))continue}else continue;if(!st(t,o))return t}return null}#t(e){let r=this.values.get(e);if(!r)return null;let o=null;return r.options&2&&(o=r.value),`var(${je(this.prefixKey(e))}${o?`, ${o}`:""})`}markUsedVariable(e){let r=pe(this.#r(e)),o=this.values.get(r);if(!o)return!1;let t=o.options&16;return o.options|=16,!t}resolve(e,r,o=0){let t=this.#e(e,r);if(!t)return null;let i=this.values.get(t);return(o|i.options)&1?i.value:this.#t(t)}resolveValue(e,r){let o=this.#e(e,r);return o?this.values.get(o).value:null}resolveWith(e,r,o=[]){let t=this.#e(e,r);if(!t)return null;let i={};for(let s of o){let u=`${t}${s}`,l=this.values.get(u);l&&(l.options&1?i[s]=l.value:i[s]=this.#t(u))}let c=this.values.get(t);return c.options&1?[c.value,i]:[this.#t(t),i]}namespace(e){let r=new Map,o=`${e}-`;for(let[t,i]of this.values)t===e?r.set(null,i.value):t.startsWith(`${o}-`)?r.set(t.slice(e.length),i.value):t.startsWith(o)&&r.set(t.slice(o.length),i.value);return r}addKeyframes(e){this.keyframes.add(e)}getKeyframes(){return Array.from(this.keyframes)}},le=class extends Map{constructor(e){super(),this.factory=e}get(e){let r=super.get(e);return r===void 0&&(r=this.factory(e,this),this.set(e,r)),r}};function Ce(e){return{kind:"word",value:e}}function re(e,r){return{kind:"function",value:e,nodes:r}}function qe(e){return{kind:"separator",value:e}}function ke(e,r,o=null){for(let t=0;t<e.length;t++){let i=e[t],c=!1,s=0,u=r(i,{parent:o,replaceWith(l){c||(c=!0,Array.isArray(l)?l.length===0?(e.splice(t,1),s=0):l.length===1?(e[t]=l[0],s=1):(e.splice(t,1,...l),s=l.length):e[t]=l)}})??0;if(c){u===0?t--:t+=s-1;continue}if(u===2||u!==1&&i.kind==="function"&&ke(i.nodes,r,i)===2)return 2}}function Q(e){let r="";for(let o of e)switch(o.kind){case"word":case"separator":{r+=o.value;break}case"function":r+=o.value+"("+Q(o.nodes)+")"}return r}var Fe=92,St=41,Xe=58,Qt=44,zo=34,er=61,tr=62,rr=60,or=10,To=40,jo=39,ar=47,ir=32,nr=9;function oe(e){e=e.replaceAll(`\r
|
|
4
4
|
`,`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"
|
|
1
|
+
{"version":"1758102047153"}
|
package/configurator/index.html
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
<link rel="icon" href="./favicon.png" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
7
7
|
|
|
8
|
-
<link rel="modulepreload" href="./_app/immutable/entry/start.
|
|
9
|
-
<link rel="modulepreload" href="./_app/immutable/chunks/
|
|
8
|
+
<link rel="modulepreload" href="./_app/immutable/entry/start.D-_N2KA9.js">
|
|
9
|
+
<link rel="modulepreload" href="./_app/immutable/chunks/D9YRY7Z3.js">
|
|
10
10
|
<link rel="modulepreload" href="./_app/immutable/chunks/Bu5Euvdy.js">
|
|
11
11
|
<link rel="modulepreload" href="./_app/immutable/chunks/DC-s52-u.js">
|
|
12
|
-
<link rel="modulepreload" href="./_app/immutable/entry/app.
|
|
12
|
+
<link rel="modulepreload" href="./_app/immutable/entry/app.CmwL9eLu.js">
|
|
13
13
|
<link rel="modulepreload" href="./_app/immutable/chunks/Buwjqn5O.js">
|
|
14
14
|
<link rel="modulepreload" href="./_app/immutable/chunks/NZTpNUN0.js">
|
|
15
15
|
<link rel="modulepreload" href="./_app/immutable/chunks/M-YrVFI7.js">
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<div style="display: contents">
|
|
19
19
|
<script>
|
|
20
20
|
{
|
|
21
|
-
|
|
21
|
+
__sveltekit_1xxtg8p = {
|
|
22
22
|
base: new URL(".", location).pathname.slice(0, -1),
|
|
23
23
|
assets: "/configurator"
|
|
24
24
|
};
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
const element = document.currentScript.parentElement;
|
|
27
27
|
|
|
28
28
|
Promise.all([
|
|
29
|
-
import("./_app/immutable/entry/start.
|
|
30
|
-
import("./_app/immutable/entry/app.
|
|
29
|
+
import("./_app/immutable/entry/start.D-_N2KA9.js"),
|
|
30
|
+
import("./_app/immutable/entry/app.CmwL9eLu.js")
|
|
31
31
|
]).then(([kit, app]) => {
|
|
32
32
|
kit.start(app, element);
|
|
33
33
|
});
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
<link rel="icon" href="./favicon.png" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
7
7
|
|
|
8
|
-
<link rel="modulepreload" href="./_app/immutable/entry/start.
|
|
9
|
-
<link rel="modulepreload" href="./_app/immutable/chunks/
|
|
8
|
+
<link rel="modulepreload" href="./_app/immutable/entry/start.D-_N2KA9.js">
|
|
9
|
+
<link rel="modulepreload" href="./_app/immutable/chunks/D9YRY7Z3.js">
|
|
10
10
|
<link rel="modulepreload" href="./_app/immutable/chunks/Bu5Euvdy.js">
|
|
11
11
|
<link rel="modulepreload" href="./_app/immutable/chunks/DC-s52-u.js">
|
|
12
|
-
<link rel="modulepreload" href="./_app/immutable/entry/app.
|
|
12
|
+
<link rel="modulepreload" href="./_app/immutable/entry/app.CmwL9eLu.js">
|
|
13
13
|
<link rel="modulepreload" href="./_app/immutable/chunks/Buwjqn5O.js">
|
|
14
14
|
<link rel="modulepreload" href="./_app/immutable/chunks/NZTpNUN0.js">
|
|
15
15
|
<link rel="modulepreload" href="./_app/immutable/chunks/M-YrVFI7.js">
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<div style="display: contents">
|
|
19
19
|
<script>
|
|
20
20
|
{
|
|
21
|
-
|
|
21
|
+
__sveltekit_1xxtg8p = {
|
|
22
22
|
base: new URL(".", location).pathname.slice(0, -1),
|
|
23
23
|
assets: "/configurator"
|
|
24
24
|
};
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
const element = document.currentScript.parentElement;
|
|
27
27
|
|
|
28
28
|
Promise.all([
|
|
29
|
-
import("./_app/immutable/entry/start.
|
|
30
|
-
import("./_app/immutable/entry/app.
|
|
29
|
+
import("./_app/immutable/entry/start.D-_N2KA9.js"),
|
|
30
|
+
import("./_app/immutable/entry/app.CmwL9eLu.js")
|
|
31
31
|
]).then(([kit, app]) => {
|
|
32
32
|
kit.start(app, element);
|
|
33
33
|
});
|
package/package.json
CHANGED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{o as De,s as mt}from"./Bu5Euvdy.js";import{bB as Ee,K as T,G as x,O as P}from"./DC-s52-u.js";class le{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 Se{constructor(t,n){this.status=t,this.location=n}}class Re extends Error{constructor(t,n,r){super(r),this.status=t,this.text=n}}new URL("sveltekit-internal://");function _t(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 wt(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function me({href:e}){return e.split("#")[0]}function vt(e,t,n,r=!1){const a=new URL(e);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(i,o){if(o==="get"||o==="getAll"||o==="has")return f=>(n(f),i[o](f));t();const c=Reflect.get(i,o);return typeof c=="function"?c.bind(i):c}}),enumerable:!0,configurable:!0});const s=["href","pathname","search","toString","toJSON"];r&&s.push("hash");for(const i of s)Object.defineProperty(a,i,{get(){return t(),e[i]},enumerable:!0,configurable:!0});return a}function bt(...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)}function At(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.buffer}const kt=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&M.delete(Ie(e)),kt(e,t));const M=new Map;function Et(e,t){const n=Ie(e,t),r=document.querySelector(n);if(r?.textContent){let{body:a,...s}=JSON.parse(r.textContent);const i=r.getAttribute("data-ttl");return i&&M.set(n,{body:a,init:s,ttl:1e3*Number(i)}),r.getAttribute("data-b64")!==null&&(a=At(a)),Promise.resolve(new Response(a,s))}return window.fetch(e,t)}function St(e,t,n){if(M.size>0){const r=Ie(e,n),a=M.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);M.delete(r)}}return window.fetch(t,n)}function Ie(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="${bt(...a)}"]`}return r}const Rt=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function It(e){const t=[];return{pattern:e==="/"?/^\/$/:new RegExp(`^${Lt(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 s=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(s)return t.push({name:s[1],matcher:s[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const i=r.split(/\[(.+?)\](?!\])/);return"/"+i.map((c,f)=>{if(f%2){if(c.startsWith("x+"))return _e(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return _e(String.fromCharCode(...c.slice(2).split("-").map(_=>parseInt(_,16))));const d=Rt.exec(c),[,h,u,l,p]=d;return t.push({name:l,matcher:p,optional:!!h,rest:!!u,chained:u?f===1&&i[0]==="":!1}),u?"(.*?)":h?"([^/]*)?":"([^/]+?)"}return _e(c)}).join("")}).join("")}/?$`),params:t}}function Ut(e){return!/^\([^)]+\)$/.test(e)}function Lt(e){return e.slice(1).split("/").filter(Ut)}function Tt(e,t,n){const r={},a=e.slice(1),s=a.filter(o=>o!==void 0);let i=0;for(let o=0;o<t.length;o+=1){const c=t[o];let f=a[o-i];if(c.chained&&c.rest&&i&&(f=a.slice(o-i,o+1).filter(d=>d).join("/"),i=0),f===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||n[c.matcher](f)){r[c.name]=f;const d=t[o+1],h=a[o+1];d&&!d.rest&&d.optional&&h&&c.chained&&(i=0),!d&&!h&&Object.keys(r).length===s.length&&(i=0);continue}if(c.optional&&c.chained){i++;continue}return}if(!i)return r}function _e(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function xt({nodes:e,server_loads:t,dictionary:n,matchers:r}){const a=new Set(t);return Object.entries(n).map(([o,[c,f,d]])=>{const{pattern:h,params:u}=It(o),l={id:o,exec:p=>{const _=h.exec(p);if(_)return Tt(_,u,r)},errors:[1,...d||[]].map(p=>e[p]),layouts:[0,...f||[]].map(i),leaf:s(c)};return l.errors.length=l.layouts.length=Math.max(l.errors.length,l.layouts.length),l});function s(o){const c=o<0;return c&&(o=~o),[c,e[o]]}function i(o){return o===void 0?o:[a.has(o),e[o]]}}function Ye(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function Be(e,t,n=JSON.stringify){const r=n(t);try{sessionStorage[e]=r}catch{}}const U=globalThis.__sveltekit_tq8bpb?.base??"/configurator",Pt=globalThis.__sveltekit_tq8bpb?.assets??U,Ct="1757947200273",Je="sveltekit:snapshot",ze="sveltekit:scroll",Xe="sveltekit:states",Ot="sveltekit:pageurl",F="sveltekit:history",Y="sveltekit:navigation",j={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},Z=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 fe(){return{x:pageXOffset,y:pageYOffset}}function B(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const Fe={...j,"":j.hover};function Ze(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function Qe(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=Ze(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,s=!r||!!a||ue(r,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),i=r?.origin===Z&&e.hasAttribute("download");return{url:r,external:s,target:a,download:i}}function te(e){let t=null,n=null,r=null,a=null,s=null,i=null,o=e;for(;o&&o!==document.documentElement;)r===null&&(r=B(o,"preload-code")),a===null&&(a=B(o,"preload-data")),t===null&&(t=B(o,"keepfocus")),n===null&&(n=B(o,"noscroll")),s===null&&(s=B(o,"reload")),i===null&&(i=B(o,"replacestate")),o=Ze(o);function c(f){switch(f){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Fe[r??"off"],preload_data:Fe[a??"off"],keepfocus:c(t),noscroll:c(n),reload:c(s),replace_state:c(i)}}function Ve(e){const t=Ee(e);let n=!0;function r(){n=!0,t.update(i=>i)}function a(i){n=!1,t.set(i)}function s(i){let o;return t.subscribe(c=>{(o===void 0||n&&c!==o)&&i(o=c)})}return{notify:r,set:a,subscribe:s}}const et={v:()=>{}};function Nt(){const{set:e,subscribe:t}=Ee(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${Pt}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const i=(await a.json()).version!==Ct;return i&&(e(!0),et.v(),clearTimeout(n)),i}catch{return!1}}return{subscribe:t,check:r}}function ue(e,t,n){return e.origin!==Z||!e.pathname.startsWith(t)?!0:n?!(e.pathname===t+"/"||e.pathname===t+"/index.html"||e.protocol==="file:"&&e.pathname.replace(/\/[^/]+\.html?$/,"")===t):!1}function vn(e){}function qe(e){const t=$t(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let a=0;a<n.byteLength;a++)r.setUint8(a,t.charCodeAt(a));return n}const jt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function $t(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,r=0;for(let a=0;a<e.length;a++)n<<=6,n|=jt.indexOf(e[a]),r+=6,r===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const Dt=-1,Bt=-2,Ft=-3,Vt=-4,qt=-5,Gt=-6;function Mt(e,t){if(typeof e=="number")return a(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function a(s,i=!1){if(s===Dt)return;if(s===Ft)return NaN;if(s===Vt)return 1/0;if(s===qt)return-1/0;if(s===Gt)return-0;if(i)throw new Error("Invalid input");if(s in r)return r[s];const o=n[s];if(!o||typeof o!="object")r[s]=o;else if(Array.isArray(o))if(typeof o[0]=="string"){const c=o[0],f=t?.[c];if(f)return r[s]=f(a(o[1]));switch(c){case"Date":r[s]=new Date(o[1]);break;case"Set":const d=new Set;r[s]=d;for(let l=1;l<o.length;l+=1)d.add(a(o[l]));break;case"Map":const h=new Map;r[s]=h;for(let l=1;l<o.length;l+=2)h.set(a(o[l]),a(o[l+1]));break;case"RegExp":r[s]=new RegExp(o[1],o[2]);break;case"Object":r[s]=Object(o[1]);break;case"BigInt":r[s]=BigInt(o[1]);break;case"null":const u=Object.create(null);r[s]=u;for(let l=1;l<o.length;l+=2)u[o[l]]=a(o[l+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{const l=globalThis[c],p=o[1],_=qe(p),m=new l(_);r[s]=m;break}case"ArrayBuffer":{const l=o[1],p=qe(l);r[s]=p;break}default:throw new Error(`Unknown type ${c}`)}}else{const c=new Array(o.length);r[s]=c;for(let f=0;f<o.length;f+=1){const d=o[f];d!==Bt&&(c[f]=a(d))}}else{const c={};r[s]=c;for(const f in o){const d=o[f];c[f]=a(d)}}return r[s]}return a(0)}const tt=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...tt];const Kt=new Set([...tt]);[...Kt];function Ht(e){return e.filter(t=>t!=null)}const Wt="x-sveltekit-invalidated",Yt="x-sveltekit-trailing-slash";function ne(e){return e instanceof le||e instanceof Re?e.status:500}function Jt(e){return e instanceof Re?e.text:"Internal Error"}let E,J,ye;const zt=De.toString().includes("$$")||/function \w+\(\) \{\}/.test(De.toString());zt?(E={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},J={current:null},ye={current:!1}):(E=new class{#e=T({});get data(){return x(this.#e)}set data(t){P(this.#e,t)}#t=T(null);get form(){return x(this.#t)}set form(t){P(this.#t,t)}#n=T(null);get error(){return x(this.#n)}set error(t){P(this.#n,t)}#r=T({});get params(){return x(this.#r)}set params(t){P(this.#r,t)}#a=T({id:null});get route(){return x(this.#a)}set route(t){P(this.#a,t)}#o=T({});get state(){return x(this.#o)}set state(t){P(this.#o,t)}#s=T(-1);get status(){return x(this.#s)}set status(t){P(this.#s,t)}#i=T(new URL("https://example.com"));get url(){return x(this.#i)}set url(t){P(this.#i,t)}},J=new class{#e=T(null);get current(){return x(this.#e)}set current(t){P(this.#e,t)}},ye=new class{#e=T(!1);get current(){return x(this.#e)}set current(t){P(this.#e,t)}},et.v=()=>ye.current=!0);function Xt(e){Object.assign(E,e)}const Zt="/__data.json",Qt=".html__data.json";function en(e){return e.endsWith(".html")?e.replace(/\.html$/,Qt):e.replace(/\/$/,"")+Zt}const{tick:tn}=mt,nn=new Set(["icon","shortcut icon","apple-touch-icon"]),D=Ye(ze)??{},z=Ye(Je)??{},N={url:Ve({}),page:Ve({}),navigating:Ee(null),updated:Nt()};function Le(e){D[e]=fe()}function rn(e,t){let n=e+1;for(;D[n];)delete D[n],n+=1;for(n=t+1;z[n];)delete z[n],n+=1}function q(e){return location.href=e.href,new Promise(()=>{})}async function nt(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(U||"/");e&&await e.update()}}function Ge(){}let Te,be,re,C,Ae,v;const ae=[],oe=[];let O=null;const ee=new Map,rt=new Set,an=new Set,K=new Set;let w={branch:[],error:null,url:null},xe=!1,se=!1,Me=!0,X=!1,G=!1,at=!1,Pe=!1,ot,A,I,$;const H=new Set;async function En(e,t,n){document.URL!==location.href&&(location.href=location.href),v=e,await e.hooks.init?.(),Te=xt(e),C=document.documentElement,Ae=t,be=e.nodes[0],re=e.nodes[1],be(),re(),A=history.state?.[F],I=history.state?.[Y],A||(A=I=Date.now(),history.replaceState({...history.state,[F]:A,[Y]:I},""));const r=D[A];function a(){r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y))}n?(a(),await gn(Ae,n)):(await W({type:"enter",url:Ue(v.hash?_n(new URL(location.href)):location.href),replace_state:!0}),a()),pn()}function on(){ae.length=0,Pe=!1}function st(e){oe.some(t=>t?.snapshot)&&(z[e]=oe.map(t=>t?.snapshot?.capture()))}function it(e){z[e]?.forEach((t,n)=>{oe[n]?.snapshot?.restore(t)})}function Ke(){Le(A),Be(ze,D),st(I),Be(Je,z)}async function Ce(e,t,n,r){return W({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&&(Pe=!0),t.invalidate&&t.invalidate.forEach(hn)}})}async function sn(e){if(e.id!==O?.id){const t={};H.add(t),O={id:e.id,token:t,promise:ft({...e,preload:t}).then(n=>(H.delete(t),n.type==="loaded"&&n.state.error&&(O=null),n))}}return O.promise}async function we(e){const t=(await he(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].map(n=>n?.[1]()))}function ct(e,t,n){w=e.state;const r=document.querySelector("style[data-sveltekit]");if(r&&r.remove(),Object.assign(E,e.props.page),ot=new v.root({target:t,props:{...e.props,stores:N,components:oe},hydrate:n,sync:!1}),it(I),n){const a={from:null,to:{params:w.params,route:{id:w.route?.id??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};K.forEach(s=>s(a))}se=!0}function ie({url:e,params:t,branch:n,status:r,error:a,route:s,form:i}){let o="never";if(U&&(e.pathname===U||e.pathname===U+"/"))o="always";else for(const l of n)l?.slash!==void 0&&(o=l.slash);e.pathname=_t(e.pathname,o),e.search=e.search;const c={type:"loaded",state:{url:e,params:t,branch:n,error:a,route:s},props:{constructors:Ht(n).map(l=>l.node.component),page:$e(E)}};i!==void 0&&(c.props.form=i);let f={},d=!E,h=0;for(let l=0;l<Math.max(n.length,w.branch.length);l+=1){const p=n[l],_=w.branch[l];p?.data!==_?.data&&(d=!0),p&&(f={...f,...p.data},d&&(c.props[`data_${h}`]=f),h+=1)}return(!w.url||e.href!==w.url.href||w.error!==a||i!==void 0&&i!==E.form||d)&&(c.props.page={error:a,params:t,route:{id:s?.id??null},state:{},status:r,url:new URL(e),form:i??null,data:d?f:E.data}),c}async function Oe({loader:e,parent:t,url:n,params:r,route:a,server_data_node:s}){let i=null,o=!0;const c={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},f=await e();if(f.universal?.load){let d=function(...u){for(const l of u){const{href:p}=new URL(l,n);c.dependencies.add(p)}};const h={route:new Proxy(a,{get:(u,l)=>(o&&(c.route=!0),u[l])}),params:new Proxy(r,{get:(u,l)=>(o&&c.params.add(l),u[l])}),data:s?.data??null,url:vt(n,()=>{o&&(c.url=!0)},u=>{o&&c.search_params.add(u)},v.hash),async fetch(u,l){u instanceof Request&&(l={body:u.method==="GET"||u.method==="HEAD"?void 0:await u.blob(),cache:u.cache,credentials:u.credentials,headers:[...u.headers].length>0?u?.headers:void 0,integrity:u.integrity,keepalive:u.keepalive,method:u.method,mode:u.mode,redirect:u.redirect,referrer:u.referrer,referrerPolicy:u.referrerPolicy,signal:u.signal,...l});const{resolved:p,promise:_}=lt(u,l,n);return o&&d(p.href),_},setHeaders:()=>{},depends:d,parent(){return o&&(c.parent=!0),t()},untrack(u){o=!1;try{return u()}finally{o=!0}}};i=await f.universal.load.call(null,h)??null}return{node:f,loader:e,server:s,universal:f.universal?.load?{type:"data",data:i,uses:c}:null,data:i??s?.data??null,slash:f.universal?.trailingSlash??s?.slash}}function lt(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 s=se?St(r,a.href,t):Et(r,t);return{resolved:a,promise:s}}function He(e,t,n,r,a,s){if(Pe)return!0;if(!a)return!1;if(a.parent&&e||a.route&&t||a.url&&n)return!0;for(const i of a.search_params)if(r.has(i))return!0;for(const i of a.params)if(s[i]!==w.params[i])return!0;for(const i of a.dependencies)if(ae.some(o=>o(new URL(i))))return!0;return!1}function Ne(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function cn(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),s=t.searchParams.getAll(r);a.every(i=>s.includes(i))&&s.every(i=>a.includes(i))&&n.delete(r)}return n}function We({error:e,url:t,route:n,params:r}){return{type:"loaded",state:{error:e,url:t,route:n,params:r,branch:[]},props:{page:$e(E),constructors:[]}}}async function ft({id:e,invalidating:t,url:n,params:r,route:a,preload:s}){if(O?.id===e)return H.delete(O.token),O.promise;const{errors:i,layouts:o,leaf:c}=a,f=[...o,c];i.forEach(g=>g?.().catch(()=>{})),f.forEach(g=>g?.[1]().catch(()=>{}));let d=null;const h=w.url?e!==ce(w.url):!1,u=w.route?a.id!==w.route.id:!1,l=cn(w.url,n);let p=!1;const _=f.map((g,y)=>{const b=w.branch[y],k=!!g?.[0]&&(b?.loader!==g[1]||He(p,u,h,l,b.server?.uses,r));return k&&(p=!0),k});if(_.some(Boolean)){try{d=await ht(n,_)}catch(g){const y=await V(g,{url:n,params:r,route:{id:e}});return H.has(s)?We({error:y,url:n,params:r,route:a}):de({status:ne(g),error:y,url:n,route:a})}if(d.type==="redirect")return d}const m=d?.nodes;let R=!1;const S=f.map(async(g,y)=>{if(!g)return;const b=w.branch[y],k=m?.[y];if((!k||k.type==="skip")&&g[1]===b?.loader&&!He(R,u,h,l,b.universal?.uses,r))return b;if(R=!0,k?.type==="error")throw k;return Oe({loader:g[1],url:n,params:r,route:a,parent:async()=>{const pe={};for(let ge=0;ge<y;ge+=1)Object.assign(pe,(await S[ge])?.data);return pe},server_data_node:Ne(k===void 0&&g[0]?{type:"skip"}:k??null,g[0]?b?.server:void 0)})});for(const g of S)g.catch(()=>{});const L=[];for(let g=0;g<f.length;g+=1)if(f[g])try{L.push(await S[g])}catch(y){if(y instanceof Se)return{type:"redirect",location:y.location};if(H.has(s))return We({error:await V(y,{params:r,url:n,route:{id:a.id}}),url:n,params:r,route:a});let b=ne(y),k;if(m?.includes(y))b=y.status??b,k=y.error;else if(y instanceof le)k=y.body;else{if(await N.updated.check())return await nt(),await q(n);k=await V(y,{params:r,url:n,route:{id:a.id}})}const Q=await ln(g,L,i);return Q?ie({url:n,params:r,branch:L.slice(0,Q.idx).concat(Q.node),status:b,error:k,route:a}):await dt(n,{id:a.id},k,b)}else L.push(void 0);return ie({url:n,params:r,branch:L,status:200,error:null,route:a,form:t?void 0:null})}async function ln(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 de({status:e,error:t,url:n,route:r}){const a={};let s=null;if(v.server_loads[0]===0)try{const o=await ht(n,[!0]);if(o.type!=="data"||o.nodes[0]&&o.nodes[0].type!=="data")throw 0;s=o.nodes[0]??null}catch{(n.origin!==Z||n.pathname!==location.pathname||xe)&&await q(n)}try{const o=await Oe({loader:be,url:n,params:a,route:r,parent:()=>Promise.resolve({}),server_data_node:Ne(s)}),c={node:await re(),loader:re,universal:null,server:null,data:null};return ie({url:n,params:a,branch:[o,c],status:e,error:t,route:null})}catch(o){if(o instanceof Se)return Ce(new URL(o.location,location.href),{},0);throw o}}async function fn(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(s,i)=>lt(s,i,e).promise})??e;if(typeof a=="string"){const s=new URL(e);v.hash?s.hash=a:s.pathname=a,a=s}return a})();ee.set(t,r),n=await r}catch{ee.delete(t);return}return n}async function he(e,t){if(e&&!ue(e,U,v.hash)){const n=await fn(e);if(!n)return;const r=un(n);for(const a of Te){const s=a.exec(r);if(s)return{id:ce(e),invalidating:t,route:a,params:wt(s),url:e}}}}function un(e){return yt(v.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(U.length))||"/"}function ce(e){return(v.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function ut({url:e,type:t,intent:n,delta:r}){let a=!1;const s=je(w,n,e,t);r!==void 0&&(s.navigation.delta=r);const i={...s.navigation,cancel:()=>{a=!0,s.reject(new Error("navigation cancelled"))}};return X||rt.forEach(o=>o(i)),a?null:s}async function W({type:e,url:t,popped:n,keepfocus:r,noscroll:a,replace_state:s,state:i={},redirect_count:o=0,nav_token:c={},accept:f=Ge,block:d=Ge}){const h=$;$=c;const u=await he(t,!1),l=e==="enter"?je(w,u,t,e):ut({url:t,type:e,delta:n?.delta,intent:u});if(!l){d(),$===c&&($=h);return}const p=A,_=I;f(),X=!0,se&&l.navigation.type!=="enter"&&N.navigating.set(J.current=l.navigation);let m=u&&await ft(u);if(!m){if(ue(t,U,v.hash))return await q(t);m=await dt(t,{id:null},await V(new Re(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404)}if(t=u?.url||t,$!==c)return l.reject(new Error("navigation aborted")),!1;if(m.type==="redirect")if(o>=20)m=await de({status:500,error:await V(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}});else return await Ce(new URL(m.location,t).href,{},o+1,c),!1;else m.props.page.status>=400&&await N.updated.check()&&(await nt(),await q(t));if(on(),Le(p),st(_),m.props.page.url.pathname!==t.pathname&&(t.pathname=m.props.page.url.pathname),i=n?n.state:i,!n){const g=s?0:1,y={[F]:A+=g,[Y]:I+=g,[Xe]:i};(s?history.replaceState:history.pushState).call(history,y,"",t),s||rn(A,I)}if(O=null,m.props.page.state=i,se){w=m.state,m.props.page&&(m.props.page.url=t);const g=(await Promise.all(Array.from(an,y=>y(l.navigation)))).filter(y=>typeof y=="function");if(g.length>0){let y=function(){g.forEach(b=>{K.delete(b)})};g.push(y),g.forEach(b=>{K.add(b)})}ot.$set(m.props),Xt(m.props.page),at=!0}else ct(m,Ae,!1);const{activeElement:R}=document;await tn();const S=n?n.scroll:a?fe():null;if(Me){const g=t.hash&&document.getElementById(gt(t));S?scrollTo(S.x,S.y):g?g.scrollIntoView():scrollTo(0,0)}const L=document.activeElement!==R&&document.activeElement!==document.body;!r&&!L&&mn(t),Me=!0,m.props.page&&Object.assign(E,m.props.page),X=!1,e==="popstate"&&it(I),l.fulfil(void 0),K.forEach(g=>g(l.navigation)),N.navigating.set(J.current=null)}async function dt(e,t,n,r){return e.origin===Z&&e.pathname===location.pathname&&!xe?await de({status:r,error:n,url:e,route:t}):await q(e)}function dn(){let e,t,n;C.addEventListener("mousemove",o=>{const c=o.target;clearTimeout(e),e=setTimeout(()=>{s(c,j.hover)},20)});function r(o){o.defaultPrevented||s(o.composedPath()[0],j.tap)}C.addEventListener("mousedown",r),C.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 s(o,c){const f=Qe(o,C),d=f===t&&c>=n;if(!f||d)return;const{url:h,external:u,download:l}=ve(f,U,v.hash);if(u||l)return;const p=te(f),_=h&&ce(w.url)===ce(h);if(!(p.reload||_))if(c<=p.preload_data){t=f,n=j.tap;const m=await he(h,!1);if(!m)return;sn(m)}else c<=p.preload_code&&(t=f,n=c,we(h))}function i(){a.disconnect();for(const o of C.querySelectorAll("a")){const{url:c,external:f,download:d}=ve(o,U,v.hash);if(f||d)continue;const h=te(o);h.reload||(h.preload_code===j.viewport&&a.observe(o),h.preload_code===j.eager&&we(c))}}K.add(i),i()}function V(e,t){if(e instanceof le)return e.body;const n=ne(e),r=Jt(e);return v.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function Sn(e,t={}){return e=new URL(Ue(e)),e.origin!==Z?Promise.reject(new Error("goto: invalid URL")):Ce(e,t,0)}function hn(e){if(typeof e=="function")ae.push(e);else{const{href:t}=new URL(e,location.href);ae.push(n=>n.href===t)}}function pn(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let n=!1;if(Ke(),!X){const r=je(w,void 0,null,"leave"),a={...r.navigation,cancel:()=>{n=!0,r.reject(new Error("navigation cancelled"))}};rt.forEach(s=>s(a))}n?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Ke()}),navigator.connection?.saveData||dn(),C.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const n=Qe(t.composedPath()[0],C);if(!n)return;const{url:r,external:a,target:s,download:i}=ve(n,U,v.hash);if(!r)return;if(s==="_parent"||s==="_top"){if(window.parent!==window)return}else if(s&&s!=="_self")return;const o=te(n);if(!(n instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||i)return;const[f,d]=(v.hash?r.hash.replace(/^#/,""):r.href).split("#"),h=f===me(location);if(a||o.reload&&(!h||!d)){ut({url:r,type:"link"})?X=!0:t.preventDefault();return}if(d!==void 0&&h){const[,u]=w.url.href.split("#");if(u===d){if(t.preventDefault(),d===""||d==="top"&&n.ownerDocument.getElementById("top")===null)window.scrollTo({top:0});else{const l=n.ownerDocument.getElementById(decodeURIComponent(d));l&&(l.scrollIntoView(),l.focus())}return}if(G=!0,Le(A),e(r),!o.replace_state)return;G=!1}t.preventDefault(),await new Promise(u=>{requestAnimationFrame(()=>{setTimeout(u,0)}),setTimeout(u,100)}),await W({type:"link",url:r,keepfocus:o.keepfocus,noscroll:o.noscroll,replace_state:o.replace_state??r.href===location.href})}),C.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 i=new URL(r?.hasAttribute("formaction")&&r?.formAction||n.action);if(ue(i,U,!1))return;const o=t.target,c=te(o);if(c.reload)return;t.preventDefault(),t.stopPropagation();const f=new FormData(o),d=r?.getAttribute("name");d&&f.append(d,r?.getAttribute("value")??""),i.search=new URLSearchParams(f).toString(),W({type:"form",url:i,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??i.href===location.href})}),addEventListener("popstate",async t=>{if(!ke){if(t.state?.[F]){const n=t.state[F];if($={},n===A)return;const r=D[n],a=t.state[Xe]??{},s=new URL(t.state[Ot]??location.href),i=t.state[Y],o=w.url?me(location)===me(w.url):!1;if(i===I&&(at||o)){a!==E.state&&(E.state=a),e(s),D[A]=fe(),r&&scrollTo(r.x,r.y),A=n;return}const f=n-A;await W({type:"popstate",url:s,popped:{state:a,scroll:r,delta:f},accept:()=>{A=n,I=i},block:()=>{history.go(-f)},nav_token:$})}else if(!G){const n=new URL(location.href);e(n),v.hash&&location.reload()}}}),addEventListener("hashchange",()=>{G&&(G=!1,history.replaceState({...history.state,[F]:++A,[Y]:I},"",location.href))});for(const t of document.querySelectorAll("link"))nn.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&N.navigating.set(J.current=null)});function e(t){w.url=E.url=t,N.page.set($e(E)),N.page.notify()}}async function gn(e,{status:t=200,error:n,node_ids:r,params:a,route:s,server_route:i,data:o,form:c}){xe=!0;const f=new URL(location.href);let d;({params:a={},route:s={id:null}}=await he(f,!1)||{}),d=Te.find(({id:l})=>l===s.id);let h,u=!0;try{const l=r.map(async(_,m)=>{const R=o[m];return R?.uses&&(R.uses=pt(R.uses)),Oe({loader:v.nodes[_],url:f,params:a,route:s,parent:async()=>{const S={};for(let L=0;L<m;L+=1)Object.assign(S,(await l[L]).data);return S},server_data_node:Ne(R)})}),p=await Promise.all(l);if(d){const _=d.layouts;for(let m=0;m<_.length;m++)_[m]||p.splice(m,0,void 0)}h=ie({url:f,params:a,branch:p,status:t,error:n,form:c,route:d??null})}catch(l){if(l instanceof Se){await q(new URL(l.location,location.href));return}h=await de({status:ne(l),error:await V(l,{url:f,params:a,route:s}),url:f,route:s}),e.textContent="",u=!1}h.props.page&&(h.props.page.state={}),ct(h,e,u)}async function ht(e,t){const n=new URL(e);n.pathname=en(e.pathname),e.pathname.endsWith("/")&&n.searchParams.append(Yt,"1"),n.searchParams.append(Wt,t.map(s=>s?"1":"0").join(""));const r=window.fetch,a=await r(n.href,{});if(!a.ok){let s;throw a.headers.get("content-type")?.includes("application/json")?s=await a.json():a.status===404?s="Not Found":a.status===500&&(s="Internal Error"),new le(a.status,s)}return new Promise(async s=>{const i=new Map,o=a.body.getReader(),c=new TextDecoder;function f(h){return Mt(h,{...v.decoders,Promise:u=>new Promise((l,p)=>{i.set(u,{fulfil:l,reject:p})})})}let d="";for(;;){const{done:h,value:u}=await o.read();if(h&&!d)break;for(d+=!u&&d?`
|
|
2
|
-
`:c.decode(u,{stream:!0});;){const l=d.indexOf(`
|
|
3
|
-
`);if(l===-1)break;const p=JSON.parse(d.slice(0,l));if(d=d.slice(l+1),p.type==="redirect")return s(p);if(p.type==="data")p.nodes?.forEach(_=>{_?.type==="data"&&(_.uses=pt(_.uses),_.data=f(_.data))}),s(p);else if(p.type==="chunk"){const{id:_,data:m,error:R}=p,S=i.get(_);i.delete(_),R?S.reject(f(R)):S.fulfil(f(m))}}}})}function pt(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 ke=!1;function mn(e){const t=document.querySelector("[autofocus]");if(t)t.focus();else{const n=gt(e);if(n&&document.getElementById(n)){const{x:a,y:s}=fe();setTimeout(()=>{const i=history.state;ke=!0,location.replace(`#${n}`),v.hash&&location.replace(e.hash),history.replaceState(i,"",e.hash),scrollTo(a,s),ke=!1})}else{const a=document.body,s=a.getAttribute("tabindex");a.tabIndex=-1,a.focus({preventScroll:!0,focusVisible:!1}),s!==null?a.setAttribute("tabindex",s):a.removeAttribute("tabindex")}const r=getSelection();if(r&&r.type!=="None"){const a=[];for(let s=0;s<r.rangeCount;s+=1)a.push(r.getRangeAt(s));setTimeout(()=>{if(r.rangeCount===a.length){for(let s=0;s<r.rangeCount;s+=1){const i=a[s],o=r.getRangeAt(s);if(i.commonAncestorContainer!==o.commonAncestorContainer||i.startContainer!==o.startContainer||i.endContainer!==o.endContainer||i.startOffset!==o.startOffset||i.endOffset!==o.endOffset)return}r.removeAllRanges()}})}}}function je(e,t,n,r){let a,s;const i=new Promise((c,f)=>{a=c,s=f});return i.catch(()=>{}),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url},to:n&&{params:t?.params??null,route:{id:t?.route?.id??null},url:n},willUnload:!t,type:r,complete:i},fulfil:a,reject:s}}function $e(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 _n(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{En as a,Sn as g,vn as l,E as p,N as s};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./NZTpNUN0.js";import{av as Tt,o as it,aN as De,p as te,I as Q,a as q,b as l,d as re,v as b,L as ie,G as t,H as j,f as F,e as f,r as d,F as Pe,c as ae,O as D,K as U,ab as Ft,s as M,aL as At,t as X,aI as _e,g as he,M as Dt,u as ve,aO as ze,aH as Rt}from"./DC-s52-u.js";import{i as W,c as pe,b as be}from"./Buwjqn5O.js";import{J as Bt,K as ne,L as we,O as Se,Q as Re,T as Lt,U as qt,V as $e,W as It,X as Ht,Y as Ke,Z as We,_ as zt,$ as $t,a0 as tt,a1 as Kt,a2 as Wt,a3 as Te,a4 as jt,l as u,a5 as Qt,a6 as Ut,a7 as Vt,a8 as Yt,o as fe,a9 as je,aa as Gt,S as Be,ab as Jt,ac as Ae,w as Xt,D as Zt,ad as rt,h as Le,s as ye,e as ke,q as lt,A as Oe,M as er,ae as tr,af as Qe,k as qe,x as ct,i as xe,p as Ue,ag as at,R as nt,ah as rr,ai as ar,P as nr,a as sr,m as dt,I as Me,n as ut,aj as or,ak as st,al as ir,am as lr,an as cr,ao as dr,c as ur,t as vr,ap as fr,aq as hr,N as gr,u as pr,C as _r,v as mr}from"./BRINjubN.js";import{p as y,r as Ne,s as vt}from"./M-YrVFI7.js";import{t as br}from"./BHYdGlfZ.js";import{O as yr}from"./I-jbfJxN.js";class Ve{#e=new WeakMap;#t;#r;static entries=new WeakMap;constructor(e){this.#r=e}observe(e,n){var r=this.#e.get(e)||new Set;return r.add(n),this.#e.set(e,r),this.#a().observe(e,this.#r),()=>{var a=this.#e.get(e);a.delete(n),a.size===0&&(this.#e.delete(e),this.#t.unobserve(e))}}#a(){return this.#t??(this.#t=new ResizeObserver(e=>{for(var n of e){Ve.entries.set(n.target,n);for(var r of this.#e.get(n.target)||[])r(n)}}))}}var Cr=new Ve({box:"border-box"});function ft(w,e,n){var r=Cr.observe(w,()=>n(w[e]));Tt(()=>(it(()=>n(w[e])),r))}var kr=F("<div><!></div>");function ht(w,e){const n=De();te(e,!0);let r=y(e,"id",23,()=>we(n)),a=y(e,"children",7),s=y(e,"child",7),o=y(e,"ref",15,null),i=Ne(e,["$$slots","$$events","$$legacy","$$host","id","children","child","ref"]);const h=Bt.create({id:ne.with(()=>r()),ref:ne.with(()=>o(),S=>o(S))}),g=j(()=>Re(i,h.props));var C=Q(),x=q(C);{var _=S=>{var k=Q(),m=q(k);ie(m,s,()=>({props:t(g)})),l(S,k)},N=S=>{var k=kr();Se(k,()=>({...t(g)}));var m=f(k);ie(m,()=>a()??Pe),d(k),l(S,k)};W(x,S=>{s()?S(_):S(N,!1)})}return l(w,C),re({get id(){return r()},set id(S=we(n)){r(S),b()},get children(){return a()},set children(S){a(S),b()},get child(){return s()},set child(S){s(S),b()},get ref(){return o()},set ref(S=null){o(S),b()}})}ae(ht,{id:{},children:{},child:{},ref:{}},[],[],!0);function gt(w,e){te(e,!0);let n=y(e,"children",7),r=y(e,"defaultPortalTo",7),a=y(e,"defaultLocale",7);Lt({defaultPortalTo:ne.with(()=>r()),defaultLocale:ne.with(()=>a())});var s=Q(),o=q(s);return ie(o,()=>n()??Pe),l(w,s),re({get children(){return n()},set children(i){n(i),b()},get defaultPortalTo(){return r()},set defaultPortalTo(i){r(i),b()},get defaultLocale(){return a()},set defaultLocale(i){a(i),b()}})}ae(gt,{children:{},defaultPortalTo:{},defaultLocale:{}},[],[],!0);const Ye=$t({component:"collapsible",parts:["root","content","trigger"]}),Ge=new qt("Collapsible.Root");class Je{static create(e){return Ge.set(new Je(e))}opts;attachment;#e=U(null);get contentNode(){return t(this.#e)}set contentNode(e){D(this.#e,e,!0)}#t=U(void 0);get contentId(){return t(this.#t)}set contentId(e){D(this.#t,e,!0)}constructor(e){this.opts=e,this.toggleOpen=this.toggleOpen.bind(this),this.attachment=$e(this.opts.ref),new Kt({ref:ne.with(()=>this.contentNode),open:this.opts.open,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}})}toggleOpen(){this.opts.open.current=!this.opts.open.current}#r=j(()=>({id:this.opts.id.current,"data-state":We(this.opts.open.current),"data-disabled":Ke(this.opts.disabled.current),[Ye.root]:"",...this.attachment}));get props(){return t(this.#r)}set props(e){D(this.#r,e)}}class Xe{static create(e){return new Xe(e,Ge.get())}opts;root;attachment;#e=j(()=>this.opts.forceMount.current||this.root.opts.open.current);get present(){return t(this.#e)}set present(e){D(this.#e,e)}#t;#r=U(!1);#a=U(0);#n=U(0);constructor(e,n){this.opts=e,this.root=n,D(this.#r,n.opts.open.current,!0),this.root.contentId=this.opts.id.current,this.attachment=$e(this.opts.ref,r=>this.root.contentNode=r),tt.pre(()=>this.opts.id.current,r=>{this.root.contentId=r}),Ft(()=>{const r=requestAnimationFrame(()=>{D(this.#r,!1)});return()=>{cancelAnimationFrame(r)}}),tt([()=>this.opts.ref.current,()=>this.present],([r])=>{r&&Wt(()=>{if(!this.opts.ref.current)return;this.#t=this.#t||{transitionDuration:r.style.transitionDuration,animationName:r.style.animationName},r.style.transitionDuration="0s",r.style.animationName="none";const a=r.getBoundingClientRect();if(D(this.#n,a.height,!0),D(this.#a,a.width,!0),!t(this.#r)){const{animationName:s,transitionDuration:o}=this.#t;r.style.transitionDuration=o,r.style.animationName=s}})})}#s=j(()=>({open:this.root.opts.open.current}));get snippetProps(){return t(this.#s)}set snippetProps(e){D(this.#s,e)}#o=j(()=>({id:this.opts.id.current,style:{"--bits-collapsible-content-height":t(this.#n)?`${t(this.#n)}px`:void 0,"--bits-collapsible-content-width":t(this.#a)?`${t(this.#a)}px`:void 0},"data-state":We(this.root.opts.open.current),"data-disabled":Ke(this.root.opts.disabled.current),[Ye.content]:"",...this.attachment}));get props(){return t(this.#o)}set props(e){D(this.#o,e)}}class Ze{static create(e){return new Ze(e,Ge.get())}opts;root;attachment;#e=j(()=>this.opts.disabled.current||this.root.opts.disabled.current);constructor(e,n){this.opts=e,this.root=n,this.attachment=$e(this.opts.ref),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this)}onclick(e){if(!t(this.#e)){if(e.button!==0)return e.preventDefault();this.root.toggleOpen()}}onkeydown(e){t(this.#e)||(e.key===It||e.key===Ht)&&(e.preventDefault(),this.root.toggleOpen())}#t=j(()=>({id:this.opts.id.current,type:"button",disabled:t(this.#e),"aria-controls":this.root.contentId,"aria-expanded":zt(this.root.opts.open.current),"data-state":We(this.root.opts.open.current),"data-disabled":Ke(t(this.#e)),[Ye.trigger]:"",onclick:this.onclick,onkeydown:this.onkeydown,...this.attachment}));get props(){return t(this.#t)}set props(e){D(this.#t,e)}}var wr=F("<div><!></div>");function pt(w,e){const n=De();te(e,!0);let r=y(e,"children",7),a=y(e,"child",7),s=y(e,"id",23,()=>we(n)),o=y(e,"ref",15,null),i=y(e,"open",15,!1),h=y(e,"disabled",7,!1),g=y(e,"onOpenChange",7,Te),C=y(e,"onOpenChangeComplete",7,Te),x=Ne(e,["$$slots","$$events","$$legacy","$$host","children","child","id","ref","open","disabled","onOpenChange","onOpenChangeComplete"]);const _=Je.create({open:ne.with(()=>i(),c=>{i(c),g()(c)}),disabled:ne.with(()=>h()),id:ne.with(()=>s()),ref:ne.with(()=>o(),c=>o(c)),onOpenChangeComplete:ne.with(()=>C())}),N=j(()=>Re(x,_.props));var S=Q(),k=q(S);{var m=c=>{var E=Q(),P=q(E);ie(P,a,()=>({props:t(N)})),l(c,E)},v=c=>{var E=wr();Se(E,()=>({...t(N)}));var P=f(E);ie(P,()=>r()??Pe),d(E),l(c,E)};W(k,c=>{a()?c(m):c(v,!1)})}return l(w,S),re({get children(){return r()},set children(c){r(c),b()},get child(){return a()},set child(c){a(c),b()},get id(){return s()},set id(c=we(n)){s(c),b()},get ref(){return o()},set ref(c=null){o(c),b()},get open(){return i()},set open(c=!1){i(c),b()},get disabled(){return h()},set disabled(c=!1){h(c),b()},get onOpenChange(){return g()},set onOpenChange(c=Te){g(c),b()},get onOpenChangeComplete(){return C()},set onOpenChangeComplete(c=Te){C(c),b()}})}ae(pt,{children:{},child:{},id:{},ref:{},open:{},disabled:{},onOpenChange:{},onOpenChangeComplete:{}},[],[],!0);var Sr=F("<div><!></div>");function _t(w,e){const n=De();te(e,!0);let r=y(e,"child",7),a=y(e,"ref",15,null),s=y(e,"forceMount",7,!1),o=y(e,"children",7),i=y(e,"id",23,()=>we(n)),h=Ne(e,["$$slots","$$events","$$legacy","$$host","child","ref","forceMount","children","id"]);const g=Xe.create({id:ne.with(()=>i()),forceMount:ne.with(()=>s()),ref:ne.with(()=>a(),C=>a(C))});return jt(w,{forceMount:!0,get open(){return g.present},get ref(){return g.opts.ref},presence:(x,_)=>{let N=()=>_?.().present;var S=Q();const k=j(()=>Re(h,g.props,{hidden:s()?void 0:!N()}));var m=q(S);{var v=E=>{var P=Q(),V=q(P);{let z=j(()=>({...g.snippetProps,props:t(k)}));ie(V,r,()=>t(z))}l(E,P)},c=E=>{var P=Sr();Se(P,()=>({...t(k)}));var V=f(P);ie(V,()=>o()??Pe),d(P),l(E,P)};W(m,E=>{r()?E(v):E(c,!1)})}l(x,S)},$$slots:{presence:!0}}),re({get child(){return r()},set child(C){r(C),b()},get ref(){return a()},set ref(C=null){a(C),b()},get forceMount(){return s()},set forceMount(C=!1){s(C),b()},get children(){return o()},set children(C){o(C),b()},get id(){return i()},set id(C=we(n)){i(C),b()}})}ae(_t,{child:{},ref:{},forceMount:{},children:{},id:{}},[],[],!0);var xr=F("<button><!></button>");function mt(w,e){const n=De();te(e,!0);let r=y(e,"children",7),a=y(e,"child",7),s=y(e,"ref",15,null),o=y(e,"id",23,()=>we(n)),i=y(e,"disabled",7,!1),h=Ne(e,["$$slots","$$events","$$legacy","$$host","children","child","ref","id","disabled"]);const g=Ze.create({id:ne.with(()=>o()),ref:ne.with(()=>s(),k=>s(k)),disabled:ne.with(()=>i())}),C=j(()=>Re(h,g.props));var x=Q(),_=q(x);{var N=k=>{var m=Q(),v=q(m);ie(v,a,()=>({props:t(C)})),l(k,m)},S=k=>{var m=xr();Se(m,()=>({...t(C)}));var v=f(m);ie(v,()=>r()??Pe),d(m),l(k,m)};W(_,k=>{a()?k(N):k(S,!1)})}return l(w,x),re({get children(){return r()},set children(k){r(k),b()},get child(){return a()},set child(k){a(k),b()},get ref(){return s()},set ref(k=null){s(k),b()},get id(){return o()},set id(k=we(n)){o(k),b()},get disabled(){return i()},set disabled(k=!1){i(k),b()}})}ae(mt,{children:{},child:{},ref:{},id:{},disabled:{}},[],[],!0);var Pr=F("<div></div>"),Or=F('<span class="sr-only">Close</span> <!>',1),Nr=F('<div><div class="dialog-header"><!> <!></div> <!></div>'),Er=F("<!> <!>",1);function bt(w,e){te(e,!0);let n=y(e,"open",7),r=y(e,"content",7),a=y(e,"title",7),s=y(e,"onClose",7);const o={duration:Number(u.theme.components.dialog.custom?.transitionDuration)||200,delay:Number(u.theme.components.dialog.custom?.transitionDelay)||0,y:Number(u.theme.components.dialog.custom?.transitionY)||10},i=x=>{x||s()()};var h=Q(),g=q(h);{var C=x=>{var _=Q(),N=q(_);pe(N,()=>Yt,(S,k)=>{k(S,{get open(){return n()},onOpenChange:i,children:(m,v)=>{var c=Q(),E=q(c);pe(E,()=>Qt,(P,V)=>{V(P,{get to(){return u.targets.portals},children:(z,R)=>{var A=Er(),O=q(A);{const K=(B,I)=>{let G=()=>I?.().props,Y=()=>I?.().open;var se=Q(),oe=q(se);{var p=T=>{var L=Pr();Se(L,()=>({...G(),class:"dialog-overlay"})),fe(3,L,()=>je,()=>o),l(T,L)};W(oe,T=>{Y()&&T(p)})}l(B,se)};pe(O,()=>Ut,(B,I)=>{I(B,{forceMount:!0,child:K,$$slots:{child:!0}})})}var $=M(O,2);{const K=(B,I)=>{let G=()=>I?.().props,Y=()=>I?.().open;var se=Q(),oe=q(se);{var p=T=>{var L=Nr();Se(L,()=>({...G(),class:"dialog-content"}));var Z=f(L),ee=f(Z);pe(ee,()=>Gt,(ce,de)=>{de(ce,{class:"dialog-title",children:(ue,H)=>{var J=Q(),me=q(J);ie(me,()=>a()??Pe),l(ue,J)},$$slots:{default:!0}})});var ge=M(ee,2);pe(ge,()=>Jt,(ce,de)=>{de(ce,{class:"dialog-close",children:(ue,H)=>{var J=Or(),me=M(q(J),2);Be(me,{name:"dismiss"}),l(ue,J)},$$slots:{default:!0}})}),d(Z);var le=M(Z,2);pe(le,()=>ht,(ce,de)=>{de(ce,{class:"dialog-description",children:(ue,H)=>{var J=Q(),me=q(J);ie(me,r),l(ue,J)},$$slots:{default:!0}})}),d(L),fe(3,L,()=>Ae,()=>o),l(T,L)};W(oe,T=>{Y()&&T(p)})}l(B,se)};pe($,()=>Vt,(B,I)=>{I(B,{forceMount:!0,child:K,$$slots:{child:!0}})})}l(z,A)},$$slots:{default:!0}})}),l(m,c)},$$slots:{default:!0}})}),l(x,_)};W(g,x=>{u.targets.portals&&x(C)})}return l(w,h),re({get open(){return n()},set open(x){n(x),b()},get content(){return r()},set content(x){r(x),b()},get title(){return a()},set title(x){a(x),b()},get onClose(){return s()},set onClose(x){s(x),b()}})}ae(bt,{open:{},content:{},title:{},onClose:{}},[],[],!0);var Mr=F('<form name="feedback-form" class="form"><!> <div class="form__item"><label class="form__label" for="feedback"> </label> <textarea id="feedback" class="input"></textarea></div> <div class="form__item"><label class="form__label" for="email"> </label> <input type="email" id="email" class="input"/></div> <button type="submit" class="btn btn--primary"> </button></form>');function yt(w,e){te(e,!0);let n=j(()=>u.t),r=y(e,"logic",7),a=U(""),s=U(""),o=U(void 0),i=U(void 0),h=j(()=>t(o)!==void 0||t(i)!==void 0||t(a)!=="");{const g=_=>{var N=Q(),S=q(N);Le(S,()=>t(n).feedbackFormTitle),l(_,N)},C=_=>{var N=Mr(),S=f(N);Xt(S,{get classificationConfig(){return r().data.chatConfig.classification},get impact(){return t(o)},set impact(O){D(o,O,!0)},get quality(){return t(i)},set quality(O){D(i,O,!0)}});var k=M(S,2),m=f(k),v=f(m,!0);d(m);var c=M(m,2);At(c),d(k);var E=M(k,2),P=f(E),V=f(P,!0);d(P);var z=M(P,2);Zt(z),d(E);var R=M(E,2),A=f(R,!0);d(R),d(N),X(()=>{he(v,t(n).feedbackFormMessage),ye(c,"placeholder",t(n).feedbackFormMessagePlaceholder),he(V,t(n).feedbackFormEmail),ye(z,"placeholder",t(n).feedbackFormEmailPlaceholder),R.disabled=!t(h),he(A,t(n).send)}),_e("submit",N,async O=>{O.preventDefault(),r().data.chatConfig.classification?await r().submitFeedback({email:t(s),message:t(a),classification:{impact:t(o),quality:t(i)}}):await r().submitFeedback({email:t(s),message:t(a)}),D(o,void 0),D(i,void 0),D(a,""),r().closeFeedback()}),rt(c,()=>t(a),O=>D(a,O)),rt(z,()=>t(s),O=>D(s,O)),l(_,N)};let x=j(()=>!!r().data.feedbackOpenedId||r().data.feedbackOpenedConversation);bt(w,{get open(){return t(x)},get onClose(){return r().closeFeedback},title:g,content:C,$$slots:{title:!0,content:!0}})}return re({get logic(){return r()},set logic(g){r(g),b()}})}ae(yt,{logic:{}},[],[],!0);let Fe;function Tr(w,e,n,r,a){Fe&&cancelAnimationFrame(Fe);const s=w instanceof Window?window.scrollY:w[r],o=performance.now();function i(h){const g=h-o,C=Math.min(g/n,1),x=a(C),_=s+(e-s)*x;w instanceof Window?window.scrollTo({top:_,behavior:"instant"}):w[r]=_,C<1?Fe=requestAnimationFrame(i):w.dispatchEvent(new CustomEvent("scrollcomplete"))}Fe=requestAnimationFrame(i)}var Fr=()=>u.openConverstionFeedback(),Ar=F('<button class="chat-page__give-feedback btn btn--primary"> </button>'),Dr=(w,e)=>{e(500)},Rr=F('<div class="chat-page__footer-text"><!></div>'),Br=F('<section class="chat-page"><!> <div class="chat-page__body"><div class="chat-page__messages"></div> <div class="chat-page__buttons"><!></div></div> <div class="chat-page__footer"><div class="container"><div class="chat-page__footer-content"><button><span class="sr-only"> </span> <!></button> <!> <!></div></div></div></section>');function Ct(w,e){te(e,!0);let n=j(()=>u.t),r=U(!1),a,s,o,i,h;const g=90,C=p=>{h&&Tr(h,h.scrollHeight-h.clientHeight,p,"scrollTop",tr)},x=()=>{if(!h)return;const p=h.scrollHeight-h.scrollTop-h.clientHeight<g;D(r,!p)},_=()=>{x()},N=p=>{if(p.altKey&&p.code==="KeyR"){p.preventDefault();const T=u.data.history.findLast(L=>L.type==="user")?.message;u.goto({name:"start-page",prefill:T})}},S=()=>{setTimeout(()=>{const p=a.closest(".chat-app__container"),T=p?.querySelector(".chat-page__messages"),L=p?.querySelectorAll(".chat-page__messages .message--user");if(p&&T&&L){const Z=p.clientHeight,ee=p.querySelector(".chat-app__header").offsetHeight,ge=o.offsetHeight,le=i.offsetHeight,ce=L[L.length-1].offsetHeight,de=parseInt(getComputedStyle(T).gap),ue=Z-ee-le-ge-ce-de*2;s.style.setProperty("--last-bot-message-min-height",`${ue}px`)}C(1e3)},50)},k=()=>{u.onSubmit()};ve(()=>{a&&(h=a.closest(".chat-app__main"))}),ve(()=>{if(h)return h.addEventListener("scroll",x),()=>{h.removeEventListener("scroll",x)}});var m=Br();_e("resize",ze,_),_e("keypress",ze,N);var v=f(m);yt(v,{get logic(){return u}});var c=M(v,2),E=f(c);ke(E,21,()=>u.data.history,p=>p?.id??p?.time,(p,T)=>{er(p,{get message(){return t(T)},onmessageupdate:x,onbotmessageinit:S,get logic(){return u}})}),d(E),be(E,p=>s=p,()=>s);var P=M(E,2),V=f(P);{var z=p=>{var T=Ar();T.__click=[Fr];var L=f(T,!0);d(T),X(()=>he(L,t(n).giveFeedback)),l(p,T)};W(V,p=>{u.data.chatConfig.showOverallFeedbackButton&&p(z)})}d(P),be(P,p=>o=p,()=>o),d(c);var R=M(c,2),A=f(R),O=f(A),$=f(O);$.__click=[Dr,C];let K;var B=f($),I=f(B,!0);d(B);var G=M(B,2);Be(G,{name:"chevronDown"}),d($);var Y=M($,2);lt(Y,{onSubmit:k,class:"chat-page__chat-input"});var se=M(Y,2);{var oe=p=>{var T=Rr(),L=f(T);Le(L,()=>t(n).chatFooterText),d(T),l(p,T)};W(se,p=>{t(n).chatFooterText!==void 0&&p(oe)})}d(O),d(A),d(R),be(R,p=>i=p,()=>i),d(m),be(m,p=>a=p,()=>a),X(p=>{K=Oe($,1,"chat-page__scroll-to-bottom btn btn--secondary btn--square",null,K,p),he(I,t(n).scrollToBottom)},[()=>({"chat-page__scroll-to-bottom--hidden":!t(r)})]),l(w,m),re()}Dt(["click"]);ae(Ct,{},[],[],!0);var Lr=F("<div><div><!></div></div>");function kt(w,e){te(e,!0);let n=y(e,"class",7),r=y(e,"children",7),a=U(void 0);var s=Lr();let o;var i=f(s),h=f(i);return ie(h,()=>r()??Pe),d(i),d(s),X(g=>{Oe(s,1,Qe(["animated-height",n()])),o=qe(s,"",o,g)},[()=>({height:t(a)?`${t(a)}px`:"auto"})]),ft(i,"clientHeight",g=>D(a,g)),l(w,s),re({get class(){return n()},set class(g){n(g),b()},get children(){return r()},set children(g){r(g),b()}})}ae(kt,{class:{},children:{}},[],[],!0);var qr=F('<div class="references__toggle-title"> </div> <!>',1),Ir=F('<div><div class="references__items"></div></div>'),Hr=F("<!> <!>",1),zr=F('<div class="references__items"><!> <!></div>'),$r=F('<div><div class="references__container"><div class="references__transition"><!></div></div></div>');function wt(w,e){te(e,!0);let n=y(e,"class",7),r=j(()=>u.data.history.filter(_=>_.type==="bot").find(_=>_.id===u.data.currentReferencesAsideId)?.references),a=j(()=>u.data.currentReferencesAsideId),s=U(void 0),o=U(!1),i=U(void 0);ve(()=>{t(a)&&D(o,!1),D(s,t(a),!0)}),ve(()=>{t(o)&&setTimeout(()=>{t(i)?.scrollIntoView({behavior:"smooth"})},200)});var h=$r(),g=f(h),C=f(g),x=f(C);return ct(x,()=>u.data.currentReferencesAsideId,_=>{var N=zr(),S=f(N);ke(S,17,()=>t(r)?.used,xe,(v,c)=>{nt(v,{get reference(){return t(c)}})});var k=M(S,2);{var m=v=>{kt(v,{children:(c,E)=>{var P=Q(),V=q(P);pe(V,()=>pt,(z,R)=>{R(z,{get class(){return`references__further ${n()??""}`},get open(){return t(o)},set open(A){D(o,A,!0)},children:(A,O)=>{var $=Hr(),K=q($);pe(K,()=>mt,(I,G)=>{G(I,{class:"references__toggle transition-colors",children:(Y,se)=>{var oe=qr(),p=q(oe),T=f(p,!0);d(p);var L=M(p,2);Be(L,{name:"chevronDown",class:"references__toggle-icon"}),X(()=>he(T,u.t.referencesFurtherTitle)),l(Y,oe)},$$slots:{default:!0}})});var B=M(K,2);{const I=(G,Y)=>{let se=()=>Y?.().props,oe=()=>Y?.().open;var p=Q(),T=q(p);{var L=Z=>{var ee=Ir();Se(ee,()=>({...se(),class:"references__container"}));var ge=f(ee);ke(ge,21,()=>t(r)?.unused,xe,(le,ce)=>{nt(le,{get reference(){return t(ce)}})}),d(ge),d(ee),be(ee,le=>D(i,le),()=>t(i)),fe(1,ee,()=>Ae,()=>({duration:500,easing:at,y:50})),fe(2,ee,()=>je,()=>({duration:100})),l(Z,ee)};W(T,Z=>{oe()&&Z(L)})}l(G,p)};pe(B,()=>_t,(G,Y)=>{Y(G,{forceMount:!0,child:I,$$slots:{child:!0}})})}l(A,$)},$$slots:{default:!0}})}),l(c,P)},$$slots:{default:!0}})};W(k,v=>{t(r)?.unused&&v(m)})}d(N),fe(2,N,()=>Ue,()=>({duration:200,delay:t(a)?0:200})),fe(1,N,()=>Ae,()=>t(s)?{delay:200,duration:500,easing:at,y:50}:{duration:0,y:0}),l(_,N)}),d(C),d(g),d(h),X(()=>Oe(h,1,Qe(["references",n()]))),l(w,h),re({get class(){return n()},set class(_){n(_),b()}})}ae(wt,{class:{}},[],[],!0);var Kr=F('<div><!> <h1 class="introduction__title"><!></h1></div>');function St(w,e){te(e,!0);let n=j(()=>u.t),r=y(e,"class",7);var a=Kr(),s=f(a);rr(s,{class:"introduction__avatar"});var o=M(s,2),i=f(o);return Le(i,()=>t(n).introductionTitle),d(o),d(a),X(()=>Oe(a,1,`introduction ${r()??""}`)),l(w,a),re({get class(){return r()},set class(h){r(h),b()}})}ae(St,{class:{}},[],[],!0);var Wr=F("<div></div>");function xt(w,e){te(e,!0);let n=y(e,"class",7),r=Ne(e,["$$slots","$$events","$$legacy","$$host","class"]);var a=Wr();return Se(a,s=>({class:`predefined-questions ${n()??""}`,...r,[ar]:s}),[()=>({"predefined-questions--pii-padding":u.data.questionHasPii})]),ke(a,21,()=>u.data.predefinedQuestions,xe,(s,o)=>{nr(s,{get predefinedQuestion(){return t(o)},get onSubmit(){return u.onStartConversation}})}),d(a),l(w,a),re({get class(){return n()},set class(s){n(s),b()}})}ae(xt,{class:{}},[],[],!0);var jr=F('<div class="introduction-disclaimer text-container fly-in" style="--fly-in-id: 3;"><!></div>'),Qr=F("<section><!> <!> <!> <!></section>");function Pt(w,e){te(e,!0);let n=j(()=>u.t),r=U(!1);ve(()=>{D(r,!0)});var a=Qr();let s;var o=f(a);St(o,{class:"start-page__introduction fly-in"});var i=M(o,2);lt(i,{get onSubmit(){return u.onStartConversation},class:"start-page__chat-input fly-in",style:"--fly-in-id: 1;",isStartPage:!0});var h=M(i,2);{var g=_=>{xt(_,{class:"start-page__predefined-questions fly-in",style:"--fly-in-id: 2;"})};W(h,_=>{u.data.predefinedQuestions&&u.data.predefinedQuestions.length&&_(g)})}var C=M(h,2);{var x=_=>{var N=jr(),S=f(N);Le(S,()=>t(n).introductionDisclaimer),d(N),l(_,N)};W(C,_=>{t(n).introductionDisclaimer&&_(x)})}d(a),X(_=>s=Oe(a,1,"start-page container",null,s,_),[()=>({mounted:t(r)})]),l(w,a),re()}ae(Pt,{},[],[],!0);function ot(w,{delay:e=0,duration:n=200,easing:r=o=>o,baseScale:a=0,transformOrigin:s="bottom right"}={}){if(window.matchMedia("(prefers-reduced-motion: reduce)").matches)return{delay:0,duration:0,css:()=>`opacity: 1; transform: scale(1); transform-origin: ${s};`};const i=getComputedStyle(w),h=+i.opacity,g=i.transform.match(/scale\(([0-9.]+)\)/),C=g?+g[1]:1,x=1-a;return{delay:e,duration:n,css:_=>{const N=r(_),S=N*C*x+a;return`opacity: ${N*h}; transform: scale(${S}); transform-origin: ${s};`}}}var Ur=F('<div class="loader-container svelte-jdm8uf"><svg width="40" height="40" viewBox="0 0 24 24"><circle cx="4" cy="12" r="3"><animate id="spinner_qFRN" begin="0;spinner_OcgL.end+0.25s" attributeName="cy" calcMode="spline" dur="0.6s" values="12;6;12" keySplines=".33,.66,.66,1;.33,0,.66,.33"></animate></circle><circle cx="12" cy="12" r="3"><animate begin="spinner_qFRN.begin+0.1s" attributeName="cy" calcMode="spline" dur="0.6s" values="12;6;12" keySplines=".33,.66,.66,1;.33,0,.66,.33"></animate></circle><circle cx="20" cy="12" r="3"><animate id="spinner_OcgL" begin="spinner_qFRN.begin+0.2s" attributeName="cy" calcMode="spline" dur="0.6s" values="12;6;12" keySplines=".33,.66,.66,1;.33,0,.66,.33"></animate></circle></svg></div>');const Vr={hash:"svelte-jdm8uf",code:".loader-container.svelte-jdm8uf {display:flex;z-index:var(--z-index-loader);position:absolute;top:0;right:0;bottom:0;left:0;align-items:center;justify-content:center;background-color:#fff;}"};function Ot(w,e){te(e,!0),sr(w,Vr);let n=y(e,"color",7),r=y(e,"background",7);var a=Ur(),s=f(a);return d(a),X(()=>{qe(a,r()?`background: ${r()};`:""),ye(s,"fill",n()??"rgba(127, 127, 127, 0.3)")}),l(w,a),re({get color(){return n()},set color(o){n(o),b()},get background(){return r()},set background(o){r(o),b()}})}ae(Ot,{color:{},background:{}},[],[],!0);var Yr=F('<div class="flyout__content"><!></div>'),Gr=F('<div><div class="flyout__body"><!></div></div>'),Jr=F('<!> <div class="chat-app__container"><div class="chat-app__loader-container"><!></div></div>',1);function Nt(w,e){te(e,!0);let n=y(e,"children",7),r=y(e,"loaderColor",7),a=y(e,"loaderBackground",7),s=y(e,"flyout",7),o=y(e,"flyoutClass",7),i=y(e,"flyoutStyle",7),h=y(e,"onCloseChat",7),g=y(e,"onError",7),C=Ne(e,["$$slots","$$events","$$legacy","$$host","children","loaderColor","loaderBackground","flyout","flyoutClass","flyoutStyle","onCloseChat","onError"]),x;const _=v=>{ve(()=>{const c=E=>{x=E};return v.addEventListener("click",c),()=>{v.removeEventListener("click",c),x=void 0}})};var N=Q();_e("click",ze,v=>{v!==x&&s()&&h()()});var S=q(N);{var k=v=>{var c=Q(),E=q(c);{var P=z=>{},V=z=>{var R=Gr(),A=f(R),O=f(A);{var $=B=>{var I=Yr(),G=f(I);ie(G,n),d(I),fe(1,I,()=>ot,()=>({delay:0,duration:500,easing:st,baseScale:.3})),fe(2,I,()=>ot,()=>({delay:0,duration:300,easing:st,baseScale:.7})),l(B,I)},K=B=>{yr(B,vt({get onError(){return g()},onclick:I=>{I.stopPropagation(),u.openFlyout()},buttonClass:"flyout__open-button"},()=>C))};W(O,B=>{u.data.flyoutIsOpen?B($):B(K,!1)})}d(A),dt(A,B=>_?.(B)),d(R),X(()=>{qe(R,i()),Oe(R,1,Qe(["flyout",o()]))}),l(z,R)};W(E,z=>{u.initialized?z(V,!1):z(P)})}l(v,c)},m=v=>{var c=Q(),E=q(c);{var P=z=>{var R=Jr(),A=q(R);Me(A,{id:"app-css",get css(){return ut}});var O=M(A,2),$=f(O),K=f($);or(K,e,"loader",{},B=>{Ot(B,{get background(){return a()},get color(){return r()}})}),d($),d(O),fe(2,O,()=>Ue,()=>({duration:200,delay:300})),l(z,R)},V=z=>{var R=Q(),A=q(R);ie(A,n),l(z,R)};W(E,z=>{u.initialized?z(V,!1):z(P)})}l(v,c)};W(S,v=>{s()?v(k):v(m,!1)})}return l(w,N),re({get children(){return n()},set children(v){n(v),b()},get loaderColor(){return r()},set loaderColor(v){r(v),b()},get loaderBackground(){return a()},set loaderBackground(v){a(v),b()},get flyout(){return s()},set flyout(v){s(v),b()},get flyoutClass(){return o()},set flyoutClass(v){o(v),b()},get flyoutStyle(){return i()},set flyoutStyle(v){i(v),b()},get onCloseChat(){return h()},set onCloseChat(v){h(v),b()},get onError(){return g()},set onError(v){g(v),b()}})}ae(Nt,{children:{},loaderColor:{},loaderBackground:{},flyout:{},flyoutClass:{},flyoutStyle:{},onCloseChat:{},onError:{}},["loader"],[],!0);var Xr=F('<span class="reference__description line-clamp line-clamp--6"> </span>'),Zr=F('<span class="reference__breadcrumb transition-colors"> </span>'),ea=F('<span class="reference__footer"><span class="reference__domain transition-colors"><span class="truncate"> </span></span> <!></span>'),ta=F('<div class="reference-number__content-wrapper" role="tooltip"><a class="reference-number__content transition-colors no-link-styling" target="_blank" rel="noopener noreferrer"><span class="reference__header"><h3 class="reference__title line-clamp line-clamp--2 h4"> </h3> <!></span> <!> <!></a></div>'),ra=F('<div class="reference-number"><a target="_blank" rel="noopener noreferrer" class="reference-number__trigger transition-colors no-link-styling"> </a> <!></div>');function aa(w,e){te(e,!0);let n=j(()=>u.t),r=y(e,"usedNumber",7),a=y(e,"source",7),s=U(!1),o,i,h=U(void 0);const g=a();let C=j(()=>g.display.card.title),x=j(()=>g.display.card.description),_=j(()=>g.display.card.badge),N=j(()=>g.display.card.breadcrumbs);const S={duration:Number(u.theme.components.referenceNumberContent.custom?.transitionDuration)||200,delay:Number(u.theme.components.referenceNumberContent.custom?.transitionDelay)||0,y:Number(u.theme.components.referenceNumberContent.custom?.transitionY)||10},k=async()=>{if(!i||!t(h))return;const{x:A,y:O}=await ir(i,t(h),{placement:"top",middleware:[lr(8),cr(),dr({padding:8})]});Object.assign(t(h).style,{left:`${A}px`,top:`${O}px`})},m=()=>{o&&(clearTimeout(o),o=void 0)},v=()=>{m(),o=setTimeout(()=>{D(s,!1)},100)},c=()=>{m(),D(s,!0)};ve(()=>{t(s)&&k()});var E=ra(),P=f(E),V=f(P,!0);d(P),be(P,A=>i=A,()=>i);var z=M(P,2);{var R=A=>{var O=ta(),$=f(O),K=f($),B=f(K),I=f(B,!0);d(B);var G=M(B,2);Be(G,{name:"externalLink",class:"reference__icon transition-colors"}),d(K);var Y=M(K,2);{var se=T=>{var L=Xr(),Z=f(L,!0);d(L),X(()=>he(Z,t(x))),l(T,L)};W(Y,T=>{t(x)&&T(se)})}var oe=M(Y,2);{var p=T=>{var L=ea(),Z=f(L),ee=f(Z),ge=f(ee,!0);d(ee),d(Z);var le=M(Z,2);{var ce=de=>{var ue=Q(),H=q(ue);ke(H,17,()=>t(N),xe,(J,me)=>{var Ee=Zr(),Ie=f(Ee,!0);d(Ee),X(()=>he(Ie,t(me))),l(J,Ee)}),l(de,ue)};W(le,de=>{t(N)&&de(ce)})}d(L),X(()=>he(ge,t(_))),l(T,L)};W(oe,T=>{t(_)&&T(p)})}d($),d(O),be(O,T=>D(h,T),()=>t(h)),X(()=>{ye($,"href",g.url),he(I,t(C))}),_e("mouseenter",O,c),_e("mouseleave",O,v),fe(3,O,()=>Ae,()=>S),l(A,O)};W(z,A=>{t(s)&&A(R)})}return d(E),X(()=>{ye(P,"href",g.url),ye(P,"aria-label",`${t(n).referenceLink??""}: ${t(C)??""}`),he(V,r())}),_e("mouseenter",P,c),_e("mouseleave",P,v),_e("focus",P,()=>D(s,!0)),_e("blur",P,()=>D(s,!1)),l(w,E),re({get usedNumber(){return r()},set usedNumber(A){r(A),b()},get source(){return a()},set source(A){a(A),b()}})}customElements.define("liipgpt-reference-number",ae(aa,{source:{attribute:"data-source",type:"Object"},refNumber:{attribute:"data-all-index",type:"String"},usedNumber:{attribute:"data-used-index",type:"String"}},[],[],!1));var na=F('<link rel="stylesheet"/>'),sa=F('<link rel="stylesheet"/>'),oa=F("<!> <!> <!>",1),ia=F('<link rel="stylesheet"/>'),la=F("<!> <!> <!> <!>",1),ca=F('<div class="chat-app__page-transition"><!></div>'),da=F('<div class="chat-app__container"><div class="chat-app__main"><div class="chat-app__portals"></div> <div class="chat-app__header"><div class="container"><div><!> <!> <!> <!></div></div></div> <div class="chat-app__body"><!></div> <!></div> <!></div>'),ua=F('<main class="chat-app"><!> <!></main>');function va(w,e){te(e,!0);let n=y(e,"host",7),r=y(e,"onError",7),a=Ne(e,["$$slots","$$events","$$legacy","$$host","host","onError"]);ve(()=>{const m={forceTheme:e.forceTheme,apiUrl:e.apiUrl,apiKey:e.apiKey,speechRecognitionApiKey:e.speechRecognitionApiKey,lang:e.lang,features:e.features,loaderBackground:e.loaderBackground,loaderColor:e.loaderColor,flyout:e.flyout,flyoutStyle:e.flyoutStyle,flyoutClass:e.flyoutClass};it(()=>u.init(m).catch(v=>r()(v)))});let s=j(()=>u.data.route.name);const o=()=>{u.closeFlyout(),n().dispatchEvent(new CustomEvent("closechat"))};ve(()=>{u.initialized&&u.data?.chatConfig&&n().dispatchEvent(new CustomEvent("configloaded",{detail:u.data.chatConfig}))});let i=U(void 0),h=U(0);const g=br.fineGrained?.light?.tokens?.components?.aside?.custom?.containerWidthForMobileLayout;let C=U(!1),x=j(()=>u.data.props.flyout||t(h)<=g),_=U(void 0),N=U(!1),S=U(0);ve(()=>{if(t(_)&&t(_).firstElementChild instanceof HTMLElement){const m=getComputedStyle(t(_).firstElementChild);D(S,parseFloat(m.paddingTop)||0,!0)}}),ve(()=>{let m=!1;const v=()=>{m||(m=!0,requestAnimationFrame(()=>{t(i)&&(m=!1,D(N,t(i).scrollTop>=t(S)+1))}))};return v(),t(i)?.addEventListener("scroll",v,{passive:!0}),()=>t(i)?.removeEventListener("scroll",v)});const k=()=>{u.closeReferencesAside()};return ve(()=>{u.data.currentReferencesAsideId?D(C,!0):D(C,!1)}),Rt(m=>{var v=Q(),c=q(v);{var E=P=>{var V=oa(),z=q(V);ke(z,17,()=>u.themeBase.fontURLs??[],xe,(O,$)=>{var K=na();X(()=>ye(K,"href",t($))),l(O,K)});var R=M(z,2);ke(R,17,()=>u.data.additionalStylesheets,xe,(O,$)=>{var K=sa();X(()=>ye(K,"href",t($))),l(O,K)});var A=M(R,2);Me(A,{id:"font-css",get css(){return u.themeBase.fontCSS}}),l(P,V)};W(c,P=>{u.initialized&&P(E)})}l(m,v)}),gt(w,{get defaultPortalTo(){return t(i)},children:(m,v)=>{var c=ua();let E;var P=f(c);{var V=R=>{var A=la(),O=q(A);{let I=j(()=>ur(u.theme));Me(O,{id:"theme-css",get css(){return t(I)}})}var $=M(O,2);Me($,{id:"app-css",get css(){return ut}});var K=M($,2);Me(K,{id:"custom-css",get css(){return u.themeBase.customCSS}});var B=M(K,2);ke(B,17,()=>u.data.additionalStylesheets,xe,(I,G)=>{var Y=ia();X(()=>ye(Y,"href",t(G))),l(I,Y)}),l(R,A)};W(P,R=>{u.initialized&&R(V)})}var z=M(P,2);Nt(z,vt({onCloseChat:o,get onError(){return r()}},()=>a,{children:(R,A)=>{var O=da(),$=f(O),K=f($);dt(K,(H,J)=>vr?.(H,J),()=>"portals");var B=M(K,2),I=f(B),G=f(I);let Y;var se=f(G);{var oe=H=>{gr(H,{})};W(se,H=>{t(s)!=="start-page"&&H(oe)})}var p=M(se,2);{var T=H=>{pr(H,{get logic(){return u}})};W(p,H=>{u.data.chatConfig.showContextInfo&&H(T)})}var L=M(p,2);{var Z=H=>{_r(H,{get chatLogic(){return u}})};W(L,H=>{u.data.chatConfig.showContextMenu&&H(Z)})}var ee=M(L,2);{var ge=H=>{mr(H,{onclick:o})};W(ee,H=>{(u.data.chatConfig.showCloseChatButton||u.data.props.flyout)&&H(ge)})}d(G),d(I),d(B);var le=M(B,2),ce=f(le);ct(ce,()=>t(s),H=>{var J=ca(),me=f(J);{var Ee=Ce=>{Pt(Ce,{})},Ie=Ce=>{var et=Q(),Et=q(et);{var Mt=He=>{Ct(He,{})};W(Et,He=>{t(s)==="chat-page"&&He(Mt)},!0)}l(Ce,et)};W(me,Ce=>{t(s)==="start-page"?Ce(Ee):Ce(Ie,!1)})}d(J),be(J,Ce=>D(_,Ce),()=>t(_)),fe(1,J,()=>je,()=>({duration:300,delay:250})),fe(2,J,()=>Ue,()=>({duration:150})),l(H,J)}),d(le);var de=M(le,2);fr(de,{position:"top-center"}),d($),be($,H=>D(i,H),()=>t(i));var ue=M($,2);hr(ue,{get isOpen(){return t(C)},get isMobile(){return t(x)},onClose:k,get title(){return u.t.referencesTitle},children:(H,J)=>{wt(H,{})},$$slots:{default:!0}}),d(O),X(H=>Y=Oe(G,1,"chat-app__header-content",null,Y,H),[()=>({"has-border":t(N)})]),ft(O,"clientWidth",H=>D(h,H)),l(R,O)},$$slots:{default:!0}})),d(c),X(R=>E=qe(c,"",E,R),[()=>({"color-scheme":u.colorScheme})]),l(m,c)},$$slots:{default:!0}}),re({get host(){return n()},set host(m){n(m),b()},get onError(){return r()},set onError(m){r(m),b()}})}ae(va,{host:{},onError:{}},[],[],!0);export{va as C};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{l as o,a as r}from"../chunks/CMhjWVcv.js";export{o as load_css,r as start};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../chunks/ChzxYFTX.js","../chunks/NZTpNUN0.js","../chunks/DC-s52-u.js","../chunks/M-YrVFI7.js","../chunks/vuCcyO86.js","../chunks/Buwjqn5O.js","../chunks/BRINjubN.js","../chunks/pgYKILma.js","../chunks/CMhjWVcv.js","../chunks/Bu5Euvdy.js","../chunks/BHYdGlfZ.js","../chunks/I-jbfJxN.js","../chunks/YALcB7vb.js","../chunks/DoMONjgj.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{i as L,_ as ht,b as gt}from"../chunks/Buwjqn5O.js";import"../chunks/NZTpNUN0.js";import{c as Y,p as qe,f as q,s as e,e as i,t as V,b as l,d as Ce,v as te,r as a,g as xe,N as ae,u as W,o as At,aH as yt,I as T,a as S,G as s,H as D,aI as Ht,aJ as fe,K as mt,aK as bt,J as jt,O as wt}from"../chunks/DC-s52-u.js";import{a as ne,s as K,k as kt,l as r,m as Ot,t as Gt,e as $,i as Q,I as ee,n as Rt,C as ft,o as Jt,p as Ut,S as o,q as Zt,P as _e,R as ye,r as ke,N as Nt,u as $t,v as Qt,w as Wt,c as Vt,M as Kt,x as Yt,y as _t,h as Xt,z as ea}from"../chunks/BRINjubN.js";import{p as ie,s as ta,r as aa}from"../chunks/M-YrVFI7.js";import{g as ia}from"../chunks/CMhjWVcv.js";import{p as sa}from"../chunks/pgYKILma.js";var na=q('<div class="swatch svelte-18q4g20"><div class="swatch__color svelte-18q4g20"></div> <div class="swatch__label svelte-18q4g20"> </div></div>');const oa={hash:"svelte-18q4g20",code:`.swatch {display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;width:100%;overflow:hidden;border:1px solid var(--base-line-color);border-radius:var(--card-border-radius);&:hover .swatch__label.svelte-18q4g20 {opacity:1;}}.swatch__color.svelte-18q4g20 {aspect-ratio:1;width:100%;}.swatch__label.svelte-18q4g20 {display:none;width:100%;padding:6px;background:white;color:black;font-size:10px;transition:opacity 0.2s ease;
|
|
3
|
-
|
|
4
|
-
@media (min-width: 768px) {display:block;
|
|
5
|
-
}}`};function se(h,d){qe(d,!1),ne(h,oa);let f=ie(d,"name",12),c=ie(d,"key",12),I=ie(d,"value",12);var _=na(),B=i(_),M=e(B,2),A=i(M,!0);return a(M),a(_),V(()=>{K(_,"title",`Color ${c()}: ${I()}`),kt(B,`background-color: var(--color-${f()??""}-${c()??""});`),xe(A,c())}),l(h,_),Ce({get name(){return f()},set name(g){f(g),te()},get key(){return c()},set key(g){c(g),te()},get value(){return I()},set value(g){I(g),te()}})}Y(se,{name:{},key:{},value:{}},[],[],!0);var ra=q('<ol><li class="toast" data-type="error"><div data-icon=""><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" height="20" width="20"><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z" clip-rule="evenodd"></path></svg></div> <div data-content=""><div data-title="">Error notification</div></div></li> <li class="toast" data-type="warning"><div data-icon=""><svg viewBox="0 0 64 64" fill="currentColor" height="20" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M32.427,7.987c2.183,0.124 4,1.165 5.096,3.281l17.936,36.208c1.739,3.66 -0.954,8.585 -5.373,8.656l-36.119,0c-4.022,-0.064 -7.322,-4.631 -5.352,-8.696l18.271,-36.207c0.342,-0.65 0.498,-0.838 0.793,-1.179c1.186,-1.375 2.483,-2.111 4.748,-2.063Zm-0.295,3.997c-0.687,0.034 -1.316,0.419 -1.659,1.017c-6.312,11.979 -12.397,24.081 -18.301,36.267c-0.546,1.225 0.391,2.797 1.762,2.863c12.06,0.195 24.125,0.195 36.185,0c1.325,-0.064 2.321,-1.584 1.769,-2.85c-5.793,-12.184 -11.765,-24.286 -17.966,-36.267c-0.366,-0.651 -0.903,-1.042 -1.79,-1.03Z"></path><path d="M33.631,40.581l-3.348,0l-0.368,-16.449l4.1,0l-0.384,16.449Zm-3.828,5.03c0,-0.609 0.197,-1.113 0.592,-1.514c0.396,-0.4 0.935,-0.601 1.618,-0.601c0.684,0 1.223,0.201 1.618,0.601c0.395,0.401 0.593,0.905 0.593,1.514c0,0.587 -0.193,1.078 -0.577,1.473c-0.385,0.395 -0.929,0.593 -1.634,0.593c-0.705,0 -1.249,-0.198 -1.634,-0.593c-0.384,-0.395 -0.576,-0.886 -0.576,-1.473Z"></path></svg></div> <div data-content=""><div data-title="">Warning notification</div></div></li> <li class="toast" data-type="success"><div data-icon=""><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" height="20" width="20" data-sonner-error-icon=""><path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z" clip-rule="evenodd"></path></svg></div> <div data-content=""><div data-title="">Success notification</div></div></li> <li class="toast" data-type="info"><div data-icon=""><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" height="20" width="20"><path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z" clip-rule="evenodd"></path></svg></div> <div data-content=""><div data-title="">Info notification</div></div></li></ol>');function xt(h){var d=ra();l(h,d)}Y(xt,{},[],[],!0);var la=q(`<h1>Title h1</h1> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. <em>Morbi sagittis suscipit nisl at varius. Fusce vitae pellentesque lacus.</em> <strong>Sed sed enim in elit vulputate finibus ac in arcu. Donec venenatis tempus facilisis.</strong></p> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis suscipit nisl at varius. Fusce vitae pellentesque lacus. <a href="https://www.google.com">Check it on google</a> . Sed sed enim in elit vulputate finibus ac in arcu. Donec venenatis tempus facilisis.</p> <p class="text-sm svelte-128qu17">Text-sm: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis suscipit nisl at varius. Fusce vitae pellentesque
|
|
6
|
-
lacus.</p> <p class="text-xs svelte-128qu17">Text-xs: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis suscipit nisl at varius. Fusce vitae pellentesque
|
|
7
|
-
lacus.</p> <h2>Title h2</h2> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis suscipit nisl at varius. Fusce vitae pellentesque lacus. Sed sed
|
|
8
|
-
enim in elit vulputate finibus ac in arcu. Donec venenatis tempus facilisis.</p> <h3>Title h3</h3> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis suscipit nisl at varius. Fusce vitae pellentesque lacus. Sed sed
|
|
9
|
-
enim in elit vulputate finibus ac in arcu. Donec venenatis tempus facilisis.</p> <h4>Title h4</h4> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis suscipit nisl at varius. Fusce vitae pellentesque lacus. Sed sed
|
|
10
|
-
enim in elit vulputate finibus ac in arcu. Donec venenatis tempus facilisis.</p> <ul><li>Unordered List 1</li> <li>Unordered List 2</li> <li>Unordered List 3</li></ul> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis suscipit nisl at varius. Fusce vitae pellentesque lacus. Sed sed
|
|
11
|
-
enim in elit vulputate finibus ac in arcu. Donec venenatis tempus facilisis. Lorem ipsum dolor sit amet sed sed enim in elit vulputate
|
|
12
|
-
finibus.</p> <table><tbody><tr><th>Name</th><th>Role</th><th>Location</th></tr><tr><td>Sarah Hilse</td><td>Software Developer</td><td>Zürich</td></tr><tr><td>Sarah Perrollaz</td><td>User Experience Designer</td><td>Bern</td></tr><tr><td>Sarah Bähler</td><td>User Experience Designer</td><td>Fribourg</td></tr></tbody></table> <ol><li>Ordered List 1</li> <li>Ordered List 2</li> <li>Ordered List 3</li></ol> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis suscipit nisl at varius. Fusce vitae pellentesque lacus. Sed sed
|
|
13
|
-
enim in elit vulputate finibus ac in arcu. Donec venenatis tempus facilisis. Lorem ipsum dolor sit amet <a href="https://www.google.com">Check it on google</a> sed sed enim in elit vulputate finibus.</p>`,1);const da={hash:"svelte-128qu17",code:".text-sm.svelte-128qu17 {font-size:var(--base-font-size-sm);}.text-xs.svelte-128qu17 {font-size:var(--base-font-size-xs);}"};function qt(h){ne(h,da);var d=la();ae(30),l(h,d)}Y(qt,{},[],[],!0);const ca=[{type:"user",time:"2025-01-22T08:03:11.044Z",message:"Ok, let's inspect this dummy discussion"},{state:"done",errors:[],type:"bot",time:"2025-03-31T15:37:53.914Z",message:{markdown:`Leider kann ich Ihnen bei der Frage nach "test" nicht weiterhelfen, da die Informationen dazu nicht in den gelieferten Inhalten enthalten sind.
|
|
14
|
-
|
|
15
|
-
Falls Sie spezifische Informationen zu Tests in der Softwareentwicklung oder zu bestimmten Testmethoden suchen, könnte der Artikel über **End-to-End-Tests mit Jest und Puppeteer** von Jürg Hunziker interessant sein, der beschreibt, wie man automatisierte Tests für Gutenberg-Blöcke in WordPress implementiert[^4].
|
|
16
|
-
|
|
17
|
-
Zusätzlich gibt es auch Inhalte über **Debugging von E-Mails auf einem Staging-Server**, die einfache Lösungen für Testumgebungen bieten[^3].
|
|
18
|
-
|
|
19
|
-
Bitte lassen Sie mich wissen, ob Sie weitere Informationen zu einem bestimmten Thema wünschen!
|
|
20
|
-
|
|
21
|
-
`,html:`<p>Leider kann ich Ihnen bei der Frage nach "test" nicht weiterhelfen, da die Informationen dazu nicht in den gelieferten Inhalten enthalten sind. </p>
|
|
22
|
-
<p>Falls Sie spezifische Informationen zu Tests in der Softwareentwicklung oder zu bestimmten Testmethoden suchen, könnte der Artikel über <strong>End-to-End-Tests mit Jest und Puppeteer</strong> von Jürg Hunziker interessant sein, der beschreibt, wie man automatisierte Tests für Gutenberg-Blöcke in WordPress implementiert <liipgpt-reference-number data-source="{"url":"https://www.liip.ch/en/blog/how-to-test-your-gutenberg-blocks","considered":true,"referencesIndex":{"all":3,"used":1},"display":{"card":{"title":"How to test your Gutenberg blocks with Jest and Puppeteer · Blog","description":"This tutorial explains how to implement automated End-to-End tests for Gutenberg blocks using Jest and Puppeteer, focusing on a custom wrapper block that allows background color, margin, and alignment adjustments.","badge":"https://www.liip.ch/en/blog/how-to-test-your-gutenberg-blocks"},"listItem":{"title":"How to test your Gutenberg blocks with Jest and Puppeteer · Blog","badge":"www.liip.ch"}}}" data-used-index="1" data-all-index="3"></liipgpt-reference-number>. </p>
|
|
23
|
-
<p>Zusätzlich gibt es auch Inhalte über <strong>Debugging von E-Mails auf einem Staging-Server</strong>, die einfache Lösungen für Testumgebungen bieten <liipgpt-reference-number data-source="{"url":"https://www.liip.ch/en/blog/debugging-email-on-staging-server","considered":true,"referencesIndex":{"all":2,"used":2},"display":{"card":{"title":"Debugging Email on Staging Server · Blog","description":"To test email features on a staging server without sending emails to actual recipients, a solution was implemented to trap all outgoing emails and display them through a web interface, ensuring that test emails are preserved while preventing accidental sends to clients.","badge":"https://www.liip.ch/en/blog/debugging-email-on-staging-server"},"listItem":{"title":"Debugging Email on Staging Server · Blog","badge":"www.liip.ch"}}}" data-used-index="2" data-all-index="2"></liipgpt-reference-number>. </p>
|
|
24
|
-
<p>Bitte lassen Sie mich wissen, ob Sie weitere Informationen zu einem bestimmten Thema wünschen! </p>
|
|
25
|
-
`},references:{used:[{url:"https://www.liip.ch/en/blog/how-to-test-your-gutenberg-blocks",considered:!0,score:.9,metadata:{},referenceIndex:{all:3,used:1},display:{card:{title:"How to test your Gutenberg blocks with Jest and Puppeteer · Blog",description:"This tutorial explains how to implement automated End-to-End tests for Gutenberg blocks using Jest and Puppeteer, focusing on a custom wrapper block that allows background color, margin, and alignment adjustments.",badge:"https://www.liip.ch/en/blog/how-to-test-your-gutenberg-blocks"},listItem:{title:"How to test your Gutenberg blocks with Jest and Puppeteer · Blog",badge:"www.liip.ch"}}},{url:"https://www.liip.ch/en/blog/debugging-email-on-staging-server",considered:!0,score:.9,metadata:{},referenceIndex:{all:2,used:2},display:{card:{title:"Debugging Email on Staging Server · Blog",description:"To test email features on a staging server without sending emails to actual recipients, a solution was implemented to trap all outgoing emails and display them through a web interface, ensuring that test emails are preserved while preventing accidental sends to clients.",badge:"https://www.liip.ch/en/blog/debugging-email-on-staging-server"},listItem:{title:"Debugging Email on Staging Server · Blog",badge:"www.liip.ch"}}}],all:[{url:"https://www.liip.ch/en/blog/little-test",considered:!0,referenceIndex:{all:0},score:.9,metadata:{},display:{card:{title:"little test · Blog",description:"The text appears to be a placeholder or test entry on a blog, lacking substantive content or context.",badge:"https://www.liip.ch/en/blog/little-test"},listItem:{title:"little test · Blog",badge:"www.liip.ch"}}},{url:"https://www.liip.ch/en/blog/how-a-simple-solution-alleviated-a-complex-problem",considered:!0,score:.9,metadata:{},referenceIndex:{all:1},display:{card:{title:"How a simple solution alleviated a complex problem · Blog",description:"A developer shares their experience of addressing the issue of insufficient test coverage in a Symfony application by implementing a script that monitors routing changes, thereby enhancing the stability of the API without extensive resource investment.",badge:"https://www.liip.ch/en/blog/how-a-simple-solution-alleviated-a-complex-problem"},listItem:{title:"How a simple solution alleviated a complex problem · Blog",badge:"www.liip.ch"}}},{url:"https://www.liip.ch/en/blog/debugging-email-on-staging-server",considered:!0,score:.9,metadata:{},referenceIndex:{all:2,used:2},display:{card:{title:"Debugging Email on Staging Server · Blog",description:"To test email features on a staging server without sending emails to actual recipients, a solution was implemented to trap all outgoing emails and display them through a web interface, ensuring that test emails are preserved while preventing accidental sends to clients.",badge:"https://www.liip.ch/en/blog/debugging-email-on-staging-server"},listItem:{title:"Debugging Email on Staging Server · Blog",badge:"www.liip.ch"}}},{url:"https://www.liip.ch/en/blog/how-to-test-your-gutenberg-blocks",considered:!0,referenceIndex:{all:3,used:1},score:.9,metadata:{},display:{card:{title:"How to test your Gutenberg blocks with Jest and Puppeteer · Blog",description:"This tutorial explains how to implement automated End-to-End tests for Gutenberg blocks using Jest and Puppeteer, focusing on a custom wrapper block that allows background color, margin, and alignment adjustments.",badge:"https://www.liip.ch/en/blog/how-to-test-your-gutenberg-blocks"},listItem:{title:"How to test your Gutenberg blocks with Jest and Puppeteer · Blog",badge:"www.liip.ch"}}}],unused:[{url:"https://www.liip.ch/en/blog/how-a-simple-solution-alleviated-a-complex-problem",considered:!0,score:.9,metadata:{},referenceIndex:{all:1},display:{card:{title:"How a simple solution alleviated a complex problem · Blog",description:"A developer shares their experience of addressing the issue of insufficient test coverage in a Symfony application by implementing a script that monitors routing changes, thereby enhancing the stability of the API without extensive resource investment.",badge:"https://www.liip.ch/en/blog/how-a-simple-solution-alleviated-a-complex-problem"},listItem:{title:"How a simple solution alleviated a complex problem · Blog",badge:"www.liip.ch"}}}]},id:"eb8a0123-5143-46e2-8e23-d4e6a76a8ebb"},{type:"component",componentName:"combobox",time:"2025-01-22T08:03:11.044Z",data:{caption:"What is your favorite <b>fruit</b>?",placeholder:"Search a fruit",values:[{value:"mango",label:"Mango"},{value:"watermelon",label:"Watermelon"},{value:"apple",label:"Apple"},{value:"pineapple",label:"Pineapple"},{value:"orange",label:"Orange"},{value:"grape",label:"Grape"},{value:"strawberry",label:"Strawberry"},{value:"banana",label:"Banana"},{value:"kiwi",label:"Kiwi"},{value:"peach",label:"Peach"},{value:"cherry",label:"Cherry"},{value:"blueberry",label:"Blueberry"},{value:"raspberry",label:"Raspberry"},{value:"blackberry",label:"Blackberry"},{value:"plum",label:"Plum"},{value:"apricot",label:"Apricot"},{value:"pear",label:"Pear"},{value:"grapefruit",label:"Grapefruit"}]}},{type:"component",componentName:"buttons",time:"2025-01-22T08:03:11.044Z",data:{caption:"Are you <b>ready</b>?",buttons:[{label:"<b>Yes</b>",value:"yes",variant:"primary"},{label:"No",value:"no",variant:"secondary"},{label:"Well, maybe",value:"no",href:"https://example.com",variant:"tertiary",icon:"externalLink",target:"_blank"}]}}];var ua=q('<link rel="stylesheet"/>'),pa=q("<!> <!> <!> <!> <!>",1),va=q('<div class="context-menu svelte-33lsek"><!></div>'),ha=q('<div class="chat-app__loader-container">Loading...</div>'),ga=q(`<div class="container text-container" style="padding-top: 100px;"><h1>Base</h1> <p>This text has the configured text color. This <a href="https://www.liip.ch">anchor</a> has the configured anchor color. This page has the configured background color.</p> <h2 class="h3">Colors</h2> <h3 class="h4">Brand Colors</h3> <div class="color-swatches svelte-33lsek"><!></div> <h3 class="h4">Highlight Colors (optional)</h3> <div class="color-swatches svelte-33lsek"><!></div> <h3 class="h4">Grey Colors</h3> <div class="color-swatches svelte-33lsek"><!></div></div> <div class="container text-container"><hr/> <h1>Abstractions</h1> <p>The following elements are not components, but abstractions only. Their properties are defined in the configuration
|
|
26
|
-
files and are applied to the components that need them.</p> <div class="card transition-colors svelte-33lsek">Card</div></div> <div class="container text-container"><hr/> <h1>Components</h1> <h2>Buttons</h2> <div><div style="display: flex; gap: 1rem; margin-bottom: 1rem;"><button class="btn btn--primary">Primary</button> <button class="btn btn--secondary">Secondary</button> <button class="btn btn--tertiary">Tertiary</button></div> <div style="display: flex; gap: 1rem;"><button class="btn btn--primary" disabled>Primary</button> <button class="btn btn--secondary" disabled>Secondary</button> <button class="btn btn--tertiary" disabled>Tertiary</button></div></div> <h2>Avatars</h2> <div style="display: flex; gap: 1rem;"><!> <!></div> <h2>ChatInput</h2> <!> <div class="predefined-questions"><!> <!> <!></div> <h2>References</h2> <div class="references__container svelte-33lsek"><div class="references__items"><!> <!> <!></div></div> <div><p>hover over the reference number to see the tooltip: <liipgpt-reference-number></liipgpt-reference-number> .</p></div> <div style="position: relative;"><a class="reference-number__content transition-colors no-link-styling" href="https://www.liip.ch" target="_blank" rel="noopener noreferrer"><span class="reference__header"><h3 class="reference__title h4">Reference tooltip example</h3> <!></span> <span class="reference__description line-clamp line-clamp--6">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et
|
|
27
|
-
dolore magna aliqua. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</span> <span class="reference__footer"><span class="reference__domain transition-colors"><span class="truncate">www.very-very-longer-url-to-test.ch</span></span> <span class="reference__breadcrumb transition-colors">Organisation</span> <span class="reference__breadcrumb transition-colors">Über uns</span></span></a></div> <h2>Menu</h2> <div style="display: flex; gap: 1rem; margin-bottom: 1rem;"><div class="chat-app__header-content"><!> <!> <!> <!></div></div> <h3>Menu example</h3> <div class="context-box__content svelte-33lsek"><ul class="context-box__menu"><li><a class="context-box__menu-item transition-colors" href="https://www.liip.ch/de" target="_blank"><div aria-hidden="true" class="svg svg--externalLink context-box__menu-item__icon"><svg viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="2"><path d="m18 6-12 12"></path><path d="m18 17v-11h-11"></path></g></svg></div> <span>Menü Beispiel</span></a></li></ul> <hr class="context-box__separator"/> <div class="context-box__title">Sprache auswählen</div> <ul class="context-box__menu"><li><button class="context-box__menu-item transition-colors active"><div aria-hidden="true" class="svg svg--internalLink context-box__menu-item__icon"><svg viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="2"><path d="m20 12h-17"></path><path d="m13 19 7-7-7-7"></path></g></svg></div> <span>Deutsch</span></button></li> <li><button class="context-box__menu-item transition-colors"><div aria-hidden="true" class="svg svg--internalLink context-box__menu-item__icon"><svg viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="2"><path d="m20 12h-17"></path><path d="m13 19 7-7-7-7"></path></g></svg></div> <span>English</span></button></li> <li><button class="context-box__menu-item transition-colors"><div aria-hidden="true" class="svg svg--internalLink context-box__menu-item__icon"><svg viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="2"><path d="m20 12h-17"></path><path d="m13 19 7-7-7-7"></path></g></svg></div> <span>Français</span></button></li> <li><button class="context-box__menu-item transition-colors"><div aria-hidden="true" class="svg svg--internalLink context-box__menu-item__icon"><svg viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="2"><path d="m20 12h-17"></path><path d="m13 19 7-7-7-7"></path></g></svg></div> <span>Italiano</span></button></li></ul> <hr class="context-box__separator"/> <div class="color-scheme-selector"><button class="color-scheme-selector__button transition-colors"><div aria-hidden="true" class="svg svg--lightMode"><svg viewBox="0 0 24 24" fill="none"><path d="M18.5625 12C18.5625 10.2595 17.8711 8.59032 16.6404 7.35961C15.4097 6.1289 13.7405 5.4375 12 5.4375C10.2595 5.4375 8.59032 6.1289 7.35961 7.35961C6.1289 8.59032 5.4375 10.2595 5.4375 12C5.4375 13.7405 6.1289 15.4097 7.35961 16.6404C8.59032 17.8711 10.2595 18.5625 12 18.5625C13.7405 18.5625 15.4097 17.8711 16.6404 16.6404C17.8711 15.4097 18.5625 13.7405 18.5625 12Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M12 20.4375V22.3125" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M20.4375 12H22.3125" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M12 3.5625V1.6875" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3.5625 12H1.6875" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M6.03469 17.9663L4.70813 19.2929" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M17.9662 17.9663L19.2919 19.2919" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M17.9672 6.03461L19.2928 4.70898" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M6.03375 6.03461L4.70813 4.70898" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></div> <span>Hell</span></button> <hr class="color-scheme-selector__separator"/> <button class="color-scheme-selector__button transition-colors color-scheme-selector__button--active"><div aria-hidden="true" class="svg svg--darkMode"><svg viewBox="0 0 24 24" fill="none"><path d="M17.4546 19.3866C19.2134 18.1336 20.4574 16.2846 20.9554 14.1833C20.27 14.9892 19.4098 15.6282 18.4403 16.0517C17.4708 16.4753 16.4176 16.6723 15.3605 16.6277C14.3035 16.5831 13.2706 16.2981 12.3402 15.7944C11.4098 15.2908 10.6065 14.5816 9.99136 13.7209C9.37618 12.8601 8.96532 11.8705 8.78999 10.8272C8.61467 9.78384 8.67951 8.71426 8.97957 7.69974C9.27963 6.68522 9.80703 5.75246 10.5217 4.97235C11.2363 4.19223 12.1194 3.5853 13.1038 3.19768C11.6649 3.0599 10.2141 3.2727 8.87542 3.81787C7.53673 4.36304 6.35002 5.22437 5.41679 6.32817C4.48357 7.43197 3.83159 8.7454 3.51665 10.1561C3.2017 11.5668 3.23314 13.0328 3.6083 14.4287C3.98345 15.8246 4.69115 17.1089 5.67085 18.1717C6.65055 19.2344 7.87311 20.0441 9.23394 20.5313C10.5948 21.0186 12.0534 21.169 13.485 20.9696C14.9166 20.7703 16.2787 20.2271 17.4546 19.3866Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></div> <span>Dunkel</span></button></div></div> <h2>Feedback Form</h2> <div class="dialog-content svelte-33lsek"><div class="dialog-header"><div class="dialog-title"><h3 class="h4">Feedback geben, um unseren Chatbot zu verbessern</h3></div> <button class="dialog-close"><span class="sr-only">Close</span> <div aria-hidden="true" class="svg svg--dismiss"><svg viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5"><path d="m5.743 5.742 12.514 12.514"></path><path d="m18.257 5.742-12.514 12.514"></path></g></svg></div></button></div> <div class="dialog-description" id="bits-92" data-dialog-description="" data-state="open"><form name="feedback-form" class="form"><!> <div class="form__item"><label class="form__label" for="feedback"> </label> <textarea id="feedback" class="input"></textarea></div> <div class="form__item"><label class="form__label" for="email"> </label> <input type="email" id="email" class="input"/></div></form></div></div> <h2>Tooltip</h2> <div class="tooltip-container" style="height: 100px"><div class="tooltip tooltip-top" style="">I'm a tooltip</div></div></div> <div class="container text-container"><hr/> <h2>Notifications</h2> <!></div> <div class="container text-container"><hr/> <h2>Chat</h2></div> <div class="chat-page__messages svelte-33lsek"></div> <div class="text-container container" style="padding-bottom: 200px;"><hr/> <h2>Typography</h2> <!> <hr/> <h2>Icons</h2> <div style="color: currentColor; display: flex; flex-wrap: wrap; gap: 1rem;"><!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!></div></div>`,3),ma=q('<main class="chat-app svelte-33lsek"><!> <div class="chat-app__container svelte-33lsek"><div class="chat-app__main svelte-33lsek"><div class="chat-app__portals"></div> <!></div></div></main>');const ba={hash:"svelte-33lsek",code:`.color-swatches.svelte-33lsek {display:flex;grid-template-columns:repeat(13, 1fr);max-width:100%;margin:0;gap:0.25rem;}.chat-app.svelte-33lsek,
|
|
28
|
-
.chat-app__container.svelte-33lsek {width:100%;height:100%;background:var(--body-background);}.chat-page__messages.svelte-33lsek {min-height:auto;padding-bottom:200px;}.context-menu.svelte-33lsek {z-index:1000;position:fixed;top:20px;right:20px;}.chat-app__container.svelte-33lsek {overflow-y:auto;}.chat-app__main.svelte-33lsek {background:transparent;}.card.svelte-33lsek {padding:1rem;border-width:var(--card-border-width);border-radius:var(--card-border-radius);border-color:var(--card-border-color);background:var(--card-background);color:var(--card-color);&:hover {background:var(--card-hover-background);color:var(--card-hover-color);}}.dialog-content.svelte-33lsek {position:relative;top:0;left:0;transform:none;}.references__container.svelte-33lsek {background-color:var(--aside-background);}.context-box__content.svelte-33lsek {position:relative;}`};function Ct(h,d){qe(d,!0),ne(h,ba);let f=ie(d,"data",7),c=D(()=>r.t);W(()=>{const t={lang:f().options.lang.value,forceTheme:f().options?.["force-theme"]?.value,apiUrl:f().options["api-url"].value,features:""};At(()=>r.init(t).catch(n=>{console.error("Failed to init chat logic",n)}))});const I=ca;var _=ma();yt(t=>{var n=T(),p=S(n);{var y=k=>{var v=pa(),u=S(v);$(u,17,()=>r.themeBase.fontURLs??[],Q,(O,G)=>{var F=ua();V(()=>K(F,"href",s(G))),l(O,F)});var x=e(u,2);ee(x,{id:"font-css",get css(){return r.themeBase.fontCSS}});var m=e(x,2);{let O=D(()=>Vt(r.theme));ee(m,{id:"theme-css",get css(){return s(O)}})}var w=e(m,2);ee(w,{id:"app-css",get css(){return Rt}});var E=e(w,2);ee(E,{id:"custom-css",get css(){return r.themeBase.customCSS}}),l(k,v)};L(p,k=>{r.initialized&&k(y)})}l(t,n)});let B;var M=i(_);{var A=t=>{var n=va(),p=i(n);ft(p,{get chatLogic(){return r}}),a(n),l(t,n)};L(M,t=>{r.initialized&&t(A)})}var g=e(M,2),P=i(g),H=i(P);Ot(H,(t,n)=>Gt?.(t,n),()=>"portals");var j=e(H,2);{var X=t=>{var n=ha();Jt(2,n,()=>Ut,()=>({duration:200,delay:300})),l(t,n)},oe=t=>{var n=ga(),p=S(n),y=e(i(p),8),k=i(y);{var v=b=>{var C=T(),R=S(C);$(R,17,()=>Object.entries(r.theme.colors.brand),Q,(J,U)=>{var z=D(()=>fe(s(U),2));let Z=()=>s(z)[0],N=()=>s(z)[1];se(J,{name:"brand",get key(){return Z()},get value(){return N()}})}),l(b,C)};L(k,b=>{r.theme.colors?.brand&&b(v)})}a(y);var u=e(y,4),x=i(u);{var m=b=>{var C=T(),R=S(C);$(R,17,()=>Object.entries(r.theme.colors.highlight),Q,(J,U)=>{var z=D(()=>fe(s(U),2));let Z=()=>s(z)[0],N=()=>s(z)[1];se(J,{name:"highlight",get key(){return Z()},get value(){return N()}})}),l(b,C)};L(x,b=>{r.theme?.colors?.highlight&&b(m)})}a(u);var w=e(u,4),E=i(w);{var O=b=>{var C=T(),R=S(C);$(R,17,()=>Object.entries(r.theme.colors.grey),Q,(J,U)=>{var z=D(()=>fe(s(U),2));let Z=()=>s(z)[0],N=()=>s(z)[1];se(J,{name:"grey",get key(){return Z()},get value(){return N()}})}),l(b,C)};L(E,b=>{r.theme?.colors?.grey&&b(O)})}a(w),a(p);var G=e(p,4),F=e(i(G),10),Se=i(F);o(Se,{name:"avatar",class:"introduction__avatar"});var St=e(Se,2);o(St,{name:"avatar",class:"message__bot-avatar"}),a(F);var Le=e(F,4);Zt(Le,{onSubmit:()=>{}});var re=e(Le,2),Ie=i(re);_e(Ie,{predefinedQuestion:{label:"Question one",question:""},onSubmit:()=>{}});var ze=e(Ie,2);_e(ze,{predefinedQuestion:{label:"Question two",question:""},onSubmit:()=>{}});var Lt=e(ze,2);_e(Lt,{predefinedQuestion:{label:"Question three",question:""},onSubmit:()=>{}}),a(re);var le=e(re,4),Te=i(le),Be=i(Te);ye(Be,{reference:{url:"https://www.liip.ch/en/blog/liip-revolutioniert-das-lohnsystem",score:.8279685974121094,metadata:{kwLang:"de",titleAi:"Revolutionizing Salary Systems with the Liip Deal",keywords:["salary system","self-organization","transparency","diversity","inclusion","Swiss HR Award"],documentIdSalt:"en"},considered:!0,display:{card:{title:"Liip revolutioniert das Lohnsystem",description:"A digital agency has developed an innovative, transparent, and self-organized salary system called the 'Liip Deal', which emphasizes equality, self-evaluation, and agility, earning it the Swiss HR Award in the category of diversity and inclusion.",badge:"www.liip.ch"},listItem:{title:"Liip revolutioniert das Lohnsystem",badge:"www.very-very-longer-url-to-test.ch",breadcrumbs:["Organisation","Über uns","Philosophie"]}},referenceIndex:{all:11,used:4}}});var Me=e(Be,2);ye(Me,{reference:{url:"https://www.liip.ch/en/blog/15-years-liip",score:.8248223662376404,metadata:{kwLang:"de",titleAi:"15 Years of Innovation and Sustainability in a Swiss Digital Agency",keywords:["digital agency","sustainability","agile development","Swiss quality","organizational innovation"],documentIdSalt:"en"},considered:!0,display:{card:{title:"15 years of Liip, and what a journey it's been!",description:"The article celebrates 15 years of a Swiss digital agency known for its innovative, sustainable, and client-focused approach, highlighting its history of growth, organizational evolution, and long-standing client relationships, while emphasizing its commitment to Swiss quality and environmental responsibility.",badge:"www.liip.ch"},listItem:{title:"15 years of Liip, and what a journey it's been!",badge:"www.liip.ch",breadcrumbs:["Organisation","Team"]}},referenceIndex:{all:12,used:2}}});var It=e(Me,2);ye(It,{reference:{url:"https://www.liip.ch/en/blog/15-years-liip",score:.8248223662376404,metadata:{kwLang:"de",titleAi:"15 Years of Innovation and Sustainability in a Swiss Digital Agency",keywords:["digital agency","sustainability","agile development","Swiss quality","organizational innovation"],documentIdSalt:"en"},considered:!0,display:{card:{title:"15 years of Liip, and what a journey it's been!"},listItem:{title:"15 years of Liip, and what a journey it's been!"}},referenceIndex:{all:12,used:10}}}),a(Te),a(le);var de=e(le,2),Pe=i(de),ce=e(i(Pe));ke(ce,"data-source",JSON.stringify({url:"https://www.liip.ch",considered:!0,referencesIndex:{all:3,used:1},display:{card:{title:"Reference tooltip example",description:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",breadcrumbs:["Organisation","Über uns","Philosophie"],badge:"www.liip.ch"}}})),ke(ce,"data-used-index","1"),ke(ce,"data-all-index","3"),ae(),a(Pe),a(de);var ue=e(de,2),Ee=i(ue),De=i(Ee),zt=e(i(De),2);o(zt,{name:"externalLink",class:"reference__icon transition-colors"}),a(De),ae(4),a(Ee),a(ue);var pe=e(ue,4),Fe=i(pe),Ae=i(Fe);Nt(Ae,{});var He=e(Ae,2);ft(He,{get chatLogic(){return r}});var je=e(He,2);$t(je,{get logic(){return r}});var Tt=e(je,2);Qt(Tt,{onclick:()=>{}}),a(Fe),a(pe);var Oe=e(pe,8),Ge=e(i(Oe),2),ve=i(Ge),Re=i(ve);Wt(Re,{get classificationConfig(){return r.data.chatConfig.classification},impact:0,quality:0});var he=e(Re,2),ge=i(he),Bt=i(ge,!0);a(ge);var Mt=e(ge,2);a(he);var Je=e(he,2),me=i(Je),Pt=i(me,!0);a(me);var Et=e(me,2);a(Je),a(ve),a(Ge),a(Oe),ae(4),a(G);var be=e(G,2),Dt=e(i(be),4);xt(Dt),a(be);var we=e(be,4);$(we,21,()=>I,Q,(b,C)=>{Kt(b,{get message(){return s(C)},get logic(){return r},onmessageupdate:()=>{},onbotmessageinit:()=>{}})}),a(we);var Ue=e(we,2),Ze=e(i(Ue),4);qt(Ze);var Ne=e(Ze,6),$e=i(Ne);o($e,{name:"predefinedQuestion"});var Qe=e($e,2);o(Qe,{name:"edit"});var We=e(Qe,2);o(We,{name:"newConversation"});var Ve=e(We,2);o(Ve,{name:"voteUp"});var Ke=e(Ve,2);o(Ke,{name:"voteDown"});var Ye=e(Ke,2);o(Ye,{name:"retry"});var Xe=e(Ye,2);o(Xe,{name:"message"});var et=e(Xe,2);o(et,{name:"thread"});var tt=e(et,2);o(tt,{name:"submit"});var at=e(tt,2);o(at,{name:"expand"});var it=e(at,2);o(it,{name:"help"});var st=e(it,2);o(st,{name:"attach"});var nt=e(st,2);o(nt,{name:"record"});var ot=e(nt,2);o(ot,{name:"reward"});var rt=e(ot,2);o(rt,{name:"share"});var lt=e(rt,2);o(lt,{name:"audio"});var dt=e(lt,2);o(dt,{name:"copy"});var ct=e(dt,2);o(ct,{name:"dismiss"});var ut=e(ct,2);o(ut,{name:"menu"});var pt=e(ut,2);o(pt,{name:"listUnordered"});var vt=e(pt,2);o(vt,{name:"lightMode"});var Ft=e(vt,2);o(Ft,{name:"darkMode"}),a(Ne),a(Ue),V(()=>{xe(Bt,s(c).feedbackFormMessage),K(Mt,"placeholder",s(c).feedbackFormMessagePlaceholder),xe(Pt,s(c).feedbackFormEmail),K(Et,"placeholder",s(c).feedbackFormEmailPlaceholder)}),Ht("submit",ve,async()=>{}),l(t,n)};L(j,t=>{r.initialized?t(oe,!1):t(X)})}return a(P),a(g),a(_),V(t=>B=kt(_,"",B,t),[()=>({"color-scheme":r.colorScheme})]),l(h,_),Ce({get data(){return f()},set data(t){f(t),te()}})}Y(Ct,{data:{}},[],[],!0);var wa=q('<div id="chat-wrapper" class="svelte-1h9zc1h"><div></div> <!> <div></div></div>'),fa=q('<div id="preview" class="svelte-1h9zc1h"><iframe title="sidebar" id="sidebar" class="svelte-1h9zc1h"></iframe> <!></div>');const _a={hash:"svelte-1h9zc1h",code:`html,
|
|
29
|
-
body {width:100%;height:100%;margin:0;padding:0;}#sidebar.svelte-1h9zc1h {width:500px;height:100%;border:none;}#preview.svelte-1h9zc1h {display:flex;align-items:center;justify-content:center;width:100%;height:100%;}#chat-wrapper.svelte-1h9zc1h {container-name:preview-container;
|
|
30
|
-
/* stylelint-disable-next-line property-disallowed-list */container-type:size;width:100%;height:100%;}`};function ya(h,d){qe(d,!0),ne(h,_a);let f=aa(d,["$$slots","$$events","$$legacy","$$host"]),c=D(()=>d.data);W(()=>{window.onmessage=function(t){if(typeof t.data=="string"&&t.data.startsWith("liipgpt-url:")){const n=new URLSearchParams(t.data.replace("liipgpt-url:",""));ia("?"+n.toString(),{replaceState:!0})}}});const I=t=>`/build/${t}/liipgpt-${t}.iife.js`,_=async t=>{t==="build"&&(await import(I("chat")),await import(I("button"))),t==="dev"&&(await ht(()=>import("../chunks/ChzxYFTX.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]),import.meta.url),await ht(()=>import("../chunks/DoMONjgj.js"),__vite__mapDeps([13,1,2,3,12,5,6,7,8,9,10,11]),import.meta.url)),t==="server"&&(import(_t(d.data.options,"chat")),import(_t(d.data.options,"button")))};let B="server",M=D(()=>d.data.options?.["preview-mode"]?.value??B);W(()=>{_(s(M))});const A=`./sidebar${sa.url.search}`;let g=mt(void 0),P=mt(void 0);const H=(t,n)=>{const p=document.createElement("script"),y=document.createTextNode(n);p.appendChild(y),t.replaceChildren(p)};W(()=>{s(g)&&H(s(g),s(c).options.CHAT_CONFIG_OVERRIDE.value||"")}),W(()=>{s(P)&&H(s(P),s(c).options.onclosechat.value||"")});var j=fa();yt(t=>{var n=T(),p=S(n);{var y=k=>{var v=T(),u=S(v);{var x=w=>{bt.title="LiipGPT Configurator | Components"},m=w=>{bt.title="LiipGPT Configurator"};L(u,w=>{s(c).options["show-components"].value?w(x):w(m,!1)},!0)}l(k,v)};L(p,k=>{k(y,!1)})}l(t,n)});var X=i(j),oe=e(X,2);Yt(oe,()=>s(c),t=>{var n=T(),p=S(n);{var y=v=>{var u=T(),x=S(u);jt(x,{onerror:m=>console.error("Rendering error of components",m)},m=>{Ct(m,ta(()=>f))}),l(v,u)},k=v=>{var u=wa(),x=i(u);gt(x,E=>wt(g,E),()=>s(g));var m=e(x,2);Xt(m,()=>ea(s(c).options));var w=e(m,2);gt(w,E=>wt(P,E),()=>s(P)),a(u),l(v,u)};L(p,v=>{s(c).options["show-components"].value?v(y):v(k,!1)})}l(t,n)}),a(j),V(()=>K(X,"src",A)),l(h,j),Ce()}Y(ya,{},[],[],!0);export{ya as component};
|