@liip/liipgpt 3.4.2 → 3.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/button/liipgpt-button.iife.js +85 -85
- package/chat/liipgpt-chat.iife.js +103 -103
- package/config/index.cjs +95 -85
- package/config/index.js +82 -78
- package/configurator/_app/env.js +1 -1
- package/configurator/_app/immutable/chunks/BVVGjklr.js +89 -0
- package/configurator/_app/immutable/chunks/BdP-K7KO.js +3 -0
- package/configurator/_app/immutable/chunks/BmMr_umq.js +1 -0
- package/configurator/_app/immutable/chunks/BmcNmQ0G.js +16 -0
- package/configurator/_app/immutable/chunks/C8mohMXa.js +1 -0
- package/configurator/_app/immutable/chunks/C9x8pbMb.js +1 -0
- package/configurator/_app/immutable/chunks/CNhGYG1q.js +0 -0
- package/configurator/_app/immutable/chunks/CaZV0epm.js +1 -0
- package/configurator/_app/immutable/chunks/D1hYfEew.js +1 -0
- package/configurator/_app/immutable/chunks/DEv5Ueqk.js +324 -0
- package/configurator/_app/immutable/chunks/DUJlwB59.js +15 -0
- package/configurator/_app/immutable/chunks/DZRiPmqv.js +1 -0
- package/configurator/_app/immutable/chunks/DgwBOIN4.js +1 -0
- package/configurator/_app/immutable/chunks/LefYBeig.js +1 -0
- package/configurator/_app/immutable/chunks/cW2jcUnz.js +1 -0
- package/configurator/_app/immutable/chunks/d60TgpyX.js +143 -0
- package/configurator/_app/immutable/chunks/fdiCLIK5.js +1 -0
- package/configurator/_app/immutable/entry/app.BaP_xlDn.js +2 -0
- package/configurator/_app/immutable/entry/start.ldC4tf9d.js +1 -0
- package/configurator/_app/immutable/nodes/{0.Bgy3i8FQ.js → 0.BrejL_Vm.js} +3 -3
- package/configurator/_app/immutable/nodes/1.D4HRly7L.js +1 -0
- package/configurator/_app/immutable/nodes/2.D6YEON3L.js +31 -0
- package/configurator/_app/immutable/nodes/3.D8XDqzVq.js +954 -0
- package/configurator/_app/version.json +1 -1
- package/configurator/index.html +10 -11
- package/configurator/sidebar.html +10 -11
- package/index.cjs +866 -1838
- package/index.js +830 -1832
- package/package.json +36 -36
- package/configurator/_app/immutable/chunks/6gGOJNBB.js +0 -1
- package/configurator/_app/immutable/chunks/BVWYCVQL.js +0 -113
- package/configurator/_app/immutable/chunks/BXQ0Z8wW.js +0 -1
- package/configurator/_app/immutable/chunks/Bg7q39r6.js +0 -1
- package/configurator/_app/immutable/chunks/CR5-hwU3.js +0 -1
- package/configurator/_app/immutable/chunks/CfJtR48A.js +0 -2
- package/configurator/_app/immutable/chunks/CqmBCC3F.js +0 -1
- package/configurator/_app/immutable/chunks/D0zq2rZV.js +0 -143
- package/configurator/_app/immutable/chunks/DGC7CooX.js +0 -1
- package/configurator/_app/immutable/chunks/DGqm4WKo.js +0 -15
- package/configurator/_app/immutable/chunks/Do2M-_FB.js +0 -324
- package/configurator/_app/immutable/chunks/DsnmJJEf.js +0 -1
- package/configurator/_app/immutable/chunks/g9pTgyF6.js +0 -1
- package/configurator/_app/immutable/chunks/hrZ0qwUL.js +0 -1
- package/configurator/_app/immutable/chunks/w7MLzsSQ.js +0 -1
- package/configurator/_app/immutable/entry/app.ConDGFGi.js +0 -2
- package/configurator/_app/immutable/entry/start.k8RQt7wE.js +0 -1
- package/configurator/_app/immutable/nodes/1.WSWj9VWy.js +0 -1
- package/configurator/_app/immutable/nodes/2.DRCudqRI.js +0 -31
- package/configurator/_app/immutable/nodes/3.CMaEAJPV.js +0 -954
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as pe,bh as _t,C as A,k as U,D as T,a4 as te,bH as wt}from"./CfJtR48A.js";import{o as De}from"./6gGOJNBB.js";const V=[];function Se(e,t=pe){let n=null;const r=new Set;function a(o){if(_t(e,o)&&(e=o,n)){const c=!V.length;for(const l of r)l[1](),V.push(l,e);if(c){for(let l=0;l<V.length;l+=2)V[l][0](V[l+1]);V.length=0}}}function i(o){a(o(e))}function s(o,c=pe){const l=[o,c];return r.add(l),r.size===1&&(n=t(a,i)||pe),o(e),()=>{r.delete(l),r.size===0&&n&&(n(),n=null)}}return{set:a,update:i,subscribe:s}}class Re{constructor(t,n){this.status=t,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class xe{constructor(t,n){this.status=t,this.location=n}}class Le extends Error{constructor(t,n,r){super(r),this.status=t,this.text=n}}new URL("sveltekit-internal://");function vt(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function yt(e){return e.split("%25").map(decodeURI).join("%25")}function bt(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function ge({href:e}){return e.split("#")[0]}function kt(e,t,n,r=!1){const a=new URL(e);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(s,o){if(o==="get"||o==="getAll"||o==="has")return(l,...d)=>(n(l),s[o](l,...d));t();const c=Reflect.get(s,o);return typeof c=="function"?c.bind(s):c}}),enumerable:!0,configurable:!0});const i=["href","pathname","search","toString","toJSON"];r&&i.push("hash");for(const s of i)Object.defineProperty(a,s,{get(){return t(),e[s]},enumerable:!0,configurable:!0});return a}function Et(...e){let t=5381;for(const n of e)if(typeof n=="string"){let r=n.length;for(;r;)t=t*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)t=t*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}new TextEncoder;new TextDecoder;function St(e){const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}const Rt=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&H.delete(Ae(e)),Rt(e,t));const H=new Map;function xt(e,t){const n=Ae(e,t),r=document.querySelector(n);if(r?.textContent){r.remove();let{body:a,...i}=JSON.parse(r.textContent);const s=r.getAttribute("data-ttl");return s&&H.set(n,{body:a,init:i,ttl:1e3*Number(s)}),r.getAttribute("data-b64")!==null&&(a=St(a)),Promise.resolve(new Response(a,i))}return window.fetch(e,t)}function Lt(e,t,n){if(H.size>0){const r=Ae(e,n),a=H.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);H.delete(r)}}return window.fetch(t,n)}function Ae(e,t){let r=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){const a=[];t.headers&&a.push([...new Headers(t.headers)].join(",")),t.body&&(typeof t.body=="string"||ArrayBuffer.isView(t.body))&&a.push(t.body),r+=`[data-hash="${Et(...a)}"]`}return r}const At=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function Ut(e){const t=[];return{pattern:e==="/"?/^\/$/:new RegExp(`^${Pt(e).map(r=>{const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return t.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const i=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(i)return t.push({name:i[1],matcher:i[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const s=r.split(/\[(.+?)\](?!\])/);return"/"+s.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return me(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return me(String.fromCharCode(...c.slice(2).split("-").map(w=>parseInt(w,16))));const d=At.exec(c),[,p,f,u,h]=d;return t.push({name:u,matcher:h,optional:!!p,rest:!!f,chained:f?l===1&&s[0]==="":!1}),f?"([^]*?)":p?"([^/]*)?":"([^/]+?)"}return me(c)}).join("")}).join("")}/?$`),params:t}}function Tt(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function Pt(e){return e.slice(1).split("/").filter(Tt)}function It(e,t,n){const r={},a=e.slice(1),i=a.filter(o=>o!==void 0);let s=0;for(let o=0;o<t.length;o+=1){const c=t[o];let l=a[o-s];if(c.chained&&c.rest&&s&&(l=a.slice(o-s,o+1).filter(d=>d).join("/"),s=0),l===void 0)if(c.rest)l="";else continue;if(!c.matcher||n[c.matcher](l)){r[c.name]=l;const d=t[o+1],p=a[o+1];d&&!d.rest&&d.optional&&p&&c.chained&&(s=0),!d&&!p&&Object.keys(r).length===i.length&&(s=0);continue}if(c.optional&&c.chained){s++;continue}return}if(!s)return r}function me(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Ot({nodes:e,server_loads:t,dictionary:n,matchers:r}){const a=new Set(t);return Object.entries(n).map(([o,[c,l,d]])=>{const{pattern:p,params:f}=Ut(o),u={id:o,exec:h=>{const w=p.exec(h);if(w)return It(w,f,r)},errors:[1,...d||[]].map(h=>e[h]),layouts:[0,...l||[]].map(s),leaf:i(c)};return u.errors.length=u.layouts.length=Math.max(u.errors.length,u.layouts.length),u});function i(o){const c=o<0;return c&&(o=~o),[c,e[o]]}function s(o){return o===void 0?o:[a.has(o),e[o]]}}function We(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function Ve(e,t,n=JSON.stringify){const r=n(t);try{sessionStorage[e]=r}catch{}}const x=globalThis.__sveltekit_ik10cb?.base??"/configurator",Ct=globalThis.__sveltekit_ik10cb?.assets??x??"",$t="1774256638373",Je="sveltekit:snapshot",Ye="sveltekit:scroll",Xe="sveltekit:states",jt="sveltekit:pageurl",K="sveltekit:history",z="sveltekit:navigation",j={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},ue=location.origin;function Ue(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const n=document.getElementsByTagName("base");t=n.length?n[0].href:document.URL}return new URL(e,t)}function q(){return{x:pageXOffset,y:pageYOffset}}function B(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const Be={...j,"":j.hover};function Qe(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function Ze(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=Qe(e)}}function ve(e,t,n){let r;try{if(r=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const o=location.hash.split("#")[1]||"/";r.hash=`#${o}${r.hash}`}}catch{}const a=e instanceof SVGAElement?e.target.baseVal:e.target,i=!r||!!a||fe(r,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),s=r?.origin===ue&&e.hasAttribute("download");return{url:r,external:i,target:a,download:s}}function ne(e){let t=null,n=null,r=null,a=null,i=null,s=null,o=e;for(;o&&o!==document.documentElement;)r===null&&(r=B(o,"preload-code")),a===null&&(a=B(o,"preload-data")),t===null&&(t=B(o,"keepfocus")),n===null&&(n=B(o,"noscroll")),i===null&&(i=B(o,"reload")),s===null&&(s=B(o,"replacestate")),o=Qe(o);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Be[r??"off"],preload_data:Be[a??"off"],keepfocus:c(t),noscroll:c(n),reload:c(i),replace_state:c(s)}}function Ke(e){const t=Se(e);let n=!0;function r(){n=!0,t.update(s=>s)}function a(s){n=!1,t.set(s)}function i(s){let o;return t.subscribe(c=>{(o===void 0||n&&c!==o)&&s(o=c)})}return{notify:r,set:a,subscribe:i}}const et={v:()=>{}};function Nt(){const{set:e,subscribe:t}=Se(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${Ct}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const s=(await a.json()).version!==$t;return s&&(e(!0),et.v(),clearTimeout(n)),s}catch{return!1}}return{subscribe:t,check:r}}function fe(e,t,n){return e.origin!==ue||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function fn(e){}const tt=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...tt];const qt=new Set([...tt]);[...qt];function Dt(e){return e.filter(t=>t!=null)}function Te(e){return e instanceof Re||e instanceof Le?e.status:500}function Vt(e){return e instanceof Le?e.text:"Internal Error"}let k,W,_e;const Bt=De.toString().includes("$$")||/function \w+\(\) \{\}/.test(De.toString());Bt?(k={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},W={current:null},_e={current:!1}):(k=new class{#e=A({});get data(){return U(this.#e)}set data(t){T(this.#e,t)}#t=A(null);get form(){return U(this.#t)}set form(t){T(this.#t,t)}#n=A(null);get error(){return U(this.#n)}set error(t){T(this.#n,t)}#r=A({});get params(){return U(this.#r)}set params(t){T(this.#r,t)}#a=A({id:null});get route(){return U(this.#a)}set route(t){T(this.#a,t)}#o=A({});get state(){return U(this.#o)}set state(t){T(this.#o,t)}#s=A(-1);get status(){return U(this.#s)}set status(t){T(this.#s,t)}#i=A(new URL("https://example.com"));get url(){return U(this.#i)}set url(t){T(this.#i,t)}},W=new class{#e=A(null);get current(){return U(this.#e)}set current(t){T(this.#e,t)}},_e=new class{#e=A(!1);get current(){return U(this.#e)}set current(t){T(this.#e,t)}},et.v=()=>_e.current=!0);function Kt(e){Object.assign(k,e)}const Fe={spanContext(){return Ft},setAttribute(){return this},setAttributes(){return this},addEvent(){return this},setStatus(){return this},updateName(){return this},end(){return this},isRecording(){return!1},recordException(){return this},addLink(){return this},addLinks(){return this}},Ft={traceId:"",spanId:"",traceFlags:0},Gt=new Set(["icon","shortcut icon","apple-touch-icon"]),$=We(Ye)??{},J=We(Je)??{},C={url:Ke({}),page:Ke({}),navigating:Se(null),updated:Nt()};function Pe(e){$[e]=q()}function Ht(e,t){let n=e+1;for(;$[n];)delete $[n],n+=1;for(n=t+1;J[n];)delete J[n],n+=1}function Y(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(()=>{})}async function nt(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(x||"/");e&&await e.update()}}function Ge(){}let Ie,ye,re,P,be,v;const ae=[],oe=[];let L=null;function ke(){L?.fork?.then(e=>e?.discard()),L=null}const ee=new Map,rt=new Set,Mt=new Set,M=new Set;let _={branch:[],error:null,url:null},at=!1,se=!1,He=!0,X=!1,G=!1,ot=!1,Oe=!1,st,y,R,N;const ie=new Set,Me=new Map;async function gn(e,t,n){globalThis.__sveltekit_ik10cb?.data&&globalThis.__sveltekit_ik10cb.data,document.URL!==location.href&&(location.href=location.href),v=e,await e.hooks.init?.(),Ie=Ot(e),P=document.documentElement,be=t,ye=e.nodes[0],re=e.nodes[1],ye(),re(),y=history.state?.[K],R=history.state?.[z],y||(y=R=Date.now(),history.replaceState({...history.state,[K]:y,[z]:R},""));const r=$[y];function a(){r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y))}n?(a(),await an(be,n)):(await F({type:"enter",url:Ue(v.hash?cn(new URL(location.href)):location.href),replace_state:!0}),a()),rn()}function zt(){ae.length=0,Oe=!1}function it(e){oe.some(t=>t?.snapshot)&&(J[e]=oe.map(t=>t?.snapshot?.capture()))}function ct(e){J[e]?.forEach((t,n)=>{oe[n]?.snapshot?.restore(t)})}function ze(){Pe(y),Ve(Ye,$),it(R),Ve(Je,J)}async function lt(e,t,n,r){let a;t.invalidateAll&&ke(),await F({type:"goto",url:Ue(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:r,accept:()=>{t.invalidateAll&&(Oe=!0,a=[...Me.keys()]),t.invalidate&&t.invalidate.forEach(nn)}}),t.invalidateAll&&te().then(te).then(()=>{Me.forEach(({resource:i},s)=>{a?.includes(s)&&i.refresh?.()})})}async function Wt(e){if(e.id!==L?.id){ke();const t={};ie.add(t),L={id:e.id,token:t,promise:dt({...e,preload:t}).then(n=>(ie.delete(t),n.type==="loaded"&&n.state.error&&ke(),n)),fork:null}}return L.promise}async function we(e){const t=(await de(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(n=>n[1]()))}async function ut(e,t,n){_=e.state;const r=document.querySelector("style[data-sveltekit]");if(r&&r.remove(),Object.assign(k,e.props.page),st=new v.root({target:t,props:{...e.props,stores:C,components:oe},hydrate:n,sync:!1}),await Promise.resolve(),ct(R),n){const a={from:null,to:{params:_.params,route:{id:_.route?.id??null},url:new URL(location.href),scroll:$[y]??q()},willUnload:!1,type:"enter",complete:Promise.resolve()};M.forEach(i=>i(a))}se=!0}function ce({url:e,params:t,branch:n,status:r,error:a,route:i,form:s}){let o="never";if(x&&(e.pathname===x||e.pathname===x+"/"))o="always";else for(const u of n)u?.slash!==void 0&&(o=u.slash);e.pathname=vt(e.pathname,o),e.search=e.search;const c={type:"loaded",state:{url:e,params:t,branch:n,error:a,route:i},props:{constructors:Dt(n).map(u=>u.node.component),page:qe(k)}};s!==void 0&&(c.props.form=s);let l={},d=!k,p=0;for(let u=0;u<Math.max(n.length,_.branch.length);u+=1){const h=n[u],w=_.branch[u];h?.data!==w?.data&&(d=!0),h&&(l={...l,...h.data},d&&(c.props[`data_${p}`]=l),p+=1)}return(!_.url||e.href!==_.url.href||_.error!==a||s!==void 0&&s!==k.form||d)&&(c.props.page={error:a,params:t,route:{id:i?.id??null},state:{},status:r,url:new URL(e),form:s??null,data:d?l:k.data}),c}async function Ce({loader:e,parent:t,url:n,params:r,route:a,server_data_node:i}){let s=null,o=!0;const c={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},l=await e();if(l.universal?.load){let d=function(...f){for(const u of f){const{href:h}=new URL(u,n);c.dependencies.add(h)}};const p={tracing:{enabled:!1,root:Fe,current:Fe},route:new Proxy(a,{get:(f,u)=>(o&&(c.route=!0),f[u])}),params:new Proxy(r,{get:(f,u)=>(o&&c.params.add(u),f[u])}),data:i?.data??null,url:kt(n,()=>{o&&(c.url=!0)},f=>{o&&c.search_params.add(f)},v.hash),async fetch(f,u){f instanceof Request&&(u={body:f.method==="GET"||f.method==="HEAD"?void 0:await f.blob(),cache:f.cache,credentials:f.credentials,headers:[...f.headers].length>0?f?.headers:void 0,integrity:f.integrity,keepalive:f.keepalive,method:f.method,mode:f.mode,redirect:f.redirect,referrer:f.referrer,referrerPolicy:f.referrerPolicy,signal:f.signal,...u});const{resolved:h,promise:w}=ft(f,u,n);return o&&d(h.href),w},setHeaders:()=>{},depends:d,parent(){return o&&(c.parent=!0),t()},untrack(f){o=!1;try{return f()}finally{o=!0}}};s=await l.universal.load.call(null,p)??null}return{node:l,loader:e,server:i,universal:l.universal?.load?{type:"data",data:s,uses:c}:null,data:s??i?.data??null,slash:l.universal?.trailingSlash??i?.slash}}function ft(e,t,n){let r=e instanceof Request?e.url:e;const a=new URL(r,n);a.origin===n.origin&&(r=a.href.slice(n.origin.length));const i=se?Lt(r,a.href,t):xt(r,t);return{resolved:a,promise:i}}function Jt(e,t,n,r,a,i){if(Oe)return!0;if(!a)return!1;if(a.parent&&e||a.route&&t||a.url&&n)return!0;for(const s of a.search_params)if(r.has(s))return!0;for(const s of a.params)if(i[s]!==_.params[s])return!0;for(const s of a.dependencies)if(ae.some(o=>o(new URL(s))))return!0;return!1}function $e(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function Yt(e,t){if(!e)return new Set(t.searchParams.keys());const n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const r of n){const a=e.searchParams.getAll(r),i=t.searchParams.getAll(r);a.every(s=>i.includes(s))&&i.every(s=>a.includes(s))&&n.delete(r)}return n}function Xt({error:e,url:t,route:n,params:r}){return{type:"loaded",state:{error:e,url:t,route:n,params:r,branch:[]},props:{page:qe(k),constructors:[]}}}async function dt({id:e,invalidating:t,url:n,params:r,route:a,preload:i}){if(L?.id===e)return ie.delete(L.token),L.promise;const{errors:s,layouts:o,leaf:c}=a,l=[...o,c];s.forEach(m=>m?.().catch(()=>{})),l.forEach(m=>m?.[1]().catch(()=>{}));const d=_.url?e!==le(_.url):!1,p=_.route?a.id!==_.route.id:!1,f=Yt(_.url,n);let u=!1;const h=l.map(async(m,g)=>{if(!m)return;const E=_.branch[g];return m[1]===E?.loader&&!Jt(u,p,d,f,E.universal?.uses,r)?E:(u=!0,Ce({loader:m[1],url:n,params:r,route:a,parent:async()=>{const I={};for(let O=0;O<g;O+=1)Object.assign(I,(await h[O])?.data);return I},server_data_node:$e(m[0]?{type:"skip"}:null,m[0]?E?.server:void 0)}))});for(const m of h)m.catch(()=>{});const w=[];for(let m=0;m<l.length;m+=1)if(l[m])try{w.push(await h[m])}catch(g){if(g instanceof xe)return{type:"redirect",location:g.location};if(ie.has(i))return Xt({error:await Q(g,{params:r,url:n,route:{id:a.id}}),url:n,params:r,route:a});let E=Te(g),S;if(g instanceof Re)S=g.body;else{if(await C.updated.check())return await nt(),await Y(n);S=await Q(g,{params:r,url:n,route:{id:a.id}})}const I=await Qt(m,w,s);return I?ce({url:n,params:r,branch:w.slice(0,I.idx).concat(I.node),status:E,error:S,route:a}):await pt(n,{id:a.id},S,E)}else w.push(void 0);return ce({url:n,params:r,branch:w,status:200,error:null,route:a,form:t?void 0:null})}async function Qt(e,t,n){for(;e--;)if(n[e]){let r=e;for(;!t[r];)r-=1;try{return{idx:r+1,node:{node:await n[e](),loader:n[e],data:{},server:null,universal:null}}}catch{continue}}}async function je({status:e,error:t,url:n,route:r}){const a={};let i=null;try{const s=await Ce({loader:ye,url:n,params:a,route:r,parent:()=>Promise.resolve({}),server_data_node:$e(i)}),o={node:await re(),loader:re,universal:null,server:null,data:null};return ce({url:n,params:a,branch:[s,o],status:e,error:t,route:null})}catch(s){if(s instanceof xe)return lt(new URL(s.location,location.href),{},0);throw s}}async function Zt(e){const t=e.href;if(ee.has(t))return ee.get(t);let n;try{const r=(async()=>{let a=await v.hooks.reroute({url:new URL(e),fetch:async(i,s)=>ft(i,s,e).promise})??e;if(typeof a=="string"){const i=new URL(e);v.hash?i.hash=a:i.pathname=a,a=i}return a})();ee.set(t,r),n=await r}catch{ee.delete(t);return}return n}async function de(e,t){if(e&&!fe(e,x,v.hash)){const n=await Zt(e);if(!n)return;const r=en(n);for(const a of Ie){const i=a.exec(r);if(i)return{id:le(e),invalidating:t,route:a,params:bt(i),url:e}}}}function en(e){return yt(v.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(x.length))||"/"}function le(e){return(v.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function ht({url:e,type:t,intent:n,delta:r,event:a,scroll:i}){let s=!1;const o=Ne(_,n,e,t,i??null);r!==void 0&&(o.navigation.delta=r),a!==void 0&&(o.navigation.event=a);const c={...o.navigation,cancel:()=>{s=!0,o.reject(new Error("navigation cancelled"))}};return X||rt.forEach(l=>l(c)),s?null:o}async function F({type:e,url:t,popped:n,keepfocus:r,noscroll:a,replace_state:i,state:s={},redirect_count:o=0,nav_token:c={},accept:l=Ge,block:d=Ge,event:p}){const f=N;N=c;const u=await de(t,!1),h=e==="enter"?Ne(_,u,t,e):ht({url:t,type:e,delta:n?.delta,intent:u,scroll:n?.scroll,event:p});if(!h){d(),N===c&&(N=f);return}const w=y,m=R;l(),X=!0,se&&h.navigation.type!=="enter"&&C.navigating.set(W.current=h.navigation);let g=u&&await dt(u);if(!g){if(fe(t,x,v.hash))return await Y(t,i);g=await pt(t,{id:null},await Q(new Le(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,i)}if(t=u?.url||t,N!==c)return h.reject(new Error("navigation aborted")),!1;if(g.type==="redirect"){if(o<20){await F({type:e,url:new URL(g.location,t),popped:n,keepfocus:r,noscroll:a,replace_state:i,state:s,redirect_count:o+1,nav_token:c}),h.fulfil(void 0);return}g=await je({status:500,error:await Q(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}})}else g.props.page.status>=400&&await C.updated.check()&&(await nt(),await Y(t,i));if(zt(),Pe(w),it(m),g.props.page.url.pathname!==t.pathname&&(t.pathname=g.props.page.url.pathname),s=n?n.state:s,!n){const b=i?0:1,Z={[K]:y+=b,[z]:R+=b,[Xe]:s};(i?history.replaceState:history.pushState).call(history,Z,"",t),i||Ht(y,R)}const E=u&&L?.id===u.id?L.fork:null;L=null,g.props.page.state=s;let S;if(se){const b=(await Promise.all(Array.from(Mt,D=>D(h.navigation)))).filter(D=>typeof D=="function");if(b.length>0){let D=function(){b.forEach(he=>{M.delete(he)})};b.push(D),b.forEach(he=>{M.add(he)})}_=g.state,g.props.page&&(g.props.page.url=t);const Z=E&&await E;Z?S=Z.commit():(st.$set(g.props),Kt(g.props.page),S=wt?.()),ot=!0}else await ut(g,be,!1);const{activeElement:I}=document;await S,await te(),await te();let O=null;if(He){const b=n?n.scroll:a?q():null;b?scrollTo(b.x,b.y):(O=t.hash&&document.getElementById(gt(t)))?O.scrollIntoView():scrollTo(0,0)}const mt=document.activeElement!==I&&document.activeElement!==document.body;!r&&!mt&&sn(t,!O),He=!0,g.props.page&&Object.assign(k,g.props.page),X=!1,e==="popstate"&&ct(R),h.fulfil(void 0),h.navigation.to&&(h.navigation.to.scroll=q()),M.forEach(b=>b(h.navigation)),C.navigating.set(W.current=null)}async function pt(e,t,n,r,a){return e.origin===ue&&e.pathname===location.pathname&&!at?await je({status:r,error:n,url:e,route:t}):await Y(e,a)}function tn(){let e,t={element:void 0,href:void 0},n;P.addEventListener("mousemove",o=>{const c=o.target;clearTimeout(e),e=setTimeout(()=>{i(c,j.hover)},20)});function r(o){o.defaultPrevented||i(o.composedPath()[0],j.tap)}P.addEventListener("mousedown",r),P.addEventListener("touchstart",r,{passive:!0});const a=new IntersectionObserver(o=>{for(const c of o)c.isIntersecting&&(we(new URL(c.target.href)),a.unobserve(c.target))},{threshold:0});async function i(o,c){const l=Ze(o,P),d=l===t.element&&l?.href===t.href&&c>=n;if(!l||d)return;const{url:p,external:f,download:u}=ve(l,x,v.hash);if(f||u)return;const h=ne(l),w=p&&le(_.url)===le(p);if(!(h.reload||w))if(c<=h.preload_data){t={element:l,href:l.href},n=j.tap;const m=await de(p,!1);if(!m)return;Wt(m)}else c<=h.preload_code&&(t={element:l,href:l.href},n=c,we(p))}function s(){a.disconnect();for(const o of P.querySelectorAll("a")){const{url:c,external:l,download:d}=ve(o,x,v.hash);if(l||d)continue;const p=ne(o);p.reload||(p.preload_code===j.viewport&&a.observe(o),p.preload_code===j.eager&&we(c))}}M.add(s),s()}function Q(e,t){if(e instanceof Re)return e.body;const n=Te(e),r=Vt(e);return v.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function mn(e,t={}){return e=new URL(Ue(e)),e.origin!==ue?Promise.reject(new Error("goto: invalid URL")):lt(e,t,0)}function nn(e){if(typeof e=="function")ae.push(e);else{const{href:t}=new URL(e,location.href);ae.push(n=>n.href===t)}}function rn(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let n=!1;if(ze(),!X){const r=Ne(_,void 0,null,"leave"),a={...r.navigation,cancel:()=>{n=!0,r.reject(new Error("navigation cancelled"))}};rt.forEach(i=>i(a))}n?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&ze()}),navigator.connection?.saveData||tn(),P.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const n=Ze(t.composedPath()[0],P);if(!n)return;const{url:r,external:a,target:i,download:s}=ve(n,x,v.hash);if(!r)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const o=ne(n);if(!(n instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||s)return;const[l,d]=(v.hash?r.hash.replace(/^#/,""):r.href).split("#"),p=l===ge(location);if(a||o.reload&&(!p||!d)){ht({url:r,type:"link",event:t})?X=!0:t.preventDefault();return}if(d!==void 0&&p){const[,f]=_.url.href.split("#");if(f===d){if(t.preventDefault(),d===""||d==="top"&&n.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const u=n.ownerDocument.getElementById(decodeURIComponent(d));u&&(u.scrollIntoView(),u.focus())}return}if(G=!0,Pe(y),e(r),!o.replace_state)return;G=!1}t.preventDefault(),await new Promise(f=>{requestAnimationFrame(()=>{setTimeout(f,0)}),setTimeout(f,100)}),await F({type:"link",url:r,keepfocus:o.keepfocus,noscroll:o.noscroll,replace_state:o.replace_state??r.href===location.href,event:t})}),P.addEventListener("submit",t=>{if(t.defaultPrevented)return;const n=HTMLFormElement.prototype.cloneNode.call(t.target),r=t.submitter;if((r?.formTarget||n.target)==="_blank"||(r?.formMethod||n.method)!=="get")return;const s=new URL(r?.hasAttribute("formaction")&&r?.formAction||n.action);if(fe(s,x,!1))return;const o=t.target,c=ne(o);if(c.reload)return;t.preventDefault(),t.stopPropagation();const l=new FormData(o,r);s.search=new URLSearchParams(l).toString(),F({type:"form",url:s,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??s.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!Ee){if(t.state?.[K]){const n=t.state[K];if(N={},n===y)return;const r=$[n],a=t.state[Xe]??{},i=new URL(t.state[jt]??location.href),s=t.state[z],o=_.url?ge(location)===ge(_.url):!1;if(s===R&&(ot||o)){a!==k.state&&(k.state=a),e(i),$[y]=q(),r&&scrollTo(r.x,r.y),y=n;return}const l=n-y;await F({type:"popstate",url:i,popped:{state:a,scroll:r,delta:l},accept:()=>{y=n,R=s},block:()=>{history.go(-l)},nav_token:N,event:t})}else if(!G){const n=new URL(location.href);e(n),v.hash&&location.reload()}}}),addEventListener("hashchange",()=>{G&&(G=!1,history.replaceState({...history.state,[K]:++y,[z]:R},"",location.href))});for(const t of document.querySelectorAll("link"))Gt.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&C.navigating.set(W.current=null)});function e(t){_.url=k.url=t,C.page.set(qe(k)),C.page.notify()}}async function an(e,{status:t=200,error:n,node_ids:r,params:a,route:i,server_route:s,data:o,form:c}){at=!0;const l=new URL(location.href);let d;({params:a={},route:i={id:null}}=await de(l,!1)||{}),d=Ie.find(({id:u})=>u===i.id);let p,f=!0;try{const u=r.map(async(w,m)=>{const g=o[m];return g?.uses&&(g.uses=on(g.uses)),Ce({loader:v.nodes[w],url:l,params:a,route:i,parent:async()=>{const E={};for(let S=0;S<m;S+=1)Object.assign(E,(await u[S]).data);return E},server_data_node:$e(g)})}),h=await Promise.all(u);if(d){const w=d.layouts;for(let m=0;m<w.length;m++)w[m]||h.splice(m,0,void 0)}p=ce({url:l,params:a,branch:h,status:t,error:n,form:c,route:d??null})}catch(u){if(u instanceof xe){await Y(new URL(u.location,location.href));return}p=await je({status:Te(u),error:await Q(u,{url:l,params:a,route:i}),url:l,route:i}),e.textContent="",f=!1}p.props.page&&(p.props.page.state={}),await ut(p,e,f)}function on(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}let Ee=!1;function sn(e,t=!0){const n=document.querySelector("[autofocus]");if(n)n.focus();else{const r=gt(e);if(r&&document.getElementById(r)){const{x:i,y:s}=q();setTimeout(()=>{const o=history.state;Ee=!0,location.replace(new URL(`#${r}`,location.href)),history.replaceState(o,"",e),t&&scrollTo(i,s),Ee=!1})}else{const i=document.body,s=i.getAttribute("tabindex");i.tabIndex=-1,i.focus({preventScroll:!0,focusVisible:!1}),s!==null?i.setAttribute("tabindex",s):i.removeAttribute("tabindex")}const a=getSelection();if(a&&a.type!=="None"){const i=[];for(let s=0;s<a.rangeCount;s+=1)i.push(a.getRangeAt(s));setTimeout(()=>{if(a.rangeCount===i.length){for(let s=0;s<a.rangeCount;s+=1){const o=i[s],c=a.getRangeAt(s);if(o.commonAncestorContainer!==c.commonAncestorContainer||o.startContainer!==c.startContainer||o.endContainer!==c.endContainer||o.startOffset!==c.startOffset||o.endOffset!==c.endOffset)return}a.removeAllRanges()}})}}}function Ne(e,t,n,r,a=null){let i,s;const o=new Promise((l,d)=>{i=l,s=d});return o.catch(()=>{}),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:q()},to:n&&{params:t?.params??null,route:{id:t?.route?.id??null},url:n,scroll:a},willUnload:!t,type:r,complete:o},fulfil:i,reject:s}}function qe(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function cn(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function gt(e){let t;if(v.hash){const[,,n]=e.hash.split("#",3);t=n??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{gn as a,mn as g,fn as l,k as p,C as s,Se as w};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{G as M,H as m,I as L,J as O,K as I,L as T,M as B,N as Y,O as j,P as K,k as P,D as N,Q as U,R as $,y as C,S as F,T as G,U as p,V as D,W as R,X as S,Y as Z,Z as q,_ as z,$ as H,a0 as J,j as Q,i as V,a1 as W,a2 as X}from"./CfJtR48A.js";class se{anchor;#t=new Map;#r=new Map;#e=new Map;#s=new Set;#n=!0;constructor(e,s=!0){this.anchor=e,this.#n=s}#i=e=>{if(this.#t.has(e)){var s=this.#t.get(e),t=this.#r.get(s);if(t)M(t),this.#s.delete(s);else{var n=this.#e.get(s);n&&(this.#r.set(s,n.effect),this.#e.delete(s),n.fragment.lastChild.remove(),this.anchor.before(n.fragment),t=n.effect)}for(const[i,o]of this.#t){if(this.#t.delete(i),i===e)break;const f=this.#e.get(o);f&&(m(f.effect),this.#e.delete(o))}for(const[i,o]of this.#r){if(i===s||this.#s.has(i))continue;const f=()=>{if(Array.from(this.#t.values()).includes(i)){var c=document.createDocumentFragment();B(o,c),c.append(O()),this.#e.set(i,{effect:o,fragment:c})}else m(o);this.#s.delete(i),this.#r.delete(i)};this.#n||!t?(this.#s.add(i),L(o,f,!1)):f()}}};#f=e=>{this.#t.delete(e);const s=Array.from(this.#t.values());for(const[t,n]of this.#e)s.includes(t)||(m(n.effect),this.#e.delete(t))};ensure(e,s){var t=T,n=Y();if(s&&!this.#r.has(e)&&!this.#e.has(e))if(n){var i=document.createDocumentFragment(),o=O();i.append(o),this.#e.set(e,{effect:I(()=>s(o)),fragment:i})}else this.#r.set(e,I(()=>s(this.anchor)));if(this.#t.set(t,e),n){for(const[f,u]of this.#r)f===e?t.unskip_effect(u):t.skip_effect(u);for(const[f,u]of this.#e)f===e?t.unskip_effect(u.effect):t.skip_effect(u.effect);t.oncommit(this.#i),t.ondiscard(this.#f)}else j&&(this.anchor=K),this.#i(t)}}let g=!1;function k(r){var e=g;try{return g=!1,[r(),g]}finally{g=e}}const ee={get(r,e){if(!r.exclude.includes(e))return r.props[e]},set(r,e){return!1},getOwnPropertyDescriptor(r,e){if(!r.exclude.includes(e)&&e in r.props)return{enumerable:!0,configurable:!0,value:r.props[e]}},has(r,e){return r.exclude.includes(e)?!1:e in r.props},ownKeys(r){return Reflect.ownKeys(r.props).filter(e=>!r.exclude.includes(e))}};function ne(r,e,s){return new Proxy({props:r,exclude:e},ee)}const te={get(r,e){let s=r.props.length;for(;s--;){let t=r.props[s];if(p(t)&&(t=t()),typeof t=="object"&&t!==null&&e in t)return t[e]}},set(r,e,s){let t=r.props.length;for(;t--;){let n=r.props[t];p(n)&&(n=n());const i=S(n,e);if(i&&i.set)return i.set(s),!0}return!1},getOwnPropertyDescriptor(r,e){let s=r.props.length;for(;s--;){let t=r.props[s];if(p(t)&&(t=t()),typeof t=="object"&&t!==null&&e in t){const n=S(t,e);return n&&!n.configurable&&(n.configurable=!0),n}}},has(r,e){if(e===D||e===R)return!1;for(let s of r.props)if(p(s)&&(s=s()),s!=null&&e in s)return!0;return!1},ownKeys(r){const e=[];for(let s of r.props)if(p(s)&&(s=s()),!!s){for(const t in s)e.includes(t)||e.push(t);for(const t of Object.getOwnPropertySymbols(s))e.includes(t)||e.push(t)}return e}};function ie(...r){return new Proxy({props:r},te)}function fe(r,e,s,t){var n=!V||(s&W)!==0,i=(s&J)!==0,o=(s&X)!==0,f=t,u=!0,c=()=>(u&&(u=!1,f=o?Q(t):t),f),d;if(i){var x=D in r||R in r;d=S(r,e)?.set??(x&&e in r?a=>r[e]=a:void 0)}var h,w=!1;i?[h,w]=k(()=>r[e]):h=r[e],h===void 0&&t!==void 0&&(h=c(),d&&(n&&Z(),d(h)));var l;if(n?l=()=>{var a=r[e];return a===void 0?c():(u=!0,a)}:l=()=>{var a=r[e];return a!==void 0&&(f=void 0),a===void 0?f:a},n&&(s&q)===0)return l;if(d){var A=r.$$legacy;return(function(a,v){return arguments.length>0?((!n||!v||A||w)&&d(v?l():a),a):l()})}var b=!1,_=((s&z)!==0?C:G)(()=>(b=!1,l()));i&&P(_);var E=U;return(function(a,v){if(arguments.length>0){const y=v?P(_):n&&i?H(a):a;return N(_,y),b=!0,f!==void 0&&(f=y),a}return F&&b||(E.f&$)!==0?_.v:P(_)})}export{se as B,fe as p,ne as r,ie as s};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{a as tt}from"./6gGOJNBB.js";import{aj as at,a7 as rt,ak as _e,ai as ot,al as de,am as nt,an as it,ao as st,m as X,ap as ke,aq as ct,ar as ze,O as re,a9 as pt,ac as lt,ae as dt,ad as ht,af as he,as as ut,p as bt,z as oe,at as vt,au as mt,f as B,k as e,a as v,b as ft,o as p,D as o,C as y,s as R,c as gt,d as I,t as Ce,a4 as wt,e as L,r as A,g as yt}from"./CfJtR48A.js";import{B as xt,p as ne,r as _t}from"./hrZ0qwUL.js";import{i as Q,b as Te}from"./Bg7q39r6.js";import{h as kt,e as zt,i as Ct,I as ie,c as Tt,B as Et,b as ue,d as It,f as St,g as Nt,j as Ot,k as Ee,l as qt,s as Bt}from"./BVWYCVQL.js";import"./Do2M-_FB.js";const Ie=0,Se=1,Lt=2;function Ne($,d,Y,z,S){re&&pt();var D=at(),C=ct,x=D?ke(C):ze(C,!1,!1),F=D?ke(C):ze(C,!1,!1),N=new xt($);rt(()=>{var H=d(),ee=!1;let M=re&&_e(H)===($.data===lt);if(M&&(dt(ht()),he(!1)),_e(H)){var se=ut(),T=!1;const _=h=>{if(!ee){T=!0,se(!1),nt.ensure(),re&&he(!1);try{h()}finally{it(!1),st||X()}}};H.then(h=>{_(()=>{de(x,h),N.ensure(Se,z&&(u=>z(u,x)))})},h=>{_(()=>{if(de(F,h),N.ensure(Lt,S&&(u=>S(u,F))),!S)throw F.v})}),re?N.ensure(Ie,Y):ot(()=>{T||_(()=>{N.ensure(Ie,Y)})})}else de(x,H),N.ensure(Se,z&&(_=>z(_,x)));return M&&he(!0),()=>{ee=!0}})}const At='@layer base,utilities,components;@layer base{*,:after,:before,::backdrop,::file-selector-button{box-sizing:border-box;margin:0;padding:0;border:0 solid}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea,::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;border-radius:0;background-color:transparent;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::-moz-placeholder{opacity:1}::placeholder{opacity:1}@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px){::-moz-placeholder{color:currentcolor}@supports (color: color-mix(in lab,red,red)){::-moz-placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}::placeholder{color:currentcolor}@supports (color: color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]),::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer base{.chat-app{--spacer-1: .0625rem;--spacer-2: .125rem;--spacer-3: .1875rem;--spacer-4: .25rem;--spacer-5: .3125rem;--spacer-6: .375rem;--spacer-8: .5rem;--spacer-10: .625rem;--spacer-12: .75rem;--spacer-16: 1rem;--spacer-20: 1.25rem;--spacer-24: 1.5rem;--spacer-28: 1.75rem;--spacer-32: 2rem;--spacer-40: 2.5rem;--spacer-48: 3rem;--spacer-56: 3.5rem;--spacer-64: 4rem;--spacer-72: 4.5rem;--spacer-80: 5rem;--spacer-120: 7.5rem;--spacer-r-8: clamp(.375rem, .3182rem + .2841cqw, .5rem);--spacer-r-12: clamp(.625rem, .5682rem + .2841cqw, .75rem);--spacer-r-16: clamp(.75rem, .6364rem + .5682cqw, 1rem);--spacer-r-20: clamp(.875rem, .7045rem + .8523cqw, 1.25rem);--spacer-r-24: clamp(1rem, .7727rem + 1.1364cqw, 1.5rem);--spacer-r-28: clamp(1.125rem, .8409rem + 1.4205cqw, 1.75rem);--spacer-r-32: clamp(1.25rem, .9091rem + 1.7045cqw, 2rem);--spacer-r-40: clamp(1.5rem, 1.0455rem + 2.2727cqw, 2.5rem);--spacer-r-48: clamp(1.625rem, 1rem + 3.125cqw, 3rem);--spacer-r-56: clamp(1.75rem, .9545rem + 3.9773cqw, 3.5rem);--spacer-r-64: clamp(2rem, 1.0909rem + 4.5455cqw, 4rem);--spacer-r-80: clamp(3rem, 2.0909rem + 4.5455cqw, 5rem);--spacer-r-96: clamp(3.5rem, 2.3636rem + 5.6818cqw, 6rem);--spacer-r-120: clamp(4rem, 2.4091rem + 7.9545cqw, 7.5rem);--default-transition-duration: .2s;--default-transition-timing-function: ease-in-out;--z-index-flyout: 10000;--z-index-dialog: 600;--z-index-loader: 500;--z-index-reference-number: 400;--z-index-footer: 300;--z-index-header: 200;--z-index-tooltip: 100;--z-index-tooltip-hover: 101;--z-index-local-overlay: 10;--ease-out-quart: cubic-bezier(.165, .84, .44, 1);--ease-in-quart: cubic-bezier(.895, .03, .685, .22);--ease-in-out-quart: cubic-bezier(.77, 0, .175, 1);--fly-in-id: 0;--btn-padding-x: var(--spacer-r-20);--btn-padding-y: var(--spacer-r-8);--btn-icon-size: var(--spacer-24);--btn-submit-size: 2.5em;--last-bot-message-min-height: 0}}@value container-xs,container-sm,container-md,container-lg,container-inner-xs,container-inner-sm,container-inner-md,container-inner-lg from "./viewports.css";@layer base{.chat-app :where(h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5,h6,.h6){font-weight:var(--base-font-weight-title);line-height:var(--base-line-height-tight)}.chat-app :where(b,strong){font-weight:var(--base-font-weight-bold)}.chat-app :where(button){cursor:pointer}.chat-app :where(input[type=text],input[type=email],input[type=search],input[type=password],textarea){width:100%;padding:var(--input-padding);border-width:var(--input-border-width);border-radius:var(--input-border-radius);border-color:var(--input-border-color);background:var(--input-background);box-shadow:var(--input-box-shadow, none);color:var(--input-color)}.chat-app :where(input[type=text],input[type=email],input[type=search],input[type=password],textarea)::-moz-placeholder{color:var(--input-placeholder-color);opacity:var(--input-placeholder-opacity)}.chat-app :where(input[type=text],input[type=email],input[type=search],input[type=password],textarea)::placeholder{color:var(--input-placeholder-color);opacity:var(--input-placeholder-opacity)}.chat-app :where(input[type=radio],input[type=checkbox]){margin:0}.chat-app :where(*:focus-visible){border-radius:var(--btn-primary-border-radius);outline-color:var(--body-focus-color);outline-style:var(--body-focus-style);outline-width:var(--body-focus-width);outline-offset:var(--body-focus-offset)}.chat-app *::-moz-selection{background:var(--body-selection-background);color:var(--body-selection-color)}.chat-app *::selection{background:var(--body-selection-background);color:var(--body-selection-color)}.chat-app ::-webkit-scrollbar{width:8px;height:8px}.chat-app ::-webkit-scrollbar-track{background:transparent}.chat-app ::-webkit-scrollbar-thumb{border-radius:4px;background-color:#0000004d;-webkit-transition:background-color .2s;transition:background-color .2s}.chat-app ::-webkit-scrollbar-thumb:hover{background-color:#00000080}.chat-app *{scrollbar-color:rgba(0,0,0,.3) transparent;scrollbar-width:thin}.chat-app ::-webkit-scrollbar-thumb{visibility:hidden}.chat-app *:hover::-webkit-scrollbar-thumb,.chat-app *:active::-webkit-scrollbar-thumb,.chat-app *:focus::-webkit-scrollbar-thumb{visibility:visible}}@layer utilities{.chat-app :where(.expand-interaction){position:relative}.chat-app :where(.expand-interaction):after{position:absolute;inset:0;background-color:transparent;content:""}.chat-app :where(.sr-only){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border-width:0;white-space:nowrap}.chat-app :where(.transition-colors){transition-duration:var(--default-transition-duration);transition-property:color,background-color,border-color,box-shadow;transition-timing-function:var(--default-transition-timing-function)}.chat-app :where(.transition){transition-duration:var(--default-transition-duration);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,translate,scale,rotate,filter,backdrop-filter;transition-timing-function:var(--default-transition-timing-function)}.chat-app :where(.skip-link){position:absolute;width:0px;height:0px;overflow:hidden;color:var(--anchor-color);font-weight:700;font-size:var(--base-font-size-xs)}.chat-app :where(.skip-link):focus-visible{position:static;width:auto;height:auto}.chat-app :where(.fly-in){--fly-in-id: 0;--fly-in-duration: .4s;--fly-out-duration: .2s;--fly-in-delay: .3s;--fly-in-delay-additional: .1s;--fly-in-y: var(--spacer-r-64);transform:translateY(var(--fly-in-y));opacity:0;transition-delay:0s,1s;transition-duration:var(--fly-out-duration);transition-property:opacity,transform;transition-timing-function:ease,var(--ease-out-quart)}.chat-app :where(.mounted .fly-in){transform:translateY(0);opacity:1;transition-delay:calc(var(--fly-in-delay) + var(--fly-in-id) * var(--fly-in-delay-additional));transition-duration:var(--fly-in-duration)}.chat-app :where(.truncate){display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-app :where(.line-clamp){display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:1}.chat-app :where(.line-clamp--2){-webkit-line-clamp:2}.chat-app :where(.line-clamp--6){-webkit-line-clamp:6}.chat-app :where(.container){width:100%;max-width:var(--container-max-width, 1024px);margin:0 auto;padding-right:var(--spacer-16);padding-left:var(--spacer-16)}@container chat-container (min-width: 640px){.chat-app :where(.container){padding-right:var(--spacer-32);padding-left:var(--spacer-32)}}@container chat-container (min-width: 768px){.chat-app :where(.container){padding-right:var(--spacer-48);padding-left:var(--spacer-48)}}.chat-app :where(h1){font-size:var(--base-font-size-h1)}.chat-app :where(h2){font-size:var(--base-font-size-h2)}.chat-app :where(h3){font-size:var(--base-font-size-h3)}.chat-app :where(h4,h5,h6){font-size:var(--body-font-size)}.chat-app :where(.h1){font-size:var(--base-font-size-h1)}.chat-app :where(.h2){font-size:var(--base-font-size-h2)}.chat-app :where(.h3){font-size:var(--base-font-size-h3)}.chat-app :where(.h4,.h5,.h6){font-size:var(--body-font-size)}.chat-app :where(.text-container)>:where(p,ul,ol,img,table){display:block;margin-bottom:var(--spacer-r-24)}.chat-app :where(.text-container)>:where(div){margin:var(--spacer-r-40) 0}.chat-app :where(.text-container)>:where(h1,.h1){margin-bottom:var(--spacer-r-28)}.chat-app :where(.text-container)>:where(h2,.h2,h3,.h3,h4,.h4,h5,.h5,h6,.h6){margin-bottom:var(--spacer-r-20)}.chat-app :where(.text-container)>:where(h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5,h6,.h6){margin-top:var(--spacer-r-40)}.chat-app :where(.text-container)>:where(ul:not(.no-list-styling),ol:not(.no-list-styling))>:where(li){margin-bottom:var(--spacer-12)}.chat-app :where(.text-container)>:where(ul:not(.no-list-styling),ol:not(.no-list-styling))>:where(li):last-child{margin-bottom:0}.chat-app :where(.text-container)>:where(ol){padding-left:1.5em;list-style-position:outside;list-style-type:decimal}.chat-app :where(.text-container)>:where(ul:not(.no-list-styling))>:where(li){position:relative;padding-left:1em}.chat-app :where(.text-container)>:where(ul:not(.no-list-styling))>:where(li):before{position:absolute;top:0;left:0;content:"•";font-size:.9em}.chat-app :where(.text-container)>:where(hr){height:1px;margin:var(--spacer-r-40) 0;border:none;background-color:var(--color-grey-700);background-color:var(--hr-color)}.chat-app :where(.text-container) :where(a:not(.button,.no-link-styling,.reference)){color:var(--anchor-color);font-weight:var(--anchor-font-weight, var(--base-font-weight-normal));-webkit-text-decoration:var(--anchor-text-decoration, underline);text-decoration:var(--anchor-text-decoration, underline);text-underline-offset:var(--anchor-text-underline-offset, .15em);transition-duration:var(--default-transition-duration);transition-property:color,background-color,border-color;transition-timing-function:var(--default-transition-timing-function)}.chat-app :where(.text-container) :where(a:not(.button,.no-link-styling,.reference)):hover{color:var(--anchor-hover-color)}.chat-app :where(.text-container) :where(table){display:block;width:100%;overflow-x:auto;border-collapse:collapse;border-spacing:0;-webkit-overflow-scrolling:touch}.chat-app :where(.text-container) :where(th){width:1000px;padding:var(--spacer-12) var(--spacer-16) var(--spacer-12) 0;border-bottom:1px solid var(--color-grey-300);line-height:var(--base-line-height-tight);text-align:left;vertical-align:bottom}.chat-app :where(.text-container) :where(td){padding:var(--spacer-12) var(--spacer-16) var(--spacer-12) 0;border-bottom:1px solid var(--color-grey-300);vertical-align:top}.chat-app :where(.text-container) :where(tr:last-child td){border-bottom:none}.chat-app :where(.text-container) :where(*:first-child){margin-top:0}.chat-app :where(.text-container) :where(*:last-child){margin-bottom:0}.chat-app :where(.animated-height){transition:height .5s var(--ease-in-out-quart)}.chat-app :where(.display-contents){display:contents}.chat-app :where(.absolute){position:absolute!important}}@layer base{.svg{width:var(--spacer-r-24);height:auto}.svg svg{display:block;width:100%;height:auto;overflow:visible}}@layer components{.chat-app{display:contents}.chat-app__container{container-name:chat-container;container-type:inline-size;display:flex;height:100%;overflow:hidden;transform:translateZ(0)}.chat-app__container>:where(*){color:var(--body-color);font-style:normal;font-weight:var(--base-font-weight-normal);font-size:var(--base-font-size-body);line-height:var(--base-line-height-default);font-family:var(--font-family);font-optical-sizing:auto}.chat-app__container.chat-app__container--inline-layout-contained{height:90svh;scroll-margin-top:10svh}@media(min-width:768px){.chat-app__container.chat-app__container--inline-layout-contained{height:100svh;scroll-margin-top:0}}.chat-app__main{container-name:chat-inner-container;container-type:inline-size;display:flex;flex-direction:column;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;overscroll-behavior-x:none;overscroll-behavior-y:contain;background:var(--body-background);scrollbar-gutter:stable;touch-action:pan-y}.chat-app__container--inline-layout .chat-app__main{overscroll-behavior-y:auto}.chat-app__loader-container{display:flex;z-index:var(--z-index-loader);position:relative;align-items:center;justify-content:center;width:100%;height:100%}.chat-app__portals{display:contents}.chat-app__header{z-index:var(--z-index-header);position:sticky;top:0;background:var(--body-background)}.chat-app__header--unsticked{position:relative}.chat-app__header-content{--btn-padding-x: var(--btn-padding-y);display:flex;position:relative;-moz-column-gap:var(--spacer-r-12);column-gap:var(--spacer-r-12);flex-wrap:wrap;align-items:center;justify-content:flex-end;margin-right:calc(var(--btn-padding-x) * -1);margin-left:calc(var(--btn-padding-x) * -1);padding-top:var(--spacer-10);padding-bottom:var(--spacer-10)}.chat-app__header-content>:where(*){z-index:0;position:relative;pointer-events:auto}.chat-app__header-content:after{position:absolute;right:var(--btn-padding-x);bottom:0;left:var(--btn-padding-x);border-bottom:1px solid transparent;content:"";transition:border-color .1s ease-in-out}.chat-app__header-content.has-border:after{border-color:var(--base-line-color)}.chat-app__header-new-conversation{position:relative;margin-right:auto}@container chat-container (min-width: 640px){.chat-app__header-new-conversation .tooltip{display:none}}.chat-app__header--with-logo :where(.chat-app__header-content){margin-left:0}.chat-app__header--with-logo :where(.chat-app__header-new-conversation){margin-right:unset;margin-left:auto}.chat-app__header-logo{margin-right:auto}.chat-app__header-logo :where(svg){width:auto;height:var(--spacer-28)}.chat-app__body{display:flex;position:relative;flex-grow:1;flex-direction:column;width:100%}.chat-app__page-transition{display:flex;flex-grow:1;flex-direction:column;width:100%;height:100%}.chat-app__aside{--duration-in: .65s;--duration-out: .5s;visibility:hidden;position:relative;top:0;bottom:0;flex-grow:1;width:0;transition-delay:0s,var(--duration-out);transition-duration:var(--duration-out),0s;transition-property:width,visibility;transition-timing-function:var(--ease-in-out-quart),linear}.chat-app__aside.open{visibility:visible;width:var(--aside-width);transition-delay:0s;transition-duration:var(--duration-in),0s;transition-timing-function:var(--ease-out-quart),linear}.chat-app__aside .tooltip{--background-color: var(--btn-secondary-hover-background)}.chat-app__aside-container{position:relative;width:var(--aside-width);height:100%;overflow-y:auto;overscroll-behavior:contain;border-left-width:var(--aside-border-width);border-color:var(--aside-border-color);background:var(--aside-background);scrollbar-gutter:stable}.chat-app__container--inline-layout .chat-app__aside-container{overscroll-behavior-y:auto}.chat-app__aside-header,.chat-app__sheet-header{display:flex;z-index:var(--z-index-header);position:sticky;top:0;flex-wrap:no-wrap;align-items:center;justify-content:space-between;padding:var(--spacer-12) var(--spacer-12) var(--spacer-12) var(--spacer-24);gap:var(--spacer-24);border-bottom-width:var(--aside-header-border-width);border-color:var(--aside-header-border-color);background:var(--aside-background);color:var(--aside-header-color)}.chat-app__sheet-close{position:relative}.chat-app__sheet-overlay{z-index:var(--z-index-dialog);position:fixed;inset:0;background:var(--aside-background-overlay)}.chat-app__sheet-content{z-index:var(--z-index-flyout);position:fixed;top:0;right:0;width:100%;max-width:var(--aside-width);height:100%;overflow-y:auto;overscroll-behavior:contain;border-left-width:var(--aside-border-width);border-color:var(--aside-border-color);background:var(--aside-background);scrollbar-gutter:stable}.chat-app__container--inline-layout .chat-app__sheet-content{overscroll-behavior-y:auto}:is(.chat-app__aside-close,.chat-app__sheet-close) :where(.btn){background-color:transparent}.chat-app__aside-title,.chat-app__sheet-title{font-size:var(--base-font-size-sm)}.chat-app__close-button{z-index:var(--z-index-flyout)}}@layer components{.open-button{--open-button-avatar-height: var(--spacer-r-80);--open-button-avatar-width: var(--spacer-r-80);--open-button-duration: .4s;--open-button-delay: .3s;--open-button-ease: ease-in-out;display:flex;flex-direction:row;align-items:flex-end;cursor:pointer;transition:opacity .15s ease-out}.open-button--expanded{opacity:0;pointer-events:none}.open-button__text{display:flex;position:absolute;right:100%;bottom:50%;flex-direction:column;align-items:flex-start;justify-content:center;margin-right:calc(var(--open-button-avatar-width) * -.5);padding-top:var(--spacer-r-12);padding-right:0;padding-bottom:var(--spacer-r-12);padding-left:0;overflow:hidden;transform:translateY(50%);border-width:var(--open-button-border-width);border-radius:var(--open-button-border-radius);border-color:var(--open-button-border-color);background:var(--open-button-background);box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;color:var(--open-button-color);text-align:left;transition:transform var(--open-button-duration) var(--open-button-ease),padding-right var(--open-button-duration) var(--open-button-delay) var(--open-button-ease)}.open-button:is(:hover,.open-button--programmatic-expand) .open-button__text{transform:translateY(0);background:var(--open-button-hover-background, var(--open-button-background));color:var(--open-button-hover-color, var(--open-button-color));opacity:1;transition:transform var(--open-button-duration) var(--open-button-delay) var(--open-button-ease)}.open-button__title{max-width:240px;padding:0 calc(var(--open-button-avatar-width) * .5 + var(--spacer-r-12)) 0 var(--spacer-r-12);font-weight:700;white-space:pre}.open-button__mask{width:0;height:0;overflow:hidden;transition:width var(--open-button-duration) var(--open-button-delay) var(--open-button-ease),height var(--open-button-duration) var(--open-button-ease)}.open-button:is(:hover,.open-button--programmatic-expand) .open-button__mask{transition:width var(--open-button-duration) var(--open-button-ease),height var(--open-button-duration) var(--open-button-delay) var(--open-button-ease)}.open-button__description{position:relative;width:50cqw;max-width:260px;padding:0 calc(var(--open-button-avatar-width) * .5 + var(--spacer-r-12)) 0 var(--spacer-r-12);text-wrap:balance}.open-button__avatar{z-index:var(--z-index-local-overlay);position:relative;width:var(--open-button-avatar-width);height:var(--open-button-avatar-height);overflow:clip;border-radius:var(--spacer-r-80);filter:drop-shadow(0 4px 6px rgba(0,0,0,.15));transition:transform .2s var(--open-button-ease)}.open-button:is(:hover,.open-button--programmatic-expand) .open-button__avatar{transform:scale(1.05)}.open-button__link-icon{display:none;position:absolute;right:0;width:var(--spacer-r-80);height:var(--spacer-r-80);padding:var(--spacer-r-20);color:var(--open-button-color)}:where(.open-button--standalone){position:fixed;right:var(--spacer-r-16);bottom:var(--spacer-r-16)}@media(prefers-reduced-motion:reduce){.open-button__text,.open-button__mask,.open-button:hover .open-button__text,.open-button:hover .open-button__mask{transition:none!important}.open-button__avatar,.open-button:hover .open-button__avatar{filter:none!important;transition:none!important}}.open-button--hide-title-when-collapsed .open-button__text{visibility:hidden;opacity:0;transition:transform var(--open-button-duration) var(--open-button-ease),padding-right var(--open-button-duration) var(--open-button-delay) var(--open-button-ease),opacity var(--open-button-duration) var(--open-button-delay) var(--open-button-ease),visibility 0s linear calc(var(--open-button-duration) + var(--open-button-delay))}.open-button--hide-title-when-collapsed:is(:hover,.open-button--programmatic-expand) .open-button__text{visibility:visible;transform:translateY(0);background:var(--open-button-hover-background, var(--open-button-background));color:var(--open-button-hover-color, var(--open-button-color));opacity:1;transition:transform var(--open-button-duration) var(--open-button-delay) var(--open-button-ease),opacity var(--open-button-duration) var(--open-button-ease),visibility 0s linear 0s}}';var m=typeof window<"u"?window:{screen:{},navigator:{}},W=(m.matchMedia||(function(){return{matches:!1}})).bind(m),Dt={get passive(){return!0}},Be=function(){};m.addEventListener&&m.addEventListener("p",Be,Dt);m.removeEventListener&&m.removeEventListener("p",Be,!1);var be="ontouchstart"in m,Ht="TouchEvent"in m,Mt=be||Ht&&W("(any-pointer: coarse)").matches,Oe=(m.navigator.maxTouchPoints||0)>0||Mt,Le=m.navigator.userAgent||"",jt=W("(pointer: coarse)").matches&&/iPad|Macintosh/.test(Le)&&Math.min(m.screen.width||0,m.screen.height||0)>=768,Ae=(W("(pointer: coarse)").matches||!W("(pointer: fine)").matches&&be)&&!/Windows.*Firefox/.test(Le),Pt=W("(any-pointer: fine)").matches||W("(any-hover: hover)").matches||jt||!be,qe=Oe&&(Pt||!Ae)?"hybrid":Oe?"touchOnly":"mouseOnly",Rt=qe==="mouseOnly"?"mouse":qe==="touchOnly"||Ae?"touch":"mouse",Wt=I('<div class="open-button__title"><!></div>'),Yt=I('<div class="open-button__mask"><div class="open-button__description"><!></div></div>'),Ft=I('<div class="open-button__text"><!> <!></div>'),Gt=I('<div class="sr-only"> </div>'),Ut=I('<!> <div class="svg svg--avatar open-button__avatar" aria-hidden="true"><!></div>',1),Vt=I('<link rel="stylesheet"/>'),Zt=I("<!> <!>",1),Kt=I('<!> <!> <!> <main class="chat-app"><!></main>',1);function Jt($,d){bt(d,!0);const Y=(t,r)=>{let a=()=>r?.().chatConfig,f=()=>r?.().language,i=()=>r?.().colorScheme;const n=p(()=>{const{openButtonTitle:l,openButtonDescription:c}=a().translations[f()];return{openButtonTitle:l,openButtonDescription:c}}),b=p(()=>a().fullTheme[i()].tokens.svgs),s=p(()=>a().fullTheme[i()]?.tokens.components.openButton?.custom),g=p(()=>!!e(s)?.hideTitleWhenCollapsed);{let l=p(()=>a().buttonHref?void 0:x()?"true":"false"),c=p(()=>a().buttonHref?void 0:"true"),k=p(()=>a().buttonHref?void 0:C()),w=p(()=>["open-button",d.buttonClass,Ee.data.flyoutIsOpen?"open-button--expanded":void 0,e(g)?"open-button--hide-title-when-collapsed":void 0]);Et(t,{get href(){return a().buttonHref},onclick:Ge,onmouseenter:Ye,onmouseleave:Fe,use:Pe,get"aria-expanded"(){return e(l)},get"aria-haspopup"(){return e(c)},get"aria-controls"(){return e(k)},get style(){return d.buttonStyle},get className(){return e(w)},get isStandalone(){return e(M)},children:(Z,te)=>{var K=Ut(),ye=B(K);{var Ze=P=>{var O=Ft(),ae=L(O);{var Qe=q=>{var E=Wt(),J=L(E);ue(J,()=>e(n).openButtonTitle),A(E),v(q,E)};Q(ae,q=>{e(n).openButtonTitle&&q(Qe)})}var Xe=R(ae,2);{var $e=q=>{var E=Yt(),J=L(E),et=L(J);ue(et,()=>e(n).openButtonDescription),A(J),Te(J,le=>o(G,le),()=>e(G)),A(E),Te(E,le=>o(u,le),()=>e(u)),v(q,E)};Q(Xe,q=>{e(n).openButtonDescription&&Rt==="mouse"&&q($e)})}A(O),v(P,O)},Ke=P=>{var O=Gt(),ae=L(O,!0);A(O),Ce(()=>yt(ae,Ee.t.ariaOpenChat)),v(P,O)};Q(ye,P=>{e(n).openButtonTitle||e(n).openButtonDescription?P(Ze):P(Ke,!1)})}var xe=R(ye,2),Je=L(xe);ue(Je,()=>e(b).avatar),A(xe),v(Z,K)},$$slots:{default:!0}})}};let z=y("light"),S=ne(d,"host",7),D=ne(d,"onError",7),C=ne(d,"flyoutId",7),x=ne(d,"flyoutIsOpen",7),F=_t(d,["$$slots","$$events","$$legacy","$$host","host","onError","flyoutId","flyoutIsOpen"]);const N=async t=>{const a=await(await fetch(`${t}/chatconfig`)).json();return qt.parse(a)},H=async({forceTheme:t,lang:r,apiUrl:a})=>{const f=window.CHAT_CONFIG_OVERRIDE?window.CHAT_CONFIG_OVERRIDE:await N(a),i=It(f);let n;r?n=St(r,i.supportedLanguages):n=Nt(i.supportedLanguages);const b=Object.keys(i.fullTheme),s=Ot(b);return{chatConfig:i,language:n,colorScheme:s}},ee=(t,r)=>{if(t==null)return r;if(typeof t=="string"){const a=t.trim().toLowerCase();return!(a===""||a==="0"||a==="false"||a==="no")}return typeof t=="number"?t!==0:typeof t=="boolean"?t:r};let M=p(()=>!!S()),se=y(!1),T=y(!1),_=y(!1),h=y(void 0),u=y(void 0),G=y(void 0),De=p(()=>e(G)?.offsetWidth??0),He=p(()=>e(G)?.offsetHeight??0),U=y(void 0),j=y(!1),ce,pe=y(!0);function V(){return e(U)?(clearTimeout(e(U)),o(U,void 0),!0):!1}async function Me(t){o(z,t.colorScheme,!0),ce?.(),V(),o(j,!1);const r=t.chatConfig.fullTheme[e(z)]?.tokens.components.openButton?.custom??{},a=r.autoExpandScrollThreshold,f=Number(r.autoCollapseDelay??0),i=Number.isNaN(f)?0:Math.max(0,f),n=ee(r.autoExpandOnce,!1),b=(()=>{if(a==null)return 100;if(typeof a=="string"){if(a.trim().toLowerCase()==="none")return 0;const w=Number(a);return Number.isNaN(w)?100:w}const c=Number(a);return Number.isNaN(c)?100:c})();if(Number.isNaN(b)||b<=0)return;const s=`liipgpt-auto-expand-${d.apiUrl}`;let g=!1;if(typeof window<"u")try{g=window.localStorage.getItem(s)==="true"}catch(c){console.warn("LiipGPT: unable to read auto-expand flag",c)}o(_,g,!0);const l=()=>{if(!(window.scrollY/window.innerHeight*100>=b)){o(pe,!0);return}if(!(e(T)||x())&&!(n&&(g||e(_)))&&e(pe)){if(o(pe,!1),o(T,!0),o(_,!0),Re(),n&&typeof window<"u")try{window.localStorage.setItem(s,"true")}catch(w){console.warn("LiipGPT: unable to persist auto-expand flag",w)}o(U,setTimeout(()=>{e(j)||(We(),o(T,!1)),o(U,void 0)},i),!0)}};window.addEventListener("scroll",l,{passive:!0}),b===0&&(await wt(),l()),ce=()=>{window.removeEventListener("scroll",l)}}function je(){V(),o(T,!1),o(j,!1)}function Pe(t){o(h,t,!0)}function ve(){ce?.(),V()}tt(ve);function me(){!e(G)||!e(u)||(e(u).style.width=`${e(De)}px`,e(u).style.height=`${e(He)}px`)}function fe(){e(u)&&(e(u).style.width="0",e(u).style.height="0")}function Re(){e(h)&&(e(h).classList.add("open-button--programmatic-expand"),me())}function We(){e(h)&&(e(h).classList.remove("open-button--programmatic-expand"),fe())}function Ye(){V()&&o(j,!0),me()}function Fe(){V(),e(j)&&(o(T,!1),o(j,!1),e(h)?.classList.remove("open-button--programmatic-expand")),e(se)||fe()}function Ge(t){je(),d.onclick?.(t)}let ge=p(()=>H(F).then(async t=>(await Me(t),t)).catch(t=>D()(t)));var Ue={get host(){return S()},set host(t){S(t),X()},get onError(){return D()},set onError(t){D(t),X()},get flyoutId(){return C()},set flyoutId(t){C(t),X()},get flyoutIsOpen(){return x()},set flyoutIsOpen(t){x(t),X()}},we=oe();vt("beforeunload",mt,ve),kt("1k415fq",t=>{var r=oe(),a=B(r);{var f=i=>{var n=oe(),b=B(n);Ne(b,()=>e(ge),null,(s,g)=>{const l=p(()=>e(g).chatConfig.fullTheme[e(g).colorScheme]);var c=Zt(),k=B(c);zt(k,17,()=>e(l).fontURLs??[],Ct,(Z,te)=>{var K=Vt();Ce(()=>Bt(K,"href",e(te))),v(Z,K)});var w=R(k,2);ie(w,{id:"font-css",get css(){return e(l).fontCSS}}),v(s,c)}),v(i,n)};Q(a,i=>{e(M)&&i(f)})}v(t,r)});var Ve=B(we);return Ne(Ve,()=>e(ge),t=>{},(t,r)=>{const a=p(()=>e(r).chatConfig.fullTheme[e(z)]);var f=oe(),i=B(f);{var n=s=>{var g=Kt(),l=B(g);{let te=p(()=>Tt(e(a).tokens));ie(l,{id:"theme-css",get css(){return e(te)}})}var c=R(l,2);ie(c,{id:"app-css",get css(){return At}});var k=R(c,2);ie(k,{id:"custom-css",get css(){return e(a).customCSS}});var w=R(k,2),Z=L(w);Y(Z,()=>e(r)),A(w),v(s,g)},b=s=>{Y(s,()=>e(r))};Q(i,s=>{e(M)?s(n):s(b,!1)})}v(t,f)}),v($,we),ft(Ue)}gt(Jt,{host:{},onError:{},flyoutId:{},flyoutIsOpen:{}},[],[],{mode:"open"});export{Jt as O};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.Bgy3i8FQ.js","../chunks/Do2M-_FB.js","../chunks/CfJtR48A.js","../chunks/hrZ0qwUL.js","../chunks/DsnmJJEf.js","../nodes/1.WSWj9VWy.js","../chunks/DGC7CooX.js","../chunks/g9pTgyF6.js","../chunks/6gGOJNBB.js","../chunks/CR5-hwU3.js","../nodes/2.DRCudqRI.js","../chunks/Bg7q39r6.js","../chunks/BVWYCVQL.js","../nodes/3.CMaEAJPV.js","../chunks/D0zq2rZV.js","../chunks/w7MLzsSQ.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{i as x,c as y,b as D,_ as E}from"../chunks/Bg7q39r6.js";import{c as U,p as W,q as X,u as Y,k as m,D as R,a4 as Z,f as P,s as $,a as f,b as tt,C as j,d as C,m as u,z as k,e as et,r as rt,o as w,a5 as at,t as ot,g as st,a6 as nt}from"../chunks/CfJtR48A.js";import"../chunks/DsnmJJEf.js";import{o as it}from"../chunks/6gGOJNBB.js";import{p as d}from"../chunks/hrZ0qwUL.js";const vt={};var ct=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>'),mt=C("<!> <!>",1);function q(r,e){W(e,!0);let _=d(e,"stores",7),o=d(e,"page",7),s=d(e,"constructors",7),a=d(e,"components",23,()=>[]),l=d(e,"form",7),g=d(e,"data_0",7,null),b=d(e,"data_1",7,null);X(()=>_().page.set(o())),Y(()=>{_(),o(),s(),a(),l(),g(),b(),_().page.notify()});let O=j(!1),A=j(!1),I=j(null);it(()=>{const t=_().page.subscribe(()=>{m(O)&&(R(A,!0),Z().then(()=>{R(I,document.title||"untitled page",!0)}))});return R(O,!0),t});const M=w(()=>s()[1]);var S={get stores(){return _()},set stores(t){_(t),u()},get page(){return o()},set page(t){o(t),u()},get constructors(){return s()},set constructors(t){s(t),u()},get components(){return a()},set components(t=[]){a(t),u()},get form(){return l()},set form(t){l(t),u()},get data_0(){return g()},set data_0(t=null){g(t),u()},get data_1(){return b()},set data_1(t=null){b(t),u()}},L=mt(),T=P(L);{var B=t=>{const n=w(()=>s()[0]);var i=k(),v=P(i);y(v,()=>m(n),(c,p)=>{D(p(c,{get data(){return g()},get form(){return l()},get params(){return o().params},children:(h,dt)=>{var V=k(),J=P(V);y(J,()=>m(M),(K,N)=>{D(N(K,{get data(){return b()},get form(){return l()},get params(){return o().params}}),Q=>a()[1]=Q,()=>a()?.[1])}),f(h,V)},$$slots:{default:!0}}),h=>a()[0]=h,()=>a()?.[0])}),f(t,i)},F=t=>{const n=w(()=>s()[0]);var i=k(),v=P(i);y(v,()=>m(n),(c,p)=>{D(p(c,{get data(){return g()},get form(){return l()},get params(){return o().params}}),h=>a()[0]=h,()=>a()?.[0])}),f(t,i)};x(T,t=>{s()[1]?t(B):t(F,!1)})}var G=$(T,2);{var H=t=>{var n=ct(),i=et(n);{var v=c=>{var p=at();ot(()=>st(p,m(I))),f(c,p)};x(i,c=>{m(A)&&c(v)})}rt(n),f(t,n)};x(G,t=>{m(O)&&t(H)})}return f(r,L),tt(S)}U(q,{stores:{},page:{},constructors:{},components:{},form:{},data_0:{},data_1:{}},[],[],{mode:"open"});const ht=nt(q),bt=[()=>E(()=>import("../nodes/0.Bgy3i8FQ.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url),()=>E(()=>import("../nodes/1.WSWj9VWy.js"),__vite__mapDeps([5,4,6,2,7,8,9]),import.meta.url),()=>E(()=>import("../nodes/2.DRCudqRI.js"),__vite__mapDeps([10,11,2,3,4,12,1,8,7,6]),import.meta.url),()=>E(()=>import("../nodes/3.CMaEAJPV.js"),__vite__mapDeps([13,4,3,2,12,1,11,8,7,14,6,9,15]),import.meta.url)],Et=[],Pt={"/":[2],"/sidebar":[3]},z={handleError:(({error:r})=>{console.error(r)}),reroute:(()=>{}),transport:{}},ut=Object.fromEntries(Object.entries(z.transport).map(([r,e])=>[r,e.decode])),Ot=Object.fromEntries(Object.entries(z.transport).map(([r,e])=>[r,e.encode])),xt=!1,yt=(r,e)=>ut[r](e);export{yt as decode,ut as decoders,Pt as dictionary,Ot as encoders,xt as hash,z as hooks,vt as matchers,bt as nodes,ht as root,Et as server_loads};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{l as o,a as r}from"../chunks/g9pTgyF6.js";export{o as load_css,r as start};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"../chunks/DsnmJJEf.js";import{p as r}from"../chunks/DGC7CooX.js";import{c,p as h,f as l,t as _,a as u,b as v,d,s as g,e as s,r as o,g as p}from"../chunks/CfJtR48A.js";import{i as x}from"../chunks/CR5-hwU3.js";var b=d("<h1> </h1> <p> </p>",1);function E(m,i){h(i,!1),x();var a=b(),t=l(a),f=s(t,!0);o(t);var e=g(t,2),n=s(e,!0);o(e),_(()=>{p(f,r.status),p(n,r.error?.message)}),u(m,a),v()}c(E,{},[],[],{mode:"open"});export{E as component};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../chunks/BXQ0Z8wW.js","../chunks/DsnmJJEf.js","../chunks/CfJtR48A.js","../chunks/hrZ0qwUL.js","../chunks/D0zq2rZV.js","../chunks/6gGOJNBB.js","../chunks/Bg7q39r6.js","../chunks/BVWYCVQL.js","../chunks/Do2M-_FB.js","../chunks/g9pTgyF6.js","../chunks/DGC7CooX.js","../chunks/CR5-hwU3.js","../chunks/w7MLzsSQ.js","../chunks/DGqm4WKo.js","../chunks/CqmBCC3F.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{i as f,_ as Dt,b as Ft}from"../chunks/Bg7q39r6.js";import"../chunks/DsnmJJEf.js";import{c as ie,p as Re,s as e,t as H,a as r,b as Je,d as p,e as a,m as ue,r as t,g as Ge,E as z,u as ae,j as ha,z as G,f as T,k as i,at as ba,o as C,av as Fe,ag as Mt,aw as At,C as Ht,A as wa,D as Gt}from"../chunks/CfJtR48A.js";import{a as me,s as A,m as $t,n as fa,h as Ut,k as m,o as _a,e as ee,i as te,I as ve,p as ya,C as Ot,t as xa,q as ka,S as o,r as qa,P as Me,R as Ae,u as He,N as Sa,v as Ia,w as La,x as za,c as Ta,y as Ca,M as ja,A as Ba,b as Oe,z as Pa,D as Rt,E as Jt,F as Ea,G as Da}from"../chunks/BVWYCVQL.js";import{p as pe,s as Fa,r as Ma}from"../chunks/hrZ0qwUL.js";import{g as Aa}from"../chunks/g9pTgyF6.js";import{p as Ha}from"../chunks/DGC7CooX.js";var Ga=p('<div class="swatch svelte-1inuijp"><div class="swatch__color svelte-1inuijp"></div> <div class="swatch__label svelte-1inuijp"> </div></div>');const Oa={hash:"svelte-1inuijp",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-1inuijp {opacity:1;}}.swatch__color.svelte-1inuijp {aspect-ratio:1;width:100%;}.swatch__label.svelte-1inuijp {display:none;width:100%;padding:6px;background:white;color:black;font-size:10px;transition:opacity 0.2s ease;
|
|
3
|
-
|
|
4
|
-
@media (min-width: 768px) {display:block;
|
|
5
|
-
}}`};function ge(w,v){Re(v,!1),me(w,Oa);let q=pe(v,"name",12),s=pe(v,"key",12),P=pe(v,"value",12);var Z={get name(){return q()},set name(h){q(h),ue()},get key(){return s()},set key(h){s(h),ue()},get value(){return P()},set value(h){P(h),ue()}},S=Ga(),O=a(S),R=e(O,2),V=a(R,!0);return t(R),t(S),H(()=>{A(S,"title",`Color ${s()}: ${P()}`),$t(O,`background-color: var(--color-${q()??""}-${s()??""});`),Ge(V,s())}),r(w,S),Je(Z)}ie(ge,{name:{},key:{},value:{}},[],[],{mode:"open"});var Ra=p('<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" aria-hidden="true"><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" aria-hidden="true"><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="" aria-hidden="true"><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" aria-hidden="true"><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 Nt(w){var v=Ra();r(w,v)}ie(Nt,{},[],[],{mode:"open"});var Ja=p(`<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-4x0tmq">Text-sm: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis suscipit nisl at varius. Fusce vitae pellentesque
|
|
6
|
-
lacus.</p> <p class="text-xs svelte-4x0tmq">Text-xs: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis suscipit nisl at varius. Fusce vitae pellentesque
|
|
7
|
-
lacus.</p> <h2>Title h2</h2> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis suscipit nisl at varius. Fusce vitae pellentesque lacus. Sed sed
|
|
8
|
-
enim in elit vulputate finibus ac in arcu. Donec venenatis tempus facilisis.</p> <h3>Title h3</h3> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis suscipit nisl at varius. Fusce vitae pellentesque lacus. Sed sed
|
|
9
|
-
enim in elit vulputate finibus ac in arcu. Donec venenatis tempus facilisis.</p> <h4>Title h4</h4> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis suscipit nisl at varius. Fusce vitae pellentesque lacus. Sed sed
|
|
10
|
-
enim in elit vulputate finibus ac in arcu. Donec venenatis tempus facilisis.</p> <ul><li>Unordered List 1</li> <li>Unordered List 2</li> <li>Unordered List 3</li></ul> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis suscipit nisl at varius. Fusce vitae pellentesque lacus. Sed sed
|
|
11
|
-
enim in elit vulputate finibus ac in arcu. Donec venenatis tempus facilisis. Lorem ipsum dolor sit amet sed sed enim in elit vulputate
|
|
12
|
-
finibus.</p> <table><tbody><tr><th>Name</th><th>Role</th><th>Location</th></tr><tr><td>Sarah Hilse</td><td>Software Developer</td><td>Zürich</td></tr><tr><td>Sarah Perrollaz</td><td>User Experience Designer</td><td>Bern</td></tr><tr><td>Sarah Bähler</td><td>User Experience Designer</td><td>Fribourg</td></tr></tbody></table> <ol><li>Ordered List 1</li> <li>Ordered List 2</li> <li>Ordered List 3</li></ol> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis suscipit nisl at varius. Fusce vitae pellentesque lacus. Sed sed
|
|
13
|
-
enim in elit vulputate finibus ac in arcu. Donec venenatis tempus facilisis. Lorem ipsum dolor sit amet <a href="https://www.google.com">Check it on google</a> sed sed enim in elit vulputate finibus.</p>`,1);const $a={hash:"svelte-4x0tmq",code:".text-sm.svelte-4x0tmq {font-size:var(--base-font-size-sm);}.text-xs.svelte-4x0tmq {font-size:var(--base-font-size-xs);}"};function Zt(w){me(w,$a);var v=Ja();z(30),r(w,v)}ie(Zt,{},[],[],{mode:"open"});const Ua=[{type:"user",time:"2025-01-22T08:03:11.044Z",message:"Ok, let's inspect this dummy discussion"},{state:"done",errors:[],type:"bot",time:"2025-03-31T15:37:53.914Z",message:{markdown:`Leider kann ich Ihnen bei der Frage nach "test" nicht weiterhelfen, da die Informationen dazu nicht in den gelieferten Inhalten enthalten sind.
|
|
14
|
-
|
|
15
|
-
Falls Sie spezifische Informationen zu Tests in der Softwareentwicklung oder zu bestimmten Testmethoden suchen, könnte der Artikel über **End-to-End-Tests mit Jest und Puppeteer** von Jürg Hunziker interessant sein, der beschreibt, wie man automatisierte Tests für Gutenberg-Blöcke in WordPress implementiert[^4].
|
|
16
|
-
|
|
17
|
-
Zusätzlich gibt es auch Inhalte über **Debugging von E-Mails auf einem Staging-Server**, die einfache Lösungen für Testumgebungen bieten[^3].
|
|
18
|
-
|
|
19
|
-
Bitte lassen Sie mich wissen, ob Sie weitere Informationen zu einem bestimmten Thema wünschen!
|
|
20
|
-
|
|
21
|
-
`,html:`<p>Leider kann ich Ihnen bei der Frage nach "test" nicht weiterhelfen, da die Informationen dazu nicht in den gelieferten Inhalten enthalten sind. </p>
|
|
22
|
-
<p>Falls Sie spezifische Informationen zu Tests in der Softwareentwicklung oder zu bestimmten Testmethoden suchen, könnte der Artikel über <strong>End-to-End-Tests mit Jest und Puppeteer</strong> von Jürg Hunziker interessant sein, der beschreibt, wie man automatisierte Tests für Gutenberg-Blöcke in WordPress implementiert <liipgpt-reference-number data-source="{"url":"https://www.liip.ch/en/blog/how-to-test-your-gutenberg-blocks","considered":true,"referencesIndex":{"all":3,"used":1},"display":{"card":{"title":"How to test your Gutenberg blocks with Jest and Puppeteer · Blog","description":"This tutorial explains how to implement automated End-to-End tests for Gutenberg blocks using Jest and Puppeteer, focusing on a custom wrapper block that allows background color, margin, and alignment adjustments.","badge":"https://www.liip.ch/en/blog/how-to-test-your-gutenberg-blocks"},"listItem":{"title":"How to test your Gutenberg blocks with Jest and Puppeteer · Blog","badge":"www.liip.ch"}}}" data-used-index="1" data-all-index="3"></liipgpt-reference-number>. </p>
|
|
23
|
-
<p>Zusätzlich gibt es auch Inhalte über <strong>Debugging von E-Mails auf einem Staging-Server</strong>, die einfache Lösungen für Testumgebungen bieten <liipgpt-reference-number data-source="{"url":"https://www.liip.ch/en/blog/debugging-email-on-staging-server","considered":true,"referencesIndex":{"all":2,"used":2},"display":{"card":{"title":"Debugging Email on Staging Server · Blog","description":"To test email features on a staging server without sending emails to actual recipients, a solution was implemented to trap all outgoing emails and display them through a web interface, ensuring that test emails are preserved while preventing accidental sends to clients.","badge":"https://www.liip.ch/en/blog/debugging-email-on-staging-server"},"listItem":{"title":"Debugging Email on Staging Server · Blog","badge":"www.liip.ch"}}}" data-used-index="2" data-all-index="2"></liipgpt-reference-number>. </p>
|
|
24
|
-
<p>Bitte lassen Sie mich wissen, ob Sie weitere Informationen zu einem bestimmten Thema wünschen! </p>
|
|
25
|
-
`,text:'Leider kann ich Ihnen bei der Frage nach "test" nicht weiterhelfen, da die Informationen dazu nicht in den gelieferten Inhalten enthalten sind. 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. Zusätzlich gibt es auch Inhalte über Debugging von E-Mails auf einem Staging-Server, die einfache Lösungen für Testumgebungen bieten. Bitte lassen Sie mich wissen, ob Sie weitere Informationen zu einem bestimmten Thema wünschen!'},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",id:"f47ac10b-58cc-4372-a567-0e02b2c3d479",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",id:"a3b8f2c1-7d4e-4a9f-b6c2-8e1d5f3a2b7c",componentName:"buttons",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 Na=p('<link rel="stylesheet"/>'),Za=p("<!> <!> <!> <!> <!>",1),Qa=p('<div class="context-menu svelte-1vjvg2x"><!></div>'),Wa=p('<div class="chat-app__loader-container">Loading...</div>'),Va=p('<div class="dialog-content svelte-1vjvg2x"><div class="dialog-header"><div class="dialog-title"><!></div> <div class="dialog-close"><span class="sr-only">Close</span> <!></div></div> <div class="dialog-description"><!></div></div>'),Ya=p("<p>No popup at index 1 defined.</p>"),Ka=p('<div class="container text-container" style="padding-bottom: 200px;"><hr/> <h2>Popups</h2> <!></div>'),Xa=p(`<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-1vjvg2x"><!></div> <h3 class="h4">Highlight Colors (optional)</h3> <div class="color-swatches svelte-1vjvg2x"><!></div> <h3 class="h4">Grey Colors</h3> <div class="color-swatches svelte-1vjvg2x"><!></div></div> <div class="container text-container"><hr/> <h1>Abstractions</h1> <p>The following elements are not components, but abstractions only. Their properties are defined in the configuration
|
|
26
|
-
files and are applied to the components that need them.</p> <div class="card transition-colors svelte-1vjvg2x">Card</div></div> <div class="container text-container" style="padding-top: 100px;"><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-1vjvg2x"><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-1vjvg2x"><div class="context-box__menu"><div class="context-box__menu-item transition-colors"><!> <span>Menü Beispiel</span></div></div> <div class="context-box__separator"></div> <div><div class="context-box__title">Sprache auswählen</div> <div class="context-box__menu"><div class="context-box__menu-item transition-colors active"><!> <span>Deutsch</span></div> <div class="context-box__menu-item transition-colors"><!> <span>English</span></div> <div class="context-box__menu-item transition-colors"><!> <span>Français</span></div> <div class="context-box__menu-item transition-colors"><!> <span>Italiano</span></div></div></div> <div class="context-box__separator" id="bits-c15" role="group" data-dropdown-menu-separator=""></div> <div id="bits-c16" data-dropdown-menu-radio-group="" role="group"><div class="context-box__color-scheme-selector"><div class="context-box__color-scheme-selector-button transition-colors context-box__color-scheme-selector-button--active"><!> <span>Hell</span></div> <hr class="context-box__color-scheme-selector-separator"/> <div class="context-box__color-scheme-selector-button transition-colors"><!> <span>Dunkel</span></div></div></div></div> <h2>Feedback Form</h2> <div class="dialog-content svelte-1vjvg2x"><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" style="padding-bottom: var(--spacer-r-40)"><hr/> <h2>Notifications</h2> <!></div> <div class="container text-container"><hr/> <h2>Chat</h2></div> <div class="chat-page__messages svelte-1vjvg2x"></div> <div class="text-container container"><hr/> <h2>Typography</h2> <!> <hr/> <h2>Icons</h2> <div style="color: currentColor; display: flex; flex-wrap: wrap; gap: 1rem; padding-bottom: var(--spacer-r-40)"><!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!></div></div> <!>`,3),ei=p('<main class="chat-app svelte-1vjvg2x"><!> <div class="chat-app__container"><div class="chat-app__main svelte-1vjvg2x"><div class="chat-app__portals"></div> <!></div></div> <div></div></main>');const ti={hash:"svelte-1vjvg2x",code:'.color-swatches.svelte-1vjvg2x {display:flex;grid-template-columns:repeat(13, 1fr);max-width:100%;margin:0;gap:0.25rem;}.chat-app.svelte-1vjvg2x {display:block;flex-grow:1;&::after {z-index:-1;position:fixed;top:0;left:0;width:100%;height:100%;background:var(--body-background);content:"";}}.chat-page__messages.svelte-1vjvg2x {min-height:auto;padding-bottom:200px;}.context-menu.svelte-1vjvg2x {z-index:1000;position:fixed;top:20px;right:20px;}.chat-app__main.svelte-1vjvg2x {overflow:visible;overscroll-behavior:auto;background:transparent;touch-action:auto;}.card.svelte-1vjvg2x {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-1vjvg2x {position:relative;top:0;left:0;transform:none;}.references__container.svelte-1vjvg2x {background-color:var(--aside-background);}.context-box__content.svelte-1vjvg2x {position:relative;}'};function Qt(w,v){Re(v,!0),me(w,ti);let q=pe(v,"data",7),s=C(()=>m.t);ae(()=>{const d={lang:q().options.lang.value,forceTheme:q().options?.["force-theme"]?.value,apiUrl:q().options["api-url"].value,features:""};ha(()=>fa.init(d).catch(n=>{console.error("Failed to init chat logic",n)}))});const P=Ua;var Z={get data(){return q()},set data(d){q(d),ue()}},S=ei();Ut("1vjvg2x",d=>{var n=G(),l=T(n);{var _=I=>{var E=Za(),u=T(E);ee(u,17,()=>m.themeBase.fontURLs??[],te,(D,F)=>{var M=Na();H(()=>A(M,"href",i(F))),r(D,M)});var y=e(u,2);ve(y,{id:"font-css",get css(){return m.themeBase.fontCSS}});var j=e(y,2);{let D=C(()=>Ta(m.theme));ve(j,{id:"theme-css",get css(){return i(D)}})}var x=e(j,2);ve(x,{id:"app-css",get css(){return ya}});var K=e(x,2);ve(K,{id:"custom-css",get css(){return m.themeBase.customCSS}}),r(I,E)};f(l,I=>{m.initialized&&I(_)})}r(d,n)});let O;var R=a(S);{var V=d=>{var n=Qa(),l=a(n);Ot(l,{}),t(n),r(d,n)};f(R,d=>{m.initialized&&d(V)})}var h=e(R,2),J=a(h),Y=a(J);_a(Y,(d,n)=>Ca?.(d,n),()=>"portals");var ne=e(Y,2);{var Q=d=>{var n=Wa();xa(2,n,()=>ka,()=>({duration:200,delay:300})),r(d,n)},se=d=>{var n=Xa(),l=T(n),_=e(a(l),8),I=a(_);{var E=c=>{var b=G(),$=T(b);ee($,17,()=>Object.entries(m.theme.colors.brand),te,(U,N)=>{var g=C(()=>Fe(i(N),2));let L=()=>i(g)[0],B=()=>i(g)[1];ge(U,{name:"brand",get key(){return L()},get value(){return B()}})}),r(c,b)};f(I,c=>{m.theme.colors?.brand&&c(E)})}t(_);var u=e(_,4),y=a(u);{var j=c=>{var b=G(),$=T(b);ee($,17,()=>Object.entries(m.theme.colors.highlight),te,(U,N)=>{var g=C(()=>Fe(i(N),2));let L=()=>i(g)[0],B=()=>i(g)[1];ge(U,{name:"highlight",get key(){return L()},get value(){return B()}})}),r(c,b)};f(y,c=>{m.theme?.colors?.highlight&&c(j)})}t(u);var x=e(u,4),K=a(x);{var D=c=>{var b=G(),$=T(b);ee($,17,()=>Object.entries(m.theme.colors.grey),te,(U,N)=>{var g=C(()=>Fe(i(N),2));let L=()=>i(g)[0],B=()=>i(g)[1];ge(U,{name:"grey",get key(){return L()},get value(){return B()}})}),r(c,b)};f(K,c=>{m.theme?.colors?.grey&&c(D)})}t(x),t(l);var F=e(l,4),M=e(a(F),8),k=a(M);o(k,{name:"avatar",class:"introduction__avatar"});var oe=e(k,2);o(oe,{name:"avatar",class:"message__bot-avatar"}),t(M);var re=e(M,4);qa(re,{onSubmit:()=>{},avoidFocusOnMount:!0});var X=e(re,2),le=a(X);Me(le,{predefinedQuestion:{label:"Question one",question:""},onSubmit:()=>{},index:0});var W=e(le,2);Me(W,{predefinedQuestion:{label:"Question two",question:""},onSubmit:()=>{},index:1});var de=e(W,2);Me(de,{predefinedQuestion:{label:"Question three",question:""},onSubmit:()=>{},index:2}),t(X);var be=e(X,4),$e=a(be),Ue=a($e);Ae(Ue,{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 Ne=e(Ue,2);Ae(Ne,{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 Wt=e(Ne,2);Ae(Wt,{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}}}),t($e),t(be);var we=e(be,2),Ze=a(we),fe=e(a(Ze));He(fe,"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"}}})),He(fe,"data-used-index","1"),He(fe,"data-all-index","3"),z(),t(Ze),t(we);var _e=e(we,2),Qe=a(_e),We=a(Qe),Vt=e(a(We),2);o(Vt,{name:"externalLink",class:"reference__icon transition-colors"}),t(We),z(4),t(Qe),t(_e);var ye=e(_e,4),Ve=a(ye),Ye=a(Ve);Sa(Ye,{});var Ke=e(Ye,2);Ot(Ke,{});var Xe=e(Ke,2);{let c=C(()=>i(s).aboutThisChat||"");Ia(Xe,{get content(){return i(c)}})}var Yt=e(Xe,2);La(Yt,{onclick:()=>{}}),t(Ve),t(ye);var xe=e(ye,4),ke=a(xe),et=a(ke),Kt=a(et);o(Kt,{name:"externalLink"}),z(2),t(et),t(ke);var qe=e(ke,4),tt=e(a(qe),2),Se=a(tt),Xt=a(Se);o(Xt,{name:"internalLink"}),z(2),t(Se);var Ie=e(Se,2),ea=a(Ie);o(ea,{name:"internalLink"}),z(2),t(Ie);var Le=e(Ie,2),ta=a(Le);o(ta,{name:"internalLink"}),z(2),t(Le);var at=e(Le,2),aa=a(at);o(aa,{name:"internalLink"}),z(2),t(at),t(tt),t(qe);var it=e(qe,4),nt=a(it),ze=a(nt),ia=a(ze);o(ia,{name:"lightMode"}),z(2),t(ze);var st=e(ze,4),na=a(st);o(na,{name:"darkMode"}),z(2),t(st),t(nt),t(it),t(xe);var ot=e(xe,4),rt=e(a(ot),2),ce=a(rt),lt=a(ce);za(lt,{classificationConfig:{impact:{label:"Impact",options:[{label:"Positive",value:1},{label:"Negative",value:2}]},quality:{label:"Quality",options:[{label:"Good",value:1},{label:"Bad",value:2}]}},impact:0,quality:0});var Te=e(lt,2),Ce=a(Te),sa=a(Ce,!0);t(Ce);var oa=e(Ce,2);t(Te);var dt=e(Te,2),je=a(dt),ra=a(je,!0);t(je);var la=e(je,2);t(dt),t(ce),t(rt),t(ot),z(4),t(F);var Be=e(F,2),da=e(a(Be),4);Nt(da),t(Be);var Pe=e(Be,4);ee(Pe,21,()=>P,te,(c,b)=>{ja(c,{get message(){return i(b)},onmessageupdate:()=>{},onbotmessageinit:()=>{},onaskQuestion:()=>{}})}),t(Pe);var Ee=e(Pe,2),ct=e(a(Ee),4);Zt(ct);var vt=e(ct,6),ut=a(vt);o(ut,{name:"predefinedQuestion"});var pt=e(ut,2);o(pt,{name:"edit"});var gt=e(pt,2);o(gt,{name:"newConversation"});var mt=e(gt,2);o(mt,{name:"voteUp"});var ht=e(mt,2);o(ht,{name:"voteDown"});var bt=e(ht,2);o(bt,{name:"retry"});var wt=e(bt,2);o(wt,{name:"message"});var ft=e(wt,2);o(ft,{name:"thread"});var _t=e(ft,2);o(_t,{name:"submit"});var yt=e(_t,2);o(yt,{name:"expand"});var xt=e(yt,2);o(xt,{name:"help"});var kt=e(xt,2);o(kt,{name:"attach"});var qt=e(kt,2);o(qt,{name:"record"});var St=e(qt,2);o(St,{name:"reward"});var It=e(St,2);o(It,{name:"share"});var Lt=e(It,2);o(Lt,{name:"audio"});var zt=e(Lt,2);o(zt,{name:"copy"});var Tt=e(zt,2);o(Tt,{name:"dismiss"});var Ct=e(Tt,2);o(Ct,{name:"menu"});var jt=e(Ct,2);o(jt,{name:"listUnordered"});var Bt=e(jt,2);o(Bt,{name:"lightMode"});var ca=e(Bt,2);o(ca,{name:"darkMode"}),t(vt),t(Ee);var va=e(Ee,2);{var ua=c=>{var b=Ka(),$=e(a(b),4);{var U=g=>{var L=Va(),B=a(L),De=a(B),pa=a(De);Oe(pa,()=>i(s).popups[1].title),t(De);var Pt=e(De,2),ga=e(a(Pt),2);o(ga,{name:"dismiss"}),t(Pt),t(B);var Et=e(B,2),ma=a(Et);Oe(ma,()=>i(s).popups[1].content),t(Et),t(L),r(g,L)},N=g=>{var L=Ya();r(g,L)};f($,g=>{i(s).popups?.[1]?g(U):g(N,!1)})}t(b),r(c,b)};f(va,c=>{i(s).popups&&i(s).popups?.length>0&&c(ua)})}H(()=>{A(ce,"aria-label",i(s).feedbackFormTitle),Ge(sa,i(s).feedbackFormMessage),A(oa,"placeholder",i(s).feedbackFormMessagePlaceholder),Ge(ra,i(s).feedbackFormEmail),A(la,"placeholder",i(s).feedbackFormEmailPlaceholder)}),ba("submit",ce,async()=>{}),r(d,n)};f(ne,d=>{m.initialized?d(se,!1):d(Q)})}t(J),t(h);var he=e(h,2);return t(S),H(()=>{O=$t(S,"",O,{"color-scheme":m.colorScheme}),A(he,"id",Ba)}),r(w,S),Je(Z)}ie(Qt,{data:{}},[],[],{mode:"open"});var ai=p('<iframe title="sidebar" id="sidebar" class="svelte-1uha8ag"></iframe>'),ii=p('<img class="preview-bg-image svelte-1uha8ag" alt="Preview background"/>'),ni=p('<div id="chat-wrapper"><!> <div></div> <!> <div></div></div>'),si=p('<div id="preview"><!> <!></div>');const oi={hash:"svelte-1uha8ag",code:`html,
|
|
28
|
-
body {width:100%;height:100%;margin:0;padding:0;}#sidebar.svelte-1uha8ag {flex-shrink:0;width:378px;height:100%;border:none;}#preview.svelte-1uha8ag {display:flex;align-items:flex-start;justify-content:flex-start;width:100%;height:100%;&.components-preview,
|
|
29
|
-
&:has(.has-bg-image:where(.svelte-1uha8ag)) {height:auto;& #sidebar:where(.svelte-1uha8ag) {position:sticky;top:0;height:100vh;}}}#chat-wrapper.svelte-1uha8ag {container-name:preview-container;
|
|
30
|
-
/* stylelint-disable-next-line property-disallowed-list */container-type:size;width:100%;height:100%;}#chat-wrapper.svelte-1uha8ag liipgpt-chat {display:block;width:100%;height:100%;}#chat-wrapper.has-bg-image.svelte-1uha8ag {
|
|
31
|
-
/* stylelint-disable-next-line property-disallowed-list */container-type:inline-size;height:auto;min-height:100%;}.preview-bg-image.svelte-1uha8ag {display:block;width:100%;height:auto;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;}`};function ri(w,v){Re(v,!0),me(w,oi);let q=Ma(v,["$$slots","$$events","$$legacy","$$host"]),s=C(()=>v.data);ae(()=>{window.onmessage=function(n){if(typeof n.data=="string"&&n.data.startsWith("liipgpt-url:")){const l=new URLSearchParams(n.data.replace("liipgpt-url:",""));Aa("?"+l.toString(),{replaceState:!0})}}});const P=n=>`/build/${n}/liipgpt-${n}.iife.js`,Z=n=>/\.(png|jpe?g|gif|webp|svg|bmp|ico)(\?.*)?$/i.test(n),S=async n=>{n==="build"&&(await import(P("chat")),await import(P("button"))),n==="dev"&&(await Dt(()=>import("../chunks/BXQ0Z8wW.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url),await Dt(()=>import("../chunks/CqmBCC3F.js"),__vite__mapDeps([14,1,2,3,13,8,6,7,5,9,12]),import.meta.url)),n==="server"&&(import(Rt(v.data.options,"chat")),import(Rt(v.data.options,"button")))};let O="server",R=C(()=>v.data.options?.["preview-mode"]?.value??O);ae(()=>{S(i(R))});const V=`./sidebar${Ha.url.search}`;let h=Ht(void 0),J=Ht(void 0);const Y=(n,l)=>{const _=document.createElement("script"),I=document.createTextNode(`{${l}}`);_.appendChild(I),n.replaceChildren(_)};ae(()=>{i(h)&&Y(i(h),i(s).options.CHAT_CONFIG_OVERRIDE.value||"")}),ae(()=>{i(J)&&Y(i(J),i(s).options.onclosechat.value||"")});const ne=C(()=>i(s)&&i(s).options["show-components"].value);var Q=si();Ut("1uha8ag",n=>{var l=G(),_=T(l);{var I=u=>{Mt(()=>{At.title="LiipGPT Configurator | Components"})},E=u=>{Mt(()=>{At.title="LiipGPT Configurator"})};f(_,u=>{i(s).options["show-components"].value?u(I,1):u(E,!1)})}r(n,l)});var se=a(Q);{var he=n=>{var l=ai();H(()=>A(l,"src",V)),r(n,l)};f(se,n=>{i(s).options["hide-sidebar"].value||n(he)})}var d=e(se,2);Pa(d,()=>i(s),n=>{var l=G(),_=T(l);{var I=u=>{var y=G(),j=T(y);wa(j,{onerror:x=>console.error("Rendering error of components",x)},x=>{Qt(x,Fa(()=>q))}),r(u,y)},E=u=>{var y=ni();let j;var x=a(y);{var K=k=>{var oe=G(),re=T(oe);{var X=W=>{var de=ii();H(()=>A(de,"src",i(s).options["preview-background"].value)),r(W,de)},le=C(()=>Z(i(s).options["preview-background"].value));f(re,W=>{i(le)&&W(X)})}r(k,oe)};f(x,k=>{i(s).options.flyout.value&&i(s).options["preview-background"].value&&k(K)})}var D=e(x,2);Ft(D,k=>Gt(h,k),()=>i(h));var F=e(D,2);Oe(F,()=>Ea(i(s).options));var M=e(F,2);Ft(M,k=>Gt(J,k),()=>i(J)),t(y),H(k=>j=Jt(y,1,"svelte-1uha8ag",null,j,k),[()=>({"has-bg-image":i(s).options.flyout.value&&i(s).options["preview-background"].value&&Z(i(s).options["preview-background"].value)})]),r(u,y)};f(_,u=>{i(ne)?u(I):u(E,!1)})}r(n,l)}),t(Q),H(()=>Jt(Q,1,Da([{"components-preview":i(ne)}]),"svelte-1uha8ag")),r(w,Q),Je()}ie(ri,{},[],[],{mode:"open"});export{ri as component};
|