@liip/liipgpt 3.0.5 → 3.0.6

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.
Files changed (32) hide show
  1. package/button/liipgpt-button.iife.js +5 -5
  2. package/chat/liipgpt-chat.iife.js +32 -32
  3. package/config/index.cjs +4 -2
  4. package/config/index.d.ts +14 -3
  5. package/config/index.js +4 -2
  6. package/configurator/_app/env.js +1 -1
  7. package/configurator/_app/immutable/chunks/{BPqAw_M_.js → 6iiGzJiA.js} +1 -1
  8. package/configurator/_app/immutable/chunks/7RznL39c.js +1 -0
  9. package/configurator/_app/immutable/chunks/{TjkIfco8.js → BcxyVcfq.js} +1 -1
  10. package/configurator/_app/immutable/chunks/{BnkvG7IB.js → BzNmKNYl.js} +1 -1
  11. package/configurator/_app/immutable/chunks/CO1VjDW9.js +212 -0
  12. package/configurator/_app/immutable/chunks/{CUzNvOh0.js → CdOhT63o.js} +1 -1
  13. package/configurator/_app/immutable/chunks/CknFvNnh.js +3 -0
  14. package/configurator/_app/immutable/chunks/{BrRo6Gg5.js → DeC3Wj5S.js} +1 -1
  15. package/configurator/_app/immutable/chunks/{BXxSlBOI.js → Du-AngZl.js} +1 -1
  16. package/configurator/_app/immutable/entry/{app.WFBs3H0o.js → app.COsCZK0Q.js} +2 -2
  17. package/configurator/_app/immutable/entry/start.t_88bEga.js +1 -0
  18. package/configurator/_app/immutable/nodes/{0.6Nyp5YF7.js → 0.DQ5pdmr8.js} +20 -2
  19. package/configurator/_app/immutable/nodes/{1.DQmrEIHy.js → 1.iGq4bplI.js} +1 -1
  20. package/configurator/_app/immutable/nodes/{2.QtKjmXTG.js → 2.D1z7Il5A.js} +8 -8
  21. package/configurator/_app/immutable/nodes/{3.Cza37V1o.js → 3.DO39A0EF.js} +1 -1
  22. package/configurator/_app/version.json +1 -1
  23. package/configurator/index.html +6 -6
  24. package/configurator/sidebar.html +6 -6
  25. package/index.cjs +4 -2
  26. package/index.d.ts +38 -10
  27. package/index.js +4 -2
  28. package/package.json +1 -1
  29. package/configurator/_app/immutable/chunks/Cp1S0mah.js +0 -3
  30. package/configurator/_app/immutable/chunks/DP_7kP9j.js +0 -1
  31. package/configurator/_app/immutable/chunks/HNsM71V8.js +0 -212
  32. package/configurator/_app/immutable/entry/start.BSXxI4bC.js +0 -1
