@liip/liipgpt 3.13.0 → 3.14.0-rc.2
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/de-BaNjE_3M.js +9 -0
- package/button/en-BjftSbKm.js +9 -0
- package/button/fr-B1oh1nWw.js +9 -0
- package/button/it-Ca-_bxt0.js +9 -0
- package/button/liipgpt-button.iife.js +9 -9
- package/button/liipgpt-button.js +2 -30
- package/chat/button-or-link-KjqNe5XC.js +2 -0
- package/chat/chat-logic.svelte-C5-qxoSD.js +62 -0
- package/chat/chat-panel-DoyX36Ux.js +167 -0
- package/chat/de-CFZ6ZknZ.js +9 -0
- package/chat/en-sKi7mJoR.js +9 -0
- package/chat/fr-DQD-_4bG.js +9 -0
- package/chat/it-DDb48nfd.js +9 -0
- package/chat/liipgpt-chat.iife.js +175 -167
- package/chat/liipgpt-chat.js +3 -547
- package/chat/load-default-translations-BsDQXCPO.js +301 -0
- package/configurator/_app/env.js +1 -1
- package/configurator/_app/immutable/chunks/6QxjtaMo.js +1 -0
- package/configurator/_app/immutable/chunks/7NDngRQo.js +16 -0
- package/configurator/_app/immutable/chunks/{BMJ5aYRa.js → B6mcd5gu.js} +1 -1
- package/configurator/_app/immutable/chunks/BEfnCtbB2.js +1 -0
- package/configurator/_app/immutable/chunks/B_FUTopa.js +8 -0
- package/configurator/_app/immutable/chunks/BjxmHIml2.js +1 -0
- package/configurator/_app/immutable/chunks/{BJVrdkuG.js → BnXjA2kT.js} +1 -1
- package/configurator/_app/immutable/chunks/{CbotzAWM.js → C1vsjZB2.js} +3 -3
- package/configurator/_app/immutable/chunks/C9_9vTHd2.js +2 -0
- package/configurator/_app/immutable/chunks/CBwwroGv2.js +1 -0
- package/configurator/_app/immutable/chunks/CUKdJCx6.js +1 -0
- package/configurator/_app/immutable/chunks/ClwMV5T02.js +1 -0
- package/configurator/_app/immutable/chunks/D63FM6dK.js +8 -0
- package/configurator/_app/immutable/chunks/DFgR2o_I.js +2 -0
- package/configurator/_app/immutable/chunks/DIQK1dMk.js +1 -0
- package/configurator/_app/immutable/chunks/DSItGtCS.js +8 -0
- package/configurator/_app/immutable/chunks/DUR8K4eS.js +1 -0
- package/configurator/_app/immutable/chunks/DWlD7QTs2.js +1 -0
- package/configurator/_app/immutable/chunks/Di7P1jW32.js +2 -0
- package/configurator/_app/immutable/chunks/Do9AxEGi.js +1 -0
- package/configurator/_app/immutable/chunks/{k-nJVsgE.js → Dytw-4aS.js} +1 -1
- package/configurator/_app/immutable/chunks/HfoaPmLk.js +1 -0
- package/configurator/_app/immutable/chunks/IhqdV4A8.js +8 -0
- package/configurator/_app/immutable/chunks/pncTt4Yg2.js +151 -0
- package/configurator/_app/immutable/chunks/uNnF9TU1.js +1 -0
- package/configurator/_app/immutable/chunks/wezic_7b.js +1 -0
- package/configurator/_app/immutable/chunks/{Dy0FGVSs.js → zr2aj7F2.js} +1 -1
- package/configurator/_app/immutable/entry/{app.BHBkpDs8.js → app.BN6PGfis.js} +2 -2
- package/configurator/_app/immutable/entry/start.iFfzR7Rm.js +1 -0
- package/configurator/_app/immutable/nodes/{0.DLWEcFHQ.js → 0.CF-EkZ9f.js} +2 -2
- package/configurator/_app/immutable/nodes/{1.KI8fWs2N.js → 1.DfSQXnmw.js} +1 -1
- package/configurator/_app/immutable/nodes/{2.B59b_gVk.js → 2.3h6m1CY9.js} +5 -5
- package/configurator/_app/immutable/nodes/{3.DN70KT-c.js → 3.DTW3YJra.js} +1 -1
- package/configurator/_app/version.json +1 -1
- package/configurator/index.html +6 -6
- package/configurator/sidebar.html +6 -6
- package/package.json +1 -1
- package/search-summary/de-DSJEm_-6.js +9 -0
- package/search-summary/en-DcveItl-.js +9 -0
- package/search-summary/fr-DIui1QQv.js +9 -0
- package/search-summary/it-DBGHJRn2.js +9 -0
- package/search-summary/liipgpt-search-summary.iife.js +16 -16
- package/search-summary/liipgpt-search-summary.js +2 -2
- package/search-summary/load-chat-config-CWy7GTVl.js +299 -0
- package/search-summary/{translations-utils-J0hLe4am.js → translations-utils-i7vxmHnL.js} +1 -1
- package/configurator/_app/immutable/chunks/BBWpG1hF.js +0 -1
- package/configurator/_app/immutable/chunks/BKRBEPI5.js +0 -143
- package/configurator/_app/immutable/chunks/BndQp4ie.js +0 -1
- package/configurator/_app/immutable/chunks/C6xrTJ8-.js +0 -1
- package/configurator/_app/immutable/chunks/DHHLckcz.js +0 -1
- package/configurator/_app/immutable/chunks/DLkzrfsn.js +0 -2
- package/configurator/_app/immutable/chunks/DeKAuPLN.js +0 -1
- package/configurator/_app/immutable/chunks/DmZKIk3Y.js +0 -1
- package/configurator/_app/immutable/chunks/MqTIsSeD.js +0 -1
- package/configurator/_app/immutable/chunks/Q68dKsWV.js +0 -16
- package/configurator/_app/immutable/chunks/hJTLHSgs.js +0 -29
- package/configurator/_app/immutable/entry/start._nmsyr-e.js +0 -1
- package/search-summary/load-chat-config-C0gjKjFi.js +0 -327
- /package/configurator/_app/immutable/chunks/{CNNudH1c.js → DFocG2Q_2.js} +0 -0
- /package/configurator/_app/immutable/chunks/{I5DxyXWx.js → Dq7Zntjw.js} +0 -0
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
/*! @liip/liipgpt | Copyright 2025-2026 Liip AG | Apache-2.0 | see LICENSE and NOTICE */
|
|
2
|
+
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),s=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},c=(n,r,a)=>(a=n==null?{}:e(i(n)),s(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),l={},u=Symbol(),d=`http://www.w3.org/1999/xhtml`,f=`http://www.w3.org/2000/svg`,p=`http://www.w3.org/1998/Math/MathML`,m=`@attach`,h=Array.isArray,g=Array.prototype.indexOf,_=Array.prototype.includes,v=Array.from,y=Object.keys,b=Object.defineProperty,x=Object.getOwnPropertyDescriptor,S=Object.getOwnPropertyDescriptors,ee=Object.prototype,te=Array.prototype,ne=Object.getPrototypeOf,re=Object.isExtensible;function ie(e){return typeof e==`function`}var ae=()=>{};function oe(e){return typeof e?.then==`function`}function se(e){return e()}function ce(e){for(var t=0;t<e.length;t++)e[t]()}function le(){var e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}var ue=1<<24,C=1024,de=2048,fe=4096,pe=8192,me=16384,he=32768,ge=1<<25,_e=65536,ve=1<<18,ye=1<<19,be=1<<20,xe=1<<25,Se=65536,Ce=1<<21,we=1<<22,Te=1<<23,Ee=Symbol(`$state`),De=Symbol(`legacy props`),Oe=Symbol(``),ke=Symbol(`proxy path`),Ae=new class extends Error{name=`StaleReactionError`;message="The reaction that called `getAbortSignal()` was re-run or destroyed"},je=!!globalThis.document?.contentType&&globalThis.document.contentType.includes(`xml`);function Me(e){throw Error(`https://svelte.dev/e/lifecycle_outside_component`)}function Ne(){throw Error(`https://svelte.dev/e/async_derived_orphan`)}function Pe(e,t,n){throw Error(`https://svelte.dev/e/each_key_duplicate`)}function Fe(e){throw Error(`https://svelte.dev/e/effect_in_teardown`)}function Ie(){throw Error(`https://svelte.dev/e/effect_in_unowned_derived`)}function Le(e){throw Error(`https://svelte.dev/e/effect_orphan`)}function Re(){throw Error(`https://svelte.dev/e/effect_update_depth_exceeded`)}function ze(){throw Error(`https://svelte.dev/e/hydration_failed`)}function Be(e){throw Error(`https://svelte.dev/e/props_invalid_value`)}function Ve(){throw Error(`https://svelte.dev/e/set_context_after_init`)}function He(){throw Error(`https://svelte.dev/e/state_descriptors_fixed`)}function Ue(){throw Error(`https://svelte.dev/e/state_prototype_fixed`)}function We(){throw Error(`https://svelte.dev/e/state_unsafe_mutation`)}function Ge(){throw Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`)}function Ke(e){console.warn(`https://svelte.dev/e/hydration_mismatch`)}function qe(){console.warn(`https://svelte.dev/e/select_multiple_invalid_value`)}function Je(){console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`)}function Ye(e){console.warn(`https://svelte.dev/e/transition_slide_display`)}var w=!1;function T(e){w=e}var E;function D(e){if(e===null)throw Ke(),l;return E=e}function O(){return D(B(E))}function Xe(e){if(w){if(B(E)!==null)throw Ke(),l;E=e}}function Ze(e=1){if(w){for(var t=e,n=E;t--;)n=B(n);E=n}}function Qe(e=!0){for(var t=0,n=E;;){if(n.nodeType===8){var r=n.data;if(r===`]`){if(t===0)return n;--t}else (r===`[`||r===`[!`||r[0]===`[`&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=B(n);e&&n.remove(),n=i}}function $e(e){if(!e||e.nodeType!==8)throw Ke(),l;return e.data}function et(e){return e===this.v}function tt(e,t){return e==e?e!==t||typeof e==`object`&&!!e||typeof e==`function`:t==t}function nt(e){return!tt(e,this.v)}var k=!1,rt=!1;function it(){rt=!0}var at=[];function ot(e,t=!1,n=!1){return st(e,new Map,``,at,null,n)}function st(e,t,n,r,i=null,a=!1){if(typeof e==`object`&&e){var o=t.get(e);if(o!==void 0)return o;if(e instanceof Map)return new Map(e);if(e instanceof Set)return new Set(e);if(h(e)){var s=Array(e.length);t.set(e,s),i!==null&&t.set(i,s);for(var c=0;c<e.length;c+=1){var l=e[c];c in e&&(s[c]=st(l,t,n,r,null,a))}return s}if(ne(e)===ee){s={},t.set(e,s),i!==null&&t.set(i,s);for(var u of Object.keys(e))s[u]=st(e[u],t,n,r,null,a);return s}if(e instanceof Date)return structuredClone(e);if(typeof e.toJSON==`function`&&!a)return st(e.toJSON(),t,n,r,e)}if(e instanceof EventTarget)return e;try{return structuredClone(e)}catch{return e}}function ct(e,t){return e.label=t,lt(e.v,t),e}function lt(e,t){return e?.[ke]?.(t),e}function ut(e){return typeof e==`symbol`?`Symbol(${e.description})`:typeof e==`function`?`<function>`:typeof e==`object`&&e?`<object>`:String(e)}var A=null;function dt(e){A=e}function ft(e){return yt(`getContext`).get(e)}function pt(e,t){let n=yt(`setContext`);if(k){var r=q.f;!W&&r&32&&!A.i||Ve()}return n.set(e,t),t}function mt(e){return yt(`hasContext`).has(e)}function ht(){return yt(`getAllContexts`)}function gt(e,t=!1,n){A={p:A,i:!1,c:null,e:null,s:e,x:null,r:q,l:rt&&!t?{s:null,u:null,$:[]}:null}}function _t(e){var t=A,n=t.e;if(n!==null){t.e=null;for(var r of n)$n(r)}return e!==void 0&&(t.x=e),t.i=!0,A=t.p,e??{}}function vt(){return!rt||A!==null&&A.l===null}function yt(e){return A===null&&Me(e),A.c??=new Map(bt(A)||void 0)}function bt(e){let t=e.p;for(;t!==null;){let e=t.c;if(e!==null)return e;t=t.p}return null}var xt=[];function St(){var e=xt;xt=[],ce(e)}function j(e){if(xt.length===0&&!Rt){var t=xt;queueMicrotask(()=>{t===xt&&St()})}xt.push(e)}function Ct(){for(;xt.length>0;)St()}function wt(e){var t=q;if(t===null)return W.f|=Te,e;if(!(t.f&32768)&&!(t.f&4))throw e;Tt(e,t)}function Tt(e,t){for(;t!==null;){if(t.f&128){if(!(t.f&32768))throw e;try{t.b.error(e);return}catch(t){e=t}}t=t.parent}throw e}var Et=~(de|fe|C);function M(e,t){e.f=e.f&Et|t}function Dt(e){e.f&512||e.deps===null?M(e,C):M(e,fe)}function Ot(e){if(e!==null)for(let t of e)!(t.f&2)||!(t.f&65536)||(t.f^=Se,Ot(t.deps))}function kt(e,t,n){e.f&2048?t.add(e):e.f&4096&&n.add(e),Ot(e.deps),M(e,C)}var At=[];function jt(e,t=ae){let n=null,r=new Set;function i(t){if(tt(e,t)&&(e=t,n)){let t=!At.length;for(let t of r)t[1](),At.push(t,e);if(t){for(let e=0;e<At.length;e+=2)At[e][0](At[e+1]);At.length=0}}}function a(t){i(t(e))}function o(o,s=ae){let c=[o,s];return r.add(c),r.size===1&&(n=t(i,a)||ae),o(e),()=>{r.delete(c),r.size===0&&n&&(n(),n=null)}}return{set:i,update:a,subscribe:o}}var Mt=!1,Nt=!1;function Pt(e){var t=Nt;try{return Nt=!1,[e(),Nt]}finally{Nt=t}}var Ft=new Set,N=null,It=null,P=null,Lt=null,Rt=!1,zt=!1,Bt=null,Vt=null,Ht=0,Ut=1,Wt=class e{id=Ut++;current=new Map;previous=new Map;#e=new Set;#t=new Set;#n=0;#r=0;#i=null;#a=[];#o=new Set;#s=new Set;#c=new Map;is_fork=!1;#l=!1;#u(){return this.is_fork||this.#r>0}skip_effect(e){this.#c.has(e)||this.#c.set(e,{d:[],m:[]})}unskip_effect(e){var t=this.#c.get(e);if(t){this.#c.delete(e);for(var n of t.d)M(n,de),this.schedule(n);for(n of t.m)M(n,fe),this.schedule(n)}}#d(){if(Ht++>1e3&&(Ft.delete(this),Kt()),!this.#u()){for(let e of this.#o)this.#s.delete(e),M(e,de),this.schedule(e);for(let e of this.#s)M(e,fe),this.schedule(e)}let t=this.#a;this.#a=[],this.apply();var n=Bt=[],r=[],i=Vt=[];for(let e of t)try{this.#f(e,n,r)}catch(t){throw $t(e),t}if(N=null,i.length>0){var a=e.ensure();for(let e of i)a.schedule(e)}if(Bt=null,Vt=null,this.#u()){this.#p(r),this.#p(n);for(let[e,t]of this.#c)Qt(e,t)}else{this.#n===0&&Ft.delete(this),this.#o.clear(),this.#s.clear();for(let e of this.#e)e(this);this.#e.clear(),It=this,Jt(r),Jt(n),It=null,this.#i?.resolve()}var o=N;if(this.#a.length>0){let e=o??=this;e.#a.push(...this.#a.filter(t=>!e.#a.includes(t)))}o!==null&&(Ft.add(o),o.#d()),Ft.has(this)||this.#m()}#f(e,t,n){e.f^=C;for(var r=e.first;r!==null;){var i=r.f,a=(i&96)!=0;if(!(a&&i&1024||i&8192||this.#c.has(r))&&r.fn!==null){a?r.f^=C:i&4?t.push(r):k&&i&16777224?n.push(r):jr(r)&&(i&16&&this.#s.add(r),Ir(r));var o=r.first;if(o!==null){r=o;continue}}for(;r!==null;){var s=r.next;if(s!==null){r=s;break}r=r.parent}}}#p(e){for(var t=0;t<e.length;t+=1)kt(e[t],this.#o,this.#s)}capture(e,t){t!==u&&!this.previous.has(e)&&this.previous.set(e,t),e.f&8388608||(this.current.set(e,e.v),P?.set(e,e.v))}activate(){N=this}deactivate(){N=null,P=null}flush(){try{zt=!0,N=this,this.#d()}finally{Ht=0,Lt=null,Bt=null,Vt=null,zt=!1,N=null,P=null,yn.clear()}}discard(){for(let e of this.#t)e(this);this.#t.clear(),Ft.delete(this)}#m(){for(let s of Ft){var e=s.id<this.id,t=[];for(let[n,r]of this.current){if(s.current.has(n))if(e&&r!==s.current.get(n))s.current.set(n,r);else continue;t.push(n)}var n=[...s.current.keys()].filter(e=>!this.current.has(e));if(n.length===0)e&&s.discard();else if(t.length>0){s.activate();var r=new Set,i=new Map;for(var a of t)Yt(a,n,r,i);if(s.#a.length>0){s.apply();for(var o of s.#a)s.#f(o,[],[]);s.#a=[]}s.deactivate()}}}increment(e){this.#n+=1,e&&(this.#r+=1)}decrement(e,t){--this.#n,e&&--this.#r,!(this.#l||t)&&(this.#l=!0,j(()=>{this.#l=!1,this.flush()}))}transfer_effects(e,t){for(let t of e)this.#o.add(t);for(let e of t)this.#s.add(e);e.clear(),t.clear()}oncommit(e){this.#e.add(e)}ondiscard(e){this.#t.add(e)}settled(){return(this.#i??=le()).promise}static ensure(){if(N===null){let t=N=new e;zt||(Ft.add(N),Rt||j(()=>{N===t&&t.flush()}))}return N}apply(){if(!k||!this.is_fork&&Ft.size===1){P=null;return}P=new Map(this.current);for(let e of Ft)if(!(e===this||e.is_fork))for(let[t,n]of e.previous)P.has(t)||P.set(t,n)}schedule(e){if(Lt=e,e.b?.is_pending&&e.f&16777228&&!(e.f&32768)){e.b.defer_effect(e);return}for(var t=e;t.parent!==null;){t=t.parent;var n=t.f;if(Bt!==null&&t===q&&(k||(W===null||!(W.f&2))&&!Mt))return;if(n&96){if(!(n&1024))return;t.f^=C}}this.#a.push(t)}};function Gt(e){var t=Rt;Rt=!0;try{var n;for(e&&(N!==null&&!N.is_fork&&N.flush(),n=e());;){if(Ct(),N===null)return n;N.flush()}}finally{Rt=t}}function Kt(){try{Re()}catch(e){Tt(e,Lt)}}var qt=null;function Jt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if(!(r.f&24576)&&jr(r)&&(qt=new Set,Ir(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&pr(r),qt?.size>0)){yn.clear();for(let e of qt){if(e.f&24576)continue;let t=[e],n=e.parent;for(;n!==null;)qt.has(n)&&(qt.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){let n=t[e];n.f&24576||Ir(n)}}qt.clear()}}qt=null}}function Yt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(let i of e.reactions){let e=i.f;e&2?Yt(i,t,n,r):e&4194320&&!(e&2048)&&Xt(i,t,r)&&(M(i,de),Zt(i))}}function Xt(e,t,n){let r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(let r of e.deps){if(_.call(t,r))return!0;if(r.f&2&&Xt(r,t,n))return n.set(r,!0),!0}return n.set(e,!1),!1}function Zt(e){N.schedule(e)}function Qt(e,t){if(!(e.f&32&&e.f&1024)){e.f&2048?t.d.push(e):e.f&4096&&t.m.push(e),M(e,C);for(var n=e.first;n!==null;)Qt(n,t),n=n.next}}function $t(e){M(e,C);for(var t=e.first;t!==null;)$t(t),t=t.next}function en(e){let t=0,n=xn(0),r;return()=>{Xn()&&(Q(n),ar(()=>(t===0&&(r=Br(()=>e(()=>Tn(n)))),t+=1,()=>{j(()=>{--t,t===0&&(r?.(),r=void 0,Tn(n))})})))}}var tn=_e|ye;function nn(e,t,n,r){new rn(e,t,n,r)}var rn=class{parent;is_pending=!1;transform_error;#e;#t=w?E:null;#n;#r;#i;#a=null;#o=null;#s=null;#c=null;#l=0;#u=0;#d=!1;#f=new Set;#p=new Set;#m=null;#h=en(()=>(this.#m=xn(this.#l),()=>{this.#m=null}));constructor(e,t,n,r){this.#e=e,this.#n=t,this.#r=e=>{var t=q;t.b=this,t.f|=128,n(e)},this.parent=q.b,this.transform_error=r??this.parent?.transform_error??(e=>e),this.#i=sr(()=>{if(w){let e=this.#t;O();let t=e.data===`[!`;if(e.data.startsWith(`[?`)){let t=JSON.parse(e.data.slice(2));this.#_(t)}else t?this.#v():this.#g()}else this.#y()},tn),w&&(this.#e=E)}#g(){try{this.#a=H(()=>this.#r(this.#e))}catch(e){this.error(e)}}#_(e){let t=this.#n.failed;t&&(this.#s=H(()=>{t(this.#e,()=>e,()=>()=>{})}))}#v(){let e=this.#n.pending;e&&(this.is_pending=!0,this.#o=H(()=>e(this.#e)),j(()=>{var e=this.#c=document.createDocumentFragment(),t=R();e.append(t),this.#a=this.#x(()=>H(()=>this.#r(t))),this.#u===0&&(this.#e.before(e),this.#c=null,mr(this.#o,()=>{this.#o=null}),this.#b(N))}))}#y(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#l=0,this.#a=H(()=>{this.#r(this.#e)}),this.#u>0){var e=this.#c=document.createDocumentFragment();vr(this.#a,e);let t=this.#n.pending;this.#o=H(()=>t(this.#e))}else this.#b(N)}catch(e){this.error(e)}}#b(e){this.is_pending=!1,e.transfer_effects(this.#f,this.#p)}defer_effect(e){kt(e,this.#f,this.#p)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#n.pending}#x(e){var t=q,n=W,r=A;Cr(this.#i),K(this.#i),dt(this.#i.ctx);try{return Wt.ensure(),e()}catch(e){return wt(e),null}finally{Cr(t),K(n),dt(r)}}#S(e,t){if(!this.has_pending_snippet()){this.parent&&this.parent.#S(e,t);return}this.#u+=e,this.#u===0&&(this.#b(t),this.#o&&mr(this.#o,()=>{this.#o=null}),this.#c&&=(this.#e.before(this.#c),null))}update_pending_count(e,t){this.#S(e,t),this.#l+=e,!(!this.#m||this.#d)&&(this.#d=!0,j(()=>{this.#d=!1,this.#m&&Cn(this.#m,this.#l)}))}get_effect_pending(){return this.#h(),Q(this.#m)}error(e){var t=this.#n.onerror;let n=this.#n.failed;if(!t&&!n)throw e;this.#a&&=(U(this.#a),null),this.#o&&=(U(this.#o),null),this.#s&&=(U(this.#s),null),w&&(D(this.#t),Ze(),D(Qe()));var r=!1,i=!1;let a=()=>{if(r){Je();return}r=!0,i&&Ge(),this.#s!==null&&mr(this.#s,()=>{this.#s=null}),this.#x(()=>{this.#y()})},o=e=>{try{i=!0,t?.(e,a),i=!1}catch(e){Tt(e,this.#i&&this.#i.parent)}n&&(this.#s=this.#x(()=>{try{return H(()=>{var t=q;t.b=this,t.f|=128,n(this.#e,()=>e,()=>a)})}catch(e){return Tt(e,this.#i.parent),null}}))};j(()=>{var t;try{t=this.transform_error(e)}catch(e){Tt(e,this.#i&&this.#i.parent);return}typeof t==`object`&&t&&typeof t.then==`function`?t.then(o,e=>Tt(e,this.#i&&this.#i.parent)):o(t)})}};function an(e,t,n,r){let i=vt()?ln:dn;var a=e.filter(e=>!e.settled);if(n.length===0&&a.length===0){r(t.map(i));return}var o=q,s=on(),c=a.length===1?a[0].promise:a.length>1?Promise.all(a.map(e=>e.promise)):null;function l(e){s();try{r(e)}catch(e){o.f&16384||Tt(e,o)}sn()}if(n.length===0){c.then(()=>l(t.map(i)));return}var u=cn();function d(){Promise.all(n.map(e=>un(e))).then(e=>l([...t.map(i),...e])).catch(e=>Tt(e,o)).finally(()=>u())}c?c.then(()=>{s(),d(),sn()}):d()}function on(){var e=q,t=W,n=A,r=N;return function(i=!0){Cr(e),K(t),dt(n),i&&!(e.f&16384)&&(r?.activate(),r?.apply())}}function sn(e=!0){Cr(null),K(null),dt(null),e&&N?.deactivate()}function cn(){var e=q.b,t=N,n=e.is_rendered();return e.update_pending_count(1,t),t.increment(n),(r=!1)=>{e.update_pending_count(-1,t),t.decrement(n,r)}}function ln(e){var t=2|de,n=W!==null&&W.f&2?W:null;return q!==null&&(q.f|=ye),{ctx:A,deps:null,effects:null,equals:et,f:t,fn:e,reactions:null,rv:0,v:u,wv:0,parent:n??q,ac:null}}function un(e,t,n){let r=q;r===null&&Ne();var i=void 0,a=xn(u),o=!W,s=new Map;return ir(()=>{var t=q,n=le();i=n.promise;try{Promise.resolve(e()).then(n.resolve,n.reject).finally(sn)}catch(e){n.reject(e),sn()}var c=N;if(o){if(t.f&32768)var l=cn();if(r.b.is_rendered())s.get(c)?.reject(Ae),s.delete(c);else{for(let e of s.values())e.reject(Ae);s.clear()}s.set(c,n)}let u=(e,n=void 0)=>{if(l&&l(n===Ae),!(n===Ae||t.f&16384)){if(c.activate(),n)a.f|=Te,Cn(a,n);else{a.f&8388608&&(a.f^=Te),Cn(a,e);for(let[e,t]of s){if(s.delete(e),e===c)break;t.reject(Ae)}}c.deactivate()}};n.promise.then(u,e=>u(null,e||`unknown`))}),Zn(()=>{for(let e of s.values())e.reject(Ae)}),new Promise(e=>{function t(n){function r(){n===i?e(a):t(i)}n.then(r,r)}t(i)})}function F(e){let t=ln(e);return k||wr(t),t}function dn(e){let t=ln(e);return t.equals=nt,t}function fn(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)U(t[n])}}function pn(e){for(var t=e.parent;t!==null;){if(!(t.f&2))return t.f&16384?null:t;t=t.parent}return null}function mn(e){var t,n=q;Cr(pn(e));try{e.f&=~Se,fn(e),t=Nr(e)}finally{Cr(n)}return t}function hn(e){var t=e.v,n=mn(e);if(!e.equals(n)&&(e.wv=Ar(),(!N?.is_fork||e.deps===null)&&(e.v=n,N?.capture(e,t),e.deps===null))){M(e,C);return}xr||(P===null?Dt(e):(Xn()||N?.is_fork)&&P.set(e,n))}function gn(e){if(e.effects!==null)for(let t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(Ae),t.teardown=ae,t.ac=null,Fr(t,0),ur(t))}function _n(e){if(e.effects!==null)for(let t of e.effects)t.teardown&&Ir(t)}var vn=new Set,yn=new Map,bn=!1;function xn(e,t){return{f:0,v:e,reactions:null,equals:et,rv:0,wv:0}}function I(e,t){let n=xn(e,t);return wr(n),n}function Sn(e,t=!1,n=!0){let r=xn(e);return t||(r.equals=nt),rt&&n&&A!==null&&A.l!==null&&(A.l.s??=[]).push(r),r}function L(e,t,n=!1){return W!==null&&(!G||W.f&131072)&&vt()&&W.f&4325394&&(J===null||!_.call(J,e))&&We(),Cn(e,n?Dn(t):t,Vt)}function Cn(e,t,n=null){if(!e.equals(t)){var r=e.v;xr?yn.set(e,t):yn.set(e,r),e.v=t;var i=Wt.ensure();if(i.capture(e,r),e.f&2){let t=e;e.f&2048&&mn(t),P===null&&Dt(t)}e.wv=Ar(),En(e,de,n),vt()&&q!==null&&q.f&1024&&!(q.f&96)&&(Z===null?Tr([e]):Z.push(e)),!i.is_fork&&vn.size>0&&!bn&&wn()}return t}function wn(){bn=!1;for(let e of vn)e.f&1024&&M(e,fe),jr(e)&&Ir(e);vn.clear()}function Tn(e){L(e,e.v+1)}function En(e,t,n){var r=e.reactions;if(r!==null)for(var i=vt(),a=r.length,o=0;o<a;o++){var s=r[o],c=s.f;if(!(!i&&s===q)){var l=(c&de)===0;if(l&&M(s,t),c&2){var u=s;P?.delete(u),c&65536||(c&512&&(s.f|=Se),En(u,fe,n))}else if(l){var d=s;c&16&&qt!==null&&qt.add(d),n===null?Zt(d):n.push(d)}}}}function Dn(e){if(typeof e!=`object`||!e||Ee in e)return e;let t=ne(e);if(t!==ee&&t!==te)return e;var n=new Map,r=h(e),i=I(0),a=null,o=Or,s=e=>{if(Or===o)return e();var t=W,n=Or;K(null),kr(o);var r=e();return K(t),kr(n),r};return r&&n.set(`length`,I(e.length,a)),new Proxy(e,{defineProperty(e,t,r){(!(`value`in r)||r.configurable===!1||r.enumerable===!1||r.writable===!1)&&He();var i=n.get(t);return i===void 0?s(()=>{var e=I(r.value,a);return n.set(t,e),e}):L(i,r.value,!0),!0},deleteProperty(e,t){var r=n.get(t);if(r===void 0){if(t in e){let e=s(()=>I(u,a));n.set(t,e),Tn(i)}}else L(r,u),Tn(i);return!0},get(t,r,i){if(r===Ee)return e;var o=n.get(r),c=r in t;if(o===void 0&&(!c||x(t,r)?.writable)&&(o=s(()=>I(Dn(c?t[r]:u),a)),n.set(r,o)),o!==void 0){var l=Q(o);return l===u?void 0:l}return Reflect.get(t,r,i)},getOwnPropertyDescriptor(e,t){var r=Reflect.getOwnPropertyDescriptor(e,t);if(r&&`value`in r){var i=n.get(t);i&&(r.value=Q(i))}else if(r===void 0){var a=n.get(t),o=a?.v;if(a!==void 0&&o!==u)return{enumerable:!0,configurable:!0,value:o,writable:!0}}return r},has(e,t){if(t===Ee)return!0;var r=n.get(t),i=r!==void 0&&r.v!==u||Reflect.has(e,t);return(r!==void 0||q!==null&&(!i||x(e,t)?.writable))&&(r===void 0&&(r=s(()=>I(i?Dn(e[t]):u,a)),n.set(t,r)),Q(r)===u)?!1:i},set(e,t,o,c){var l=n.get(t),d=t in e;if(r&&t===`length`)for(var f=o;f<l.v;f+=1){var p=n.get(f+``);p===void 0?f in e&&(p=s(()=>I(u,a)),n.set(f+``,p)):L(p,u)}if(l===void 0)(!d||x(e,t)?.writable)&&(l=s(()=>I(void 0,a)),L(l,Dn(o)),n.set(t,l));else{d=l.v!==u;var m=s(()=>Dn(o));L(l,m)}var h=Reflect.getOwnPropertyDescriptor(e,t);if(h?.set&&h.set.call(c,o),!d){if(r&&typeof t==`string`){var g=n.get(`length`),_=Number(t);Number.isInteger(_)&&_>=g.v&&L(g,_+1)}Tn(i)}return!0},ownKeys(e){Q(i);var t=Reflect.ownKeys(e).filter(e=>{var t=n.get(e);return t===void 0||t.v!==u});for(var[r,a]of n)a.v!==u&&!(r in e)&&t.push(r);return t},setPrototypeOf(){Ue()}})}function On(e){try{if(typeof e==`object`&&e&&Ee in e)return e[Ee]}catch{}return e}function kn(e,t){return Object.is(On(e),On(t))}var An,jn,Mn,Nn;function Pn(){if(An===void 0){An=window,jn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Mn=x(t,`firstChild`).get,Nn=x(t,`nextSibling`).get,re(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),re(n)&&(n.__t=void 0)}}function R(e=``){return document.createTextNode(e)}function z(e){return Mn.call(e)}function B(e){return Nn.call(e)}function Fn(e,t){if(!w)return z(e);var n=z(E);if(n===null)n=E.appendChild(R());else if(t&&n.nodeType!==3){var r=R();return n?.before(r),D(r),r}return t&&Vn(n),D(n),n}function In(e,t=!1){if(!w){var n=z(e);return n instanceof Comment&&n.data===``?B(n):n}if(t){if(E?.nodeType!==3){var r=R();return E?.before(r),D(r),r}Vn(E)}return E}function Ln(e,t=1,n=!1){let r=w?E:e;for(var i;t--;)i=r,r=B(r);if(!w)return r;if(n){if(r?.nodeType!==3){var a=R();return r===null?i?.after(a):r.before(a),D(a),a}Vn(r)}return D(r),r}function Rn(e){e.textContent=``}function zn(){return!k||qt!==null?!1:(q.f&he)!==0}function Bn(e,t,n){let r=n?{is:n}:void 0;return document.createElementNS(t??`http://www.w3.org/1999/xhtml`,e,r)}function Vn(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===3;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function Hn(e,t){if(t){let t=document.body;e.autofocus=!0,j(()=>{document.activeElement===t&&e.focus()})}}function Un(e){w&&z(e)!==null&&Rn(e)}var Wn=!1;function Gn(){Wn||(Wn=!0,document.addEventListener(`reset`,e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(let t of e.target.elements)t.__on_r?.()})},{capture:!0}))}function Kn(e){var t=W,n=q;K(null),Cr(null);try{return e()}finally{K(t),Cr(n)}}function qn(e,t,n,r=n){e.addEventListener(t,()=>Kn(n));let i=e.__on_r;i?e.__on_r=()=>{i(),r(!0)}:e.__on_r=()=>r(!0),Gn()}function Jn(e){q===null&&(W===null&&Le(e),Ie()),xr&&Fe(e)}function Yn(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function V(e,t){var n=q;n!==null&&n.f&8192&&(e|=pe);var r={ctx:A,deps:null,nodes:null,f:e|de|512,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},i=r;if(e&4)Bt===null?Wt.ensure().schedule(r):Bt.push(r);else if(t!==null){try{Ir(r)}catch(e){throw U(r),e}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&!(i.f&524288)&&(i=i.first,e&16&&e&65536&&i!==null&&(i.f|=_e))}if(i!==null&&(i.parent=n,n!==null&&Yn(i,n),W!==null&&W.f&2&&!(e&64))){var a=W;(a.effects??=[]).push(i)}return r}function Xn(){return W!==null&&!G}function Zn(e){let t=V(8,null);return M(t,C),t.teardown=e,t}function Qn(e){Jn(`$effect`);var t=q.f;if(!W&&t&32&&!(t&32768)){var n=A;(n.e??=[]).push(e)}else return $n(e)}function $n(e){return V(4|be,e)}function er(e){return Jn(`$effect.pre`),V(8|be,e)}function tr(e){Wt.ensure();let t=V(64|ye,e);return()=>{U(t)}}function nr(e){Wt.ensure();let t=V(64|ye,e);return(e={})=>new Promise(n=>{e.outro?mr(t,()=>{U(t),n(void 0)}):(U(t),n(void 0))})}function rr(e){return V(4,e)}function ir(e){return V(we|ye,e)}function ar(e,t=0){return V(8|t,e)}function or(e,t=[],n=[],r=[]){an(r,t,n,t=>{V(8,()=>e(...t.map(Q)))})}function sr(e,t=0){return V(16|t,e)}function cr(e,t=0){return V(ue|t,e)}function H(e){return V(32|ye,e)}function lr(e){var t=e.teardown;if(t!==null){let e=xr,n=W;Sr(!0),K(null);try{t.call(null)}finally{Sr(e),K(n)}}}function ur(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){let e=n.ac;e!==null&&Kn(()=>{e.abort(Ae)});var r=n.next;n.f&64?n.parent=null:U(n,t),n=r}}function dr(e){for(var t=e.first;t!==null;){var n=t.next;t.f&32||U(t),t=n}}function U(e,t=!0){var n=!1;(t||e.f&262144)&&e.nodes!==null&&e.nodes.end!==null&&(fr(e.nodes.start,e.nodes.end),n=!0),M(e,ge),ur(e,t&&!n),Fr(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)e.stop();lr(e),e.f^=ge,e.f|=me;var i=e.parent;i!==null&&i.first!==null&&pr(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=null}function fr(e,t){for(;e!==null;){var n=e===t?null:B(e);e.remove(),e=n}}function pr(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function mr(e,t,n=!0){var r=[];hr(e,r,!0);var i=()=>{n&&U(e),t&&t()},a=r.length;if(a>0){var o=()=>--a||i();for(var s of r)s.out(o)}else i()}function hr(e,t,n){if(!(e.f&8192)){e.f^=pe;var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)(e.is_global||n)&&t.push(e);for(var i=e.first;i!==null;){var a=i.next,o=(i.f&65536)!=0||(i.f&32)!=0&&(e.f&16)!=0;hr(i,t,o?n:!1),i=a}}}function gr(e){_r(e,!0)}function _r(e,t){if(e.f&8192){e.f^=pe,e.f&1024||(M(e,de),Wt.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&65536)!=0||(n.f&32)!=0;_r(n,i?t:!1),n=r}var a=e.nodes&&e.nodes.t;if(a!==null)for(let e of a)(e.is_global||t)&&e.in()}}function vr(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:B(n);t.append(n),n=i}}var yr=null,br=!1,xr=!1;function Sr(e){xr=e}var W=null,G=!1;function K(e){W=e}var q=null;function Cr(e){q=e}var J=null;function wr(e){W!==null&&(!k||W.f&2)&&(J===null?J=[e]:J.push(e))}var Y=null,X=0,Z=null;function Tr(e){Z=e}var Er=1,Dr=0,Or=Dr;function kr(e){Or=e}function Ar(){return++Er}function jr(e){var t=e.f;if(t&2048)return!0;if(t&2&&(e.f&=~Se),t&4096){for(var n=e.deps,r=n.length,i=0;i<r;i++){var a=n[i];if(jr(a)&&hn(a),a.wv>e.wv)return!0}t&512&&P===null&&M(e,C)}return!1}function Mr(e,t,n=!0){var r=e.reactions;if(r!==null&&!(!k&&J!==null&&_.call(J,e)))for(var i=0;i<r.length;i++){var a=r[i];a.f&2?Mr(a,t,!1):t===a&&(n?M(a,de):a.f&1024&&M(a,fe),Zt(a))}}function Nr(e){var t=Y,n=X,r=Z,i=W,a=J,o=A,s=G,c=Or,l=e.f;Y=null,X=0,Z=null,W=l&96?null:e,J=null,dt(e.ctx),G=!1,Or=++Dr,e.ac!==null&&(Kn(()=>{e.ac.abort(Ae)}),e.ac=null);try{e.f|=Ce;var u=e.fn,d=u();e.f|=he;var f=e.deps,p=N?.is_fork;if(Y!==null){var m;if(p||Fr(e,X),f!==null&&X>0)for(f.length=X+Y.length,m=0;m<Y.length;m++)f[X+m]=Y[m];else e.deps=f=Y;if(Xn()&&e.f&512)for(m=X;m<f.length;m++)(f[m].reactions??=[]).push(e)}else !p&&f!==null&&X<f.length&&(Fr(e,X),f.length=X);if(vt()&&Z!==null&&!G&&f!==null&&!(e.f&6146))for(m=0;m<Z.length;m++)Mr(Z[m],e);if(i!==null&&i!==e){if(Dr++,i.deps!==null)for(let e=0;e<n;e+=1)i.deps[e].rv=Dr;if(t!==null)for(let e of t)e.rv=Dr;Z!==null&&(r===null?r=Z:r.push(...Z))}return e.f&8388608&&(e.f^=Te),d}catch(e){return wt(e)}finally{e.f^=Ce,Y=t,X=n,Z=r,W=i,J=a,dt(o),G=s,Or=c}}function Pr(e,t){let n=t.reactions;if(n!==null){var r=g.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}if(n===null&&t.f&2&&(Y===null||!_.call(Y,t))){var a=t;a.f&512&&(a.f^=512,a.f&=~Se),Dt(a),gn(a),Fr(a,0)}}function Fr(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Pr(e,n[r])}function Ir(e){var t=e.f;if(!(t&16384)){M(e,C);var n=q,r=br;q=e,br=!0;try{t&16777232?dr(e):ur(e),lr(e);var i=Nr(e);e.teardown=typeof i==`function`?i:null,e.wv=Er}finally{br=r,q=n}}}async function Lr(){if(k)return new Promise(e=>{requestAnimationFrame(()=>e()),setTimeout(()=>e())});await Promise.resolve(),Gt()}function Q(e){var t=(e.f&2)!=0;if(yr?.add(e),W!==null&&!G&&!(q!==null&&q.f&16384)&&(J===null||!_.call(J,e))){var n=W.deps;if(W.f&2097152)e.rv<Dr&&(e.rv=Dr,Y===null&&n!==null&&n[X]===e?X++:Y===null?Y=[e]:Y.push(e));else{(W.deps??=[]).push(e);var r=e.reactions;r===null?e.reactions=[W]:_.call(r,W)||r.push(W)}}if(xr&&yn.has(e))return yn.get(e);if(t){var i=e;if(xr){var a=i.v;return(!(i.f&1024)&&i.reactions!==null||zr(i))&&(a=mn(i)),yn.set(i,a),a}var o=(i.f&512)==0&&!G&&W!==null&&(br||(W.f&512)!=0),s=(i.f&he)===0;jr(i)&&(o&&(i.f|=512),hn(i)),o&&!s&&(_n(i),Rr(i))}if(P?.has(e))return P.get(e);if(e.f&8388608)throw e.v;return e.v}function Rr(e){if(e.f|=512,e.deps!==null)for(let t of e.deps)(t.reactions??=[]).push(e),t.f&2&&!(t.f&512)&&(_n(t),Rr(t))}function zr(e){if(e.v===u)return!0;if(e.deps===null)return!1;for(let t of e.deps)if(yn.has(t)||t.f&2&&zr(t))return!0;return!1}function Br(e){var t=G;try{return G=!0,e()}finally{G=t}}function Vr(e){if(!(typeof e!=`object`||!e||e instanceof EventTarget)){if(Ee in e)Hr(e);else if(!Array.isArray(e))for(let t in e){let n=e[t];typeof n==`object`&&n&&Ee in n&&Hr(n)}}}function Hr(e,t=new Set){if(typeof e==`object`&&e&&!(e instanceof EventTarget)&&!t.has(e)){t.add(e),e instanceof Date&&e.getTime();for(let n in e)try{Hr(e[n],t)}catch{}let n=ne(e);if(n!==Object.prototype&&n!==Array.prototype&&n!==Map.prototype&&n!==Set.prototype&&n!==Date.prototype){let t=S(n);for(let n in t){let r=t[n].get;if(r)try{r.call(e)}catch{}}}}}var Ur=Symbol(`events`),Wr=new Set,Gr=new Set;function Kr(e,t,n,r={}){function i(e){if(r.capture||Qr.call(t,e),!e.cancelBubble)return Kn(()=>n?.call(this,e))}return e.startsWith(`pointer`)||e.startsWith(`touch`)||e===`wheel`?j(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function qr(e,t,n,r={}){var i=Kr(t,e,n,r);return()=>{e.removeEventListener(t,i,r)}}function Jr(e,t,n,r,i){var a={capture:r,passive:i},o=Kr(e,t,n,a);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Zn(()=>{t.removeEventListener(e,o,a)})}function Yr(e,t,n){(t[Ur]??={})[e]=n}function Xr(e){for(var t=0;t<e.length;t++)Wr.add(e[t]);for(var n of Gr)n(e)}var Zr=null;function Qr(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],a=i[0]||e.target;Zr=e;var o=0,s=Zr===e&&e[Ur];if(s){var c=i.indexOf(s);if(c!==-1&&(t===document||t===window)){e[Ur]=t;return}var l=i.indexOf(t);if(l===-1)return;c<=l&&(o=c)}if(a=i[o]||e.target,a!==t){b(e,`currentTarget`,{configurable:!0,get(){return a||n}});var u=W,d=q;K(null),Cr(null);try{for(var f,p=[];a!==null;){var m=a.assignedSlot||a.parentNode||a.host||null;try{var h=a[Ur]?.[r];h!=null&&(!a.disabled||e.target===a)&&h.call(a,e)}catch(e){f?p.push(e):f=e}if(e.cancelBubble||m===t||m===null)break;a=m}if(f){for(let e of p)queueMicrotask(()=>{throw e});throw f}}finally{e[Ur]=t,delete e.currentTarget,K(u),Cr(d)}}}var $r=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy(`svelte-trusted-html`,{createHTML:e=>e});function ei(e){return $r?.createHTML(e)??e}function ti(e){var t=Bn(`template`);return t.innerHTML=ei(e.replaceAll(`<!>`,`<!---->`)),t.content}function $(e,t){var n=q;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function ni(e,t){var n=(t&1)!=0,r=(t&2)!=0,i,a=!e.startsWith(`<!>`);return()=>{if(w)return $(E,null),E;i===void 0&&(i=ti(a?e:`<!>`+e),n||(i=z(i)));var t=r||jn?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=z(t),s=t.lastChild;$(o,s)}else $(t,t);return t}}function ri(e,t,n=`svg`){var r=!e.startsWith(`<!>`),i=(t&1)!=0,a=`<${n}>${r?e:`<!>`+e}</${n}>`,o;return()=>{if(w)return $(E,null),E;if(!o){var e=z(ti(a));if(i)for(o=document.createDocumentFragment();z(e);)o.appendChild(z(e));else o=z(e)}var t=o.cloneNode(!0);if(i){var n=z(t),r=t.lastChild;$(n,r)}else $(t,t);return t}}function ii(e,t){return ri(e,t,`svg`)}function ai(e=``){if(!w){var t=R(e+``);return $(t,t),t}var n=E;return n.nodeType===3?Vn(n):(n.before(n=R()),D(n)),$(n,n),n}function oi(){if(w)return $(E,null),E;var e=document.createDocumentFragment(),t=document.createComment(``),n=R();return e.append(t,n),$(t,n),e}function si(e,t){if(w){var n=q;(!(n.f&32768)||n.nodes.end===null)&&(n.nodes.end=E),O();return}e!==null&&e.before(t)}function ci(){if(w&&E&&E.nodeType===8&&E.textContent?.startsWith(`$`)){let e=E.textContent.substring(1);return O(),e}return(window.__svelte??={}).uid??=1,`c${window.__svelte.uid++}`}function li(e){return e.endsWith(`capture`)&&e!==`gotpointercapture`&&e!==`lostpointercapture`}var ui=[`beforeinput`,`click`,`change`,`dblclick`,`contextmenu`,`focusin`,`focusout`,`input`,`keydown`,`keyup`,`mousedown`,`mousemove`,`mouseout`,`mouseover`,`mouseup`,`pointerdown`,`pointermove`,`pointerout`,`pointerover`,`pointerup`,`touchend`,`touchmove`,`touchstart`];function di(e){return ui.includes(e)}var fi=`allowfullscreen.async.autofocus.autoplay.checked.controls.default.disabled.formnovalidate.indeterminate.inert.ismap.loop.multiple.muted.nomodule.novalidate.open.playsinline.readonly.required.reversed.seamless.selected.webkitdirectory.defer.disablepictureinpicture.disableremoteplayback`.split(`.`),pi={formnovalidate:`formNoValidate`,ismap:`isMap`,nomodule:`noModule`,playsinline:`playsInline`,readonly:`readOnly`,defaultvalue:`defaultValue`,defaultchecked:`defaultChecked`,srcobject:`srcObject`,novalidate:`noValidate`,allowfullscreen:`allowFullscreen`,disablepictureinpicture:`disablePictureInPicture`,disableremoteplayback:`disableRemotePlayback`};function mi(e){return e=e.toLowerCase(),pi[e]??e}[...fi];var hi=[`touchstart`,`touchmove`];function gi(e){return hi.includes(e)}var _i=[`textarea`,`script`,`style`,`title`];function vi(e){return _i.includes(e)}var yi=!0;function bi(e){yi=e}function xi(e,t){var n=t==null?``:typeof t==`object`?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function Si(e,t){return Ti(e,t)}function Ci(e,t){Pn(),t.intro=t.intro??!1;let n=t.target,r=w,i=E;try{for(var a=z(n);a&&(a.nodeType!==8||a.data!==`[`);)a=B(a);if(!a)throw l;T(!0),D(a);let r=Ti(e,{...t,anchor:a});return T(!1),r}catch(r){if(r instanceof Error&&r.message.split(`
|
|
3
|
+
`).some(e=>e.startsWith(`https://svelte.dev/e/`)))throw r;return r!==l&&console.warn(`Failed to hydrate: `,r),t.recover===!1&&ze(),Pn(),Rn(n),T(!1),Si(e,t)}finally{T(r),D(i)}}var wi=new Map;function Ti(e,{target:t,anchor:n,props:r={},events:i,context:a,intro:o=!0,transformError:s}){Pn();var c=void 0,u=nr(()=>{var u=n??t.appendChild(R());nn(u,{pending:()=>{}},t=>{gt({});var n=A;if(a&&(n.c=a),i&&(r.$$events=i),w&&$(t,null),yi=o,c=e(t,r)||{},yi=!0,w&&(q.nodes.end=E,E===null||E.nodeType!==8||E.data!==`]`))throw Ke(),l;_t()},s);var d=new Set,f=e=>{for(var n=0;n<e.length;n++){var r=e[n];if(!d.has(r)){d.add(r);var i=gi(r);for(let e of[t,document]){var a=wi.get(e);a===void 0&&(a=new Map,wi.set(e,a));var o=a.get(r);o===void 0?(e.addEventListener(r,Qr,{passive:i}),a.set(r,1)):a.set(r,o+1)}}}};return f(v(Wr)),Gr.add(f),()=>{for(var e of d)for(let n of[t,document]){var r=wi.get(n),i=r.get(e);--i==0?(n.removeEventListener(e,Qr),r.delete(e),r.size===0&&wi.delete(n)):r.set(e,i)}Gr.delete(f),u!==n&&u.parentNode?.removeChild(u)}});return Ei.set(c,u),c}var Ei=new WeakMap;function Di(e,t){let n=Ei.get(e);return n?(Ei.delete(e),n(t)):Promise.resolve()}var Oi=class{anchor;#e=new Map;#t=new Map;#n=new Map;#r=new Set;#i=!0;constructor(e,t=!0){this.anchor=e,this.#i=t}#a=e=>{if(this.#e.has(e)){var t=this.#e.get(e),n=this.#t.get(t);if(n)gr(n),this.#r.delete(t);else{var r=this.#n.get(t);r&&(this.#t.set(t,r.effect),this.#n.delete(t),r.fragment.lastChild.remove(),this.anchor.before(r.fragment),n=r.effect)}for(let[t,n]of this.#e){if(this.#e.delete(t),t===e)break;let r=this.#n.get(n);r&&(U(r.effect),this.#n.delete(n))}for(let[e,r]of this.#t){if(e===t||this.#r.has(e))continue;let i=()=>{if(Array.from(this.#e.values()).includes(e)){var t=document.createDocumentFragment();vr(r,t),t.append(R()),this.#n.set(e,{effect:r,fragment:t})}else U(r);this.#r.delete(e),this.#t.delete(e)};this.#i||!n?(this.#r.add(e),mr(r,i,!1)):i()}}};#o=e=>{this.#e.delete(e);let t=Array.from(this.#e.values());for(let[e,n]of this.#n)t.includes(e)||(U(n.effect),this.#n.delete(e))};ensure(e,t){var n=N,r=zn();if(t&&!this.#t.has(e)&&!this.#n.has(e))if(r){var i=document.createDocumentFragment(),a=R();i.append(a),this.#n.set(e,{effect:H(()=>t(a)),fragment:i})}else this.#t.set(e,H(()=>t(this.anchor)));if(this.#e.set(n,e),r){for(let[t,r]of this.#t)t===e?n.unskip_effect(r):n.skip_effect(r);for(let[t,r]of this.#n)t===e?n.unskip_effect(r.effect):n.skip_effect(r.effect);n.oncommit(this.#a),n.ondiscard(this.#o)}else w&&(this.anchor=E),this.#a(n)}};function ki(e,t,...n){var r=new Oi(e);sr(()=>{let e=t()??null;r.ensure(e,e&&(t=>e(t,...n)))},_e)}function Ai(e){A===null&&Me(`onMount`),rt&&A.l!==null?Mi(A).m.push(e):Qn(()=>{let t=Br(e);if(typeof t==`function`)return t})}function ji(e){A===null&&Me(`onDestroy`),Ai(()=>()=>Br(e))}function Mi(e){var t=e.l;return t.u??={a:[],b:[],m:[]}}function Ni(){return Symbol(m)}var Pi=0,Fi=1,Ii=2;function Li(e,t,n,r,i){w&&O();var a=vt(),o=u,s=a?xn(o):Sn(o,!1,!1),c=a?xn(o):Sn(o,!1,!1),l=new Oi(e);sr(()=>{var a=N;a.deactivate();var o=t();a.activate();var u=!1;let d=w&&oe(o)===(e.data===`[!`);if(d&&(D(Qe()),T(!1)),oe(o)){var f=on(),p=!1;let e=e=>{if(!u){p=!0,f(!1),Wt.ensure(),w&&T(!1);try{e()}finally{sn(!1),Rt||Gt()}}};o.then(t=>{e(()=>{Cn(s,t),l.ensure(Fi,r&&(e=>r(e,s)))})},t=>{e(()=>{if(Cn(c,t),l.ensure(Ii,i&&(e=>i(e,c))),!i)throw c.v})}),w?l.ensure(Pi,n):j(()=>{p||e(()=>{l.ensure(Pi,n)})})}else Cn(s,o),l.ensure(Fi,r&&(e=>r(e,s)));return d&&T(!0),()=>{u=!0}})}function Ri(e,t,n=!1){var r;w&&(r=E,O());var i=new Oi(e),a=n?_e:0;function o(e,t){if(w){var n=$e(r);if(e!==parseInt(n.substring(1))){var a=Qe();D(a),i.anchor=a,T(!1),i.ensure(e,t),T(!0);return}}i.ensure(e,t)}sr(()=>{var e=!1;t((t,n=0)=>{e=!0,o(n,t)}),e||o(-1,null)},a)}var zi=Symbol(`NaN`);function Bi(e,t,n){w&&O();var r=new Oi(e),i=!vt();sr(()=>{var e=t();e!==e&&(e=zi),i&&typeof e==`object`&&e&&(e={}),r.ensure(e,n)})}function Vi(e,t){return t}function Hi(e,t,n){for(var r=[],i=t.length,a,o=t.length,s=0;s<i;s++){let n=t[s];mr(n,()=>{if(a){if(a.pending.delete(n),a.done.add(n),a.pending.size===0){var t=e.outrogroups;Ui(e,v(a.done)),t.delete(a),t.size===0&&(e.outrogroups=null)}}else --o},!1)}if(o===0){var c=r.length===0&&n!==null;if(c){var l=n,u=l.parentNode;Rn(u),u.append(l),e.items.clear()}Ui(e,t,!c)}else a={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(a)}function Ui(e,t,n=!0){var r;if(e.pending.size>0){r=new Set;for(let t of e.pending.values())for(let n of t)r.add(e.items.get(n).e)}for(var i=0;i<t.length;i++){var a=t[i];r?.has(a)?(a.f|=xe,vr(a,document.createDocumentFragment())):U(t[i],n)}}var Wi;function Gi(e,t,n,r,i,a=null){var o=e,s=new Map;if(t&4){var c=e;o=w?D(z(c)):c.appendChild(R())}w&&O();var l=null,u=dn(()=>{var e=n();return h(e)?e:e==null?[]:v(e)}),d,f=new Map,p=!0;function m(e){_.effect.f&16384||(_.pending.delete(e),_.fallback=l,qi(_,d,o,t,r),l!==null&&(d.length===0?l.f&33554432?(l.f^=xe,Yi(l,null,o)):gr(l):mr(l,()=>{l=null})))}function g(e){_.pending.delete(e)}var _={effect:sr(()=>{d=Q(u);var e=d.length;let c=!1;w&&$e(o)===`[!`!=(e===0)&&(o=Qe(),D(o),T(!1),c=!0);for(var h=new Set,_=N,v=zn(),y=0;y<e;y+=1){w&&E.nodeType===8&&E.data===`]`&&(o=E,c=!0,T(!1));var b=d[y],x=r(b,y),S=p?null:s.get(x);S?(S.v&&Cn(S.v,b),S.i&&Cn(S.i,y),v&&_.unskip_effect(S.e)):(S=Ji(s,p?o:Wi??=R(),b,x,y,i,t,n),p||(S.e.f|=xe),s.set(x,S)),h.add(x)}if(e===0&&a&&!l&&(p?l=H(()=>a(o)):(l=H(()=>a(Wi??=R())),l.f|=xe)),e>h.size&&Pe(``,``,``),w&&e>0&&D(Qe()),!p)if(f.set(_,h),v){for(let[e,t]of s)h.has(e)||_.skip_effect(t.e);_.oncommit(m),_.ondiscard(g)}else m(_);c&&T(!0),Q(u)}),flags:t,items:s,pending:f,outrogroups:null,fallback:l};p=!1,w&&(o=E)}function Ki(e){for(;e!==null&&!(e.f&32);)e=e.next;return e}function qi(e,t,n,r,i){var a=(r&8)!=0,o=t.length,s=e.items,c=Ki(e.effect.first),l,u=null,d,f=[],p=[],m,h,g,_;if(a)for(_=0;_<o;_+=1)m=t[_],h=i(m,_),g=s.get(h).e,g.f&33554432||(g.nodes?.a?.measure(),(d??=new Set).add(g));for(_=0;_<o;_+=1){if(m=t[_],h=i(m,_),g=s.get(h).e,e.outrogroups!==null)for(let t of e.outrogroups)t.pending.delete(g),t.done.delete(g);if(g.f&8192&&(gr(g),a&&(g.nodes?.a?.unfix(),(d??=new Set).delete(g))),g.f&33554432)if(g.f^=xe,g===c)Yi(g,null,n);else{var y=u?u.next:c;g===e.effect.last&&(e.effect.last=g.prev),g.prev&&(g.prev.next=g.next),g.next&&(g.next.prev=g.prev),Xi(e,u,g),Xi(e,g,y),Yi(g,y,n),u=g,f=[],p=[],c=Ki(u.next);continue}if(g!==c){if(l!==void 0&&l.has(g)){if(f.length<p.length){var b=p[0],x;u=b.prev;var S=f[0],ee=f[f.length-1];for(x=0;x<f.length;x+=1)Yi(f[x],b,n);for(x=0;x<p.length;x+=1)l.delete(p[x]);Xi(e,S.prev,ee.next),Xi(e,u,S),Xi(e,ee,b),c=b,u=ee,--_,f=[],p=[]}else l.delete(g),Yi(g,c,n),Xi(e,g.prev,g.next),Xi(e,g,u===null?e.effect.first:u.next),Xi(e,u,g),u=g;continue}for(f=[],p=[];c!==null&&c!==g;)(l??=new Set).add(c),p.push(c),c=Ki(c.next);if(c===null)continue}g.f&33554432||f.push(g),u=g,c=Ki(g.next)}if(e.outrogroups!==null){for(let t of e.outrogroups)t.pending.size===0&&(Ui(e,v(t.done)),e.outrogroups?.delete(t));e.outrogroups.size===0&&(e.outrogroups=null)}if(c!==null||l!==void 0){var te=[];if(l!==void 0)for(g of l)g.f&8192||te.push(g);for(;c!==null;)!(c.f&8192)&&c!==e.fallback&&te.push(c),c=Ki(c.next);var ne=te.length;if(ne>0){var re=r&4&&o===0?n:null;if(a){for(_=0;_<ne;_+=1)te[_].nodes?.a?.measure();for(_=0;_<ne;_+=1)te[_].nodes?.a?.fix()}Hi(e,te,re)}}a&&j(()=>{if(d!==void 0)for(g of d)g.nodes?.a?.apply()})}function Ji(e,t,n,r,i,a,o,s){var c=o&1?o&16?xn(n):Sn(n,!1,!1):null,l=o&2?xn(i):null;return{v:c,i:l,e:H(()=>(a(t,c??n,l??i,s),()=>{e.delete(r)}))}}function Yi(e,t,n){if(e.nodes)for(var r=e.nodes.start,i=e.nodes.end,a=t&&!(t.f&33554432)?t.nodes.start:n;r!==null;){var o=B(r);if(a.before(r),r===i)return;r=o}}function Xi(e,t,n){t===null?e.effect.first=n:t.next=n,n===null?e.effect.last=t:n.prev=t}function Zi(e,t,n=!1,r=!1,i=!1,a=!1){var o=e,s=``;if(n){var c=e;w&&(o=D(z(c)))}or(()=>{var e=q;if(s===(s=t()??``)){w&&O();return}if(n&&!w){e.nodes=null,c.innerHTML=s,s!==``&&$(z(c),c.lastChild);return}if(e.nodes!==null&&(fr(e.nodes.start,e.nodes.end),e.nodes=null),s!==``){if(w){for(var a=E.data,u=O(),d=u;u!==null&&(u.nodeType!==8||u.data!==``);)d=u,u=B(u);if(u===null)throw Ke(),l;$(E,d),o=D(u);return}var m=Bn(r?`svg`:i?`math`:`template`,r?f:i?p:void 0);m.innerHTML=s;var h=r||i?m:m.content;if($(z(h),h.lastChild),r||i)for(;z(h);)o.before(z(h));else o.before(h)}})}function Qi(e,t,n,r,i){w&&O();var a=t.$$slots?.[n],o=!1;a===!0&&(a=t[n===`default`?`children`:n],o=!0),a===void 0?i!==null&&i(e):a(e,o?()=>r:r)}function $i(e,t,n){var r;w&&(r=E,O());var i=new Oi(e);sr(()=>{var e=t()??null;if(w&&$e(r)===`[`!=(e!==null)){var a=Qe();D(a),i.anchor=a,T(!1),i.ensure(e,e&&(t=>n(t,e))),T(!0);return}i.ensure(e,e&&(t=>n(t,e)))},_e)}var ea=()=>performance.now(),ta={tick:e=>requestAnimationFrame(e),now:()=>ea(),tasks:new Set};function na(){let e=ta.now();ta.tasks.forEach(t=>{t.c(e)||(ta.tasks.delete(t),t.f())}),ta.tasks.size!==0&&ta.tick(na)}function ra(e){let t;return ta.tasks.size===0&&ta.tick(na),{promise:new Promise(n=>{ta.tasks.add(t={c:e,f:n})}),abort(){ta.tasks.delete(t)}}}function ia(e,t){Kn(()=>{e.dispatchEvent(new CustomEvent(t))})}function aa(e){if(e===`float`)return`cssFloat`;if(e===`offset`)return`cssOffset`;if(e.startsWith(`--`))return e;let t=e.split(`-`);return t.length===1?t[0]:t[0]+t.slice(1).map(e=>e[0].toUpperCase()+e.slice(1)).join(``)}function oa(e){let t={},n=e.split(`;`);for(let e of n){let[n,r]=e.split(`:`);if(!n||r===void 0)break;let i=aa(n.trim());t[i]=r.trim()}return t}var sa=e=>e;function ca(e,t,n,r){var i=(e&1)!=0,a=(e&2)!=0,o=i&&a,s=(e&4)!=0,c=o?`both`:i?`in`:`out`,l,u=t.inert,d=t.style.overflow,f,p;function m(){return Kn(()=>l??=n()(t,r?.()??{},{direction:c}))}var h={is_global:s,in(){if(t.inert=u,!i){p?.abort(),p?.reset?.();return}a||f?.abort(),f=la(t,m(),p,1,()=>{ia(t,`introend`),f?.abort(),f=l=void 0,t.style.overflow=d})},out(e){if(!a){e?.(),l=void 0;return}t.inert=!0,p=la(t,m(),f,0,()=>{ia(t,`outroend`),e?.()})},stop:()=>{f?.abort(),p?.abort()}},g=q;if((g.nodes.t??=[]).push(h),i&&yi){var _=s;if(!_){for(var v=g.parent;v&&v.f&65536;)for(;(v=v.parent)&&!(v.f&16););_=!v||(v.f&32768)!=0}_&&rr(()=>{Br(()=>h.in())})}}function la(e,t,n,r,i){var a=r===1;if(ie(t)){var o,s=!1;return j(()=>{s||(o=la(e,t({direction:a?`in`:`out`}),n,r,i))}),{abort:()=>{s=!0,o?.abort()},deactivate:()=>o.deactivate(),reset:()=>o.reset(),t:()=>o.t()}}if(n?.deactivate(),!t?.duration&&!t?.delay)return ia(e,a?`introstart`:`outrostart`),i(),{abort:ae,deactivate:ae,reset:ae,t:()=>r};let{delay:c=0,css:l,tick:u,easing:d=sa}=t;var f=[];if(a&&n===void 0&&(u&&u(0,1),l)){var p=oa(l(0,1));f.push(p,p)}var m=()=>1-r,h=e.animate(f,{duration:c,fill:`forwards`});return h.onfinish=()=>{h.cancel(),ia(e,a?`introstart`:`outrostart`);var o=n?.t()??1-r;n?.abort();var s=r-o,c=t.duration*Math.abs(s),f=[];if(c>0){var p=!1;if(l)for(var g=Math.ceil(c/(1e3/60)),_=0;_<=g;_+=1){var v=o+s*d(_/g),y=oa(l(v,1-v));f.push(y),p||=y.overflow===`hidden`}p&&(e.style.overflow=`hidden`),m=()=>{var e=h.currentTime;return o+s*d(e/c)},u&&ra(()=>{if(h.playState!==`running`)return!1;var e=m();return u(e,1-e),!0})}h=e.animate(f,{duration:c,fill:`forwards`}),h.onfinish=()=>{m=()=>r,u?.(r,1-r),i()}},{abort:()=>{h&&(h.cancel(),h.effect=null,h.onfinish=ae)},deactivate:()=>{i=ae},reset:()=>{r===0&&u?.(1,0)},t:()=>m()}}function ua(e,t,n,r,i,a){let o=w;w&&O();var s=null;w&&E.nodeType===1&&(s=E,O());var c=w?E:e,l=new Oi(c,!1);sr(()=>{let e=t()||null;var a=i?i():n||e===`svg`?f:void 0;if(e===null){l.ensure(null,null),bi(!0);return}return l.ensure(e,t=>{if(e){if(s=w?s:Bn(e,a),$(s,s),r){w&&vi(e)&&s.append(document.createComment(``));var n=w?z(s):s.appendChild(R());w&&(n===null?T(!1):D(n)),r(s,n)}q.nodes.end=s,t.before(s)}w&&D(t)}),bi(!0),()=>{e&&bi(!1)}},_e),Zn(()=>{bi(!0)}),o&&(T(!0),D(c))}function da(e,t){let n=null,r=w;var i;if(w){n=E;for(var a=z(document.head);a!==null&&(a.nodeType!==8||a.data!==e);)a=B(a);if(a===null)T(!1);else{var o=B(a);a.remove(),D(o)}}w||(i=document.head.appendChild(R()));try{sr(()=>t(i),ve|ye)}finally{r&&(T(!0),D(n))}}function fa(e,t){rr(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector(`#`+t.hash)){let e=Bn(`style`);e.id=t.hash,e.textContent=t.code,r.appendChild(e)}})}function pa(e,t,n){rr(()=>{var r=Br(()=>t(e,n?.())||{});if(n&&r?.update){var i=!1,a={};ar(()=>{var e=n();Vr(e),i&&tt(a,e)&&(a=e,r.update(e))}),i=!0}if(r?.destroy)return()=>r.destroy()})}function ma(e,t){var n=void 0,r;cr(()=>{n!==(n=t())&&(r&&=(U(r),null),n&&(r=H(()=>{rr(()=>n(e))})))})}function ha(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=ha(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function ga(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=ha(e))&&(r&&(r+=` `),r+=t);return r}function _a(e){return typeof e==`object`?ga(e):e??``}var va=[...`
|
|
4
|
+
\r\f\xA0\v`];function ya(e,t,n){var r=e==null?``:``+e;if(t&&(r=r?r+` `+t:t),n){for(var i of Object.keys(n))if(n[i])r=r?r+` `+i:i;else if(r.length)for(var a=i.length,o=0;(o=r.indexOf(i,o))>=0;){var s=o+a;(o===0||va.includes(r[o-1]))&&(s===r.length||va.includes(r[s]))?r=(o===0?``:r.substring(0,o))+r.substring(s+1):o=s}}return r===``?null:r}function ba(e,t=!1){var n=t?` !important;`:`;`,r=``;for(var i of Object.keys(e)){var a=e[i];a!=null&&a!==``&&(r+=` `+i+`: `+a+n)}return r}function xa(e){return e[0]!==`-`||e[1]!==`-`?e.toLowerCase():e}function Sa(e,t){if(t){var n=``,r,i;if(Array.isArray(t)?(r=t[0],i=t[1]):r=t,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,``).trim();var a=!1,o=0,s=!1,c=[];r&&c.push(...Object.keys(r).map(xa)),i&&c.push(...Object.keys(i).map(xa));var l=0,u=-1;let t=e.length;for(var d=0;d<t;d++){var f=e[d];if(s?f===`/`&&e[d-1]===`*`&&(s=!1):a?a===f&&(a=!1):f===`/`&&e[d+1]===`*`?s=!0:f===`"`||f===`'`?a=f:f===`(`?o++:f===`)`&&o--,!s&&a===!1&&o===0){if(f===`:`&&u===-1)u=d;else if(f===`;`||d===t-1){if(u!==-1){var p=xa(e.substring(l,u).trim());if(!c.includes(p)){f!==`;`&&d++;var m=e.substring(l,d).trim();n+=` `+m+`;`}}l=d+1,u=-1}}}}return r&&(n+=ba(r)),i&&(n+=ba(i,!0)),n=n.trim(),n===``?null:n}return e==null?null:String(e)}function Ca(e,t,n,r,i,a){var o=e.__className;if(w||o!==n||o===void 0){var s=ya(n,r,a);(!w||s!==e.getAttribute(`class`))&&(s==null?e.removeAttribute(`class`):t?e.className=s:e.setAttribute(`class`,s)),e.__className=n}else if(a&&i!==a)for(var c in a){var l=!!a[c];(i==null||l!==!!i[c])&&e.classList.toggle(c,l)}return a}function wa(e,t={},n,r){for(var i in n){var a=n[i];t[i]!==a&&(n[i]==null?e.style.removeProperty(i):e.style.setProperty(i,a,r))}}function Ta(e,t,n,r){var i=e.__style;if(w||i!==t){var a=Sa(t,r);(!w||a!==e.getAttribute(`style`))&&(a==null?e.removeAttribute(`style`):e.style.cssText=a),e.__style=t}else r&&(Array.isArray(r)?(wa(e,n?.[0],r[0]),wa(e,n?.[1],r[1],`important`)):wa(e,n,r));return r}function Ea(e,t,n=!1){if(e.multiple){if(t==null)return;if(!h(t))return qe();for(var r of e.options)r.selected=t.includes(ka(r));return}for(r of e.options)if(kn(ka(r),t)){r.selected=!0;return}(!n||t!==void 0)&&(e.selectedIndex=-1)}function Da(e){var t=new MutationObserver(()=>{Ea(e,e.__value)});t.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[`value`]}),Zn(()=>{t.disconnect()})}function Oa(e,t,n=t){var r=new WeakSet,i=!0;qn(e,`change`,t=>{var i=t?`[selected]`:`:checked`,a;if(e.multiple)a=[].map.call(e.querySelectorAll(i),ka);else{var o=e.querySelector(i)??e.querySelector(`option:not([disabled])`);a=o&&ka(o)}n(a),e.__value=a,N!==null&&r.add(N)}),rr(()=>{var a=t();if(e===document.activeElement){var o=k?It:N;if(r.has(o))return}if(Ea(e,a,i),i&&a===void 0){var s=e.querySelector(`:checked`);s!==null&&(a=ka(s),n(a))}e.__value=a,i=!1}),Da(e)}function ka(e){return`__value`in e?e.__value:e.value}var Aa=Symbol(`class`),ja=Symbol(`style`),Ma=Symbol(`is custom element`),Na=Symbol(`is html`),Pa=je?`link`:`LINK`,Fa=je?`input`:`INPUT`,Ia=je?`option`:`OPTION`,La=je?`select`:`SELECT`,Ra=je?`progress`:`PROGRESS`;function za(e){if(w){var t=!1,n=()=>{if(!t){if(t=!0,e.hasAttribute(`value`)){var n=e.value;Ua(e,`value`,null),e.value=n}if(e.hasAttribute(`checked`)){var r=e.checked;Ua(e,`checked`,null),e.checked=r}}};e.__on_r=n,j(n),Gn()}}function Ba(e,t){var n=Ka(e);n.value===(n.value=t??void 0)||e.value===t&&(t!==0||e.nodeName!==Ra)||(e.value=t??``)}function Va(e,t){var n=Ka(e);n.checked!==(n.checked=t??void 0)&&(e.checked=t)}function Ha(e,t){t?e.hasAttribute(`selected`)||e.setAttribute(`selected`,``):e.removeAttribute(`selected`)}function Ua(e,t,n,r){var i=Ka(e);w&&(i[t]=e.getAttribute(t),t===`src`||t===`srcset`||t===`href`&&e.nodeName===Pa)||i[t]!==(i[t]=n)&&(t===`loading`&&(e[Oe]=n),n==null?e.removeAttribute(t):typeof n!=`string`&&Ja(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function Wa(e,t,n,r,i=!1,a=!1){if(w&&i&&e.nodeName===Fa){var o=e;(o.type===`checkbox`?`defaultChecked`:`defaultValue`)in n||za(o)}var s=Ka(e),c=s[Ma],l=!s[Na];let d=w&&c;d&&T(!1);var f=t||{},p=e.nodeName===Ia;for(var m in t)m in n||(n[m]=null);n.class?n.class=_a(n.class):(r||n[Aa])&&(n.class=null),n[ja]&&(n.style??=null);var h=Ja(e);for(let i in n){let o=n[i];if(p&&i===`value`&&o==null){e.value=e.__value=``,f[i]=o;continue}if(i===`class`){Ca(e,e.namespaceURI===`http://www.w3.org/1999/xhtml`,o,r,t?.[Aa],n[Aa]),f[i]=o,f[Aa]=n[Aa];continue}if(i===`style`){Ta(e,o,t?.[ja],n[ja]),f[i]=o,f[ja]=n[ja];continue}var g=f[i];if(!(o===g&&!(o===void 0&&e.hasAttribute(i)))){f[i]=o;var _=i[0]+i[1];if(_!==`$$`)if(_===`on`){let t={},n=`$$`+i,r=i.slice(2);var v=di(r);if(li(r)&&(r=r.slice(0,-7),t.capture=!0),!v&&g){if(o!=null)continue;e.removeEventListener(r,f[n],t),f[n]=null}if(v)Yr(r,e,o),Xr([r]);else if(o!=null){function a(e){f[i].call(this,e)}f[n]=Kr(r,e,a,t)}}else if(i===`style`)Ua(e,i,o);else if(i===`autofocus`)Hn(e,!!o);else if(!c&&(i===`__value`||i===`value`&&o!=null))e.value=e.__value=o;else if(i===`selected`&&p)Ha(e,o);else{var y=i;l||(y=mi(y));var b=y===`defaultValue`||y===`defaultChecked`;if(o==null&&!c&&!b)if(s[i]=null,y===`value`||y===`checked`){let n=e,r=t===void 0;if(y===`value`){let e=n.defaultValue;n.removeAttribute(y),n.defaultValue=e,n.value=n.__value=r?e:null}else{let e=n.defaultChecked;n.removeAttribute(y),n.defaultChecked=e,n.checked=r?e:!1}}else e.removeAttribute(i);else b||h.includes(y)&&(c||typeof o!=`string`)?(e[y]=o,y in s&&(s[y]=u)):typeof o!=`function`&&Ua(e,y,o,a)}}}return d&&T(!0),f}function Ga(e,t,n=[],r=[],i=[],a,o=!1,s=!1){an(i,n,r,n=>{var r=void 0,i={},c=e.nodeName===La,l=!1;if(cr(()=>{var u=t(...n.map(Q)),d=Wa(e,r,u,a,o,s);l&&c&&`value`in u&&Ea(e,u.value);for(let e of Object.getOwnPropertySymbols(i))u[e]||U(i[e]);for(let t of Object.getOwnPropertySymbols(u)){var f=u[t];t.description===`@attach`&&(!r||f!==r[t])&&(i[t]&&U(i[t]),i[t]=H(()=>ma(e,()=>f))),d[t]=f}r=d}),c){var u=e;rr(()=>{Ea(u,r.value,!0),Da(u)})}l=!0})}function Ka(e){return e.__attributes??={[Ma]:e.nodeName.includes(`-`),[Na]:e.namespaceURI===d}}var qa=new Map;function Ja(e){var t=e.getAttribute(`is`)||e.nodeName,n=qa.get(t);if(n)return n;qa.set(t,n=[]);for(var r,i=e,a=Element.prototype;a!==i;){for(var o in r=S(i),r)r[o].set&&n.push(o);i=ne(i)}return n}function Ya(e,t,n=t){var r=new WeakSet;qn(e,`input`,async i=>{var a=i?e.defaultValue:e.value;if(a=$a(e)?eo(a):a,n(a),N!==null&&r.add(N),await Lr(),a!==(a=t())){var o=e.selectionStart,s=e.selectionEnd,c=e.value.length;if(e.value=a??``,s!==null){var l=e.value.length;o===s&&s===c&&l>c?(e.selectionStart=l,e.selectionEnd=l):(e.selectionStart=o,e.selectionEnd=Math.min(s,l))}}}),(w&&e.defaultValue!==e.value||Br(t)==null&&e.value)&&(n($a(e)?eo(e.value):e.value),N!==null&&r.add(N)),ar(()=>{var n=t();if(e===document.activeElement){var i=k?It:N;if(r.has(i))return}$a(e)&&n===eo(e.value)||e.type===`date`&&!n&&!e.value||n!==e.value&&(e.value=n??``)})}var Xa=new Set;function Za(e,t,n,r,i=r){var a=n.getAttribute(`type`)===`checkbox`,o=e;let s=!1;if(t!==null)for(var c of t)o=o[c]??=[];o.push(n),qn(n,`change`,()=>{var e=n.__value;a&&(e=Qa(o,e,n.checked)),i(e)},()=>i(a?[]:null)),ar(()=>{var e=r();if(w&&n.defaultChecked!==n.checked){s=!0;return}a?(e||=[],n.checked=e.includes(n.__value)):n.checked=kn(n.__value,e)}),Zn(()=>{var e=o.indexOf(n);e!==-1&&o.splice(e,1)}),Xa.has(o)||(Xa.add(o),j(()=>{o.sort((e,t)=>e.compareDocumentPosition(t)===4?-1:1),Xa.delete(o)})),j(()=>{if(s){var e=a?Qa(o,e,n.checked):o.find(e=>e.checked)?.__value;i(e)}})}function Qa(e,t,n){for(var r=new Set,i=0;i<e.length;i+=1)e[i].checked&&r.add(e[i].__value);return n||r.delete(t),Array.from(r)}function $a(e){var t=e.type;return t===`number`||t===`range`}function eo(e){return e===``?null:+e}var to=new class e{#e=new WeakMap;#t;#n;static entries=new WeakMap;constructor(e){this.#n=e}observe(e,t){var n=this.#e.get(e)||new Set;return n.add(t),this.#e.set(e,n),this.#r().observe(e,this.#n),()=>{var n=this.#e.get(e);n.delete(t),n.size===0&&(this.#e.delete(e),this.#t.unobserve(e))}}#r(){return this.#t??=new ResizeObserver(t=>{for(var n of t){e.entries.set(n.target,n);for(var r of this.#e.get(n.target)||[])r(n)}})}}({box:`border-box`});function no(e,t,n){var r=to.observe(e,()=>n(e[t]));rr(()=>(Br(()=>n(e[t])),r))}function ro(e,t){return e===t||e?.[Ee]===t}function io(e={},t,n,r){var i=A.r,a=q;return rr(()=>{var o,s;return ar(()=>{o=s,s=r?.()||[],Br(()=>{e!==n(...s)&&(t(e,...s),o&&ro(n(...o),e)&&t(null,...o))})}),()=>{let r=a;for(;r!==i&&r.parent!==null&&r.parent.f&33554432;)r=r.parent;let o=()=>{s&&ro(n(...s),e)&&t(null,...s)},c=r.teardown;r.teardown=()=>{o(),c?.()}}}),e}function ao(e=!1){let t=A,n=t.l.u;if(!n)return;let r=()=>Vr(t.s);if(e){let e=0,n={},i=ln(()=>{let r=!1,i=t.s;for(let e in i)i[e]!==n[e]&&(n[e]=i[e],r=!0);return r&&e++,e});r=()=>Q(i)}n.b.length&&er(()=>{oo(t,r),ce(n.b)}),Qn(()=>{let e=Br(()=>n.m.map(se));return()=>{for(let t of e)typeof t==`function`&&t()}}),n.a.length&&Qn(()=>{oo(t,r),ce(n.a)})}function oo(e,t){if(e.l.s)for(let t of e.l.s)Q(t);t()}var so={get(e,t){if(!e.exclude.includes(t))return e.props[t]},set(e,t){return!1},getOwnPropertyDescriptor(e,t){if(!e.exclude.includes(t)&&t in e.props)return{enumerable:!0,configurable:!0,value:e.props[t]}},has(e,t){return e.exclude.includes(t)?!1:t in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(t=>!e.exclude.includes(t))}};function co(e,t,n){return new Proxy({props:e,exclude:t},so)}var lo={get(e,t){let n=e.props.length;for(;n--;){let r=e.props[n];if(ie(r)&&(r=r()),typeof r==`object`&&r&&t in r)return r[t]}},set(e,t,n){let r=e.props.length;for(;r--;){let i=e.props[r];ie(i)&&(i=i());let a=x(i,t);if(a&&a.set)return a.set(n),!0}return!1},getOwnPropertyDescriptor(e,t){let n=e.props.length;for(;n--;){let r=e.props[n];if(ie(r)&&(r=r()),typeof r==`object`&&r&&t in r){let e=x(r,t);return e&&!e.configurable&&(e.configurable=!0),e}}},has(e,t){if(t===Ee||t===De)return!1;for(let n of e.props)if(ie(n)&&(n=n()),n!=null&&t in n)return!0;return!1},ownKeys(e){let t=[];for(let n of e.props)if(ie(n)&&(n=n()),n){for(let e in n)t.includes(e)||t.push(e);for(let e of Object.getOwnPropertySymbols(n))t.includes(e)||t.push(e)}return t}};function uo(...e){return new Proxy({props:e},lo)}function fo(e,t,n,r){var i=!rt||(n&2)!=0,a=(n&8)!=0,o=(n&16)!=0,s=r,c=!0,l=()=>(c&&(c=!1,s=o?Br(r):r),s);let u;if(a){var d=Ee in e||De in e;u=x(e,t)?.set??(d&&t in e?n=>e[t]=n:void 0)}var f,p=!1;a?[f,p]=Pt(()=>e[t]):f=e[t],f===void 0&&r!==void 0&&(f=l(),u&&(i&&Be(t),u(f)));var m=i?()=>{var n=e[t];return n===void 0?l():(c=!0,n)}:()=>{var n=e[t];return n!==void 0&&(s=void 0),n===void 0?s:n};if(i&&!(n&4))return m;if(u){var h=e.$$legacy;return(function(e,t){return arguments.length>0?((!i||!t||h||p)&&u(t?m():e),e):m()})}var g=!1,_=(n&1?ln:dn)(()=>(g=!1,m()));a&&Q(_);var v=q;return(function(e,t){if(arguments.length>0){let n=t?Q(_):i&&a?Dn(e):e;return L(_,n),g=!0,s!==void 0&&(s=n),e}return xr&&g||v.f&16384?_.v:Q(_)})}function po(e){return new mo(e)}var mo=class{#e;#t;constructor(e){var t=new Map,n=(e,n)=>{var r=Sn(n,!1,!1);return t.set(e,r),r};let r=new Proxy({...e.props||{},$$events:{}},{get(e,r){return Q(t.get(r)??n(r,Reflect.get(e,r)))},has(e,r){return r===De?!0:(Q(t.get(r)??n(r,Reflect.get(e,r))),Reflect.has(e,r))},set(e,r,i){return L(t.get(r)??n(r,i),i),Reflect.set(e,r,i)}});this.#t=(e.hydrate?Ci:Si)(e.component,{target:e.target,anchor:e.anchor,props:r,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),!k&&(!e?.props?.$$host||e.sync===!1)&&Gt(),this.#e=r.$$events;for(let e of Object.keys(this.#t))e===`$set`||e===`$destroy`||e===`$on`||b(this,e,{get(){return this.#t[e]},set(t){this.#t[e]=t},enumerable:!0});this.#t.$set=e=>{Object.assign(r,e)},this.#t.$destroy=()=>{Di(this.#t)}}$set(e){this.#t.$set(e)}$on(e,t){this.#e[e]=this.#e[e]||[];let n=(...e)=>t.call(this,...e);return this.#e[e].push(n),()=>{this.#e[e]=this.#e[e].filter(e=>e!==n)}}$destroy(){this.#t.$destroy()}},ho;typeof HTMLElement==`function`&&(ho=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){let e=this.$$l_u.get(t);e&&(e(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){if(await Promise.resolve(),!this.$$cn||this.$$c)return;function e(e){return t=>{let n=Bn(`slot`);e!==`default`&&(n.name=e),si(t,n)}}let t={},n=_o(this);for(let r of this.$$s)r in n&&(r===`default`&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(let e of this.attributes){let t=this.$$g_p(e.name);t in this.$$d||(this.$$d[t]=go(t,e.value,this.$$p_d,`toProp`))}for(let e in this.$$p_d)!(e in this.$$d)&&this[e]!==void 0&&(this.$$d[e]=this[e],delete this[e]);this.$$c=po({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=tr(()=>{ar(()=>{this.$$r=!0;for(let e of y(this.$$c)){if(!this.$$p_d[e]?.reflect)continue;this.$$d[e]=this.$$c[e];let t=go(e,this.$$d[e],this.$$p_d,`toAttribute`);t==null?this.removeAttribute(this.$$p_d[e].attribute||e):this.setAttribute(this.$$p_d[e].attribute||e,t)}this.$$r=!1})});for(let e in this.$$l)for(let t of this.$$l[e]){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=go(e,n,this.$$p_d,`toProp`),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return y(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function go(e,t,n,r){let i=n[e]?.type;if(t=i===`Boolean`&&typeof t!=`boolean`?t!=null:t,!r||!n[e])return t;if(r===`toAttribute`)switch(i){case`Object`:case`Array`:return t==null?null:JSON.stringify(t);case`Boolean`:return t?``:null;case`Number`:return t??null;default:return t}else switch(i){case`Object`:case`Array`:return t&&JSON.parse(t);case`Boolean`:return t;case`Number`:return t==null?t:+t;default:return t}}function _o(e){let t={};return e.childNodes.forEach(e=>{t[e.slot||`default`]=!0}),t}function vo(e,t,n,r,i,a){let o=class extends ho{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return y(t).map(e=>(t[e].attribute||e).toLowerCase())}};return y(t).forEach(e=>{b(o.prototype,e,{get(){return this.$$c&&e in this.$$c?this.$$c[e]:this.$$d[e]},set(n){n=go(e,n,t),this.$$d[e]=n;var r=this.$$c;r&&(x(r,e)?.get?r[e]=n:r.$set({[e]:n}))}})}),r.forEach(e=>{b(o.prototype,e,{get(){return this.$$c?.[e]}})}),a&&(o=a(o)),e.element=o,o}var yo={de:{aborted:`Verbindung zum Server wurde unerwartet unterbrochen. Bitte versuchen Sie es erneut.`,"client-error":`Ein unbekannter Fehler ist aufgetreten. Bitte versuchen Sie es erneut.`,"server-error":`Ein unbekannter Fehler ist aufgetreten. Bitte versuchen Sie es erneut.`,"sse-error":`Ein unbekannter Fehler ist aufgetreten. Bitte versuchen Sie es erneut.`,blocked:`Ihre Anfrage wurde blockiert.`,"pii-detected":`Es wurden persönliche Daten erkannt. Bitte entfernen Sie diese und versuchen Sie es erneut.`,"incomplete-error":`Ein unbekannter Fehler ist aufgetreten. Die Antwort könnte unvollständig sein.`,"unexpected-call":`Ein unbekannter Fehler ist aufgetreten. Die Antwort könnte unvollständig sein.`,"quota-reached":`Kontingent überschritten. Bitte versuchen Sie es später erneut.`,"rate-limit":`Kontingent überschritten. Bitte versuchen Sie es später erneut.`,maintenance:`Der Chat ist derzeit nicht verfügbar. Bitte versuchen Sie es später erneut.`,"too-long":`Ihre Frage war zu lang, versuchen Sie es mit einer Kürzeren.`,"too-short":`Ihre Frage war zu kurz, versuchen Sie es mit einer Längeren.`,"feedback-failed":`Feedback senden fehlgeschlagen. Bitte versuchen Sie es erneut.`,"answer-form-failed":`Formular konnte nicht gesendet werden. Bitte versuchen Sie es erneut.`,"speech-not-supported":`Spracherkennung wird nicht unterstützt.`,"speech-transcription-failed":`Sprachtranskription fehlgeschlagen.`,"speech-no-text-detected":`Kein Text in der Spracheingabe erkannt.`,"speech-microphone-access-denied":`Mikrofonzugriff verweigert.`},en:{aborted:`Connection to the server was unexpectedly interrupted. Please try again.`,"client-error":`An unknown error has occurred. Please try again.`,"server-error":`An unknown error has occurred. Please try again.`,"sse-error":`An unknown error has occurred. Please try again.`,blocked:`Your request has been blocked.`,"pii-detected":`Personal data has been detected. Please remove it and try again.`,"incomplete-error":`An unknown error has occurred. The response might be incomplete.`,"unexpected-call":`An unknown error has occurred. The response might be incomplete.`,"quota-reached":`Quota exceeded. Please try again later.`,"rate-limit":`Quota exceeded. Please try again later.`,maintenance:`The chat is currently unavailable. Please try again later.`,"too-long":`Your question was too long, try a shorter one.`,"too-short":`Your question was too short, try a longer one.`,"feedback-failed":`Failed to send feedback. Please try again.`,"answer-form-failed":`Failed to send the form. Please try again.`,"speech-not-supported":`Speech recognition is not supported.`,"speech-transcription-failed":`Speech transcription failed.`,"speech-no-text-detected":`No text detected in speech input.`,"speech-microphone-access-denied":`Microphone access denied.`},it:{aborted:`La connessione al server è stata interrotta inaspettatamente. Si prega di riprovare.`,"client-error":`Si è verificato un errore sconosciuto. Si prega di riprovare.`,"server-error":`Si è verificato un errore sconosciuto. Si prega di riprovare.`,"sse-error":`Si è verificato un errore sconosciuto. Si prega di riprovare.`,blocked:`La tua richiesta è stata bloccata.`,"pii-detected":`Sono stati rilevati dati personali. Si prega di rimuoverli e riprovare.`,"incomplete-error":`Si è verificato un errore sconosciuto. La risposta potrebbe essere incompleta.`,"unexpected-call":`Si è verificato un errore sconosciuto. La risposta potrebbe essere incompleta.`,"quota-reached":`Quota superata. Si prega di riprovare più tardi.`,"rate-limit":`Quota superata. Si prega di riprovare più tardi.`,maintenance:`La chat non è attualmente disponibile. Si prega di riprovare più tardi.`,"too-long":`La tua domanda era troppo lunga, prova con una più breve.`,"too-short":`La tua domanda era troppo breve, prova con una più lunga.`,"feedback-failed":`Invio del feedback non riuscito. Si prega di riprovare.`,"answer-form-failed":`Invio del modulo non riuscito. Si prega di riprovare.`,"speech-not-supported":`Il riconoscimento vocale non è supportato.`,"speech-transcription-failed":`Trascrizione vocale fallita.`,"speech-no-text-detected":`Nessun testo rilevato nell'input vocale.`,"speech-microphone-access-denied":`Accesso al microfono negato.`},fr:{aborted:`La connexion au serveur a été interrompue de façon inattendue. Veuillez réessayer.`,"client-error":`Une erreur inconnue s'est produite. Veuillez réessayer.`,"server-error":`Une erreur inconnue s'est produite. Veuillez réessayer.`,"sse-error":`Une erreur inconnue s'est produite. Veuillez réessayer.`,"pii-detected":`Des données personnelles ont été détectées. Veuillez les supprimer et réessayer.`,blocked:`Votre demande a été bloquée.`,"incomplete-error":`Une erreur inconnue s'est produite. La réponse pourrait être incomplète.`,"unexpected-call":`Une erreur inconnue s'est produite. La réponse pourrait être incomplète.`,"quota-reached":`Quota dépassé. Veuillez réessayer plus tard.`,"rate-limit":`Quota dépassé. Veuillez réessayer plus tard.`,maintenance:`Le chat est actuellement indisponible. Veuillez réessayer plus tard.`,"too-long":`Votre question était trop longue, essayez d'en poser une plus courte.`,"too-short":`Votre question était trop courte, essayez d'en poser une plus longue.`,"feedback-failed":`Échec de l'envoi du feedback. Veuillez réessayer.`,"answer-form-failed":`Échec de l'envoi du formulaire. Veuillez réessayer.`,"speech-not-supported":`La reconnaissance vocale n'est pas prise en charge.`,"speech-transcription-failed":`Échec de la transcription vocale.`,"speech-no-text-detected":`Aucun texte détecté dans l'entrée vocale.`,"speech-microphone-access-denied":`Accès au microphone refusé.`}},bo={de:{email:`Bitte keine E-Mail Adressen eingeben`,creditCard:`Bitte keine Kreditkarteninformationen eingeben`,ahv:`Bitte keine AHV-Nummern eingeben`,phoneSwiss:`Bitte keine Telefonnummern eingeben`,phoneInternational:`Bitte keine Telefonnummern eingeben`,swissPassport:`Bitte keine Passinformationen eingeben`,longNumber:`Bitte keine langen Nummern eingeben`},en:{email:`Please do not enter email addresses`,creditCard:`Please do not enter credit card information`,ahv:`Please do not enter AHV numbers`,phoneSwiss:`Please do not enter phone numbers`,phoneInternational:`Please do not enter phone numbers`,swissPassport:`Please do not enter passport information`,longNumber:`Please do not enter long numbers`},it:{email:`Si prega di non inserire indirizzi email`,creditCard:`Si prega di non inserire informazioni sulla carta di credito`,ahv:`Si prega di non inserire numeri AVS`,phoneSwiss:`Si prega di non inserire numeri di telefono`,phoneInternational:`Si prega di non inserire numeri di telefono`,swissPassport:`Si prega di non inserire informazioni sul passaporto`,longNumber:`Si prega di non inserire numeri lunghi`},fr:{email:`Veuillez ne pas saisir d'adresses e-mail`,creditCard:`Veuillez ne pas saisir d'informations de carte de crédit`,ahv:`Veuillez ne pas saisir de numéros AVS`,phoneSwiss:`Veuillez ne pas saisir de numéros de téléphone`,phoneInternational:`Veuillez ne pas saisir de numéros de téléphone`,swissPassport:`Veuillez ne pas saisir d'informations de passeport`,longNumber:`Veuillez ne pas saisir de longs numéros`}},xo=[`en`,`de`,`fr`,`it`],So=(e,t)=>t.includes(e),Co=(e,t)=>{if(So(e,t))return e;let n=wo();return So(n,t)?n:`en`},wo=()=>navigator.language.split(`-`)[0],To=(e,t)=>{localStorage.setItem(`liipgpt:selectedLanguage`,e),t&&(t.lang=e)},Eo=e=>Co(localStorage.getItem(`liipgpt:selectedLanguage`),e),Do=(e,t)=>e?Co(e,t):Eo(t),Oo=e=>e??[...xo],ko=(e,t,n)=>{if(!e)return``;if(e[t])return e[t];for(let t of n)if(e[t])return e[t];return e.en?e.en:Object.values(e).find(e=>typeof e==`string`&&e.length>0)??``},Ao=(e,t)=>Array.from(new Set([e,...t,`en`,...xo])),jo=(e,t,n,r)=>{for(let i of Ao(n,r)){let n=e[i]?.selectors?.[t];if(n)return n}},Mo=new class{#e=I(Dn({}));get data(){return Q(this.#e)}set data(e){L(this.#e,e,!0)}#t=I(Dn({}));get targets(){return Q(this.#t)}set targets(e){L(this.#t,e,!0)}#n=I(!1);get initialized(){return Q(this.#n)}set initialized(e){L(this.#n,e,!0)}#r=I(0);get currentAudioVolume(){return Q(this.#r)}set currentAudioVolume(e){L(this.#r,e,!0)}ariaLiveMessagesClearingTimeoutDuration=350;#i=I(null);get currentAudioRecorder(){return Q(this.#i)}set currentAudioRecorder(e){L(this.#i,e,!0)}#a=I(!1);get isTranscribing(){return Q(this.#a)}set isTranscribing(e){L(this.#a,e,!0)}#o=F(()=>{if(!this.initialized)return[];let e=this.data.chatConfig.menu;return e?e[this.data.language]??[]:[]});get menu(){return Q(this.#o)}set menu(e){L(this.#o,e)}#s=F(()=>this.initialized?this.data.chatConfig.translations[this.data.language]??{}:{});get t(){return Q(this.#s)}set t(e){L(this.#s,e)}#c=F(()=>this.initialized?yo[this.data.language]??{}:yo.en??{});get errorTranslations(){return Q(this.#c)}set errorTranslations(e){L(this.#c,e)}#l=F(()=>this.initialized?bo[this.data.language]??{}:bo.en??{});get piiTranslations(){return Q(this.#l)}set piiTranslations(e){L(this.#l,e)}#u=F(()=>this.initialized?this.data.currentColorScheme:`light`);get colorScheme(){return Q(this.#u)}set colorScheme(e){L(this.#u,e)}#d=F(()=>this.initialized?this.data.chatConfig.fullTheme[this.data.currentColorScheme]:{});get themeBase(){return Q(this.#d)}set themeBase(e){L(this.#d,e)}#f=F(()=>this.themeBase.tokens);get theme(){return Q(this.#f)}set theme(e){L(this.#f,e)}#p=F(()=>{if(!this.initialized)return[];let e=[];for(let t of this.data.chatConfig.selectorsConfig)t.allowEmpty||(this.data.selectorValues[t.settingName]||[]).length===0&&e.push(t.settingName);return e});get selectorsWithErrors(){return Q(this.#p)}set selectorsWithErrors(e){L(this.#p,e)}#m=F(()=>{if(!this.initialized)return{};let e=this.data.chatConfig,t={};for(let n of e.selectorsConfig){let r=jo(e.translations,n.settingName,this.data.language,e.supportedLanguages);r||console.error(`Missing translation for setting ${n.settingName} in all languages`),t[n.settingName]=r??{name:n.settingName,placeholder:``,values:{}}}return t});get selectorTranslations(){return Q(this.#m)}set selectorTranslations(e){L(this.#m,e)}#h=F(()=>{if(!this.initialized)return!1;let e=this.data.chatConfig;return this.data.route.name===`chat-page`&&!e.forceChatPage||e.showContextInfo||e.showContextMenu||e.showCloseChatButton||this.data.props.flyout});get hasMainNavigationContent(){return Q(this.#h)}set hasMainNavigationContent(e){L(this.#h,e)}#g=F(()=>{if(!this.initialized)return``;let e=this.t,t=this.data.chatConfig,n=this.data.route.name===`chat-page`&&!t.forceChatPage,r=[];return n&&r.push(e.newChat),t.showContextInfo&&r.push(e.ariaMainNavigationInfo),t.showContextMenu&&(this.menu.length>0&&r.push(e.ariaMainNavigationLinks),t.supportedLanguages.length>0&&r.push(e.ariaMainNavigationLanguageSwitch),this.data.has2ColorSchemes&&r.push(e.ariaMainNavigationColorMode)),(t.showCloseChatButton||this.data.props.flyout)&&r.push(e.closeChat),r.length===0?e.ariaMainNavigation:`${e.ariaMainNavigation}: ${r.join(`, `)}`});get ariaMainNavigationRegion(){return Q(this.#g)}set ariaMainNavigationRegion(e){L(this.#g,e)}},No=e=>(localStorage.setItem(`liipgpt-color-scheme`,e),Fo([`light`,`dark`])),Po=()=>{let e=localStorage.getItem(`liipgpt-color-scheme`);return e===`light`||e===`dark`?e:`system`},Fo=e=>{let t=Po();return t===`system`&&(t=window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`),e.includes(t)?t:e[0]??`light`},Io=o(((e,t)=>{var n=function(e){return r(e)&&!i(e)};function r(e){return!!e&&typeof e==`object`}function i(e){var t=Object.prototype.toString.call(e);return t===`[object RegExp]`||t===`[object Date]`||o(e)}var a=typeof Symbol==`function`&&Symbol.for?Symbol.for(`react.element`):60103;function o(e){return e.$$typeof===a}function s(e){return Array.isArray(e)?[]:{}}function c(e,t){return t.clone!==!1&&t.isMergeableObject(e)?g(s(e),e,t):e}function l(e,t,n){return e.concat(t).map(function(e){return c(e,n)})}function u(e,t){if(!t.customMerge)return g;var n=t.customMerge(e);return typeof n==`function`?n:g}function d(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function f(e){return Object.keys(e).concat(d(e))}function p(e,t){try{return t in e}catch{return!1}}function m(e,t){return p(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function h(e,t,n){var r={};return n.isMergeableObject(e)&&f(e).forEach(function(t){r[t]=c(e[t],n)}),f(t).forEach(function(i){m(e,i)||(p(e,i)&&n.isMergeableObject(t[i])?r[i]=u(i,n)(e[i],t[i],n):r[i]=c(t[i],n))}),r}function g(e,t,r){r||={},r.arrayMerge=r.arrayMerge||l,r.isMergeableObject=r.isMergeableObject||n,r.cloneUnlessOtherwiseSpecified=c;var i=Array.isArray(t);return i===Array.isArray(e)?i?r.arrayMerge(e,t,r):h(e,t,r):c(t,r)}g.all=function(e,t){if(!Array.isArray(e))throw Error(`first argument should be an array`);return e.reduce(function(e,n){return g(e,n,t)},{})},t.exports=g})),Lo=c(Io(),1),Ro=e=>typeof e!=`object`||!e,zo=e=>{if(Ro(e))return e;if(Array.isArray(e))return e.map(zo);let t=Object.entries(e).filter(([e,t])=>t!==void 0).map(([e,t])=>[e,zo(t)]);return Object.fromEntries(t)},Bo=(e,t)=>(0,Lo.default)(e,zo(t)),Vo={tokens:{font:{family:`-apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif`},colors:{brand:{50:`#f9fafb`,100:`#f3f4f6`,200:`#e5e7eb`,300:`#d1d5db`,400:`#9ca3af`,500:`#6b7280`,600:`#4b5563`,700:`#374151`,800:`#2d3748`,900:`#1a202c`,950:`#171923`},highlight:{50:`#f9fafb`,100:`#f3f4f6`,200:`#e5e7eb`,300:`#d1d5db`,400:`#9ca3af`,500:`#6b7280`,600:`#4b5563`,700:`#374151`,800:`#2d3748`,900:`#1a202c`,950:`#171923`},grey:{0:`#ffffff`,50:`#f9fafb`,100:`#f3f4f6`,200:`#e5e7eb`,300:`#d1d5db`,400:`#9ca3af`,500:`#6b7280`,600:`#4b5563`,700:`#374151`,800:`#2d3748`,900:`#1a202c`,950:`#171923`,1e3:`#000000`}},base:{fontSizeXs:{minRem:.75,maxRem:.875},fontSizeSm:{minRem:1,maxRem:1},fontSizeBody:{minRem:1,maxRem:1.25},fontSizeH3:{minRem:1.125,maxRem:1.5},fontSizeH2:{minRem:1.25,maxRem:1.75},fontSizeH1:{minRem:1.5,maxRem:2},fontWeightNormal:`400`,fontWeightBold:`700`,fontWeightTitle:`700`,lineHeightDefault:`1.5`,lineHeightSnug:`1.375`,lineHeightTight:`1.25`,borderRadius:{minRem:.5,maxRem:.75},lineColor:`color-mix(in srgb, var(--color-brand-950) 20%, transparent)`,boxShadow:`0px 0px 2px rgba(0, 0, 0, 0.15), 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)`},components:{body:{background:`var(--color-grey-0)`,color:`var(--color-grey-900)`,focus:{color:`var(--color-highlight-500)`},custom:{selectionColor:`var(--color-grey-0)`,selectionBackground:`var(--color-brand-700)`,focusWidth:`var(--spacer-3)`,focusOffset:`var(--spacer-2)`,focusStyle:`solid`}},container:{custom:{maxWidth:`1024px`}},avatar:{color:`var(--color-brand-400)`,background:`var(--color-grey-100)`},anchor:{color:`var(--color-brand-700)`,hover:{color:`var(--color-brand-950)`}},btnPrimary:{color:`var(--color-grey-0)`,background:`var(--color-brand-700)`,borderRadius:`var(--base-border-radius)`,hover:{background:`var(--color-brand-900)`}},btnSecondary:{color:`var(--color-brand-700)`,background:`var(--color-brand-100)`,borderRadius:`var(--base-border-radius)`,hover:{color:`var(--color-grey-1000)`,background:`var(--color-brand-200)`}},btnTertiary:{color:`var(--anchor-color)`,background:`transparent`,borderRadius:`var(--base-border-radius)`,hover:{color:`var(--anchor-hover-color)`}},card:{color:`var(--color-grey-900)`,background:`var(--color-grey-100)`,borderRadius:`var(--base-border-radius)`,boxShadow:`none`,hover:{color:`var(--color-grey-1000)`,background:`var(--color-brand-100)`},custom:{iconColor:`var(--anchor-color)`,iconHoverColor:`var(--anchor-hover-color)`}},input:{background:`var(--color-grey-0)`,borderColor:`var(--color-grey-300)`,borderWidth:`1px`,borderRadius:`var(--base-border-radius)`,custom:{padding:`var(--spacer-r-16) var(--spacer-r-20)`,placeholderColor:`var(--color-grey-500)`,placeholderOpacity:`1`}},label:{color:`var(--color-grey-900)`,custom:{fontWeight:`var(--base-font-weight-bold)`}},hr:{color:`var(--base-line-color)`},checkbox:{color:`transparent`,background:`var(--color-grey-0)`,borderColor:`var(--color-grey-300)`,borderWidth:`1px`,borderRadius:`0.2em`,custom:{checkedColor:`var(--btn-primary-color)`,checkedBorderColor:`var(--color-brand-700)`,checkedBackground:`var(--color-brand-700)`}},radio:{color:`transparent`,background:`var(--color-grey-0)`,borderColor:`var(--color-grey-300)`,borderWidth:`1px`,custom:{checkedColor:`var(--btn-primary-color)`,checkedBorderColor:`var(--color-brand-700)`,checkedBackground:`var(--color-brand-700)`}},contextBox:{color:`var(--card-color)`,background:`var(--card-background)`,borderColor:`var(--card-border-color)`,borderWidth:`var(--card-border-width)`,borderRadius:`var(--card-border-radius)`,boxShadow:`var(--base-box-shadow)`,custom:{transitionDuration:200,transitionDelay:200,transitionY:8,titleColor:`var(--color-grey-1000)`,titleFontWeight:`var(--base-font-weight-bold)`,separatorColor:`var(--base-line-color)`,errorColor:`var(--message-error-color)`}},contextBoxMenuItem:{background:`transparent`,color:`var(--body-color)`,borderRadius:`calc(var(--base-border-radius) / 2)`,hover:{color:`var(--btn-secondary-hover-color)`,background:`var(--btn-secondary-hover-background)`},custom:{activeColor:`var(--btn-secondary-hover-color)`,activeBackground:`var(--btn-secondary-hover-background)`}},chatFooter:{color:`var(--color-grey-400)`,background:`var(--body-background)`,borderRadius:`var(--base-border-radius)`,boxShadow:`0px -10px 20px 5px color-mix(in srgb, var(--body-background) 100%, transparent)`},chatInput:{color:`var(--color-grey-700)`,background:`var(--card-background)`,borderRadius:`var(--base-border-radius)`,borderColor:`transparent`,borderWidth:`3px`,hover:{background:`var(--card-hover-background)`},focus:{borderColor:`var(--body-focus-color)`}},chatInputSubmit:{color:`var(--btn-primary-color)`,background:`var(--btn-primary-background)`,borderRadius:`calc(var(--base-border-radius) / 1.25)`,hover:{color:`var(--btn-primary-hover-color)`,background:`var(--btn-primary-hover-background)`},custom:{strokeWidth:`2`,deactivatedBackground:`var(--color-grey-500)`,deactivatedOpacity:`0.25`,deactivatedScale:`0.8`,deactivatedBorderColor:`var(--color-grey-500)`}},chatInputNotification:{background:`#DD135A`,color:`var(--color-grey-0)`,borderColor:`#DD135A`,borderWidth:`1px`,borderRadius:`var(--chat-input-border-radius)`},selectedTopic:{color:`var(--body-color)`,background:`var(--color-brand-100)`,borderColor:`var(--body-background)`,borderWidth:`2px`,borderRadius:`var(--base-border-radius)`,custom:{padding:`var(--spacer-10) var(--spacer-20)`,separatorWidth:`var(--spacer-2)`,labelGap:`var(--spacer-12)`,btnColor:`var(--btn-tertiary-color)`,btnHoverColor:`var(--btn-tertiary-hover-color)`}},dialog:{background:`var(--card-background)`,color:`var(--body-color)`,borderColor:`var(--card-border-color)`,borderWidth:`var(--card-border-width)`,borderRadius:`var(--card-border-radius)`,boxShadow:`var(--base-box-shadow)`,custom:{transitionDuration:200,transitionDelay:0,transitionY:30,backgroundOverlay:`rgba(0, 0, 0, 0.25)`,headerBorderBottomColor:`var(--base-line-color)`}},aside:{background:`var(--card-background)`,custom:{width:`400px`,containerWidthForMobileLayout:1024,backgroundOverlay:`rgba(0, 0, 0, 0.4)`,headerColor:`var(--card-color)`,headerBorderColor:`var(--base-line-color)`,headerBorderWidth:`1px`}},message:{color:`var(--body-color)`,custom:{errorColor:`#C91658`,transitionDuration:300,transitionDelay:0,transitionY:30,transitionBotLoadingDelay:300}},messageOptions:{borderColor:`var(--base-line-color)`,borderWidth:`1px`,custom:{transitionDuration:300,transitionDelay:0,transitionY:30}},messageJsonLdMap:{color:`var(--card-color)`,background:`var(--card-background)`,borderColor:`var(--card-border-color)`,borderWidth:`var(--card-border-width)`,borderRadius:`var(--card-border-radius)`,boxShadow:`var(--card-box-shadow)`,custom:{markerColor:`#6658c8`,tileUrl:`https://tile.openstreetmap.org/{z}/{x}/{y}.png`}},messageJsonLdEvent:{color:`var(--card-color)`,background:`var(--card-background)`,borderColor:`var(--card-border-color)`,borderWidth:`var(--card-border-width)`,borderRadius:`var(--card-border-radius)`,boxShadow:`var(--card-box-shadow)`},messageJsonLdCta:{color:`var(--card-color)`,background:`var(--card-background)`,borderColor:`var(--card-border-color)`,borderWidth:`var(--card-border-width)`,borderRadius:`var(--card-border-radius)`,boxShadow:`var(--card-box-shadow)`},messageUser:{color:`var(--body-color)`,background:`var(--card-background)`,boxShadow:`var(--card-box-shadow)`,borderRadius:`var(--card-border-radius)`},openButton:{color:`var(--card-color)`,background:`var(--card-background)`,borderColor:`var(--card-background)`,borderWidth:`0`,borderRadius:`calc(var(--base-border-radius) / 2)`,hover:{color:`var(--card-hover-color)`,background:`var(--card-hover-background)`},custom:{hideTitleWhenCollapsed:0,autoExpandScrollThreshold:0,autoCollapseDelay:0,autoExpandOnce:0}},referencesToggle:{color:`var(--color-brand-700)`,hover:{color:`var(--anchor-hover-color)`}},referenceNumberTrigger:{color:`var(--btn-secondary-color)`,background:`var(--btn-secondary-background)`,borderRadius:`calc(var(--base-border-radius) / 2)`,hover:{color:`var(--btn-secondary-hover-color)`,background:`var(--btn-secondary-hover-background)`},custom:{padding:`0.25em`}},referenceDomain:{color:`var(--color-brand-700)`,hover:{color:`var(--color-brand-800)`},custom:{padding:`0px`}},referenceNumberContent:{color:`var(--card-color)`,background:`var(--card-background)`,borderColor:`var(--card-border-color)`,borderWidth:`var(--card-border-width)`,borderRadius:`var(--card-border-radius)`,hover:{color:`var(--card-hover-color)`,background:`var(--card-hover-background)`,borderColor:`var(--card-hover-border-color)`,borderWidth:`var(--card-hover-border-width)`},boxShadow:`var(--base-box-shadow)`,custom:{width:`95cqi`,maxWidth:`450px`,transitionDuration:200,transitionDelay:200,transitionY:8}},reference:{color:`var(--card-color)`,background:`var(--card-background)`,borderColor:`var(--card-border-color)`,borderWidth:`var(--card-border-width)`,borderRadius:`var(--card-border-radius)`,hover:{color:`var(--card-hover-color)`,background:`var(--body-background)`,borderColor:`var(--card-hover-border-color)`,borderWidth:`var(--card-hover-border-width)`}},referenceDescription:{color:`var(--reference-color)`,hover:{color:`var(--reference-hover-color)`}},referenceNumber:{color:`var(--reference-number-trigger-color)`,background:`var(--body-background)`,borderColor:`var(--reference-number-trigger-border-color)`,borderWidth:`var(--reference-number-trigger-border-width)`,borderRadius:`var(--reference-number-trigger-border-radius)`,hover:{color:`var(--reference-number-trigger-color)`,background:`var(--reference-number-trigger-background)`,borderColor:`var(--reference-number-trigger-border-color)`,borderWidth:`var(--reference-number-trigger-border-width)`},custom:{padding:`var(--reference-number-trigger-padding)`}},toast:{background:`var(--card-background)`,color:`var(--body-color)`,boxShadow:`var(--base-box-shadow)`,borderRadius:`var(--card-border-radius)`,custom:{iconSuccessColor:`#22c55e`,iconErrorColor:`#ef4444`,iconWarningColor:`#f97316`,iconInfoColor:`#3b82f6`}},tooltip:{background:`var(--color-grey-200)`,color:`var(--body-color)`,borderRadius:`calc(var(--base-border-radius) / 2)`},flyout:{custom:{backdropColor:`var(--color-brand-800)`,backdropOpacity:`0.4`,backdropDelayIn:`0`,backdropDurationIn:`200`,backdropDelayOut:`0`,backdropDurationOut:`150`,backdropBaseScaleIn:`1`,backdropBaseScaleOut:`1`,backdropTransformOrigin:`center`,backdropScaleDirection:`scale`}},searchSummary:{color:`var(--card-color)`,background:`var(--color-grey-50)`,borderColor:`var(--color-grey-100)`,borderWidth:`1px`,borderRadius:`var(--base-border-radius)`,boxShadow:`none`,custom:{padding:`clamp(0.75rem, 0.6364rem + 0.5682cqw, 1rem)`,linkColor:`var(--anchor-color)`,referenceListColor:`var(--anchor-color)`,referenceListFontSize:`1em`,disclaimerLinkColor:`var(--anchor-color)`,errorColor:`var(--message-error-color)`,footerBackground:`var(--search-summary-footer-background)`}}},svgs:{predefinedQuestion:`
|
|
5
|
+
<svg viewBox="0 0 24 24" >
|
|
6
|
+
<path d="M11 3.5A10.5 10.5 0 0 0 0.5 14v1.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
|
|
7
|
+
<path d="M0.5 15.498a5 5 0 1 0 10 0 5 5 0 1 0 -10 0" fill="currentColor" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
|
|
8
|
+
<path d="M23.5 3.5A10.5 10.5 0 0 0 13 14v1.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
|
|
9
|
+
<path d="M13 15.498a5 5 0 1 0 10 0 5 5 0 1 0 -10 0" fill="currentColor" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
|
|
10
|
+
</svg>
|
|
11
|
+
`,edit:`<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"><path d="m15.9 4.7 3.5 3.5-10.8 10.8-3.5-3.5z"/><path d="m5.1 15.4-1.7 5.3 5.3-1.7-3.5-3.5z"/><path d="m19.3 8.1-3.5-3.5.6-.6c1-1 2.6-.9 3.5 0 .9 1 .9 2.5 0 3.5z"/></g></svg>`,newConversation:`<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"><path d="m12.6 15.3-4.7 1.6 1.5-4.8 7.6-7.6c.6-.6 1.5-.6 2.1 0l1.1 1.1c.6.6.6 1.5 0 2.1l-7.7 7.7z"/><path d="m12.8 15.1-3.3-3.3"/><path d="m20.2 12.1v7.4c0 .8-.7 1.5-1.5 1.5h-13.8c-.8 0-1.5-.7-1.5-1.5v-14.5c0-.8.7-1.5 1.5-1.5h8.4"/></g></svg>`,voteUp:`<svg viewBox="0 0 24 24"><path d="M0.5 8.372h2a1 1 0 0 1 1 1v12a1 1 0 0 1 -1 1h-2" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M3.5 19.372c7.339 3.726 6.981 3.235 13.265 3.235 2.632 0 3.958 -1.715 4.732 -4.228l0 -0.016 1.907 -6.4 0 -0.012A2 2 0 0 0 21.5 9.372h-4.9a2 2 0 0 1 -1.934 -2.51l0.882 -3.344a1.713 1.713 0 0 0 -3.06 -1.418L7.6 9.025a2 2 0 0 1 -1.634 0.847H3.5" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path></svg>`,voteDown:`<svg viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m.5 2.5h2c.6 0 1 .4 1 1v12c0 .6-.4 1-1 1h-2"/><path d="m3.5 15h2.5c.6 0 1.3.3 1.6.8l4.9 6.9c.4.6 1.1.9 1.8.7.9-.2 1.5-1.2 1.2-2.1l-.9-3.3c0-.2 0-.3 0-.5 0-1.1.9-2 2-2h4.9.6c1.1-.3 1.7-1.4 1.3-2.5s-1.9-6.4-1.9-6.4c-.8-2.5-2.1-4.2-4.7-4.2-6.3 0-5.9-.5-13.3 3.2"/></g></svg>`,retry:`
|
|
12
|
+
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
13
|
+
<g stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
|
|
14
|
+
<path d="M19.701 5.488a10.063 10.063 0 0 0-7.7-3.573C6.43 1.915 1.914 6.43 1.914 12c0 1.17.2 2.293.565 3.338m1.84 3.199A10.063 10.063 0 0 0 12 22.085c5.57 0 10.085-4.515 10.085-10.085 0-1.224-.218-2.397-.617-3.482" stroke-miterlimit="10"/>
|
|
15
|
+
<path d="M16.802 5.784h3.16v-3.16M7.198 18.216h-3.16v3.16"/>
|
|
16
|
+
</g>
|
|
17
|
+
</svg>
|
|
18
|
+
`,message:`<svg viewBox="0 0 24 24"><path d="m12 1.6c-6 0-10.9 4-10.9 9 0 2.5 1.2 4.8 3.2 6.4l-2.3 5.4 6-3.4c1.3.4 2.6.6 3.9.6 6 0 10.9-4 10.9-9s-4.8-9-10.8-9z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>`,messageLoading:`<svg viewBox="0 0 24 24" width="24" height="24">
|
|
19
|
+
<circle cx="6" cy="23" r="1.75" fill="currentColor">
|
|
20
|
+
<animate attributeName="opacity" dur="1s" values="0.2;0.8;0.2" repeatCount="indefinite" begin="0s"/>
|
|
21
|
+
</circle>
|
|
22
|
+
<circle cx="12" cy="23" r="1.75" fill="currentColor">
|
|
23
|
+
<animate attributeName="opacity" dur="1s" values="0.2;0.8;0.2" repeatCount="indefinite" begin="0.3s"/>
|
|
24
|
+
</circle>
|
|
25
|
+
<circle cx="18" cy="23" r="1.75" fill="currentColor">
|
|
26
|
+
<animate attributeName="opacity" dur="1s" values="0.2;0.8;0.2" repeatCount="indefinite" begin="0.6s"/>
|
|
27
|
+
</circle>
|
|
28
|
+
</svg>`,thread:`<svg viewBox="0 0 24 24"><path d="M9.5 16.5c0 4.288 5 7.5 9.5 5.5l4 1.5 -1.5 -3a4.994 4.994 0 0 0 2 -4c0 -3.154 -3.134 -6 -7 -6s-7 2.846 -7 6Z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M17.4 8.5a5.822 5.822 0 0 0 0.1 -1c0 -3.866 -3.8 -7 -8.5 -7S0.5 3.634 0.5 7.5a6.434 6.434 0 0 0 2.517 4.97L1 16l4.939 -1.976a9.993 9.993 0 0 0 1.561 0.361" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path></svg>`,submit:`<svg viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="m12 1v22"/><path d="m4 9 8-8 8 8"/></g></svg>`,abort:`<svg viewBox="0 0 24 24"><g fill="currentColor" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M5 5h14v14H5z"/></g></svg>`,expand:`<svg viewBox="0 0 24 24"><path d="m22 7-10 10-10-10" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path></svg>`,help:`<svg fill="none" viewBox="0 0 12 12"><path d="M5.04 7.955v-.161c.004-.555.053-.998.148-1.328.099-.33.241-.596.429-.799.187-.203.412-.387.675-.552.197-.127.373-.258.528-.395a1.71 1.71 0 0 0 .371-.452 1.15 1.15 0 0 0 .138-.561c0-.219-.052-.41-.157-.576a1.045 1.045 0 0 0-.423-.38 1.26 1.26 0 0 0-.58-.133c-.207 0-.402.046-.586.138a1.117 1.117 0 0 0-.452.4c-.117.174-.18.39-.19.65H3c.016-.633.168-1.157.457-1.569.288-.416.67-.725 1.146-.928.476-.206 1-.309 1.575-.309.631 0 1.19.105 1.675.314.485.206.865.506 1.141.9.276.392.414.867.414 1.422 0 .37-.062.7-.185.99-.12.285-.29.538-.51.76a3.943 3.943 0 0 1-.775.595c-.25.15-.457.304-.618.466a1.584 1.584 0 0 0-.357.562 2.42 2.42 0 0 0-.119.785v.161H5.041ZM5.984 11c-.317 0-.588-.111-.814-.333a1.095 1.095 0 0 1-.328-.809c-.003-.31.106-.577.328-.799.226-.222.497-.333.814-.333.301 0 .566.111.794.333a1.092 1.092 0 0 1 .181 1.375 1.23 1.23 0 0 1-.414.414 1.081 1.081 0 0 1-.561.152Z" fill="currentColor"/></svg>`,attach:`<svg viewBox="0 0 24 24"><path d="m7.618 15.345 8.666 -8.666a2.039 2.039 0 1 1 2.883 2.883L7.461 21.305a4.078 4.078 0 0 1 -5.767 -5.768L13.928 3.305a5.606 5.606 0 0 1 7.929 7.928L13.192 19.9" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path></svg>`,record:`<svg viewBox="0 0 24 24"><path d="M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z" fill="currentColor"/><path d="M19 10v2a7 7 0 0 1-14 0v-2" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M12 19v4" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M8 23h8" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`,reward:`<svg viewBox="0 0 24 24"><path d="M23.5 10.5a1 1 0 0 1 -1 1h-21a1 1 0 0 1 -1 -1v-2a1 1 0 0 1 1 -1h21a1 1 0 0 1 1 1Z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M21.5 22.5a1 1 0 0 1 -1 1h-17a1 1 0 0 1 -1 -1v-11h19Z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="m8.5 7.5 0 16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="m15.5 23.5 0 -16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M17.427 3.84C16.663 4.605 13 5.5 13 5.5s0.9 -3.663 1.66 -4.427a1.957 1.957 0 1 1 2.767 2.767Z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M6.573 3.84C7.337 4.605 11 5.5 11 5.5s-0.9 -3.663 -1.66 -4.427A1.957 1.957 0 0 0 6.573 3.84Z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path></svg>`,share:`<svg viewBox="0 0 24 24"><g><path d="M14.8 12.56a2.25 2.25 0 0 0 3.27 0.1l4.45 -4.45a3.37 3.37 0 0 0 0 -4.76l-2 -2a3.37 3.37 0 0 0 -4.76 0l-4.42 4.48a2.24 2.24 0 0 0 0.1 3.26" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M9.2 11.44a2.26 2.26 0 0 0 -3.27 -0.1l-4.45 4.45a3.37 3.37 0 0 0 0 4.76l2 2a3.37 3.37 0 0 0 4.76 0l4.45 -4.45a2.25 2.25 0 0 0 -0.1 -3.27" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="m7.64 16.36 8.72 -8.72" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path></g></svg>`,audio:`<svg viewBox="0 0 24 24"><path d="M5.5 9H2a1.5 1.5 0 0 0 -1.5 1.5v3A1.5 1.5 0 0 0 2 15h3.5l6.147 6.146a0.5 0.5 0 0 0 0.853 -0.353V3.207a0.5 0.5 0 0 0 -0.853 -0.353Z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M20 4a10.893 10.893 0 0 1 0 16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M17.5 6a7.535 7.535 0 0 1 0 12" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M15.5 8.5c2.677 1.947 2.669 5.06 0 7" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path></svg>`,copy:`<svg viewBox="0 0 24 24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M16.4999 5.5V1.50049c0 -0.552286 -0.4477 -1.000002 -1 -1.000002H1.49988C0.947593 0.500488 0.499878 0.948203 0.499878 1.50049V15.5005c0 0.5523 0.447715 1 1.000002 1H5.5" stroke-width="1.5"></path><path stroke="currentColor" stroke-linejoin="round" d="M7.4999 8.49951c0 -0.55228 0.44772 -1 1 -1h14c0.5523 0 1 0.44772 1 1V22.4995c0 0.5523 -0.4477 1 -1 1h-14c-0.55228 0 -1 -0.4477 -1 -1V8.49951Z" stroke-width="1.5"></path></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 d="m18.257 5.742-12.514 12.514"/></g></svg>`,menu:`<svg viewBox="0 0 24 24"><g stroke="currentColor" stroke-linecap="round" stroke-width="1.5"><path d="m4 6h16"/><path d="m4 12h16"/><path d="m4 18h16"/></g></svg>`,menuClose:`<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 d="m18.257 5.742-12.514 12.514"/></g></svg>`,externalLink:`<svg viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="2"><path d="m18 6-12 12"/><path d="m18 17v-11h-11"/></g></svg>`,internalLink:`<svg viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="2"><path d="m20 12h-17"/><path d="m13 19 7-7-7-7"/></g></svg>`,chevronDown:`<svg viewBox="0 0 24 24"><path d="m20 8-8 8-8-8" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/></svg>`,chevronUp:`<svg viewBox="0 0 24 24"><path d="m20 16-8-8-8 8" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/></svg>`,chevronTopDown:`<svg viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"><path d="m19 9-7-7-7 7"/><path d="m19 15-7 7-7-7"/></g></svg>`,chevronDownSmall:`<svg viewBox="0 0 10 10" fill="none"><path d="M8.75 3.75C7.25 5.25 5 7.5 5 7.50L1.25 3.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>`,liip:`<svg viewBox="0 0 199 72"><path d="m125.352941.70588235 14.588235 7.05882353-32.705882 63.29411762-14.5882352-7.0588235zm-37.6470586 0 14.3529416 7.05882353-32.7058828 63.29411762-14.5882353-7.0588235zm78.8235296 45.17647055v23.0588236h-16.235294v-64.9411765h26.117647c14.588235 0 22.588235 10.3529412 22.588235 20.9411765 0 10.8235294-7.764706 20.9411764-22.588235 20.9411764zm0-27.5294117v13.1764706h9.17647c4.470589 0 7.058824-3.2941177 7.058824-6.5882353 0-3.2941177-2.588235-6.5882353-7.058824-6.5882353zm-166.11764729-14.3529412h16.23529409v50.8235294h27.7647059v14.1176471h-43.99999999z" fill="currentColor" fill-rule="evenodd"/></svg>`,avatar:`
|
|
29
|
+
<div style="border-radius: 9999px; overflow: hidden;">
|
|
30
|
+
<svg viewBox="0 0 100 100" width="100" height="100" shape-rendering="geometricPrecision" text-rendering="geometricPrecision">
|
|
31
|
+
<style>
|
|
32
|
+
.svg--avatar {
|
|
33
|
+
--logo-color1: var(--color-brand-500);
|
|
34
|
+
--logo-color1-transparent: var(--color-brand-400);
|
|
35
|
+
|
|
36
|
+
--logo-color2: var(--color-highlight-400);
|
|
37
|
+
--logo-color2-transparent: var(--color-highlight-500);
|
|
38
|
+
|
|
39
|
+
--logo-color3: var(--color-brand-400);
|
|
40
|
+
--logo-color3-transparent: var(--color-highlight-500);
|
|
41
|
+
|
|
42
|
+
--logo-color4: var(--color-highlight-400);
|
|
43
|
+
--logo-color4-transparent: var(--color-brand-500);
|
|
44
|
+
|
|
45
|
+
--logo-glass-color: oklch(1 0 0 / 0.2); /* Soft white glass effect */
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
#group1 {
|
|
49
|
+
animation: group1_anim 8000ms ease-in-out infinite normal forwards;
|
|
50
|
+
/* Delay animation after fly-in animation */
|
|
51
|
+
transform: translate(30px, 30px);
|
|
52
|
+
animation-delay: 0.8s;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@keyframes group1_anim {
|
|
56
|
+
0% { transform: translate(30px, 30px); }
|
|
57
|
+
25% { transform: translate(50px, 100px); }
|
|
58
|
+
50% { transform: translate(90px, 30px); }
|
|
59
|
+
75% { transform: translate(50px, 50px); }
|
|
60
|
+
100% { transform: translate(30px, 30px); }
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
#group2 {
|
|
64
|
+
animation: group2_anim 8000ms ease-in-out infinite normal forwards;
|
|
65
|
+
/* Delay animation after fly-in animation */
|
|
66
|
+
transform: translate(-35px, -35px);
|
|
67
|
+
animation-delay: 0.8s;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@keyframes group2_anim {
|
|
71
|
+
0% { transform: translate(-35px, -35px); }
|
|
72
|
+
25% { transform: translate(25px, 40px); }
|
|
73
|
+
50% { transform: translate(100px, 35px); }
|
|
74
|
+
75% { transform: translate(25px, 25px); }
|
|
75
|
+
100% { transform: translate(-35px, -35px); }
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
#group3 {
|
|
79
|
+
overflow: visible;
|
|
80
|
+
animation: group3_anim 8000ms ease-in-out infinite normal forwards;
|
|
81
|
+
/* Delay animation after fly-in animation */
|
|
82
|
+
transform: translate(120px, 20px);
|
|
83
|
+
animation-delay: 0.8s;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@keyframes group3_anim {
|
|
87
|
+
0% { transform: translate(120px, 20px); }
|
|
88
|
+
25% { transform: translate(30px, 17px); }
|
|
89
|
+
50% { transform: translate(35px, 20px); }
|
|
90
|
+
75% { transform: translate(30px, 120px); }
|
|
91
|
+
100% { transform: translate(120px, 20px); }
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
#group4 {
|
|
95
|
+
animation: group4_anim 12000ms ease-in-out infinite normal forwards;
|
|
96
|
+
/* Delay animation after fly-in animation */
|
|
97
|
+
transform: translate(40px, -40px);
|
|
98
|
+
animation-delay: 0.8s;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
@keyframes group4_anim {
|
|
102
|
+
0% { transform: translate(40px, -40px); }
|
|
103
|
+
25% { transform: translate(25px, 45px); }
|
|
104
|
+
50% { transform: translate(-20px, 120px); }
|
|
105
|
+
75% { transform: translate(50px, 0px); }
|
|
106
|
+
100% { transform: translate(40px, -40px); }
|
|
107
|
+
}
|
|
108
|
+
</style>
|
|
109
|
+
<defs>
|
|
110
|
+
<!-- Define the circular masks -->
|
|
111
|
+
<mask id="circleMask1">
|
|
112
|
+
<rect width="100" height="100" fill="black" />
|
|
113
|
+
<circle cx="50" cy="50" r="50" fill="white" />
|
|
114
|
+
</mask>
|
|
115
|
+
<mask id="circleMask2">
|
|
116
|
+
<rect width="100" height="100" fill="black" />
|
|
117
|
+
<circle cx="50" cy="50" r="46" fill="white" />
|
|
118
|
+
</mask>
|
|
119
|
+
|
|
120
|
+
<!-- Radial Gradients for Animations -->
|
|
121
|
+
<radialGradient id="gradient1" cx="0.5" cy="0.5" r="1" spreadMethod="pad">
|
|
122
|
+
<stop offset="0%" stop-color="var(--logo-color1)" />
|
|
123
|
+
<stop offset="80%" stop-color="var(--logo-color1-transparent)" />
|
|
124
|
+
</radialGradient>
|
|
125
|
+
<radialGradient id="gradient2" cx="0.5" cy="0.5" r="1" spreadMethod="pad">
|
|
126
|
+
<stop offset="0%" stop-color="var(--logo-color2)" />
|
|
127
|
+
<stop offset="80%" stop-color="var(--logo-color2-transparent)" />
|
|
128
|
+
</radialGradient>
|
|
129
|
+
<radialGradient id="gradient3" cx="0.5" cy="0.5" r="1" spreadMethod="pad">
|
|
130
|
+
<stop offset="0%" stop-color="var(--logo-color3)" />
|
|
131
|
+
<stop offset="50%" stop-color="var(--logo-color3-transparent)" />
|
|
132
|
+
</radialGradient>
|
|
133
|
+
<radialGradient id="gradient4" cx="0.5" cy="0.5" r="1" spreadMethod="pad">
|
|
134
|
+
<stop offset="0%" stop-color="var(--logo-color4)" />
|
|
135
|
+
<stop offset="80%" stop-color="var(--logo-color4-transparent)" />
|
|
136
|
+
</radialGradient>
|
|
137
|
+
|
|
138
|
+
<!-- Radial Gradient for Centered Disc -->
|
|
139
|
+
<radialGradient id="centerGradient" cx="0.5" cy="0.5" r="0.5" spreadMethod="pad">
|
|
140
|
+
<stop offset="0%" stop-color="rgba(255, 255, 255, 0)" />
|
|
141
|
+
<stop offset="75%" stop-color="rgba(255, 255, 255, 0)" />
|
|
142
|
+
<stop offset="100%" stop-color="var(--logo-glass-color)" />
|
|
143
|
+
</radialGradient>
|
|
144
|
+
|
|
145
|
+
<!-- Gaussian blur filter -->
|
|
146
|
+
<filter id="blurFilter" x="-150%" y="-150%" width="400%" height="400%">
|
|
147
|
+
<feGaussianBlur stdDeviation="8" />
|
|
148
|
+
</filter>
|
|
149
|
+
|
|
150
|
+
</defs>
|
|
151
|
+
|
|
152
|
+
<!-- Larger Disc (border) -->
|
|
153
|
+
<g mask="url(#circleMask1)">
|
|
154
|
+
<circle cx="50" cy="50" r="50" fill="var(--logo-color2)" />
|
|
155
|
+
<g id="group1">
|
|
156
|
+
<ellipse x="50" rx="500" ry="80" fill="url(#gradient3)" filter="url(#blurFilter)" />
|
|
157
|
+
</g>
|
|
158
|
+
<g id="group2">
|
|
159
|
+
<ellipse rx="100" ry="100" fill="url(#gradient2)" filter="url(#blurFilter)" />
|
|
160
|
+
</g>
|
|
161
|
+
<g id="group3">
|
|
162
|
+
<ellipse rx="100" ry="100" fill="url(#gradient1)" filter="url(#blurFilter)" />
|
|
163
|
+
</g>
|
|
164
|
+
</g>
|
|
165
|
+
|
|
166
|
+
<!-- Smaller Disc -->
|
|
167
|
+
<g mask="url(#circleMask2)">
|
|
168
|
+
<circle cx="50" cy="50" r="46" fill="var(--logo-color1)" />
|
|
169
|
+
<g id="group1">
|
|
170
|
+
<ellipse x="50" rx="100" ry="80" fill="url(#gradient1)" filter="url(#blurFilter)" />
|
|
171
|
+
</g>
|
|
172
|
+
<g id="group2">
|
|
173
|
+
<ellipse rx="80" ry="50" fill="url(#gradient2)" filter="url(#blurFilter)" />
|
|
174
|
+
</g>
|
|
175
|
+
<g id="group3">
|
|
176
|
+
<ellipse rx="60" ry="40" fill="url(#gradient3)" filter="url(#blurFilter)" />
|
|
177
|
+
</g>
|
|
178
|
+
<g id="group4">
|
|
179
|
+
<ellipse rx="30" ry="40" fill="url(#gradient4)" filter="url(#blurFilter)" />
|
|
180
|
+
</g>
|
|
181
|
+
|
|
182
|
+
<!-- Grain -->
|
|
183
|
+
<circle cx="50" cy="50" r="46" fill="url(#centerGradient)" filter='url(#grainFilter)' style="mix-blend-mode: soft-light;" />
|
|
184
|
+
</g>
|
|
185
|
+
|
|
186
|
+
<!-- Grain -->
|
|
187
|
+
<circle cx="50" cy="50" r="46" fill="url(#centerGradient)" />
|
|
188
|
+
</svg>
|
|
189
|
+
</div>
|
|
190
|
+
`,avatarLarge:``,info:`<svg viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5"><path d="m6.7 8.5c-.1-4.2 5.1-6.6 8.2-4 3.3 2.5 2 8.1-2.1 8.9-.6.1-1.1.7-1.1 1.3v2.2" stroke-linecap="round" stroke-linejoin="round"/><circle cx="11.8" cy="20.6" r=".4"/></g></svg>`,openChat:`<svg viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="2"><path d="m12 4v17"/><path d="m19 11-7-7-7 7"/></g></svg>`,speechInput:`
|
|
191
|
+
<svg width="0" height="0">
|
|
192
|
+
<defs>
|
|
193
|
+
<mask id="microphone-mask" maskUnits="objectBoundingBox" maskContentUnits="objectBoundingBox">
|
|
194
|
+
<rect width="1" height="1" fill="black" />
|
|
195
|
+
<g
|
|
196
|
+
fill="none"
|
|
197
|
+
stroke="white"
|
|
198
|
+
stroke-width="2"
|
|
199
|
+
stroke-linecap="round"
|
|
200
|
+
stroke-linejoin="round"
|
|
201
|
+
transform="translate(0.1, 0.05) scale(0.035, 0.035)"
|
|
202
|
+
>
|
|
203
|
+
<path d="M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z"></path>
|
|
204
|
+
<path d="M19 10v2a7 7 0 0 1-14 0v-2"></path>
|
|
205
|
+
<path d="M12 19v4"></path>
|
|
206
|
+
<path d="M8 23h8"></path>
|
|
207
|
+
</g>
|
|
208
|
+
</mask>
|
|
209
|
+
</defs>
|
|
210
|
+
</svg>
|
|
211
|
+
`,listUnordered:`
|
|
212
|
+
<svg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'>
|
|
213
|
+
<path d='M8 6H21' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/>
|
|
214
|
+
<path d='M8 12H21' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/>
|
|
215
|
+
<path d='M8 18H21' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/>
|
|
216
|
+
<path d='M3 6H3.01' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/>
|
|
217
|
+
<path d='M3 12H3.01' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/>
|
|
218
|
+
<path d='M3 18H3.01' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/>
|
|
219
|
+
</svg>
|
|
220
|
+
`,lightMode:`
|
|
221
|
+
<svg viewBox="0 0 24 24" fill="none">
|
|
222
|
+
<path d="M18.5625 12C18.5625 10.2595 17.8711 8.59032 16.6404 7.35961C15.4097 6.1289 13.7405 5.4375 12 5.4375C10.2595 5.4375 8.59032 6.1289 7.35961 7.35961C6.1289 8.59032 5.4375 10.2595 5.4375 12C5.4375 13.7405 6.1289 15.4097 7.35961 16.6404C8.59032 17.8711 10.2595 18.5625 12 18.5625C13.7405 18.5625 15.4097 17.8711 16.6404 16.6404C17.8711 15.4097 18.5625 13.7405 18.5625 12Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
223
|
+
<path d="M12 20.4375V22.3125" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
224
|
+
<path d="M20.4375 12H22.3125" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
225
|
+
<path d="M12 3.5625V1.6875" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
226
|
+
<path d="M3.5625 12H1.6875" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
227
|
+
<path d="M6.03469 17.9663L4.70813 19.2929" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
228
|
+
<path d="M17.9662 17.9663L19.2919 19.2919" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
229
|
+
<path d="M17.9672 6.03461L19.2928 4.70898" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
230
|
+
<path d="M6.03375 6.03461L4.70813 4.70898" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
231
|
+
</svg>
|
|
232
|
+
|
|
233
|
+
`,darkMode:`
|
|
234
|
+
<svg viewBox="0 0 24 24" fill="none">
|
|
235
|
+
<path d="M17.4546 19.3866C19.2134 18.1336 20.4574 16.2846 20.9554 14.1833C20.27 14.9892 19.4098 15.6282 18.4403 16.0517C17.4708 16.4753 16.4176 16.6723 15.3605 16.6277C14.3035 16.5831 13.2706 16.2981 12.3402 15.7944C11.4098 15.2908 10.6065 14.5816 9.99136 13.7209C9.37618 12.8601 8.96532 11.8705 8.78999 10.8272C8.61467 9.78384 8.67951 8.71426 8.97957 7.69974C9.27963 6.68522 9.80703 5.75246 10.5217 4.97235C11.2363 4.19223 12.1194 3.5853 13.1038 3.19768C11.6649 3.0599 10.2141 3.2727 8.87542 3.81787C7.53673 4.36304 6.35002 5.22437 5.41679 6.32817C4.48357 7.43197 3.83159 8.7454 3.51665 10.1561C3.2017 11.5668 3.23314 13.0328 3.6083 14.4287C3.98345 15.8246 4.69115 17.1089 5.67085 18.1717C6.65055 19.2344 7.87311 20.0441 9.23394 20.5313C10.5948 21.0186 12.0534 21.169 13.485 20.9696C14.9166 20.7703 16.2787 20.2271 17.4546 19.3866Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
236
|
+
</svg>
|
|
237
|
+
`,settings:`
|
|
238
|
+
<svg fill="none" viewBox="0 0 24 24">
|
|
239
|
+
<g fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
|
|
240
|
+
<path d="M5.08008 12H1.26074"></path>
|
|
241
|
+
<path d="M22.7383 12H10.0059"></path>
|
|
242
|
+
<path d="M13.9941 20.1172H1.26074"></path>
|
|
243
|
+
<path d="M22.7383 20.1172h-3.8184"></path>
|
|
244
|
+
<path d="m13.9941 4.02344 -12.73336 0"></path>
|
|
245
|
+
<path d="M22.7383 4.02344h-3.8184"></path>
|
|
246
|
+
<path d="M5.08 12.002a2.463 2.463 0 1 0 4.926 0 2.463 2.463 0 1 0 -4.926 0"></path>
|
|
247
|
+
<path d="M13.994 20.119a2.463 2.463 0 1 0 4.926 0 2.463 2.463 0 1 0 -4.926 0"></path>
|
|
248
|
+
<path d="M13.994 3.885a2.463 2.463 0 1 0 4.926 0 2.463 2.463 0 1 0 -4.926 0"></path>
|
|
249
|
+
</g>
|
|
250
|
+
</svg>
|
|
251
|
+
`,settingsClose:`
|
|
252
|
+
<svg fill="none" viewBox="0 0 24 24">
|
|
253
|
+
<g fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
|
|
254
|
+
<path d="m6 18 12-12"/>
|
|
255
|
+
<path d="m18 18-12-12"/>
|
|
256
|
+
</g>
|
|
257
|
+
</svg>
|
|
258
|
+
`,sources:`
|
|
259
|
+
<svg fill="none" viewBox="0 0 24 24" width="24">
|
|
260
|
+
<g fill="none" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round">
|
|
261
|
+
<path d="m20.3713 11.9655c.0006 1.0543-.2065 2.0983-.6093 3.0726-.4029.9742-.9936 1.8595-1.7386 2.6054-.7449.7458-1.6294 1.3376-2.603 1.7416s-2.0172.6122-3.0712.6127c-2.1389-.0355-4.17716-.9146-5.67123-2.4459-1.49408-1.5313-2.32301-3.5908-2.30639-5.7304.00172-2.04515.80385-4.00834 2.23469-5.46928s3.37664-2.30352 5.42083-2.34734c.1155-.00487.231-.00696.3478-.00696 1.0491-.00569 2.089.19629 3.0598.5943.9707.39801 1.8531.9842 2.5964 1.72479s1.3327 1.62095 1.7343 2.59038c.4017.96942.6076 2.00871.6059 3.05811z"/>
|
|
262
|
+
<path d="m12.3713 3.9978c-3.99996 4.52568-3.99996 10.4299 0 16"/>
|
|
263
|
+
<path d="m12.3713 3.9978c4 4.52627 4 10.4292 0 16"/>
|
|
264
|
+
<path d="m4.37134 11.9978h15.99996"/>
|
|
265
|
+
</g>
|
|
266
|
+
</svg>
|
|
267
|
+
`,model:`
|
|
268
|
+
<svg fill="none" viewBox="0 0 24 24">
|
|
269
|
+
<g fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
|
|
270
|
+
<path d="m2.63867 10.0059c3.35563-.67463 6.05732-3.40917 6.73292-6.8516.67571 3.44243 3.37671 6.17697 6.73231 6.8516m0 .0039c-3.3556.6746-6.0573 3.4091-6.73291 6.8516-.6756-3.4425-3.37669-6.177-6.73232-6.8516"/>
|
|
271
|
+
<path d="m13.6367 17.3983c2.0766-.4174 3.7486-2.1097 4.1668-4.2401.4181 2.1304 2.0896 3.8227 4.1663 4.2401m0 .0024c-2.0767.4176-3.7487 2.1098-4.1667 4.2402-.4181-2.1304-2.0898-3.8226-4.1664-4.2402"/>
|
|
272
|
+
</g>
|
|
273
|
+
</svg>
|
|
274
|
+
`,checkbox:`
|
|
275
|
+
<svg viewBox="0 0 24 24" fill="none">
|
|
276
|
+
<path d="M18 6L10 16L5 11" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
277
|
+
</svg>
|
|
278
|
+
`,warning:`
|
|
279
|
+
<svg fill="none" viewBox="0 0 24 24">
|
|
280
|
+
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M20 11.8499c0.0058 2.1364 -0.8308 4.1889 -2.3284 5.7125C16.174 19.086 14.1362 19.9579 12 19.9889c-1.0431 0.0158 -2.07902 -0.1757 -3.04759 -0.5634 -0.96857 -0.3877 -1.85052 -0.9638 -2.59471 -1.695 -0.74419 -0.7312 -1.3358 -1.6028 -1.74052 -2.5644 -0.40472 -0.9616 -0.61449 -1.9939 -0.61715 -3.0372 -0.00576 -2.13645 0.83084 -4.18908 2.32839 -5.71284C7.82597 4.8923 9.86379 4.02023 12 3.98892c1.0432 -0.01562 2.0792 0.17602 3.0477 0.56381 0.9686 0.38779 1.8505 0.96402 2.5947 1.69526 0.7442 0.73125 1.3358 1.60296 1.7405 2.56458 0.4047 0.96163 0.6145 1.99403 0.6171 3.03733v0Z" stroke-width="2"></path>
|
|
281
|
+
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M12 12.989V7.98804" stroke-width="2"></path>
|
|
282
|
+
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M12 15.512h-0.004" stroke-width="2"></path>
|
|
283
|
+
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M12.001 15.512H12" stroke-width="2"></path>
|
|
284
|
+
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M4.50003 20.0341c-1.10018 -1.0257 -1.97829 -2.2662 -2.58007 -3.6447 -0.60179 -1.3786 -0.91445 -2.8659 -0.91867 -4.37 -0.004213 -1.5042 0.3001 -2.99325 0.89415 -4.37514 0.59404 -1.38189 1.46518 -2.62726 2.55959 -3.65915" stroke-width="2"></path>
|
|
285
|
+
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M19.523 3.96411c1.0995 1.03065 1.9754 2.27621 2.5736 3.65943 0.5981 1.38321 0.9056 2.87456 0.9034 4.38156 -0.0021 1.507 -0.3139 2.9975 -0.916 4.379 -0.6021 1.3815 -1.4816 2.6245 -2.584 3.652" stroke-width="2"></path>
|
|
286
|
+
<path stroke="currentColor" d="M11.998 16.0161c-0.138 0 -0.25 -0.1119 -0.25 -0.25s0.112 -0.25 0.25 -0.25" stroke-width="2"></path>
|
|
287
|
+
<path stroke="currentColor" d="M11.998 16.0161c0.1381 0 0.25 -0.1119 0.25 -0.25s-0.1119 -0.25 -0.25 -0.25" stroke-width="2"></path>
|
|
288
|
+
</svg>
|
|
289
|
+
`,topic:`
|
|
290
|
+
<svg fill="none" viewBox="0 0 24 24">
|
|
291
|
+
<g stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
|
|
292
|
+
<path d="M17.625 4.776a27.989 27.989 0 0 1 4.212-.35.469.469 0 0 1 .476.47v14.78a.469.469 0 0 1-.463.469c-7.6.096-9.85 2.56-9.85 2.56m0 0V6.987s-2.25-2.46-9.837-2.56a.469.469 0 0 0-.475.469v14.78a.469.469 0 0 0 .462.469c7.6.096 9.85 2.56 9.85 2.56Z"/>
|
|
293
|
+
<path d="M12 22.237a6.525 6.525 0 0 1 5.625-5.625V1.764a.47.47 0 0 0-.62-.444C12.324 2.918 12 6.327 12 6.768"/>
|
|
294
|
+
</g>
|
|
295
|
+
</svg>
|
|
296
|
+
`,forward:`
|
|
297
|
+
<svg fill="none" viewBox="0 0 24 24">
|
|
298
|
+
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="m11.1 19.7001 8.1 -7.8 -8.1 -7.8v4.40002H8.89999c-4.5 0 -8.200001 3.69998 -8.200001 8.19998v2.7c0 0.3 0.2 0.5 0.500001 0.5h0.09999c0.2 0 0.40001 -0.2 0.40001 -0.4 0.2 -2.3 2.1 -4.2001 4.5 -4.2001H11v4.4001h0.1Z" stroke-width="1"></path>
|
|
299
|
+
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="m15.1 19.7001 8.2 -7.8 -8.2 -7.8" stroke-width="1"></path>
|
|
300
|
+
</svg>
|
|
301
|
+
`,embedAvatar:``,phone:`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1L6.6 10.8z"/></svg>`,email:`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="4" width="20" height="16" rx="2"/><path d="m2 7 10 7 10-7"/></svg>`,headerLogo:``}}},Ho={fineGrained:{light:Vo,dark:Bo(Vo,{tokens:{base:{lineColor:`color-mix(in srgb, var(--color-brand-100) 20%, transparent)`},components:{body:{background:`var(--color-grey-900)`,color:`var(--color-grey-100)`,focus:{color:`var(--color-highlight-400)`},custom:{selectionColor:`var(--color-grey-1000)`,selectionBackground:`var(--color-brand-400)`}},avatar:{color:`var(--color-brand-200)`,background:`var(--color-grey-800)`},anchor:{color:`var(--color-brand-300)`,hover:{color:`var(--color-brand-50)`}},btnPrimary:{color:`var(--color-grey-1000)`,background:`var(--color-brand-300)`,hover:{background:`var(--color-brand-100)`}},btnSecondary:{color:`var(--color-brand-100)`,background:`var(--color-brand-900)`,hover:{color:`var(--color-grey-0)`,background:`var(--color-brand-800)`}},btnTertiary:{color:`var(--anchor-color)`,background:`transparent`,borderRadius:`var(--base-border-radius)`,hover:{color:`var(--anchor-hover-color)`}},card:{color:`var(--body-color)`,background:`var(--color-grey-800)`,hover:{color:`var(--color-grey-0)`,background:`var(--color-brand-900)`}},input:{background:`var(--color-grey-900)`,borderColor:`var(--color-grey-700)`,custom:{placeholderColor:`var(--color-grey-400)`}},label:{color:`var(--color-grey-50)`},checkbox:{background:`var(--color-grey-700)`,borderColor:`var(--color-grey-500)`,custom:{checkedColor:`var(--color-grey-900)`,checkedBorderColor:`var(--color-brand-300)`,checkedBackground:`var(--color-brand-300)`}},radio:{background:`var(--color-grey-700)`,borderColor:`var(--color-grey-500)`,custom:{checkedColor:`var(--color-grey-900)`,checkedBorderColor:`var(--color-brand-300)`,checkedBackground:`var(--color-brand-300)`}},contextBox:{custom:{titleColor:`var(--color-grey-50)`}},referenceDescription:{color:`var(--color-grey-300)`,hover:{color:`var(--color-grey-300)`}},chatFooter:{color:`var(--color-grey-500)`},chatInput:{color:`var(--color-grey-100)`},chatInputSubmit:{custom:{deactivatedBackground:`var(--color-grey-400)`,deactivatedBorderColor:`var(--color-grey-400)`}},dialog:{custom:{backgroundOverlay:`rgba(0, 0, 0, 0.5)`}},tooltip:{background:`var(--color-grey-1000)`},searchSummary:{color:`var(--body-color)`,background:`var(--color-grey-800)`,borderColor:`var(--color-grey-700)`,borderWidth:`1px`,borderRadius:`var(--base-border-radius)`,boxShadow:`none`,custom:{padding:`clamp(0.75rem, 0.6364rem + 0.5682cqw, 1rem)`,linkColor:`var(--anchor-color)`,referenceListColor:`var(--anchor-color)`,referenceListFontSize:`1em`,disclaimerLinkColor:`var(--anchor-color)`,errorColor:`var(--message-error-color)`,footerBackground:`var(--search-summary-background)`}},messageJsonLdMap:{custom:{markerColor:`#6658c8`,mapStyleUrl:`https://tiles.openfreemap.org/styles/fiord`}}}}})}},Uo={inherit:`inherit`,current:`currentcolor`,transparent:`transparent`,black:`#000`,white:`#fff`,slate:{50:`oklch(98.4% 0.003 247.858)`,100:`oklch(96.8% 0.007 247.896)`,200:`oklch(92.9% 0.013 255.508)`,300:`oklch(86.9% 0.022 252.894)`,400:`oklch(70.4% 0.04 256.788)`,500:`oklch(55.4% 0.046 257.417)`,600:`oklch(44.6% 0.043 257.281)`,700:`oklch(37.2% 0.044 257.287)`,800:`oklch(27.9% 0.041 260.031)`,900:`oklch(20.8% 0.042 265.755)`,950:`oklch(12.9% 0.042 264.695)`},gray:{50:`oklch(98.5% 0.002 247.839)`,100:`oklch(96.7% 0.003 264.542)`,200:`oklch(92.8% 0.006 264.531)`,300:`oklch(87.2% 0.01 258.338)`,400:`oklch(70.7% 0.022 261.325)`,500:`oklch(55.1% 0.027 264.364)`,600:`oklch(44.6% 0.03 256.802)`,700:`oklch(37.3% 0.034 259.733)`,800:`oklch(27.8% 0.033 256.848)`,900:`oklch(21% 0.034 264.665)`,950:`oklch(13% 0.028 261.692)`},zinc:{50:`oklch(98.5% 0 0)`,100:`oklch(96.7% 0.001 286.375)`,200:`oklch(92% 0.004 286.32)`,300:`oklch(87.1% 0.006 286.286)`,400:`oklch(70.5% 0.015 286.067)`,500:`oklch(55.2% 0.016 285.938)`,600:`oklch(44.2% 0.017 285.786)`,700:`oklch(37% 0.013 285.805)`,800:`oklch(27.4% 0.006 286.033)`,900:`oklch(21% 0.006 285.885)`,950:`oklch(14.1% 0.005 285.823)`},neutral:{50:`oklch(98.5% 0 0)`,100:`oklch(97% 0 0)`,200:`oklch(92.2% 0 0)`,300:`oklch(87% 0 0)`,400:`oklch(70.8% 0 0)`,500:`oklch(55.6% 0 0)`,600:`oklch(43.9% 0 0)`,700:`oklch(37.1% 0 0)`,800:`oklch(26.9% 0 0)`,900:`oklch(20.5% 0 0)`,950:`oklch(14.5% 0 0)`},stone:{50:`oklch(98.5% 0.001 106.423)`,100:`oklch(97% 0.001 106.424)`,200:`oklch(92.3% 0.003 48.717)`,300:`oklch(86.9% 0.005 56.366)`,400:`oklch(70.9% 0.01 56.259)`,500:`oklch(55.3% 0.013 58.071)`,600:`oklch(44.4% 0.011 73.639)`,700:`oklch(37.4% 0.01 67.558)`,800:`oklch(26.8% 0.007 34.298)`,900:`oklch(21.6% 0.006 56.043)`,950:`oklch(14.7% 0.004 49.25)`},mauve:{50:`oklch(98.5% 0 0)`,100:`oklch(96% 0.003 325.6)`,200:`oklch(92.2% 0.005 325.62)`,300:`oklch(86.5% 0.012 325.68)`,400:`oklch(71.1% 0.019 323.02)`,500:`oklch(54.2% 0.034 322.5)`,600:`oklch(43.5% 0.029 321.78)`,700:`oklch(36.4% 0.029 323.89)`,800:`oklch(26.3% 0.024 320.12)`,900:`oklch(21.2% 0.019 322.12)`,950:`oklch(14.5% 0.008 326)`},olive:{50:`oklch(98.8% 0.003 106.5)`,100:`oklch(96.6% 0.005 106.5)`,200:`oklch(93% 0.007 106.5)`,300:`oklch(88% 0.011 106.6)`,400:`oklch(73.7% 0.021 106.9)`,500:`oklch(58% 0.031 107.3)`,600:`oklch(46.6% 0.025 107.3)`,700:`oklch(39.4% 0.023 107.4)`,800:`oklch(28.6% 0.016 107.4)`,900:`oklch(22.8% 0.013 107.4)`,950:`oklch(15.3% 0.006 107.1)`},mist:{50:`oklch(98.7% 0.002 197.1)`,100:`oklch(96.3% 0.002 197.1)`,200:`oklch(92.5% 0.005 214.3)`,300:`oklch(87.2% 0.007 219.6)`,400:`oklch(72.3% 0.014 214.4)`,500:`oklch(56% 0.021 213.5)`,600:`oklch(45% 0.017 213.2)`,700:`oklch(37.8% 0.015 216)`,800:`oklch(27.5% 0.011 216.9)`,900:`oklch(21.8% 0.008 223.9)`,950:`oklch(14.8% 0.004 228.8)`},taupe:{50:`oklch(98.6% 0.002 67.8)`,100:`oklch(96% 0.002 17.2)`,200:`oklch(92.2% 0.005 34.3)`,300:`oklch(86.8% 0.007 39.5)`,400:`oklch(71.4% 0.014 41.2)`,500:`oklch(54.7% 0.021 43.1)`,600:`oklch(43.8% 0.017 39.3)`,700:`oklch(36.7% 0.016 35.7)`,800:`oklch(26.8% 0.011 36.5)`,900:`oklch(21.4% 0.009 43.1)`,950:`oklch(14.7% 0.004 49.3)`},red:{50:`oklch(97.1% 0.013 17.38)`,100:`oklch(93.6% 0.032 17.717)`,200:`oklch(88.5% 0.062 18.334)`,300:`oklch(80.8% 0.114 19.571)`,400:`oklch(70.4% 0.191 22.216)`,500:`oklch(63.7% 0.237 25.331)`,600:`oklch(57.7% 0.245 27.325)`,700:`oklch(50.5% 0.213 27.518)`,800:`oklch(44.4% 0.177 26.899)`,900:`oklch(39.6% 0.141 25.723)`,950:`oklch(25.8% 0.092 26.042)`},orange:{50:`oklch(98% 0.016 73.684)`,100:`oklch(95.4% 0.038 75.164)`,200:`oklch(90.1% 0.076 70.697)`,300:`oklch(83.7% 0.128 66.29)`,400:`oklch(75% 0.183 55.934)`,500:`oklch(70.5% 0.213 47.604)`,600:`oklch(64.6% 0.222 41.116)`,700:`oklch(55.3% 0.195 38.402)`,800:`oklch(47% 0.157 37.304)`,900:`oklch(40.8% 0.123 38.172)`,950:`oklch(26.6% 0.079 36.259)`},amber:{50:`oklch(98.7% 0.022 95.277)`,100:`oklch(96.2% 0.059 95.617)`,200:`oklch(92.4% 0.12 95.746)`,300:`oklch(87.9% 0.169 91.605)`,400:`oklch(82.8% 0.189 84.429)`,500:`oklch(76.9% 0.188 70.08)`,600:`oklch(66.6% 0.179 58.318)`,700:`oklch(55.5% 0.163 48.998)`,800:`oklch(47.3% 0.137 46.201)`,900:`oklch(41.4% 0.112 45.904)`,950:`oklch(27.9% 0.077 45.635)`},yellow:{50:`oklch(98.7% 0.026 102.212)`,100:`oklch(97.3% 0.071 103.193)`,200:`oklch(94.5% 0.129 101.54)`,300:`oklch(90.5% 0.182 98.111)`,400:`oklch(85.2% 0.199 91.936)`,500:`oklch(79.5% 0.184 86.047)`,600:`oklch(68.1% 0.162 75.834)`,700:`oklch(55.4% 0.135 66.442)`,800:`oklch(47.6% 0.114 61.907)`,900:`oklch(42.1% 0.095 57.708)`,950:`oklch(28.6% 0.066 53.813)`},lime:{50:`oklch(98.6% 0.031 120.757)`,100:`oklch(96.7% 0.067 122.328)`,200:`oklch(93.8% 0.127 124.321)`,300:`oklch(89.7% 0.196 126.665)`,400:`oklch(84.1% 0.238 128.85)`,500:`oklch(76.8% 0.233 130.85)`,600:`oklch(64.8% 0.2 131.684)`,700:`oklch(53.2% 0.157 131.589)`,800:`oklch(45.3% 0.124 130.933)`,900:`oklch(40.5% 0.101 131.063)`,950:`oklch(27.4% 0.072 132.109)`},green:{50:`oklch(98.2% 0.018 155.826)`,100:`oklch(96.2% 0.044 156.743)`,200:`oklch(92.5% 0.084 155.995)`,300:`oklch(87.1% 0.15 154.449)`,400:`oklch(79.2% 0.209 151.711)`,500:`oklch(72.3% 0.219 149.579)`,600:`oklch(62.7% 0.194 149.214)`,700:`oklch(52.7% 0.154 150.069)`,800:`oklch(44.8% 0.119 151.328)`,900:`oklch(39.3% 0.095 152.535)`,950:`oklch(26.6% 0.065 152.934)`},emerald:{50:`oklch(97.9% 0.021 166.113)`,100:`oklch(95% 0.052 163.051)`,200:`oklch(90.5% 0.093 164.15)`,300:`oklch(84.5% 0.143 164.978)`,400:`oklch(76.5% 0.177 163.223)`,500:`oklch(69.6% 0.17 162.48)`,600:`oklch(59.6% 0.145 163.225)`,700:`oklch(50.8% 0.118 165.612)`,800:`oklch(43.2% 0.095 166.913)`,900:`oklch(37.8% 0.077 168.94)`,950:`oklch(26.2% 0.051 172.552)`},teal:{50:`oklch(98.4% 0.014 180.72)`,100:`oklch(95.3% 0.051 180.801)`,200:`oklch(91% 0.096 180.426)`,300:`oklch(85.5% 0.138 181.071)`,400:`oklch(77.7% 0.152 181.912)`,500:`oklch(70.4% 0.14 182.503)`,600:`oklch(60% 0.118 184.704)`,700:`oklch(51.1% 0.096 186.391)`,800:`oklch(43.7% 0.078 188.216)`,900:`oklch(38.6% 0.063 188.416)`,950:`oklch(27.7% 0.046 192.524)`},cyan:{50:`oklch(98.4% 0.019 200.873)`,100:`oklch(95.6% 0.045 203.388)`,200:`oklch(91.7% 0.08 205.041)`,300:`oklch(86.5% 0.127 207.078)`,400:`oklch(78.9% 0.154 211.53)`,500:`oklch(71.5% 0.143 215.221)`,600:`oklch(60.9% 0.126 221.723)`,700:`oklch(52% 0.105 223.128)`,800:`oklch(45% 0.085 224.283)`,900:`oklch(39.8% 0.07 227.392)`,950:`oklch(30.2% 0.056 229.695)`},sky:{50:`oklch(97.7% 0.013 236.62)`,100:`oklch(95.1% 0.026 236.824)`,200:`oklch(90.1% 0.058 230.902)`,300:`oklch(82.8% 0.111 230.318)`,400:`oklch(74.6% 0.16 232.661)`,500:`oklch(68.5% 0.169 237.323)`,600:`oklch(58.8% 0.158 241.966)`,700:`oklch(50% 0.134 242.749)`,800:`oklch(44.3% 0.11 240.79)`,900:`oklch(39.1% 0.09 240.876)`,950:`oklch(29.3% 0.066 243.157)`},blue:{50:`oklch(97% 0.014 254.604)`,100:`oklch(93.2% 0.032 255.585)`,200:`oklch(88.2% 0.059 254.128)`,300:`oklch(80.9% 0.105 251.813)`,400:`oklch(70.7% 0.165 254.624)`,500:`oklch(62.3% 0.214 259.815)`,600:`oklch(54.6% 0.245 262.881)`,700:`oklch(48.8% 0.243 264.376)`,800:`oklch(42.4% 0.199 265.638)`,900:`oklch(37.9% 0.146 265.522)`,950:`oklch(28.2% 0.091 267.935)`},indigo:{50:`oklch(96.2% 0.018 272.314)`,100:`oklch(93% 0.034 272.788)`,200:`oklch(87% 0.065 274.039)`,300:`oklch(78.5% 0.115 274.713)`,400:`oklch(67.3% 0.182 276.935)`,500:`oklch(58.5% 0.233 277.117)`,600:`oklch(51.1% 0.262 276.966)`,700:`oklch(45.7% 0.24 277.023)`,800:`oklch(39.8% 0.195 277.366)`,900:`oklch(35.9% 0.144 278.697)`,950:`oklch(25.7% 0.09 281.288)`},violet:{50:`oklch(96.9% 0.016 293.756)`,100:`oklch(94.3% 0.029 294.588)`,200:`oklch(89.4% 0.057 293.283)`,300:`oklch(81.1% 0.111 293.571)`,400:`oklch(70.2% 0.183 293.541)`,500:`oklch(60.6% 0.25 292.717)`,600:`oklch(54.1% 0.281 293.009)`,700:`oklch(49.1% 0.27 292.581)`,800:`oklch(43.2% 0.232 292.759)`,900:`oklch(38% 0.189 293.745)`,950:`oklch(28.3% 0.141 291.089)`},purple:{50:`oklch(97.7% 0.014 308.299)`,100:`oklch(94.6% 0.033 307.174)`,200:`oklch(90.2% 0.063 306.703)`,300:`oklch(82.7% 0.119 306.383)`,400:`oklch(71.4% 0.203 305.504)`,500:`oklch(62.7% 0.265 303.9)`,600:`oklch(55.8% 0.288 302.321)`,700:`oklch(49.6% 0.265 301.924)`,800:`oklch(43.8% 0.218 303.724)`,900:`oklch(38.1% 0.176 304.987)`,950:`oklch(29.1% 0.149 302.717)`},fuchsia:{50:`oklch(97.7% 0.017 320.058)`,100:`oklch(95.2% 0.037 318.852)`,200:`oklch(90.3% 0.076 319.62)`,300:`oklch(83.3% 0.145 321.434)`,400:`oklch(74% 0.238 322.16)`,500:`oklch(66.7% 0.295 322.15)`,600:`oklch(59.1% 0.293 322.896)`,700:`oklch(51.8% 0.253 323.949)`,800:`oklch(45.2% 0.211 324.591)`,900:`oklch(40.1% 0.17 325.612)`,950:`oklch(29.3% 0.136 325.661)`},pink:{50:`oklch(97.1% 0.014 343.198)`,100:`oklch(94.8% 0.028 342.258)`,200:`oklch(89.9% 0.061 343.231)`,300:`oklch(82.3% 0.12 346.018)`,400:`oklch(71.8% 0.202 349.761)`,500:`oklch(65.6% 0.241 354.308)`,600:`oklch(59.2% 0.249 0.584)`,700:`oklch(52.5% 0.223 3.958)`,800:`oklch(45.9% 0.187 3.815)`,900:`oklch(40.8% 0.153 2.432)`,950:`oklch(28.4% 0.109 3.907)`},rose:{50:`oklch(96.9% 0.015 12.422)`,100:`oklch(94.1% 0.03 12.58)`,200:`oklch(89.2% 0.058 10.001)`,300:`oklch(81% 0.117 11.638)`,400:`oklch(71.2% 0.194 13.428)`,500:`oklch(64.5% 0.246 16.439)`,600:`oklch(58.6% 0.253 17.585)`,700:`oklch(51.4% 0.222 16.935)`,800:`oklch(45.5% 0.188 13.697)`,900:`oklch(41% 0.159 10.272)`,950:`oklch(27.1% 0.105 12.094)`}},Wo=e=>typeof e==`string`?Uo[e]:e,Go=e=>{let t=Wo(e?.colors?.brand||Uo.gray),n=Wo(e?.colors?.highlight||t),r={0:`#ffffff`,1e3:`#000000`,...Wo(e?.colors?.grey||Uo.gray)},i;return i=e.avatarImageUrl?`<img src="${e.avatarImageUrl}" alt="Avatar" style="width: 100%; height: 100%; object-fit: cover; border-radius: 50%; aspect-ratio: 1 / 1; display: block; filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.1));" />`:Ho.fineGrained.light.tokens.svgs.avatar,{fontURLs:e.font?.urls,tokens:{font:{family:e.font?.family},colors:{brand:t,highlight:n,grey:r},base:{fontSizeXs:e.font?.sizeXs,fontSizeSm:e.font?.sizeSm,fontSizeBody:e.font?.sizeBody,fontSizeH3:e.font?.sizeH3,fontSizeH2:e.font?.sizeH2,fontSizeH1:e.font?.sizeH1,fontWeightNormal:e.font?.weightBold,fontWeightBold:e.font?.weightNormal,fontWeightTitle:e.font?.weightTitle,borderRadius:e.borderRadius},components:{body:{background:e.colors?.background,color:e.colors?.text},anchor:{color:e.colors?.anchor?.default,hover:{color:e.colors?.anchor?.hover}}},svgs:{avatar:i}}}},Ko=e=>{let t=Go(e);return{light:Bo(Ho.fineGrained.light,t)}},qo=e=>{let t={};return e.dark&&(t.dark=Bo(Ho.fineGrained.dark,e.dark)),e.light&&(t.light=Bo(Ho.fineGrained.light,e.light)),!e.dark&&!e.light&&(t.light=e.light),t},Jo=(e,t)=>{let n={};for(let r of xo){let i=t[r],a=e?.[r]??{};n[r]=i?(0,Lo.default)(i,a):a}return n},Yo=e=>({init:e?.init??[],bot:{before:e?.bot?.before??[],after:e?.bot?.after??[]},user:{before:e?.user?.before??[],after:e?.user?.after??[]}}),Xo=(e,t)=>{let n;n=e.theme?.fineGrained?qo(e.theme?.fineGrained):Ko(e?.theme??{});let r=Jo(e?.translations,t),i={...e,forcePredefinedQuestions:e.forcePredefinedQuestions??!1,forceChatPage:e.forceChatPage??!1,showOverallFeedbackButton:e.showOverallFeedbackButton??!1,showOverallFeedbackEmail:e.showOverallFeedbackEmail??!0,showCloseChatButton:e.showCloseChatButton??!1,showContextInfo:e.showContextInfo??!1,showContextMenu:e.showContextMenu??!1,showReferencesByDefault:e.showReferencesByDefault??!1,referencesLayout:e.referencesLayout??`aside`,showTextFeedback:e.showTextFeedback??!0,showExpandedSelectors:e.showExpandedSelectors??!1,inlineLayout:e.inlineLayout??!1,questionPrefix:e.questionPrefix??``,blockPII:e.blockPII??!1,allowAudioInput:e.allowAudioInput??!1,supportedLanguages:e.supportedLanguages??Object.keys(r),fullTheme:n,translations:r,buttonHref:e.buttonHref,addQueryToUrlParams:e.addQueryToUrlParams??!0,addRetrievalQuestionToUrlParams:e.addRetrievalQuestionToUrlParams??!1,renderKatex:e.renderKatex??!1,sendReferrer:e.sendReferrer??`all`,selectorsConfig:e.selectorsConfig??[],questionLengthLimit:e.questionLengthLimit??600,forceConsent:e.forceConsent??!1,askQuestionAgain:e.askQuestionAgain??!1,enableBackdrop:e.enableBackdrop??!1,parentPageContext:e.parentPageContext??{},messageAdditions:Yo(e.messageAdditions??{}),contextVersion:e.contextVersion??0};return e.classification&&(i.classification=e.classification),e.menu&&(i.menu=e.menu),e.answerForm&&(i.answerForm=e.answerForm),i},Zo={de:()=>import(`./de-CFZ6ZknZ.js`),en:()=>import(`./en-sKi7mJoR.js`),fr:()=>import(`./fr-DQD-_4bG.js`),it:()=>import(`./it-DDb48nfd.js`)},Qo=async(e=[])=>{let t=e.length>0?[...new Set(e)]:[...xo],n=await Promise.all(t.map(async e=>[e,(await Zo[e]())[e]]));return Object.fromEntries(n)};export{Si as $,Ba as A,I as At,ca as B,_t as Bt,Ya as C,Fn as Ct,za as D,Tn as Dt,Ga as E,Dn as Et,ga as F,Gt as Ft,Vi as G,ot as Gt,Qi as H,pt as Ht,pa as I,jt as It,Li as J,Xe as Jt,Bi as K,it as Kt,fa as L,ht as Lt,Ta as M,F as Mt,Ca as N,nn as Nt,Ua as O,L as Ot,_a as P,en as Pt,ki as Q,c as Qt,da as R,ft as Rt,Za as S,An as St,ja as T,Ln as Tt,Zi as U,ut as Ut,$i as V,gt as Vt,Gi as W,ct as Wt,ji as X,ae as Xt,Ni as Y,Ye as Yt,Ai as Z,o as Zt,co as _,tr as _t,Fo as a,ii as at,io as b,er as bt,Mo as c,Xr as ct,ko as d,qr as dt,xi as et,To as f,Q as ft,fo as g,rr as gt,vo as h,Or as ht,Io as i,ni as it,Oa as j,dn as jt,Va as k,xn as kt,Co as l,Yr as lt,xo as m,Br as mt,Xo as n,si as nt,Po as o,ci as ot,Oo as p,Lr as pt,Ri as q,Ze as qt,Ho as r,oi as rt,No as s,ai as st,Qo as t,Di as tt,Do as u,Jr as ut,uo as v,or as vt,Aa as w,In as wt,no as x,Un as xt,ao as y,Qn as yt,ua as z,mt as zt};
|
package/configurator/_app/env.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const env={"PUBLIC_API_URL":"https://liipgpt.dev.cluster.liipgpt.ch/liipgpt","PUBLIC_CI_COMMIT_TAG":"3.
|
|
1
|
+
export const env={"PUBLIC_API_URL":"https://liipgpt.dev.cluster.liipgpt.ch/liipgpt","PUBLIC_CI_COMMIT_TAG":"3.14.0-rc.2"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{J as e,L as t,Lt as n,M as r,Mt as i,Rt as a,Y as o,g as s,i as c,k as l,kt as u,m as d,o as f,ot as p,s as m,xt as h}from"./DK3lEKRX.js";function g(c,g){a(g,!0);let _=f(g,`href`,7),v=f(g,`target`,7),y=f(g,`onclick`,7),b=f(g,`className`,23,()=>[]),x=f(g,`isStandalone`,7,!1),S=f(g,`children`,7),C=f(g,`type`,7,`button`),w=f(g,`use`,7),T=f(g,`class`,7),E=m(g,[`$$slots`,`$$events`,`$$legacy`,`$$host`,`href`,`target`,`onclick`,`className`,`isStandalone`,`children`,`type`,`use`,`class`]),D=u(()=>_()?`a`:`button`),O=u(()=>[...Array.isArray(b())?b():b()?[b()]:[],...T()?[T()]:[]]),k=()=>({}),A=u(()=>w()??k);var j={get href(){return _()},set href(e){_(e),i()},get target(){return v()},set target(e){v(e),i()},get onclick(){return y()},set onclick(e){y(e),i()},get className(){return b()},set className(e=[]){b(e),i()},get isStandalone(){return x()},set isStandalone(e=!1){x(e),i()},get children(){return S()},set children(e){S(e),i()},get type(){return C()},set type(e=`button`){C(e),i()},get use(){return w()},set use(e){w(e),i()},get class(){return T()},set class(e){T(e),i()}},M=o();return r(h(M),()=>p(D),!1,(n,r)=>{l(n,e=>p(A)?.(e)),s(n,()=>({...E,onclick:_()?void 0:y(),type:_()?void 0:C(),href:_(),role:_()?`link`:`button`,target:_()?v():void 0,class:p(O),[d]:{"open-button--standalone":x()}}));var i=o();t(h(i),S),e(r,i)}),e(c,M),n(j)}c(g,{href:{},target:{},onclick:{},className:{},isStandalone:{},children:{},type:{},use:{},class:{}},[],[],{mode:`open`});export{g as t};
|