@@ -1 +1 @@
1
- import"./NZTpNUN0.js";import{p as k,F as B,G as d,H as m,d as T,v as r,c as A}from"./BkMkT2yX.js";import{p as o,s as R}from"./w-7tIaYZ.js";import{C as U}from"./DP_7kP9j.js";import{E as _}from"./BrRo6Gg5.js";function E(S,t){k(t,!0);let a=o(t,"forceTheme",7),l=o(t,"apiUrl",7),i=o(t,"apiKey",7),u=o(t,"speechRecognitionApiKey",7),n=o(t,"lang",7),y=o(t,"features",7),s=o(t,"loaderBackground",7),g=o(t,"loaderColor",7),f=o(t,"flyout",7),c=o(t,"flyoutStyle",7),p=o(t,"flyoutClass",7),h=m(()=>({forceTheme:a(),apiUrl:l(),apiKey:i(),speechRecognitionApiKey:u(),lang:n(),features:y(),loaderBackground:s(),loaderColor:g(),flyout:f(),flyoutStyle:c(),flyoutClass:p()}));{const e=(b,K=B)=>{U(b,R({host:t.$$host,get onError(){return K()}},()=>d(h)))};let C=m(()=>d(h).flyout??!1);_(S,{get silent(){return d(C)},body:e,$$slots:{body:!0}})}return T({get forceTheme(){return a()},set forceTheme(e){a(e),r()},get apiUrl(){return l()},set apiUrl(e){l(e),r()},get apiKey(){return i()},set apiKey(e){i(e),r()},get speechRecognitionApiKey(){return u()},set speechRecognitionApiKey(e){u(e),r()},get lang(){return n()},set lang(e){n(e),r()},get features(){return y()},set features(e){y(e),r()},get loaderBackground(){return s()},set loaderBackground(e){s(e),r()},get loaderColor(){return g()},set loaderColor(e){g(e),r()},get flyout(){return f()},set flyout(e){f(e),r()},get flyoutStyle(){return c()},set flyoutStyle(e){c(e),r()},get flyoutClass(){return p()},set flyoutClass(e){p(e),r()}})}customElements.define("liipgpt-chat",A(E,{forceTheme:{attribute:"force-theme",type:"String"},apiUrl:{attribute:"api-url",type:"String"},apiKey:{attribute:"api-key",type:"String"},speechRecognitionApiKey:{attribute:"speech-recognition-api-key",type:"String"},lang:{attribute:"lang",type:"String"},features:{attribute:"features",type:"String"},loaderBackground:{attribute:"loader-background",type:"String"},loaderColor:{attribute:"loader-color",type:"String"},flyout:{attribute:"flyout",type:"Boolean"},flyoutStyle:{attribute:"flyout-style",type:"String"},flyoutClass:{attribute:"flyout-class",type:"String"}},[],[],!0));export{E as LiipGPTChat};
1
+ import"./NZTpNUN0.js";import{p as k,F as B,G as d,H as m,d as T,v as r,c as A}from"./BkMkT2yX.js";import{p as o,s as R}from"./w-7tIaYZ.js";import{C as U}from"./7RznL39c.js";import{E as _}from"./DeC3Wj5S.js";function E(S,t){k(t,!0);let a=o(t,"forceTheme",7),l=o(t,"apiUrl",7),i=o(t,"apiKey",7),u=o(t,"speechRecognitionApiKey",7),n=o(t,"lang",7),y=o(t,"features",7),s=o(t,"loaderBackground",7),g=o(t,"loaderColor",7),f=o(t,"flyout",7),c=o(t,"flyoutStyle",7),p=o(t,"flyoutClass",7),h=m(()=>({forceTheme:a(),apiUrl:l(),apiKey:i(),speechRecognitionApiKey:u(),lang:n(),features:y(),loaderBackground:s(),loaderColor:g(),flyout:f(),flyoutStyle:c(),flyoutClass:p()}));{const e=(b,K=B)=>{U(b,R({host:t.$$host,get onError(){return K()}},()=>d(h)))};let C=m(()=>d(h).flyout??!1);_(S,{get silent(){return d(C)},body:e,$$slots:{body:!0}})}return T({get forceTheme(){return a()},set forceTheme(e){a(e),r()},get apiUrl(){return l()},set apiUrl(e){l(e),r()},get apiKey(){return i()},set apiKey(e){i(e),r()},get speechRecognitionApiKey(){return u()},set speechRecognitionApiKey(e){u(e),r()},get lang(){return n()},set lang(e){n(e),r()},get features(){return y()},set features(e){y(e),r()},get loaderBackground(){return s()},set loaderBackground(e){s(e),r()},get loaderColor(){return g()},set loaderColor(e){g(e),r()},get flyout(){return f()},set flyout(e){f(e),r()},get flyoutStyle(){return c()},set flyoutStyle(e){c(e),r()},get flyoutClass(){return p()},set flyoutClass(e){p(e),r()}})}customElements.define("liipgpt-chat",A(E,{forceTheme:{attribute:"force-theme",type:"String"},apiUrl:{attribute:"api-url",type:"String"},apiKey:{attribute:"api-key",type:"String"},speechRecognitionApiKey:{attribute:"speech-recognition-api-key",type:"String"},lang:{attribute:"lang",type:"String"},features:{attribute:"features",type:"String"},loaderBackground:{attribute:"loader-background",type:"String"},loaderColor:{attribute:"loader-color",type:"String"},flyout:{attribute:"flyout",type:"Boolean"},flyoutStyle:{attribute:"flyout-style",type:"String"},flyoutClass:{attribute:"flyout-class",type:"String"}},[],[],!0));export{E as LiipGPTChat};
@@ -0,0 +1,3 @@
1
+ import{o as De,s as mt}from"./DDyGsrRo.js";import{bB as Ee,K as T,G as x,O as P}from"./BkMkT2yX.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 kt(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 At=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&q.delete(Ie(e)),At(e,t));const q=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&&q.set(n,{body:a,init:s,ttl:1e3*Number(i)}),r.getAttribute("data-b64")!==null&&(a=kt(a)),Promise.resolve(new Response(a,s))}return window.fetch(e,t)}function St(e,t,n){if(q.size>0){const r=Ie(e,n),a=q.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);q.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_14pngk5?.base??"/configurator",Pt=globalThis.__sveltekit_14pngk5?.assets??U,Ct="1762449335934",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 Ge(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,Gt=-5,Mt=-6;function qt(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===Gt)return-1/0;if(s===Mt)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],_=Ge(p),m=new l(_);r[s]=m;break}case"ArrayBuffer":{const l=o[1],p=Ge(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 G(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 Me(){}let Te,be,re,C,ke,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,qe=!0,X=!1,M=!1,at=!1,Pe=!1,ot,k,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,ke=t,be=e.nodes[0],re=e.nodes[1],be(),re(),k=history.state?.[F],I=history.state?.[Y],k||(k=I=Date.now(),history.replaceState({...history.state,[F]:k,[Y]:I},""));const r=D[k];function a(){r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y))}n?(a(),await gn(ke,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(k),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],A=!!g?.[0]&&(b?.loader!==g[1]||He(p,u,h,l,b.server?.uses,r));return A&&(p=!0),A});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],A=m?.[y];if((!A||A.type==="skip")&&g[1]===b?.loader&&!He(R,u,h,l,b.universal?.uses,r))return b;if(R=!0,A?.type==="error")throw A;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(A===void 0&&g[0]?{type:"skip"}:A??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),A;if(m?.includes(y))b=y.status??b,A=y.error;else if(y instanceof le)A=y.body;else{if(await N.updated.check())return await nt(),await G(n);A=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:A,route:a}):await dt(n,{id:a.id},A,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 G(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=Me,block:d=Me}){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=k,_=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 G(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 G(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]:k+=g,[Y]:I+=g,[Xe]:i};(s?history.replaceState:history.pushState).call(history,y,"",t),s||rn(k,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,ke,!1);const{activeElement:R}=document;await tn();const S=n?n.scroll:a?fe():null;if(qe){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),qe=!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 G(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(M=!0,Le(k),e(r),!o.replace_state)return;M=!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(!Ae){if(t.state?.[F]){const n=t.state[F];if($={},n===k)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[k]=fe(),r&&scrollTo(r.x,r.y),k=n;return}const f=n-k;await W({type:"popstate",url:s,popped:{state:a,scroll:r,delta:f},accept:()=>{k=n,I=i},block:()=>{history.go(-f)},nav_token:$})}else if(!M){const n=new URL(location.href);e(n),v.hash&&location.reload()}}}),addEventListener("hashchange",()=>{M&&(M=!1,history.replaceState({...history.state,[F]:++k,[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 G(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 qt(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 Ae=!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;Ae=!0,location.replace(`#${n}`),v.hash&&location.replace(e.hash),history.replaceState(i,"",e.hash),scrollTo(a,s),Ae=!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,4 +1,4 @@
1
- import"./NZTpNUN0.js";import{p as J,I as b,a as d,J as K,b as n,d as L,v as k,G as x,K as N,F as q,L as O,M as P,c as R,N as T,f as B,s as E,t as U,g as j,O as S,e as w,r as z}from"./BkMkT2yX.js";import{i as F}from"./CIVexZRw.js";import{a as A}from"./HNsM71V8.js";import{p as M}from"./w-7tIaYZ.js";var D=(u,a)=>a()(),H=B('<div class="chat-app__container"><div class="error-message svelte-4thrqu">Server is unreachable, please try later... <button class="error-message__retry-button svelte-4thrqu">Retry</button></div></div>'),Q=B(" <!>",1);const V={hash:"svelte-4thrqu",code:`
1
+ import"./NZTpNUN0.js";import{p as J,I as b,a as d,J as K,b as n,d as L,v as k,G as x,K as N,F as q,L as O,M as P,c as R,N as T,f as B,s as E,t as U,g as j,O as S,e as w,r as z}from"./BkMkT2yX.js";import{i as F}from"./CIVexZRw.js";import{a as A}from"./CO1VjDW9.js";import{p as M}from"./w-7tIaYZ.js";var D=(u,a)=>a()(),H=B('<div class="chat-app__container"><div class="error-message svelte-4thrqu">Server is unreachable, please try later... <button class="error-message__retry-button svelte-4thrqu">Retry</button></div></div>'),Q=B(" <!>",1);const V={hash:"svelte-4thrqu",code:`
2
2
  /* These styles are inline, because at this point theme loading has failed. */.error-message.svelte-4thrqu {display:table;z-index:1000;width:auto;margin:2rem auto;padding:2rem;border-radius:2px;background:white;color:oklch(27.8% 0.033 256.848);font-family:-apple-system,
3
3
  BlinkMacSystemFont,
4
4
  avenir next,
@@ -1 +1 @@
1
- import"./NZTpNUN0.js";import{p as m,F as y,d as f,v as r,G as S,H as d,c as h}from"./BkMkT2yX.js";import{p as n,s as _}from"./w-7tIaYZ.js";import{E as T}from"./BrRo6Gg5.js";import{O as k}from"./TjkIfco8.js";function C(c,e){m(e,!0);let o=n(e,"onclick",7),u=n(e,"buttonClass",7),l=n(e,"buttonStyle",7),s=n(e,"apiUrl",7),a=n(e,"forceTheme",7),i=n(e,"lang",7),b=d(()=>({onclick:o(),buttonClass:u(),buttonStyle:l(),apiUrl:s(),forceTheme:a(),lang:i()}));return T(c,{silent:!0,body:(g,p=y)=>{k(g,_({host:e.$$host,get onError(){return p()}},()=>S(b)))},$$slots:{body:!0}}),f({get onclick(){return o()},set onclick(t){o(t),r()},get buttonClass(){return u()},set buttonClass(t){u(t),r()},get buttonStyle(){return l()},set buttonStyle(t){l(t),r()},get apiUrl(){return s()},set apiUrl(t){s(t),r()},get forceTheme(){return a()},set forceTheme(t){a(t),r()},get lang(){return i()},set lang(t){i(t),r()}})}customElements.define("liipgpt-button",h(C,{forceTheme:{attribute:"force-theme",type:"String"},buttonClass:{attribute:"button-class",type:"String"},buttonStyle:{attribute:"button-style",type:"String"},apiUrl:{attribute:"api-url",type:"String"},lang:{attribute:"lang",type:"String"},onclick:{}},[],[],!0));export{C as LiipGPTButton};
1
+ import"./NZTpNUN0.js";import{p as m,F as y,d as f,v as r,G as S,H as d,c as h}from"./BkMkT2yX.js";import{p as n,s as _}from"./w-7tIaYZ.js";import{E as T}from"./DeC3Wj5S.js";import{O as k}from"./BcxyVcfq.js";function C(c,e){m(e,!0);let o=n(e,"onclick",7),u=n(e,"buttonClass",7),l=n(e,"buttonStyle",7),s=n(e,"apiUrl",7),a=n(e,"forceTheme",7),i=n(e,"lang",7),b=d(()=>({onclick:o(),buttonClass:u(),buttonStyle:l(),apiUrl:s(),forceTheme:a(),lang:i()}));return T(c,{silent:!0,body:(g,p=y)=>{k(g,_({host:e.$$host,get onError(){return p()}},()=>S(b)))},$$slots:{body:!0}}),f({get onclick(){return o()},set onclick(t){o(t),r()},get buttonClass(){return u()},set buttonClass(t){u(t),r()},get buttonStyle(){return l()},set buttonStyle(t){l(t),r()},get apiUrl(){return s()},set apiUrl(t){s(t),r()},get forceTheme(){return a()},set forceTheme(t){a(t),r()},get lang(){return i()},set lang(t){i(t),r()}})}customElements.define("liipgpt-button",h(C,{forceTheme:{attribute:"force-theme",type:"String"},buttonClass:{attribute:"button-class",type:"String"},buttonStyle:{attribute:"button-style",type:"String"},apiUrl:{attribute:"api-url",type:"String"},lang:{attribute:"lang",type:"String"},onclick:{}},[],[],!0));export{C as LiipGPTButton};
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.6Nyp5YF7.js","../chunks/BnkvG7IB.js","../chunks/NZTpNUN0.js","../chunks/BkMkT2yX.js","../chunks/w-7tIaYZ.js","../nodes/1.DQmrEIHy.js","../chunks/BPqAw_M_.js","../chunks/Cp1S0mah.js","../chunks/DDyGsrRo.js","../nodes/2.QtKjmXTG.js","../chunks/CIVexZRw.js","../chunks/HNsM71V8.js","../nodes/3.Cza37V1o.js","../chunks/DP_7kP9j.js","../chunks/TjkIfco8.js"])))=>i.map(i=>d[i]);
2
- import{i as O,c as x,b as D,_ as E}from"../chunks/CIVexZRw.js";import{c as N,p as Q,ab as U,u as W,G as i,K as I,O as R,D as X,f as C,a as P,s as Y,b as p,d as Z,v as c,I as w,H as A,e as $,r as tt,ac as et,t as rt,g as at,ad as st}from"../chunks/BkMkT2yX.js";import"../chunks/NZTpNUN0.js";import{o as ot}from"../chunks/DDyGsrRo.js";import{p as u}from"../chunks/w-7tIaYZ.js";const vt={};var nt=C('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),it=C("<!> <!>",1);function G(s,e){Q(e,!0);let m=u(e,"stores",7),d=u(e,"page",7),o=u(e,"constructors",7),r=u(e,"components",23,()=>[]),_=u(e,"form",7),f=u(e,"data_0",7,null),b=u(e,"data_1",7,null);U(()=>m().page.set(d())),W(()=>{m(),d(),o(),r(),_(),f(),b(),m().page.notify()});let y=I(!1),L=I(!1),T=I(null);ot(()=>{const t=m().page.subscribe(()=>{i(y)&&(R(L,!0),X().then(()=>{R(T,document.title||"untitled page",!0)}))});return R(y,!0),t});const H=A(()=>o()[1]);var V=it(),k=P(V);{var K=t=>{var a=w();const v=A(()=>o()[0]);var g=P(a);x(g,()=>i(v),(n,l)=>{D(l(n,{get data(){return f()},get form(){return _()},get params(){return d().params},children:(h,mt)=>{var j=w(),z=P(j);x(z,()=>i(H),(B,F)=>{D(F(B,{get data(){return b()},get form(){return _()}}),J=>r()[1]=J,()=>r()?.[1])}),p(h,j)},$$slots:{default:!0}}),h=>r()[0]=h,()=>r()?.[0])}),p(t,a)},M=t=>{var a=w();const v=A(()=>o()[0]);var g=P(a);x(g,()=>i(v),(n,l)=>{D(l(n,{get data(){return f()},get form(){return _()},get params(){return d().params}}),h=>r()[0]=h,()=>r()?.[0])}),p(t,a)};O(k,t=>{o()[1]?t(K):t(M,!1)})}var S=Y(k,2);{var q=t=>{var a=nt(),v=$(a);{var g=n=>{var l=et();rt(()=>at(l,i(T))),p(n,l)};O(v,n=>{i(L)&&n(g)})}tt(a),p(t,a)};O(S,t=>{i(y)&&t(q)})}return p(s,V),Z({get stores(){return m()},set stores(t){m(t),c()},get page(){return d()},set page(t){d(t),c()},get constructors(){return o()},set constructors(t){o(t),c()},get components(){return r()},set components(t=[]){r(t),c()},get form(){return _()},set form(t){_(t),c()},get data_0(){return f()},set data_0(t=null){f(t),c()},get data_1(){return b()},set data_1(t=null){b(t),c()}})}N(G,{stores:{},page:{},constructors:{},components:{},form:{},data_0:{},data_1:{}},[],[],!0);const gt=st(G),ht=[()=>E(()=>import("../nodes/0.6Nyp5YF7.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url),()=>E(()=>import("../nodes/1.DQmrEIHy.js"),__vite__mapDeps([5,2,6,3,7,8]),import.meta.url),()=>E(()=>import("../nodes/2.QtKjmXTG.js"),__vite__mapDeps([9,10,3,2,11,4,6,7,8,1]),import.meta.url),()=>E(()=>import("../nodes/3.Cza37V1o.js"),__vite__mapDeps([12,2,4,3,11,10,6,7,8,1,13,14]),import.meta.url)],bt=[],Et={"/":[2],"/sidebar":[3]},ct={handleError:({error:s})=>{console.error(s)},reroute:()=>{},transport:{}},ut=Object.fromEntries(Object.entries(ct.transport).map(([s,e])=>[s,e.decode])),Pt=!1,yt=(s,e)=>ut[s](e);export{yt as decode,ut as decoders,Et as dictionary,Pt as hash,ct as hooks,vt as matchers,ht as nodes,gt as root,bt as server_loads};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.DQ5pdmr8.js","../chunks/BzNmKNYl.js","../chunks/NZTpNUN0.js","../chunks/BkMkT2yX.js","../chunks/w-7tIaYZ.js","../nodes/1.iGq4bplI.js","../chunks/6iiGzJiA.js","../chunks/CknFvNnh.js","../chunks/DDyGsrRo.js","../nodes/2.D1z7Il5A.js","../chunks/CIVexZRw.js","../chunks/CO1VjDW9.js","../nodes/3.DO39A0EF.js","../chunks/7RznL39c.js","../chunks/BcxyVcfq.js"])))=>i.map(i=>d[i]);
2
+ import{i as O,c as x,b as D,_ as E}from"../chunks/CIVexZRw.js";import{c as N,p as Q,ab as U,u as W,G as i,K as I,O as R,D as X,f as C,a as P,s as Y,b as p,d as Z,v as c,I as w,H as A,e as $,r as tt,ac as et,t as rt,g as at,ad as st}from"../chunks/BkMkT2yX.js";import"../chunks/NZTpNUN0.js";import{o as ot}from"../chunks/DDyGsrRo.js";import{p as u}from"../chunks/w-7tIaYZ.js";const vt={};var nt=C('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),it=C("<!> <!>",1);function G(s,e){Q(e,!0);let m=u(e,"stores",7),d=u(e,"page",7),o=u(e,"constructors",7),r=u(e,"components",23,()=>[]),_=u(e,"form",7),f=u(e,"data_0",7,null),b=u(e,"data_1",7,null);U(()=>m().page.set(d())),W(()=>{m(),d(),o(),r(),_(),f(),b(),m().page.notify()});let y=I(!1),L=I(!1),T=I(null);ot(()=>{const t=m().page.subscribe(()=>{i(y)&&(R(L,!0),X().then(()=>{R(T,document.title||"untitled page",!0)}))});return R(y,!0),t});const H=A(()=>o()[1]);var V=it(),k=P(V);{var K=t=>{var a=w();const v=A(()=>o()[0]);var g=P(a);x(g,()=>i(v),(n,l)=>{D(l(n,{get data(){return f()},get form(){return _()},get params(){return d().params},children:(h,mt)=>{var j=w(),z=P(j);x(z,()=>i(H),(B,F)=>{D(F(B,{get data(){return b()},get form(){return _()}}),J=>r()[1]=J,()=>r()?.[1])}),p(h,j)},$$slots:{default:!0}}),h=>r()[0]=h,()=>r()?.[0])}),p(t,a)},M=t=>{var a=w();const v=A(()=>o()[0]);var g=P(a);x(g,()=>i(v),(n,l)=>{D(l(n,{get data(){return f()},get form(){return _()},get params(){return d().params}}),h=>r()[0]=h,()=>r()?.[0])}),p(t,a)};O(k,t=>{o()[1]?t(K):t(M,!1)})}var S=Y(k,2);{var q=t=>{var a=nt(),v=$(a);{var g=n=>{var l=et();rt(()=>at(l,i(T))),p(n,l)};O(v,n=>{i(L)&&n(g)})}tt(a),p(t,a)};O(S,t=>{i(y)&&t(q)})}return p(s,V),Z({get stores(){return m()},set stores(t){m(t),c()},get page(){return d()},set page(t){d(t),c()},get constructors(){return o()},set constructors(t){o(t),c()},get components(){return r()},set components(t=[]){r(t),c()},get form(){return _()},set form(t){_(t),c()},get data_0(){return f()},set data_0(t=null){f(t),c()},get data_1(){return b()},set data_1(t=null){b(t),c()}})}N(G,{stores:{},page:{},constructors:{},components:{},form:{},data_0:{},data_1:{}},[],[],!0);const gt=st(G),ht=[()=>E(()=>import("../nodes/0.DQ5pdmr8.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url),()=>E(()=>import("../nodes/1.iGq4bplI.js"),__vite__mapDeps([5,2,6,3,7,8]),import.meta.url),()=>E(()=>import("../nodes/2.D1z7Il5A.js"),__vite__mapDeps([9,10,3,2,11,4,6,7,8,1]),import.meta.url),()=>E(()=>import("../nodes/3.DO39A0EF.js"),__vite__mapDeps([12,2,4,3,11,10,6,7,8,1,13,14]),import.meta.url)],bt=[],Et={"/":[2],"/sidebar":[3]},ct={handleError:({error:s})=>{console.error(s)},reroute:()=>{},transport:{}},ut=Object.fromEntries(Object.entries(ct.transport).map(([s,e])=>[s,e.decode])),Pt=!1,yt=(s,e)=>ut[s](e);export{yt as decode,ut as decoders,Et as dictionary,Pt as hash,ct as hooks,vt as matchers,ht as nodes,gt as root,bt as server_loads};
@@ -0,0 +1 @@
1
+ import{l as o,a as r}from"../chunks/CknFvNnh.js";export{o as load_css,r as start};
@@ -1,4 +1,4 @@
1
- import{P as a}from"../chunks/BnkvG7IB.js";import"../chunks/NZTpNUN0.js";import{c as r,p as l,I as c,a as p,L as u,b as d,d as h,v as f}from"../chunks/BkMkT2yX.js";import{p as g}from"../chunks/w-7tIaYZ.js";const v=async()=>await(await fetch("https://liipgpt.api.dev.genai.liip.ch/configurator/api/all-org-names")).json(),m=["baselcitygpt"],y=async()=>{const n=await v().catch(e=>(console.error("Error fetching org names:",e),[]));n.push("liipgpt");const i=n.map(e=>m.includes(e)?[e,{dev:`https://${e}-dev-api.gpt.liip.ch/${e}`,prod:`https://${e}-api.gpt.liip.ch/${e}`}]:[e,{dev:`https://${e}.api.dev.genai.liip.ch/${e}`,prod:`https://${e}.api.prod.genai.liip.ch/${e}`}]);return Object.fromEntries(i)},b=`/**
1
+ import{P as a}from"../chunks/BzNmKNYl.js";import"../chunks/NZTpNUN0.js";import{c as l,p as r,I as c,a as u,L as p,b as d,d as h,v as f}from"../chunks/BkMkT2yX.js";import{p as g}from"../chunks/w-7tIaYZ.js";const v=async()=>await(await fetch("https://liipgpt.api.dev.genai.liip.ch/configurator/api/all-org-names")).json(),m=["baselcitygpt"],y=async()=>{const n=await v().catch(e=>(console.error("Error fetching org names:",e),[]));n.push("liipgpt");const i=n.map(e=>m.includes(e)?[e,{dev:`https://${e}-dev-api.gpt.liip.ch/${e}`,prod:`https://${e}-api.gpt.liip.ch/${e}`}]:[e,{dev:`https://${e}.api.dev.genai.liip.ch/${e}`,prod:`https://${e}.api.prod.genai.liip.ch/${e}`}]);return Object.fromEntries(i)},b=`/**
2
2
  * @type {import('@liip/liipgpt/config').ChatConfig} ChatConfig
3
3
  */
4
4
  const CHAT_CONFIG_OVERRIDE = {
@@ -10,6 +10,7 @@ const CHAT_CONFIG_OVERRIDE = {
10
10
  // showReferencesByDefault: true,
11
11
  // showExpandedSelectors: true,
12
12
  // showTextFeedback: false,
13
+ // inlineLayout: true,
13
14
  // allowAudioInput: true,
14
15
  // blockPII: false,
15
16
  // questionPrefix: "url:https://example.com",
@@ -18,6 +19,23 @@ const CHAT_CONFIG_OVERRIDE = {
18
19
  // renderKatex: true, // will use katex to render formulas
19
20
  // reflectLanguageInPath: true,
20
21
  // sendReferrer: true, // sends referrer path to backend for each question
22
+ /*classification: {
23
+ impact: {
24
+ label: "Impact",
25
+ options: [
26
+ { label: "Positive", value: 1 },
27
+ { label: "Negative", value: 2 },
28
+ ],
29
+ },
30
+ quality: {
31
+ label: "Quality",
32
+ options: [
33
+ { label: "Good", value: 1 },
34
+ { label: "Bad", value: 2 },
35
+ ],
36
+ },
37
+ },
38
+ */
21
39
  /* selectorsConfig: [
22
40
  {
23
41
  settingName: "sources",
@@ -102,4 +120,4 @@ window.CHAT_CONFIG_OVERRIDE = CHAT_CONFIG_OVERRIDE;
102
120
  </g>
103
121
  </svg>
104
122
  </div>
105
- `,C={"api-org":{type:"string",values:[],value:"liipgpt",description:"Select the organization to to get the API URL"},"prod-api":{type:"boolean",value:!1,description:"Select to use the production API URL"},"api-url":{type:"string",required:!0,value:a,description:"URL of the API endpoint."},lang:{type:"string",values:["en","de","fr","it"],value:"en",description:"This property allows the parent page of the chat to control the chat language. This is useful if the parent page should drive the language selection."},flyout:{type:"boolean",value:!1,description:"If set the chat will be put in a default flyout container."},"flyout-style":{type:"string",value:"width: 400px; height: 600px;",description:"This is the style attribute of the flyout container. With this the flyout size and position can be customized."},"flyout-class":{type:"string",value:"custom-flyout-class",description:"This is the class attribute of the flyout container. With this the flyout size and position can be customized."},"loader-background":{type:"string",value:"linear-gradient(0deg, #1B181E 0%, #2A2440 90%)",description:"This is the background color of the loading spinner."},"loader-color":{type:"string",value:"#9C92EE",description:"This is the color of the loading spinner."},"custom-loader":{type:"string",value:w,description:"This is an example how you can provide a custom loading spinner when the chat is loading."},onclosechat:{type:"string",value:'document.querySelector("liipgpt-chat").addEventListener("closechat", () => console.log("received: closechat"));',description:"This is the event listener create a custom handler to the closechat event. RELOAD the page to avoid multiple listeners."},cdn:{type:"boolean",value:!0,description:"When set, a fixed CDN URL will be used. Instead of providing the code from the backend."},CHAT_CONFIG_OVERRIDE:{type:"string",value:b,description:"This is only for demo purposes and should not be used in production. RELOAD the page to see the effects."},"show-components":{type:"boolean",value:!1,description:"Previews all the components for designing purposes."},"show-link-button":{type:"boolean",value:!1,description:"Previews the button as a link to an external page"}},O=async()=>{const n=await y();let i=C;return i["api-org"].values=Object.keys(n),{optionsDefinition:i,apiUrls:n}},I=!1,E=!0,x=(n,i)=>{const e=structuredClone(n);return Object.entries(n).forEach(([t,s])=>{const o=i.get(t);s.type==="boolean"&&(e[t].required=!0),o!==null?(s.type==="boolean"&&(e[t].value=o!=="false"),s.type==="string"&&(e[t].value=String(o))):s.required?e[t].value=n[t].value:e[t].value=void 0}),e},T=async({url:n})=>{const{optionsDefinition:i,apiUrls:e}=await O(),t=x(i,n.searchParams);if(t["api-org"].value){const s=e[t["api-org"].value];t["api-url"].value=t["prod-api"].value?s.prod:s.dev}return{optionsDefinition:i,options:t}},L=Object.freeze(Object.defineProperty({__proto__:null,load:T,prerender:E,ssr:I},Symbol.toStringTag,{value:"Module"}));function _(n,i){l(i,!0);let e=g(i,"children",7);var t=c(),s=p(t);return u(s,e),d(n,t),h({get children(){return e()},set children(o){e(o),f()}})}r(_,{children:{}},[],[],!0);export{_ as component,L as universal};
123
+ `,C={"api-org":{type:"string",values:[],value:"liipgpt",description:"Select the organization to to get the API URL"},"prod-api":{type:"boolean",value:!1,description:"Select to use the production API URL"},"api-url":{type:"string",required:!0,value:a,description:"URL of the API endpoint."},lang:{type:"string",values:["en","de","fr","it"],value:"en",description:"This property allows the parent page of the chat to control the chat language. This is useful if the parent page should drive the language selection."},flyout:{type:"boolean",value:!1,description:"If set the chat will be put in a default flyout container."},"flyout-style":{type:"string",value:"width: 400px; height: 600px;",description:"This is the style attribute of the flyout container. With this the flyout size and position can be customized."},"flyout-class":{type:"string",value:"custom-flyout-class",description:"This is the class attribute of the flyout container. With this the flyout size and position can be customized."},"loader-background":{type:"string",value:"linear-gradient(0deg, #1B181E 0%, #2A2440 90%)",description:"This is the background color of the loading spinner."},"loader-color":{type:"string",value:"#9C92EE",description:"This is the color of the loading spinner."},"custom-loader":{type:"string",value:w,description:"This is an example how you can provide a custom loading spinner when the chat is loading."},onclosechat:{type:"string",value:'document.querySelector("liipgpt-chat").addEventListener("closechat", () => console.log("received: closechat"));',description:"This is the event listener create a custom handler to the closechat event. RELOAD the page to avoid multiple listeners."},cdn:{type:"boolean",value:!0,description:"When set, a fixed CDN URL will be used. Instead of providing the code from the backend."},CHAT_CONFIG_OVERRIDE:{type:"string",value:b,description:"This is only for demo purposes and should not be used in production. RELOAD the page to see the effects."},"show-components":{type:"boolean",value:!1,description:"Previews all the components for designing purposes."},"show-link-button":{type:"boolean",value:!1,description:"Previews the button as a link to an external page"}},O=async()=>{const n=await y();let i=C;return i["api-org"].values=Object.keys(n),{optionsDefinition:i,apiUrls:n}},I=!1,E=!0,x=(n,i)=>{const e=structuredClone(n);return Object.entries(n).forEach(([t,s])=>{const o=i.get(t);s.type==="boolean"&&(e[t].required=!0),o!==null?(s.type==="boolean"&&(e[t].value=o!=="false"),s.type==="string"&&(e[t].value=String(o))):s.required?e[t].value=n[t].value:e[t].value=void 0}),e},T=async({url:n})=>{const{optionsDefinition:i,apiUrls:e}=await O(),t=x(i,n.searchParams);if(t["api-org"].value){const s=e[t["api-org"].value];t["api-url"].value=t["prod-api"].value?s.prod:s.dev}return{optionsDefinition:i,options:t}},A=Object.freeze(Object.defineProperty({__proto__:null,load:T,prerender:E,ssr:I},Symbol.toStringTag,{value:"Module"}));function _(n,i){r(i,!0);let e=g(i,"children",7);var t=c(),s=u(t);return p(s,e),d(n,t),h({get children(){return e()},set children(o){e(o),f()}})}l(_,{children:{}},[],[],!0);export{_ as component,A as universal};
@@ -1 +1 @@
1
- import"../chunks/NZTpNUN0.js";import{i as c,p as r}from"../chunks/BPqAw_M_.js";import{c as h,p as l,f as u,a as _,t as v,b as g,d,e as s,r as p,s as x,g as o}from"../chunks/BkMkT2yX.js";var b=u("<h1> </h1> <p> </p>",1);function E(m,i){l(i,!1),c();var a=b(),t=_(a),f=s(t,!0);p(t);var e=x(t,2),n=s(e,!0);p(e),v(()=>{o(f,r.status),o(n,r.error?.message)}),g(m,a),d()}h(E,{},[],[],!0);export{E as component};
1
+ import"../chunks/NZTpNUN0.js";import{i as c,p as r}from"../chunks/6iiGzJiA.js";import{c as h,p as l,f as u,a as _,t as v,b as g,d,e as s,r as p,s as x,g as o}from"../chunks/BkMkT2yX.js";var b=u("<h1> </h1> <p> </p>",1);function E(m,i){l(i,!1),c();var a=b(),t=_(a),f=s(t,!0);p(t);var e=x(t,2),n=s(e,!0);p(e),v(()=>{o(f,r.status),o(n,r.error?.message)}),g(m,a),d()}h(E,{},[],[],!0);export{E as component};
@@ -1,8 +1,8 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../chunks/CUzNvOh0.js","../chunks/NZTpNUN0.js","../chunks/BkMkT2yX.js","../chunks/w-7tIaYZ.js","../chunks/DP_7kP9j.js","../chunks/CIVexZRw.js","../chunks/HNsM71V8.js","../chunks/BPqAw_M_.js","../chunks/Cp1S0mah.js","../chunks/DDyGsrRo.js","../chunks/BnkvG7IB.js","../chunks/TjkIfco8.js","../chunks/BrRo6Gg5.js","../chunks/BXxSlBOI.js"])))=>i.map(i=>d[i]);
2
- import{i as z,_ as ht,b as gt}from"../chunks/CIVexZRw.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 ke,N as ae,u as W,o as Ft,aH as yt,I as j,a as S,G as r,H as E,aI as At,aJ as fe,K as mt,aK as bt,J as Ht,O as wt}from"../chunks/BkMkT2yX.js";import{a as ne,s as K,k as xt,l as s,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 xe,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/HNsM71V8.js";import{p as ie,s as ta,r as aa}from"../chunks/w-7tIaYZ.js";import{g as ia}from"../chunks/Cp1S0mah.js";import{p as ra}from"../chunks/BPqAw_M_.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;
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../chunks/CdOhT63o.js","../chunks/NZTpNUN0.js","../chunks/BkMkT2yX.js","../chunks/w-7tIaYZ.js","../chunks/7RznL39c.js","../chunks/CIVexZRw.js","../chunks/CO1VjDW9.js","../chunks/6iiGzJiA.js","../chunks/CknFvNnh.js","../chunks/DDyGsrRo.js","../chunks/BzNmKNYl.js","../chunks/BcxyVcfq.js","../chunks/DeC3Wj5S.js","../chunks/Du-AngZl.js"])))=>i.map(i=>d[i]);
2
+ import{i as z,_ as vt,b as ht}from"../chunks/CIVexZRw.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 ke,N as ae,u as W,o as Dt,aH as _t,I as j,a as S,G as r,H as E,aI as Ft,aJ as fe,K as gt,aK as mt,J as At,O as bt}from"../chunks/BkMkT2yX.js";import{a as ne,s as K,k as yt,l as s,m as Ht,t as Ot,e as $,i as Q,I as ee,n as Gt,C as wt,o as Rt,p as Jt,S as o,q as Ut,P as _e,R as ye,r as xe,N as Zt,u as Nt,v as $t,c as Qt,M as Wt,w as Vt,x as ft,h as Kt,y as Yt}from"../chunks/CO1VjDW9.js";import{p as ie,s as Xt,r as ea}from"../chunks/w-7tIaYZ.js";import{g as ta}from"../chunks/CknFvNnh.js";import{p as aa}from"../chunks/6iiGzJiA.js";var ia=q('<div class="swatch svelte-18q4g20"><div class="swatch__color svelte-18q4g20"></div> <div class="swatch__label svelte-18q4g20"> </div></div>');const ra={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
3
 
4
4
  @media (min-width: 768px) {display:block;
5
- }}`};function re(h,d){qe(d,!1),ne(h,oa);let f=ie(d,"name",12),c=ie(d,"key",12),L=ie(d,"value",12);var _=na(),T=i(_),B=e(T,2),F=i(B,!0);return a(B),a(_),V(()=>{K(_,"title",`Color ${c()}: ${L()}`),xt(T,`background-color: var(--color-${f()??""}-${c()??""});`),ke(F,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 L()},set value(g){L(g),te()}})}Y(re,{name:{},key:{},value:{}},[],[],!0);var sa=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 kt(h){var d=sa();l(h,d)}Y(kt,{},[],[],!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
5
+ }}`};function re(h,d){qe(d,!1),ne(h,ra);let f=ie(d,"name",12),c=ie(d,"key",12),L=ie(d,"value",12);var _=ia(),T=i(_),B=e(T,2),F=i(B,!0);return a(B),a(_),V(()=>{K(_,"title",`Color ${c()}: ${L()}`),yt(T,`background-color: var(--color-${f()??""}-${c()??""});`),ke(F,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 L()},set value(g){L(g),te()}})}Y(re,{name:{},key:{},value:{}},[],[],!0);var na=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=na();l(h,d)}Y(xt,{},[],[],!0);var oa=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
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
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
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
@@ -10,7 +10,7 @@ import{i as z,_ as ht,b as gt}from"../chunks/CIVexZRw.js";import"../chunks/NZTpN
10
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
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
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.
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 sa={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 kt(h){ne(h,sa);var d=oa();ae(30),l(h,d)}Y(kt,{},[],[],!0);const la=[{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
14
 
15
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
16
 
@@ -22,9 +22,9 @@ Bitte lassen Sie mich wissen, ob Sie weitere Informationen zu einem bestimmten T
22
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="{&quot;url&quot;:&quot;https://www.liip.ch/en/blog/how-to-test-your-gutenberg-blocks&quot;,&quot;considered&quot;:true,&quot;referencesIndex&quot;:{&quot;all&quot;:3,&quot;used&quot;:1},&quot;display&quot;:{&quot;card&quot;:{&quot;title&quot;:&quot;How to test your Gutenberg blocks with Jest and Puppeteer · Blog&quot;,&quot;description&quot;:&quot;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.&quot;,&quot;badge&quot;:&quot;https://www.liip.ch/en/blog/how-to-test-your-gutenberg-blocks&quot;},&quot;listItem&quot;:{&quot;title&quot;:&quot;How to test your Gutenberg blocks with Jest and Puppeteer · Blog&quot;,&quot;badge&quot;:&quot;www.liip.ch&quot;}}}" data-used-index="1" data-all-index="3"></liipgpt-reference-number>. </p>
23
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="{&quot;url&quot;:&quot;https://www.liip.ch/en/blog/debugging-email-on-staging-server&quot;,&quot;considered&quot;:true,&quot;referencesIndex&quot;:{&quot;all&quot;:2,&quot;used&quot;:2},&quot;display&quot;:{&quot;card&quot;:{&quot;title&quot;:&quot;Debugging Email on Staging Server · Blog&quot;,&quot;description&quot;:&quot;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.&quot;,&quot;badge&quot;:&quot;https://www.liip.ch/en/blog/debugging-email-on-staging-server&quot;},&quot;listItem&quot;:{&quot;title&quot;:&quot;Debugging Email on Staging Server · Blog&quot;,&quot;badge&quot;:&quot;www.liip.ch&quot;}}}" data-used-index="2" data-all-index="2"></liipgpt-reference-number>. </p>
24
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-12rj1z4"><!></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-12rj1z4"><!></div> <h3 class="h4">Highlight Colors (optional)</h3> <div class="color-swatches svelte-12rj1z4"><!></div> <h3 class="h4">Grey Colors</h3> <div class="color-swatches svelte-12rj1z4"><!></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
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 da=q('<link rel="stylesheet"/>'),ca=q("<!> <!> <!> <!> <!>",1),ua=q('<div class="context-menu svelte-12rj1z4"><!></div>'),pa=q('<div class="chat-app__loader-container">Loading...</div>'),va=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-12rj1z4"><!></div> <h3 class="h4">Highlight Colors (optional)</h3> <div class="color-swatches svelte-12rj1z4"><!></div> <h3 class="h4">Grey Colors</h3> <div class="color-swatches svelte-12rj1z4"><!></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
26
  files and are applied to the components that need them.</p> <div class="card transition-colors svelte-12rj1z4">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-12rj1z4"><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-12rj1z4"><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-12rj1z4"><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-12rj1z4"></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-12rj1z4"><!> <div class="chat-app__container svelte-12rj1z4"><div class="chat-app__main svelte-12rj1z4"><div class="chat-app__portals"></div> <!></div></div></main>');const ba={hash:"svelte-12rj1z4",code:`.color-swatches.svelte-12rj1z4 {display:flex;grid-template-columns:repeat(13, 1fr);max-width:100%;margin:0;gap:0.25rem;}.chat-app.svelte-12rj1z4,
28
- .chat-app__container.svelte-12rj1z4 {width:100%;height:100%;background:var(--body-background);}.chat-page__messages.svelte-12rj1z4 {min-height:auto;padding-bottom:200px;}.context-menu.svelte-12rj1z4 {z-index:1000;position:fixed;top:20px;right:20px;}.chat-app__container.svelte-12rj1z4 {overflow-y:auto;}.chat-app__main.svelte-12rj1z4 {overflow-x:hidden;overscroll-behavior-x:none;background:transparent;touch-action:pan-y;}.card.svelte-12rj1z4 {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-12rj1z4 {position:relative;top:0;left:0;transform:none;}.references__container.svelte-12rj1z4 {background-color:var(--aside-background);}.context-box__content.svelte-12rj1z4 {position:relative;}`};function Ct(h,d){qe(d,!0),ne(h,ba);let f=ie(d,"data",7),c=E(()=>s.t);W(()=>{const t={lang:f().options.lang.value,forceTheme:f().options?.["force-theme"]?.value,apiUrl:f().options["api-url"].value,features:""};Ft(()=>s.init(t).catch(n=>{console.error("Failed to init chat logic",n)}))});const L=ca;var _=ma();yt(t=>{var n=j(),p=S(n);{var y=x=>{var v=pa(),u=S(v);$(u,17,()=>s.themeBase.fontURLs??[],Q,(O,G)=>{var D=ua();V(()=>K(D,"href",r(G))),l(O,D)});var k=e(u,2);ee(k,{id:"font-css",get css(){return s.themeBase.fontCSS}});var m=e(k,2);{let O=E(()=>Vt(s.theme));ee(m,{id:"theme-css",get css(){return r(O)}})}var w=e(m,2);ee(w,{id:"app-css",get css(){return Rt}});var P=e(w,2);ee(P,{id:"custom-css",get css(){return s.themeBase.customCSS}}),l(x,v)};z(p,x=>{s.initialized&&x(y)})}l(t,n)});let T;var B=i(_);{var F=t=>{var n=va(),p=i(n);ft(p,{get chatLogic(){return s}}),a(n),l(t,n)};z(B,t=>{s.initialized&&t(F)})}var g=e(B,2),M=i(g),A=i(M);Ot(A,(t,n)=>Gt?.(t,n),()=>"portals");var H=e(A,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),x=i(y);{var v=b=>{var C=j(),R=S(C);$(R,17,()=>Object.entries(s.theme.colors.brand),Q,(J,U)=>{var I=E(()=>fe(r(U),2));let Z=()=>r(I)[0],N=()=>r(I)[1];re(J,{name:"brand",get key(){return Z()},get value(){return N()}})}),l(b,C)};z(x,b=>{s.theme.colors?.brand&&b(v)})}a(y);var u=e(y,4),k=i(u);{var m=b=>{var C=j(),R=S(C);$(R,17,()=>Object.entries(s.theme.colors.highlight),Q,(J,U)=>{var I=E(()=>fe(r(U),2));let Z=()=>r(I)[0],N=()=>r(I)[1];re(J,{name:"highlight",get key(){return Z()},get value(){return N()}})}),l(b,C)};z(k,b=>{s.theme?.colors?.highlight&&b(m)})}a(u);var w=e(u,4),P=i(w);{var O=b=>{var C=j(),R=S(C);$(R,17,()=>Object.entries(s.theme.colors.grey),Q,(J,U)=>{var I=E(()=>fe(r(U),2));let Z=()=>r(I)[0],N=()=>r(I)[1];re(J,{name:"grey",get key(){return Z()},get value(){return N()}})}),l(b,C)};z(P,b=>{s.theme?.colors?.grey&&b(O)})}a(w),a(p);var G=e(p,4),D=e(i(G),10),Se=i(D);o(Se,{name:"avatar",class:"introduction__avatar"});var St=e(Se,2);o(St,{name:"avatar",class:"message__bot-avatar"}),a(D);var ze=e(D,4);Zt(ze,{onSubmit:()=>{}});var se=e(ze,2),Le=i(se);_e(Le,{predefinedQuestion:{label:"Question one",question:""},onSubmit:()=>{},index:0});var Ie=e(Le,2);_e(Ie,{predefinedQuestion:{label:"Question two",question:""},onSubmit:()=>{},index:1});var zt=e(Ie,2);_e(zt,{predefinedQuestion:{label:"Question three",question:""},onSubmit:()=>{},index:2}),a(se);var le=e(se,4),je=i(le),Te=i(je);ye(Te,{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 Be=e(Te,2);ye(Be,{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 Lt=e(Be,2);ye(Lt,{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(je),a(le);var de=e(le,2),Me=i(de),ce=e(i(Me));xe(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"}}})),xe(ce,"data-used-index","1"),xe(ce,"data-all-index","3"),ae(),a(Me),a(de);var ue=e(de,2),Pe=i(ue),Ee=i(Pe),It=e(i(Ee),2);o(It,{name:"externalLink",class:"reference__icon transition-colors"}),a(Ee),ae(4),a(Pe),a(ue);var pe=e(ue,4),De=i(pe),Fe=i(De);Nt(Fe,{});var Ae=e(Fe,2);ft(Ae,{get chatLogic(){return s}});var He=e(Ae,2);$t(He,{get logic(){return s}});var jt=e(He,2);Qt(jt,{onclick:()=>{}}),a(De),a(pe);var Oe=e(pe,8),Ge=e(i(Oe),2),ve=i(Ge),Re=i(ve);Wt(Re,{get classificationConfig(){return s.data.chatConfig.classification},impact:0,quality:0});var he=e(Re,2),ge=i(he),Tt=i(ge,!0);a(ge);var Bt=e(ge,2);a(he);var Je=e(he,2),me=i(Je),Mt=i(me,!0);a(me);var Pt=e(me,2);a(Je),a(ve),a(Ge),a(Oe),ae(4),a(G);var be=e(G,2),Et=e(i(be),4);kt(Et),a(be);var we=e(be,4);$(we,21,()=>L,Q,(b,C)=>{Kt(b,{get message(){return r(C)},get logic(){return s},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 rt=e(it,2);o(rt,{name:"attach"});var nt=e(rt,2);o(nt,{name:"record"});var ot=e(nt,2);o(ot,{name:"reward"});var st=e(ot,2);o(st,{name:"share"});var lt=e(st,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 Dt=e(vt,2);o(Dt,{name:"darkMode"}),a(Ne),a(Ue),V(()=>{ke(Tt,r(c).feedbackFormMessage),K(Bt,"placeholder",r(c).feedbackFormMessagePlaceholder),ke(Mt,r(c).feedbackFormEmail),K(Pt,"placeholder",r(c).feedbackFormEmailPlaceholder)}),At("submit",ve,async()=>{}),l(t,n)};z(H,t=>{s.initialized?t(oe,!1):t(X)})}return a(M),a(g),a(_),V(t=>T=xt(_,"",T,t),[()=>({"color-scheme":s.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,
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-12rj1z4"><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-12rj1z4"><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-12rj1z4"></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),ha=q('<main class="chat-app svelte-12rj1z4"><!> <div class="chat-app__container svelte-12rj1z4"><div class="chat-app__main svelte-12rj1z4"><div class="chat-app__portals"></div> <!></div></div></main>');const ga={hash:"svelte-12rj1z4",code:`.color-swatches.svelte-12rj1z4 {display:flex;grid-template-columns:repeat(13, 1fr);max-width:100%;margin:0;gap:0.25rem;}.chat-app.svelte-12rj1z4,
28
+ .chat-app__container.svelte-12rj1z4 {width:100%;height:100%;background:var(--body-background);}.chat-page__messages.svelte-12rj1z4 {min-height:auto;padding-bottom:200px;}.context-menu.svelte-12rj1z4 {z-index:1000;position:fixed;top:20px;right:20px;}.chat-app__container.svelte-12rj1z4 {overflow-y:auto;}.chat-app__main.svelte-12rj1z4 {overflow-x:hidden;overscroll-behavior-x:none;background:transparent;touch-action:pan-y;}.card.svelte-12rj1z4 {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-12rj1z4 {position:relative;top:0;left:0;transform:none;}.references__container.svelte-12rj1z4 {background-color:var(--aside-background);}.context-box__content.svelte-12rj1z4 {position:relative;}`};function qt(h,d){qe(d,!0),ne(h,ga);let f=ie(d,"data",7),c=E(()=>s.t);W(()=>{const t={lang:f().options.lang.value,forceTheme:f().options?.["force-theme"]?.value,apiUrl:f().options["api-url"].value,features:""};Dt(()=>s.init(t).catch(n=>{console.error("Failed to init chat logic",n)}))});const L=la;var _=ha();_t(t=>{var n=j(),p=S(n);{var y=x=>{var v=ca(),u=S(v);$(u,17,()=>s.themeBase.fontURLs??[],Q,(O,G)=>{var D=da();V(()=>K(D,"href",r(G))),l(O,D)});var k=e(u,2);ee(k,{id:"font-css",get css(){return s.themeBase.fontCSS}});var m=e(k,2);{let O=E(()=>Qt(s.theme));ee(m,{id:"theme-css",get css(){return r(O)}})}var w=e(m,2);ee(w,{id:"app-css",get css(){return Gt}});var P=e(w,2);ee(P,{id:"custom-css",get css(){return s.themeBase.customCSS}}),l(x,v)};z(p,x=>{s.initialized&&x(y)})}l(t,n)});let T;var B=i(_);{var F=t=>{var n=ua(),p=i(n);wt(p,{get chatLogic(){return s}}),a(n),l(t,n)};z(B,t=>{s.initialized&&t(F)})}var g=e(B,2),M=i(g),A=i(M);Ht(A,(t,n)=>Ot?.(t,n),()=>"portals");var H=e(A,2);{var X=t=>{var n=pa();Rt(2,n,()=>Jt,()=>({duration:200,delay:300})),l(t,n)},oe=t=>{var n=va(),p=S(n),y=e(i(p),8),x=i(y);{var v=b=>{var C=j(),R=S(C);$(R,17,()=>Object.entries(s.theme.colors.brand),Q,(J,U)=>{var I=E(()=>fe(r(U),2));let Z=()=>r(I)[0],N=()=>r(I)[1];re(J,{name:"brand",get key(){return Z()},get value(){return N()}})}),l(b,C)};z(x,b=>{s.theme.colors?.brand&&b(v)})}a(y);var u=e(y,4),k=i(u);{var m=b=>{var C=j(),R=S(C);$(R,17,()=>Object.entries(s.theme.colors.highlight),Q,(J,U)=>{var I=E(()=>fe(r(U),2));let Z=()=>r(I)[0],N=()=>r(I)[1];re(J,{name:"highlight",get key(){return Z()},get value(){return N()}})}),l(b,C)};z(k,b=>{s.theme?.colors?.highlight&&b(m)})}a(u);var w=e(u,4),P=i(w);{var O=b=>{var C=j(),R=S(C);$(R,17,()=>Object.entries(s.theme.colors.grey),Q,(J,U)=>{var I=E(()=>fe(r(U),2));let Z=()=>r(I)[0],N=()=>r(I)[1];re(J,{name:"grey",get key(){return Z()},get value(){return N()}})}),l(b,C)};z(P,b=>{s.theme?.colors?.grey&&b(O)})}a(w),a(p);var G=e(p,4),D=e(i(G),10),Se=i(D);o(Se,{name:"avatar",class:"introduction__avatar"});var Ct=e(Se,2);o(Ct,{name:"avatar",class:"message__bot-avatar"}),a(D);var ze=e(D,4);Ut(ze,{onSubmit:()=>{}});var se=e(ze,2),Le=i(se);_e(Le,{predefinedQuestion:{label:"Question one",question:""},onSubmit:()=>{},index:0});var Ie=e(Le,2);_e(Ie,{predefinedQuestion:{label:"Question two",question:""},onSubmit:()=>{},index:1});var St=e(Ie,2);_e(St,{predefinedQuestion:{label:"Question three",question:""},onSubmit:()=>{},index:2}),a(se);var le=e(se,4),je=i(le),Te=i(je);ye(Te,{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 Be=e(Te,2);ye(Be,{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 zt=e(Be,2);ye(zt,{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(je),a(le);var de=e(le,2),Me=i(de),ce=e(i(Me));xe(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"}}})),xe(ce,"data-used-index","1"),xe(ce,"data-all-index","3"),ae(),a(Me),a(de);var ue=e(de,2),Pe=i(ue),Ee=i(Pe),Lt=e(i(Ee),2);o(Lt,{name:"externalLink",class:"reference__icon transition-colors"}),a(Ee),ae(4),a(Pe),a(ue);var pe=e(ue,4),De=i(pe),Fe=i(De);Zt(Fe,{});var Ae=e(Fe,2);wt(Ae,{get chatLogic(){return s}});var He=e(Ae,2);Nt(He,{get logic(){return s}});var It=e(He,2);$t(It,{onclick:()=>{}}),a(De),a(pe);var Oe=e(pe,8),Ge=e(i(Oe),2),ve=i(Ge),he=i(ve),ge=i(he),jt=i(ge,!0);a(ge);var Tt=e(ge,2);a(he);var Re=e(he,2),me=i(Re),Bt=i(me,!0);a(me);var Mt=e(me,2);a(Re),a(ve),a(Ge),a(Oe),ae(4),a(G);var be=e(G,2),Pt=e(i(be),4);xt(Pt),a(be);var we=e(be,4);$(we,21,()=>L,Q,(b,C)=>{Wt(b,{get message(){return r(C)},get logic(){return s},onmessageupdate:()=>{},onbotmessageinit:()=>{}})}),a(we);var Je=e(we,2),Ue=e(i(Je),4);kt(Ue);var Ze=e(Ue,6),Ne=i(Ze);o(Ne,{name:"predefinedQuestion"});var $e=e(Ne,2);o($e,{name:"edit"});var Qe=e($e,2);o(Qe,{name:"newConversation"});var We=e(Qe,2);o(We,{name:"voteUp"});var Ve=e(We,2);o(Ve,{name:"voteDown"});var Ke=e(Ve,2);o(Ke,{name:"retry"});var Ye=e(Ke,2);o(Ye,{name:"message"});var Xe=e(Ye,2);o(Xe,{name:"thread"});var et=e(Xe,2);o(et,{name:"submit"});var tt=e(et,2);o(tt,{name:"expand"});var at=e(tt,2);o(at,{name:"help"});var it=e(at,2);o(it,{name:"attach"});var rt=e(it,2);o(rt,{name:"record"});var nt=e(rt,2);o(nt,{name:"reward"});var ot=e(nt,2);o(ot,{name:"share"});var st=e(ot,2);o(st,{name:"audio"});var lt=e(st,2);o(lt,{name:"copy"});var dt=e(lt,2);o(dt,{name:"dismiss"});var ct=e(dt,2);o(ct,{name:"menu"});var ut=e(ct,2);o(ut,{name:"listUnordered"});var pt=e(ut,2);o(pt,{name:"lightMode"});var Et=e(pt,2);o(Et,{name:"darkMode"}),a(Ze),a(Je),V(()=>{ke(jt,r(c).feedbackFormMessage),K(Tt,"placeholder",r(c).feedbackFormMessagePlaceholder),ke(Bt,r(c).feedbackFormEmail),K(Mt,"placeholder",r(c).feedbackFormEmailPlaceholder)}),Ft("submit",ve,async()=>{}),l(t,n)};z(H,t=>{s.initialized?t(oe,!1):t(X)})}return a(M),a(g),a(_),V(t=>T=yt(_,"",T,t),[()=>({"color-scheme":s.colorScheme})]),l(h,_),Ce({get data(){return f()},set data(t){f(t),te()}})}Y(qt,{data:{}},[],[],!0);var ma=q('<div id="chat-wrapper" class="svelte-1h9zc1h"><div></div> <!> <div></div></div>'),ba=q('<div id="preview" class="svelte-1h9zc1h"><iframe title="sidebar" id="sidebar" class="svelte-1h9zc1h"></iframe> <!></div>');const wa={hash:"svelte-1h9zc1h",code:`html,
29
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=E(()=>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 L=t=>`/build/${t}/liipgpt-${t}.iife.js`,_=async t=>{t==="build"&&(await import(L("chat")),await import(L("button"))),t==="dev"&&(await ht(()=>import("../chunks/CUzNvOh0.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]),import.meta.url),await ht(()=>import("../chunks/BXxSlBOI.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 T="server",B=E(()=>d.data.options?.["preview-mode"]?.value??T);W(()=>{_(r(B))});const F=`./sidebar${ra.url.search}`;let g=mt(void 0),M=mt(void 0);const A=(t,n)=>{const p=document.createElement("script"),y=document.createTextNode(n);p.appendChild(y),t.replaceChildren(p)};W(()=>{r(g)&&A(r(g),r(c).options.CHAT_CONFIG_OVERRIDE.value||"")}),W(()=>{r(M)&&A(r(M),r(c).options.onclosechat.value||"")});var H=fa();yt(t=>{var n=j(),p=S(n);{var y=x=>{var v=j(),u=S(v);{var k=w=>{bt.title="LiipGPT Configurator | Components"},m=w=>{bt.title="LiipGPT Configurator"};z(u,w=>{r(c).options["show-components"].value?w(k):w(m,!1)},!0)}l(x,v)};z(p,x=>{x(y,!1)})}l(t,n)});var X=i(H),oe=e(X,2);Yt(oe,()=>r(c),t=>{var n=j(),p=S(n);{var y=v=>{var u=j(),k=S(u);Ht(k,{onerror:m=>console.error("Rendering error of components",m)},m=>{Ct(m,ta(()=>f))}),l(v,u)},x=v=>{var u=wa(),k=i(u);gt(k,P=>wt(g,P),()=>r(g));var m=e(k,2);Xt(m,()=>ea(r(c).options));var w=e(m,2);gt(w,P=>wt(M,P),()=>r(M)),a(u),l(v,u)};z(p,v=>{r(c).options["show-components"].value?v(y):v(x,!1)})}l(t,n)}),a(H),V(()=>K(X,"src",F)),l(h,H),Ce()}Y(ya,{},[],[],!0);export{ya as component};
30
+ /* stylelint-disable-next-line property-disallowed-list */container-type:size;width:100%;height:100%;}`};function fa(h,d){qe(d,!0),ne(h,wa);let f=ea(d,["$$slots","$$events","$$legacy","$$host"]),c=E(()=>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:",""));ta("?"+n.toString(),{replaceState:!0})}}});const L=t=>`/build/${t}/liipgpt-${t}.iife.js`,_=async t=>{t==="build"&&(await import(L("chat")),await import(L("button"))),t==="dev"&&(await vt(()=>import("../chunks/CdOhT63o.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]),import.meta.url),await vt(()=>import("../chunks/Du-AngZl.js"),__vite__mapDeps([13,1,2,3,12,5,6,7,8,9,10,11]),import.meta.url)),t==="server"&&(import(ft(d.data.options,"chat")),import(ft(d.data.options,"button")))};let T="server",B=E(()=>d.data.options?.["preview-mode"]?.value??T);W(()=>{_(r(B))});const F=`./sidebar${aa.url.search}`;let g=gt(void 0),M=gt(void 0);const A=(t,n)=>{const p=document.createElement("script"),y=document.createTextNode(n);p.appendChild(y),t.replaceChildren(p)};W(()=>{r(g)&&A(r(g),r(c).options.CHAT_CONFIG_OVERRIDE.value||"")}),W(()=>{r(M)&&A(r(M),r(c).options.onclosechat.value||"")});var H=ba();_t(t=>{var n=j(),p=S(n);{var y=x=>{var v=j(),u=S(v);{var k=w=>{mt.title="LiipGPT Configurator | Components"},m=w=>{mt.title="LiipGPT Configurator"};z(u,w=>{r(c).options["show-components"].value?w(k):w(m,!1)},!0)}l(x,v)};z(p,x=>{x(y,!1)})}l(t,n)});var X=i(H),oe=e(X,2);Vt(oe,()=>r(c),t=>{var n=j(),p=S(n);{var y=v=>{var u=j(),k=S(u);At(k,{onerror:m=>console.error("Rendering error of components",m)},m=>{qt(m,Xt(()=>f))}),l(v,u)},x=v=>{var u=ma(),k=i(u);ht(k,P=>bt(g,P),()=>r(g));var m=e(k,2);Kt(m,()=>Yt(r(c).options));var w=e(m,2);ht(w,P=>bt(M,P),()=>r(M)),a(u),l(v,u)};z(p,v=>{r(c).options["show-components"].value?v(y):v(x,!1)})}l(t,n)}),a(H),V(()=>K(X,"src",F)),l(h,H),Ce()}Y(fa,{},[],[],!0);export{fa as component};
@@ -1,4 +1,4 @@
1
- import"../chunks/NZTpNUN0.js";import{p as it,s as Ei,r as _i}from"../chunks/w-7tIaYZ.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/BkMkT2yX.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/HNsM71V8.js";import"../chunks/DP_7kP9j.js";import{b as Hi,i as rt}from"../chunks/CIVexZRw.js";import{g as qi}from"../chunks/Cp1S0mah.js";import{p as Pi}from"../chunks/BPqAw_M_.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
1
+ import"../chunks/NZTpNUN0.js";import{p as it,s as Ei,r as _i}from"../chunks/w-7tIaYZ.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/BkMkT2yX.js";import{z as ho,A as mo,s as Ge,D as go,e as yo,i as Ui,E as Di,F as Bi,m as Li,G as Mi,a as Ii,y as Ri}from"../chunks/CO1VjDW9.js";import"../chunks/7RznL39c.js";import{b as Hi,i as rt}from"../chunks/CIVexZRw.js";import{g as qi}from"../chunks/CknFvNnh.js";import{p as Pi}from"../chunks/6iiGzJiA.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":"1761918460812"}
1
+ {"version":"1762449335934"}
@@ -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.BSXxI4bC.js">
9
- <link rel="modulepreload" href="./_app/immutable/chunks/Cp1S0mah.js">
8
+ <link rel="modulepreload" href="./_app/immutable/entry/start.t_88bEga.js">
9
+ <link rel="modulepreload" href="./_app/immutable/chunks/CknFvNnh.js">
10
10
  <link rel="modulepreload" href="./_app/immutable/chunks/DDyGsrRo.js">
11
11
  <link rel="modulepreload" href="./_app/immutable/chunks/BkMkT2yX.js">
12
- <link rel="modulepreload" href="./_app/immutable/entry/app.WFBs3H0o.js">
12
+ <link rel="modulepreload" href="./_app/immutable/entry/app.COsCZK0Q.js">
13
13
  <link rel="modulepreload" href="./_app/immutable/chunks/CIVexZRw.js">
14
14
  <link rel="modulepreload" href="./_app/immutable/chunks/NZTpNUN0.js">
15
15
  <link rel="modulepreload" href="./_app/immutable/chunks/w-7tIaYZ.js">
@@ -18,7 +18,7 @@
18
18
  <div style="display: contents">
19
19
  <script>
20
20
  {
21
- __sveltekit_gi1ftp = {
21
+ __sveltekit_14pngk5 = {
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.BSXxI4bC.js"),
30
- import("./_app/immutable/entry/app.WFBs3H0o.js")
29
+ import("./_app/immutable/entry/start.t_88bEga.js"),
30
+ import("./_app/immutable/entry/app.COsCZK0Q.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.BSXxI4bC.js">
9
- <link rel="modulepreload" href="./_app/immutable/chunks/Cp1S0mah.js">
8
+ <link rel="modulepreload" href="./_app/immutable/entry/start.t_88bEga.js">
9
+ <link rel="modulepreload" href="./_app/immutable/chunks/CknFvNnh.js">
10
10
  <link rel="modulepreload" href="./_app/immutable/chunks/DDyGsrRo.js">
11
11
  <link rel="modulepreload" href="./_app/immutable/chunks/BkMkT2yX.js">
12
- <link rel="modulepreload" href="./_app/immutable/entry/app.WFBs3H0o.js">
12
+ <link rel="modulepreload" href="./_app/immutable/entry/app.COsCZK0Q.js">
13
13
  <link rel="modulepreload" href="./_app/immutable/chunks/CIVexZRw.js">
14
14
  <link rel="modulepreload" href="./_app/immutable/chunks/NZTpNUN0.js">
15
15
  <link rel="modulepreload" href="./_app/immutable/chunks/w-7tIaYZ.js">
@@ -18,7 +18,7 @@
18
18
  <div style="display: contents">
19
19
  <script>
20
20
  {
21
- __sveltekit_gi1ftp = {
21
+ __sveltekit_14pngk5 = {
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.BSXxI4bC.js"),
30
- import("./_app/immutable/entry/app.WFBs3H0o.js")
29
+ import("./_app/immutable/entry/start.t_88bEga.js"),
30
+ import("./_app/immutable/entry/app.COsCZK0Q.js")
31
31
  ]).then(([kit, app]) => {
32
32
  kit.start(app, element);
33
33
  });
package/index.cjs CHANGED
@@ -10639,7 +10639,8 @@ var translationSchema = exports_external.object({
10639
10639
  showSettings: exports_external.string(),
10640
10640
  chooseAtLeastOneOption: exports_external.string(),
10641
10641
  selectAll: exports_external.string(),
10642
- selectNone: exports_external.string()
10642
+ selectNone: exports_external.string(),
10643
+ resetToDefaults: exports_external.string()
10643
10644
  });
10644
10645
  var allLanguages = ["en", "de", "fr", "it"];
10645
10646
  var languagesSchema = exports_external.enum(allLanguages);
@@ -10704,13 +10705,14 @@ var completeChatConfigSchema = exports_external.object({
10704
10705
  showContextInfo: exports_external.boolean(),
10705
10706
  showReferencesByDefault: exports_external.boolean(),
10706
10707
  showExpandedSelectors: exports_external.boolean(),
10708
+ showTextFeedback: exports_external.boolean(),
10709
+ inlineLayout: exports_external.boolean(),
10707
10710
  allowAudioInput: exports_external.boolean(),
10708
10711
  blockPII: exports_external.boolean(),
10709
10712
  questionPrefix: exports_external.string(),
10710
10713
  menu: exports_external.record(languagesSchema, exports_external.array(menuItemSchema)).optional(),
10711
10714
  supportedLanguages: exports_external.array(languagesSchema),
10712
10715
  classification: classificationConfigSchema.optional(),
10713
- showTextFeedback: exports_external.boolean(),
10714
10716
  theme: themeSchema2,
10715
10717
  translations: translationsSchema,
10716
10718
  buttonHref: exports_external.string().optional(),