@botfabrik/engine-webclient 4.100.11 → 4.100.12

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.
@@ -13,7 +13,7 @@
13
13
  <meta name="theme-color" content="#000000" />
14
14
  <meta name="google" content="notranslate" />
15
15
  <title>Bubble Chat Client</title>
16
- <script type="module" crossorigin src="./assets/index-K5KL_jw_.js"></script>
16
+ <script type="module" crossorigin src="./assets/index-53p4uF3W.js"></script>
17
17
  <link rel="stylesheet" crossorigin href="./assets/index-CkmOVxaG.css">
18
18
  </head>
19
19
 
@@ -1,5 +1,5 @@
1
- (function(){"use strict";const wt=!1;var gt=Array.isArray,wn=Array.prototype.indexOf,gn=Array.from,Be=Object.defineProperty,ae=Object.getOwnPropertyDescriptor,bn=Object.getOwnPropertyDescriptors,mn=Object.prototype,yn=Array.prototype,bt=Object.getPrototypeOf,mt=Object.isExtensible;function En(e){for(var t=0;t<e.length;t++)e[t]()}function yt(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const m=2,He=4,Ye=8,$=16,q=32,ee=64,Ee=128,E=1024,T=2048,V=4096,j=8192,W=16384,Ge=32768,ke=65536,Et=1<<17,kt=1<<18,le=1<<19,kn=1<<20,D=256,xe=512,Se=32768,Ke=1<<21,Ve=1<<22,te=1<<23,Te=Symbol("$state"),xn=Symbol("legacy props"),Sn=Symbol(""),fe=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"};function Tn(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function On(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Cn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function An(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Rn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function In(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Dn(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function Pn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Nn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Ln(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Mn(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}const Fn=1,Un=4,jn=8,zn=16,qn=1,Wn=2,y=Symbol(),Bn="http://www.w3.org/1999/xhtml";function Hn(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}function xt(e){return e===this.v}function Yn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Gn(e){return!Yn(e,this.v)}let Kn=!1,A=null;function ue(e){A=e}function Oe(e,t=!1,n){A={p:A,c:null,e:null,s:e,x:null,l:null}}function Ce(e){var t=A,n=t.e;if(n!==null){t.e=null;for(var r of n)jt(r)}return A=t.p,{}}function St(){return!0}let ce=[];function Vn(){var e=ce;ce=[],En(e)}function Ze(e){if(ce.length===0){var t=ce;queueMicrotask(()=>{t===ce&&Vn()})}ce.push(e)}const Zn=new WeakMap;function Tt(e){var t=_;if(t===null)return v.f|=te,e;if((t.f&Ge)===0){if((t.f&Ee)===0)throw!t.parent&&e instanceof Error&&Ot(e),e;t.b.error(e)}else de(e,t)}function de(e,t){for(;t!==null;){if((t.f&Ee)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e instanceof Error&&Ot(e),e}function Ot(e){const t=Zn.get(e);t&&(Be(e,"message",{value:t.message}),Be(e,"stack",{value:t.stack}))}const Ae=new Set;let b=null,L=null,Je=new Set,Z=[],Qe=null,Xe=!1;class B{committed=!1;current=new Map;#t=new Map;#e=new Set;#s=0;#n=0;#l=null;#a=[];#o=[];skipped_effects=new Set;process(t){Z=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of t)this.#r(r,n);this.#f(),this.#n>0?(this.#i(n.effects),this.#i(n.render_effects),this.#i(n.block_effects)):(b=null,Ct(n.render_effects),Ct(n.effects)),L=null}#r(t,n){t.f^=E;for(var r=t.first;r!==null;){var i=r.f,o=(i&(q|ee))!==0,s=o&&(i&E)!==0,a=s||(i&j)!==0||this.skipped_effects.has(r);if((r.f&Ee)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!a&&r.fn!==null){o?r.f^=E:(i&He)!==0?n.effects.push(r):Le(r)&&((r.f&$)!==0&&n.block_effects.push(r),Fe(r));var l=r.first;if(l!==null){r=l;continue}}var f=r.parent;for(r=r.next;r===null&&f!==null;)f===n.effect&&(this.#i(n.effects),this.#i(n.render_effects),this.#i(n.block_effects),n=n.parent),r=f.next,f=f.parent}}#i(t){for(const n of t)((n.f&T)!==0?this.#a:this.#o).push(n),S(n,E)}capture(t,n){this.#t.has(t)||this.#t.set(t,n),this.current.set(t,t.v),L?.set(t,t.v)}activate(){b=this}deactivate(){b=null,L=null}flush(){if(Z.length>0){if(this.activate(),Jn(),b!==null&&b!==this)return}else this.#f();this.deactivate();for(const t of Je)if(Je.delete(t),t(),b!==null)break}#f(){if(this.#n===0){for(const t of this.#e)t();this.#e.clear()}this.#s===0&&this.#u()}#u(){if(Ae.size>1){this.#t.clear();var t=L,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const i of Ae){if(i===this){n=!1;continue}const o=[];for(const[a,l]of this.current){if(i.current.has(a))if(n&&l!==i.current.get(a))i.current.set(a,l);else continue;o.push(a)}if(o.length===0)continue;const s=[...i.current.keys()].filter(a=>!this.current.has(a));if(s.length>0){const a=new Set,l=new Map;for(const f of o)At(f,s,a,l);if(Z.length>0){b=i,i.apply();for(const f of Z)i.#r(f,r);Z=[],i.deactivate()}}}b=null,L=t}this.committed=!0,Ae.delete(this),this.#l?.resolve()}increment(t){this.#s+=1,t&&(this.#n+=1)}decrement(t){this.#s-=1,t&&(this.#n-=1);for(const n of this.#a)S(n,T),ne(n);for(const n of this.#o)S(n,V),ne(n);this.#a=[],this.#o=[],this.flush()}add_callback(t){this.#e.add(t)}settled(){return(this.#l??=yt()).promise}static ensure(){if(b===null){const t=b=new B;Ae.add(b),B.enqueue(()=>{b===t&&t.flush()})}return b}static enqueue(t){Ze(t)}apply(){}}function Jn(){var e=he;Xe=!0;try{var t=0;for(Gt(!0);Z.length>0;){var n=B.ensure();if(t++>1e3){var r,i;Qn()}n.process(Z),J.clear()}}finally{Xe=!1,Gt(e),Qe=null}}function Qn(){try{In()}catch(e){de(e,Qe)}}let H=null;function Ct(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(W|j))===0&&Le(r)&&(H=new Set,Fe(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?Wt(r):r.fn=null),H?.size>0)){J.clear();for(const i of H){if((i.f&(W|j))!==0)continue;const o=[i];let s=i.parent;for(;s!==null;)H.has(s)&&(H.delete(s),o.push(s)),s=s.parent;for(let a=o.length-1;a>=0;a--){const l=o[a];(l.f&(W|j))===0&&Fe(l)}}H.clear()}}H=null}}function At(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const i of e.reactions){const o=i.f;(o&m)!==0?At(i,t,n,r):(o&(Ve|$))!==0&&(o&T)===0&&Rt(i,t,r)&&(S(i,T),ne(i))}}function Rt(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const i of e.deps){if(t.includes(i))return!0;if((i.f&m)!==0&&Rt(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function ne(e){for(var t=Qe=e;t.parent!==null;){t=t.parent;var n=t.f;if(Xe&&t===_&&(n&$)!==0)return;if((n&(ee|q))!==0){if((n&E)===0)return;t.f^=E}}Z.push(t)}function Xn(e){let t=0,n=Re(0),r;return()=>{hr()&&(x(n),br(()=>(t===0&&(r=it(()=>e(()=>we(n)))),t+=1,()=>{Ze(()=>{t-=1,t===0&&(r?.(),r=void 0,we(n))})})))}}var $n=ke|le|Ee;function er(e,t,n){new tr(e,t,n)}class tr{parent;#t=!1;#e;#s=null;#n;#l;#a;#o=null;#r=null;#i=null;#f=null;#u=0;#c=0;#h=!1;#d=null;#w=()=>{this.#d&&Ie(this.#d,this.#u)};#g=Xn(()=>(this.#d=Re(this.#u),()=>{this.#d=null}));constructor(t,n,r){this.#e=t,this.#n=n,this.#l=r,this.parent=_.b,this.#t=!!this.#n.pending,this.#a=rt(()=>{_.b=this;{try{this.#o=G(()=>r(this.#e))}catch(i){this.error(i)}this.#c>0?this.#_():this.#t=!1}},$n)}#b(){try{this.#o=G(()=>this.#l(this.#e))}catch(t){this.error(t)}this.#t=!1}#m(){const t=this.#n.pending;t&&(this.#r=G(()=>t(this.#e)),B.enqueue(()=>{this.#o=this.#v(()=>(B.ensure(),G(()=>this.#l(this.#e)))),this.#c>0?this.#_():(be(this.#r,()=>{this.#r=null}),this.#t=!1)}))}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#n.pending}#v(t){var n=_,r=v,i=A;z(this.#a),O(this.#a),ue(this.#a.ctx);try{return t()}catch(o){return Tt(o),null}finally{z(n),O(r),ue(i)}}#_(){const t=this.#n.pending;this.#o!==null&&(this.#f=document.createDocumentFragment(),Yt(this.#o,this.#f)),this.#r===null&&(this.#r=G(()=>t(this.#e)))}#p(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#p(t);return}this.#c+=t,this.#c===0&&(this.#t=!1,this.#r&&be(this.#r,()=>{this.#r=null}),this.#f&&(this.#e.before(this.#f),this.#f=null))}update_pending_count(t){this.#p(t),this.#u+=t,Je.add(this.#w)}get_effect_pending(){return this.#g(),x(this.#d)}error(t){var n=this.#n.onerror;let r=this.#n.failed;if(this.#h||!n&&!r)throw t;this.#o&&(P(this.#o),this.#o=null),this.#r&&(P(this.#r),this.#r=null),this.#i&&(P(this.#i),this.#i=null);var i=!1,o=!1;const s=()=>{if(i){Hn();return}i=!0,o&&Mn(),B.ensure(),this.#u=0,this.#i!==null&&be(this.#i,()=>{this.#i=null}),this.#t=this.has_pending_snippet(),this.#o=this.#v(()=>(this.#h=!1,G(()=>this.#l(this.#e)))),this.#c>0?this.#_():this.#t=!1};var a=v;try{O(null),o=!0,n?.(t,s),o=!1}catch(l){de(l,this.#a&&this.#a.parent)}finally{O(a)}r&&Ze(()=>{this.#i=this.#v(()=>{this.#h=!0;try{return G(()=>{r(this.#e,()=>t,()=>s)})}catch(l){return de(l,this.#a.parent),null}finally{this.#h=!1}})})}}function nr(e,t,n){const r=et;if(t.length===0){n(e.map(r));return}var i=b,o=_,s=rr();Promise.all(t.map(a=>ir(a))).then(a=>{s();try{n([...e.map(r),...a])}catch(l){(o.f&W)===0&&de(l,o)}i?.deactivate(),$e()}).catch(a=>{de(a,o)})}function rr(){var e=_,t=v,n=A,r=b;return function(){z(e),O(t),ue(n),r?.activate()}}function $e(){z(null),O(null),ue(null)}function et(e){var t=m|T,n=v!==null&&(v.f&m)!==0?v:null;return _===null||n!==null&&(n.f&D)!==0?t|=D:_.f|=le,{ctx:A,deps:null,effects:null,equals:xt,f:t,fn:e,reactions:null,rv:0,v:y,wv:0,parent:n??_,ac:null}}function ir(e,t){let n=_;n===null&&On();var r=n.b,i=void 0,o=Re(y),s=!v,a=new Map;return gr(()=>{var l=yt();i=l.promise;try{Promise.resolve(e()).then(l.resolve,l.reject).then(()=>{f===b&&f.committed&&f.deactivate(),$e()})}catch(h){l.reject(h),$e()}var f=b;if(s){var u=!r.is_pending();r.update_pending_count(1),f.increment(u),a.get(f)?.reject(fe),a.delete(f),a.set(f,l)}const c=(h,d=void 0)=>{if(f.activate(),d)d!==fe&&(o.f|=te,Ie(o,d));else{(o.f&te)!==0&&(o.f^=te),Ie(o,h);for(const[p,g]of a){if(a.delete(p),p===f)break;g.reject(fe)}}s&&(r.update_pending_count(-1),f.decrement(u))};l.promise.then(c,h=>c(null,h||"unknown"))}),vr(()=>{for(const l of a.values())l.reject(fe)}),new Promise(l=>{function f(u){function c(){u===i?l(o):f(i)}u.then(c,c)}f(i)})}function sr(e){const t=et(e);return t.equals=Gn,t}function It(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)P(t[n])}}function or(e){for(var t=e.parent;t!==null;){if((t.f&m)===0)return t;t=t.parent}return null}function tt(e){var t,n=_;z(or(e));try{e.f&=~Se,It(e),t=Xt(e)}finally{z(n)}return t}function Dt(e){var t=tt(e);if(e.equals(t)||(e.v=t,e.wv=Jt()),!ie)if(L!==null)L.set(e,e.v);else{var n=(Q||(e.f&D)!==0)&&e.deps!==null?V:E;S(e,n)}}const J=new Map;function Re(e,t){var n={f:0,v:e,reactions:null,equals:xt,rv:0,wv:0};return n}function M(e,t){const n=Re(e);return xr(n),n}function F(e,t,n=!1){v!==null&&(!U||(v.f&Et)!==0)&&St()&&(v.f&(m|$|Ve|Et))!==0&&!K?.includes(e)&&Ln();let r=n?re(t):t;return Ie(e,r)}function Ie(e,t){if(!e.equals(t)){var n=e.v;ie?J.set(e,t):J.set(e,n),e.v=t;var r=B.ensure();r.capture(e,n),(e.f&m)!==0&&((e.f&T)!==0&&tt(e),S(e,(e.f&D)===0?E:V)),e.wv=Jt(),Pt(e,T),_!==null&&(_.f&E)!==0&&(_.f&(q|ee))===0&&(N===null?Sr([e]):N.push(e))}return t}function we(e){F(e,e.v+1)}function Pt(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,i=0;i<r;i++){var o=n[i],s=o.f,a=(s&T)===0;a&&S(o,t),(s&m)!==0?(s&Se)===0&&(o.f|=Se,Pt(o,V)):a&&((s&$)!==0&&H!==null&&H.add(o),ne(o))}}function re(e){if(typeof e!="object"||e===null||Te in e)return e;const t=bt(e);if(t!==mn&&t!==yn)return e;var n=new Map,r=gt(e),i=M(0),o=se,s=a=>{if(se===o)return a();var l=v,f=se;O(null),Zt(o);var u=a();return O(l),Zt(f),u};return r&&n.set("length",M(e.length)),new Proxy(e,{defineProperty(a,l,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&Pn();var u=n.get(l);return u===void 0?u=s(()=>{var c=M(f.value);return n.set(l,c),c}):F(u,f.value,!0),!0},deleteProperty(a,l){var f=n.get(l);if(f===void 0){if(l in a){const u=s(()=>M(y));n.set(l,u),we(i)}}else F(f,y),we(i);return!0},get(a,l,f){if(l===Te)return e;var u=n.get(l),c=l in a;if(u===void 0&&(!c||ae(a,l)?.writable)&&(u=s(()=>{var d=re(c?a[l]:y),p=M(d);return p}),n.set(l,u)),u!==void 0){var h=x(u);return h===y?void 0:h}return Reflect.get(a,l,f)},getOwnPropertyDescriptor(a,l){var f=Reflect.getOwnPropertyDescriptor(a,l);if(f&&"value"in f){var u=n.get(l);u&&(f.value=x(u))}else if(f===void 0){var c=n.get(l),h=c?.v;if(c!==void 0&&h!==y)return{enumerable:!0,configurable:!0,value:h,writable:!0}}return f},has(a,l){if(l===Te)return!0;var f=n.get(l),u=f!==void 0&&f.v!==y||Reflect.has(a,l);if(f!==void 0||_!==null&&(!u||ae(a,l)?.writable)){f===void 0&&(f=s(()=>{var h=u?re(a[l]):y,d=M(h);return d}),n.set(l,f));var c=x(f);if(c===y)return!1}return u},set(a,l,f,u){var c=n.get(l),h=l in a;if(r&&l==="length")for(var d=f;d<c.v;d+=1){var p=n.get(d+"");p!==void 0?F(p,y):d in a&&(p=s(()=>M(y)),n.set(d+"",p))}if(c===void 0)(!h||ae(a,l)?.writable)&&(c=s(()=>M(void 0)),F(c,re(f)),n.set(l,c));else{h=c.v!==y;var g=s(()=>re(f));F(c,g)}var I=Reflect.getOwnPropertyDescriptor(a,l);if(I?.set&&I.set.call(u,f),!h){if(r&&typeof l=="string"){var X=n.get("length"),w=Number(l);Number.isInteger(w)&&w>=X.v&&F(X,w+1)}we(i)}return!0},ownKeys(a){x(i);var l=Reflect.ownKeys(a).filter(c=>{var h=n.get(c);return h===void 0||h.v!==y});for(var[f,u]of n)u.v!==y&&!(f in a)&&l.push(f);return l},setPrototypeOf(){Nn()}})}var Nt,Lt,Mt,Ft;function ar(){if(Nt===void 0){Nt=window,Lt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Mt=ae(t,"firstChild").get,Ft=ae(t,"nextSibling").get,mt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),mt(n)&&(n.__t=void 0)}}function ge(e=""){return document.createTextNode(e)}function De(e){return Mt.call(e)}function Pe(e){return Ft.call(e)}function nt(e,t){return De(e)}function lr(e,t=!1){{var n=De(e);return n instanceof Comment&&n.data===""?Pe(n):n}}function fr(e,t=1,n=!1){let r=e;for(;t--;)r=Pe(r);return r}function ur(){return!1}function Ut(e){var t=v,n=_;O(null),z(null);try{return e()}finally{O(t),z(n)}}function cr(e){_===null&&v===null&&Rn(),v!==null&&(v.f&D)!==0&&_===null&&An(),ie&&Cn()}function dr(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function Y(e,t,n,r=!0){var i=_;i!==null&&(i.f&j)!==0&&(e|=j);var o={ctx:A,deps:null,nodes_start:null,nodes_end:null,f:e|T,first:null,fn:t,last:null,next:null,parent:i,b:i&&i.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{Fe(o),o.f|=Ge}catch(l){throw P(o),l}else t!==null&&ne(o);if(r){var s=o;if(n&&s.deps===null&&s.teardown===null&&s.nodes_start===null&&s.first===s.last&&(s.f&le)===0&&(s=s.first),s!==null&&(s.parent=i,i!==null&&dr(s,i),v!==null&&(v.f&m)!==0&&(e&ee)===0)){var a=v;(a.effects??=[]).push(s)}}return o}function hr(){return v!==null&&!U}function vr(e){const t=Y(Ye,null,!1);return S(t,E),t.teardown=e,t}function _r(e){cr();var t=_.f,n=!v&&(t&q)!==0&&(t&Ge)===0;if(n){var r=A;(r.e??=[]).push(e)}else return jt(e)}function jt(e){return Y(He|kn,e,!1)}function pr(e){B.ensure();const t=Y(ee|le,e,!0);return(n={})=>new Promise(r=>{n.outro?be(t,()=>{P(t),r(void 0)}):(P(t),r(void 0))})}function wr(e){return Y(He,e,!1)}function gr(e){return Y(Ve|le,e,!0)}function br(e,t=0){return Y(Ye|t,e,!0)}function Ne(e,t=[],n=[]){nr(t,n,r=>{Y(Ye,()=>e(...r.map(x)),!0)})}function rt(e,t=0){var n=Y($|t,e,!0);return n}function G(e,t=!0){return Y(q|le,e,!0,t)}function zt(e){var t=e.teardown;if(t!==null){const n=ie,r=v;Kt(!0),O(null);try{t.call(null)}finally{Kt(n),O(r)}}}function qt(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&Ut(()=>{i.abort(fe)});var r=n.next;(n.f&ee)!==0?n.parent=null:P(n,t),n=r}}function mr(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&q)===0&&P(t),t=n}}function P(e,t=!0){var n=!1;(t||(e.f&kt)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(yr(e.nodes_start,e.nodes_end),n=!0),qt(e,t&&!n),Me(e,0),S(e,W);var r=e.transitions;if(r!==null)for(const o of r)o.stop();zt(e);var i=e.parent;i!==null&&i.first!==null&&Wt(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function yr(e,t){for(;e!==null;){var n=e===t?null:Pe(e);e.remove(),e=n}}function Wt(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 be(e,t,n=!0){var r=[];Bt(e,r,!0),Er(r,()=>{n&&P(e),t&&t()})}function Er(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}function Bt(e,t,n){if((e.f&j)===0){if(e.f^=j,e.transitions!==null)for(const s of e.transitions)(s.is_global||n)&&t.push(s);for(var r=e.first;r!==null;){var i=r.next,o=(r.f&ke)!==0||(r.f&q)!==0;Bt(r,t,o?n:!1),r=i}}}function kr(e){Ht(e,!0)}function Ht(e,t){if((e.f&j)!==0){e.f^=j,(e.f&E)===0&&(S(e,T),ne(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&ke)!==0||(n.f&q)!==0;Ht(n,i?t:!1),n=r}if(e.transitions!==null)for(const o of e.transitions)(o.is_global||t)&&o.in()}}function Yt(e,t){for(var n=e.nodes_start,r=e.nodes_end;n!==null;){var i=n===r?null:Pe(n);t.append(n),n=i}}let he=!1;function Gt(e){he=e}let ie=!1;function Kt(e){ie=e}let v=null,U=!1;function O(e){v=e}let _=null;function z(e){_=e}let K=null;function xr(e){v!==null&&(K===null?K=[e]:K.push(e))}let k=null,R=0,N=null;function Sr(e){N=e}let Vt=1,me=0,se=me;function Zt(e){se=e}let Q=!1;function Jt(){return++Vt}function Le(e){var t=e.f;if((t&T)!==0)return!0;if((t&V)!==0){var n=e.deps,r=(t&D)!==0;if(t&m&&(e.f&=~Se),n!==null){var i,o,s=(t&xe)!==0,a=r&&_!==null&&!Q,l=n.length;if((s||a)&&(_===null||(_.f&W)===0)){var f=e,u=f.parent;for(i=0;i<l;i++)o=n[i],(s||!o?.reactions?.includes(f))&&(o.reactions??=[]).push(f);s&&(f.f^=xe),a&&u!==null&&(u.f&D)===0&&(f.f^=D)}for(i=0;i<l;i++)if(o=n[i],Le(o)&&Dt(o),o.wv>e.wv)return!0}(!r||_!==null&&!Q)&&S(e,E)}return!1}function Qt(e,t,n=!0){var r=e.reactions;if(r!==null&&!K?.includes(e))for(var i=0;i<r.length;i++){var o=r[i];(o.f&m)!==0?Qt(o,t,!1):t===o&&(n?S(o,T):(o.f&E)!==0&&S(o,V),ne(o))}}function Xt(e){var t=k,n=R,r=N,i=v,o=Q,s=K,a=A,l=U,f=se,u=e.f;k=null,R=0,N=null,Q=(u&D)!==0&&(U||!he||v===null),v=(u&(q|ee))===0?e:null,K=null,ue(e.ctx),U=!1,se=++me,e.ac!==null&&(Ut(()=>{e.ac.abort(fe)}),e.ac=null);try{e.f|=Ke;var c=e.fn,h=c(),d=e.deps;if(k!==null){var p;if(Me(e,R),d!==null&&R>0)for(d.length=R+k.length,p=0;p<k.length;p++)d[R+p]=k[p];else e.deps=d=k;if(!Q||(u&m)!==0&&e.reactions!==null)for(p=R;p<d.length;p++)(d[p].reactions??=[]).push(e)}else d!==null&&R<d.length&&(Me(e,R),d.length=R);if(St()&&N!==null&&!U&&d!==null&&(e.f&(m|V|T))===0)for(p=0;p<N.length;p++)Qt(N[p],e);return i!==null&&i!==e&&(me++,N!==null&&(r===null?r=N:r.push(...N))),(e.f&te)!==0&&(e.f^=te),h}catch(g){return Tt(g)}finally{e.f^=Ke,k=t,R=n,N=r,v=i,Q=o,K=s,ue(a),U=l,se=f}}function Tr(e,t){let n=t.reactions;if(n!==null){var r=wn.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}n===null&&(t.f&m)!==0&&(k===null||!k.includes(t))&&(S(t,V),(t.f&(D|xe))===0&&(t.f^=xe),It(t),Me(t,0))}function Me(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Tr(e,n[r])}function Fe(e){var t=e.f;if((t&W)===0){S(e,E);var n=_,r=he;_=e,he=!0;try{(t&$)!==0?mr(e):qt(e),zt(e);var i=Xt(e);e.teardown=typeof i=="function"?i:null,e.wv=Vt;var o;wt&&Kn&&(e.f&T)!==0&&e.deps}finally{he=r,_=n}}}function x(e){var t=e.f,n=(t&m)!==0;if(v!==null&&!U){var r=_!==null&&(_.f&W)!==0;if(!r&&!K?.includes(e)){var i=v.deps;if((v.f&Ke)!==0)e.rv<me&&(e.rv=me,k===null&&i!==null&&i[R]===e?R++:k===null?k=[e]:(!Q||!k.includes(e))&&k.push(e));else{(v.deps??=[]).push(e);var o=e.reactions;o===null?e.reactions=[v]:o.includes(v)||o.push(v)}}}else if(n&&e.deps===null&&e.effects===null){var s=e,a=s.parent;a!==null&&(a.f&D)===0&&(s.f^=D)}if(ie){if(J.has(e))return J.get(e);if(n){s=e;var l=s.v;return((s.f&E)===0&&s.reactions!==null||$t(s))&&(l=tt(s)),J.set(s,l),l}}else if(n){if(s=e,L?.has(s))return L.get(s);Le(s)&&Dt(s)}if(L?.has(e))return L.get(e);if((e.f&te)!==0)throw e.v;return e.v}function $t(e){if(e.v===y)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(J.has(t)||(t.f&m)!==0&&$t(t))return!0;return!1}function it(e){var t=U;try{return U=!0,e()}finally{U=t}}const Or=-7169;function S(e,t){e.f=e.f&Or|t}const Cr=["touchstart","touchmove"];function Ar(e){return Cr.includes(e)}const en=new Set,st=new Set;function Rr(e){for(var t=0;t<e.length;t++)en.add(e[t]);for(var n of st)n(e)}let tn=null;function Ue(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],o=i[0]||e.target;tn=e;var s=0,a=tn===e&&e.__root;if(a){var l=i.indexOf(a);if(l!==-1&&(t===document||t===window)){e.__root=t;return}var f=i.indexOf(t);if(f===-1)return;l<=f&&(s=l)}if(o=i[s]||e.target,o!==t){Be(e,"currentTarget",{configurable:!0,get(){return o||n}});var u=v,c=_;O(null),z(null);try{for(var h,d=[];o!==null;){var p=o.assignedSlot||o.parentNode||o.host||null;try{var g=o["__"+r];if(g!=null&&(!o.disabled||e.target===o))if(gt(g)){var[I,...X]=g;I.apply(o,[e,...X])}else g.call(o,e)}catch(w){h?d.push(w):h=w}if(e.cancelBubble||p===t||p===null)break;o=p}if(h){for(let w of d)queueMicrotask(()=>{throw w});throw h}}finally{e.__root=t,delete e.currentTarget,O(u),z(c)}}}function Ir(e){var t;t=document.head.appendChild(ge());try{rt(()=>e(t),kt)}finally{}}function Dr(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function ot(e,t){var n=_;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function ye(e,t){var n=(t&qn)!==0,r=(t&Wn)!==0,i,o=!e.startsWith("<!>");return()=>{i===void 0&&(i=Dr(o?e:"<!>"+e),n||(i=De(i)));var s=r||Lt?document.importNode(i,!0):i.cloneNode(!0);if(n){var a=De(s),l=s.lastChild;ot(a,l)}else ot(s,s);return s}}function Pr(){var e=document.createDocumentFragment(),t=document.createComment(""),n=ge();return e.append(t,n),ot(t,n),e}function ve(e,t){e!==null&&e.before(t)}function Nr(e,t){return Lr(e,t)}const _e=new Map;function Lr(e,{target:t,anchor:n,props:r={},events:i,context:o,intro:s=!0}){ar();var a=new Set,l=c=>{for(var h=0;h<c.length;h++){var d=c[h];if(!a.has(d)){a.add(d);var p=Ar(d);t.addEventListener(d,Ue,{passive:p});var g=_e.get(d);g===void 0?(document.addEventListener(d,Ue,{passive:p}),_e.set(d,1)):_e.set(d,g+1)}}};l(gn(en)),st.add(l);var f=void 0,u=pr(()=>{var c=n??t.appendChild(ge());return er(c,{pending:()=>{}},h=>{if(o){Oe({});var d=A;d.c=o}i&&(r.$$events=i),f=e(h,r)||{},o&&Ce()}),()=>{for(var h of a){t.removeEventListener(h,Ue);var d=_e.get(h);--d===0?(document.removeEventListener(h,Ue),_e.delete(h)):_e.set(h,d)}st.delete(l),c!==n&&c.parentNode?.removeChild(c)}});return Mr.set(f,u),f}let Mr=new WeakMap;class Fr{anchor;#t=new Map;#e=new Map;#s=new Map;#n=!0;constructor(t,n=!0){this.anchor=t,this.#n=n}#l=()=>{var t=b;if(this.#t.has(t)){var n=this.#t.get(t),r=this.#e.get(n);if(r)kr(r);else{var i=this.#s.get(n);i&&(this.#e.set(n,i.effect),this.#s.delete(n),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),r=i.effect)}for(const[o,s]of this.#t){if(this.#t.delete(o),o===t)break;const a=this.#s.get(s);a&&(P(a.effect),this.#s.delete(s))}for(const[o,s]of this.#e){if(o===n)continue;const a=()=>{if(Array.from(this.#t.values()).includes(o)){var f=document.createDocumentFragment();Yt(s,f),f.append(ge()),this.#s.set(o,{effect:s,fragment:f})}else P(s);this.#e.delete(o)};this.#n||!r?be(s,a,!1):a()}}};ensure(t,n){var r=b,i=ur();if(n&&!this.#e.has(t)&&!this.#s.has(t))if(i){var o=document.createDocumentFragment(),s=ge();o.append(s),this.#s.set(t,{effect:G(()=>n(s)),fragment:o})}else this.#e.set(t,G(()=>n(this.anchor)));if(this.#t.set(r,t),i){for(const[a,l]of this.#e)a===t?r.skipped_effects.delete(l):r.skipped_effects.add(l);for(const[a,l]of this.#s)a===t?r.skipped_effects.delete(l.effect):r.skipped_effects.add(l.effect);r.add_callback(this.#l)}else this.#l()}}function Ur(e,t,n=!1){var r=new Fr(e),i=n?ke:0;function o(s,a){r.ensure(s,a)}rt(()=>{var s=!1;t((a,l=!0)=>{s=!0,o(l,a)}),s||o(!1,null)},i)}function at(e,t){wr(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}const nn=[...`
2
- \r\f \v\uFEFF`];function jr(e,t,n){var r=e==null?"":""+e;if(t&&(r=r?r+" "+t:t),n){for(var i in n)if(n[i])r=r?r+" "+i:i;else if(r.length)for(var o=i.length,s=0;(s=r.indexOf(i,s))>=0;){var a=s+o;(s===0||nn.includes(r[s-1]))&&(a===r.length||nn.includes(r[a]))?r=(s===0?"":r.substring(0,s))+r.substring(a+1):s=a}}return r===""?null:r}function rn(e,t,n,r,i,o){var s=e.__className;if(s!==n||s===void 0){var a=jr(n,r,o);a==null?e.removeAttribute("class"):e.className=a,e.__className=n}else if(o&&i!==o)for(var l in o){var f=!!o[l];(i==null||f!==!!i[l])&&e.classList.toggle(l,f)}return o}const zr=Symbol("is custom element"),qr=Symbol("is html");function pe(e,t,n,r){var i=Wr(e);i[t]!==(i[t]=n)&&(t==="loading"&&(e[Sn]=n),n==null?e.removeAttribute(t):typeof n!="string"&&Br(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function Wr(e){return e.__attributes??={[zr]:e.nodeName.includes("-"),[qr]:e.namespaceURI===Bn}}var sn=new Map;function Br(e){var t=e.getAttribute("is")||e.nodeName,n=sn.get(t);if(n)return n;sn.set(t,n=[]);for(var r,i=e,o=Element.prototype;o!==i;){r=bn(i);for(var s in r)r[s].set&&n.push(s);i=bt(i)}return n}let je=!1;function Hr(e){var t=je;try{return je=!1,[e(),je]}finally{je=t}}function lt(e,t,n,r){var i=(n&jn)!==0,o=(n&zn)!==0,s=r,a=!0,l=()=>(a&&(a=!1,s=o?it(r):r),s),f;if(i){var u=Te in e||xn in e;f=ae(e,t)?.set??(u&&t in e?w=>e[t]=w:void 0)}var c,h=!1;i?[c,h]=Hr(()=>e[t]):c=e[t],c===void 0&&r!==void 0&&(c=l(),f&&(Dn(),f(c)));var d;if(d=()=>{var w=e[t];return w===void 0?l():(a=!0,w)},(n&Un)===0)return d;if(f){var p=e.$$legacy;return(function(w,C){return arguments.length>0?((!C||p||h)&&f(C?d():w),w):d()})}var g=!1,I=((n&Fn)!==0?et:sr)(()=>(g=!1,d()));i&&x(I);var X=_;return(function(w,C){if(arguments.length>0){const oe=C?x(I):i?re(w):w;return F(I,oe),g=!0,s!==void 0&&(s=oe),w}return ie&&g||(X.f&W)!==0?I.v:x(I)})}function on(e){A===null&&Tn(),_r(()=>{const t=it(e);if(typeof t=="function")return t})}const Yr="5";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add(Yr);var Gr=ye('<div><iframe id="chat-frame" title="Chat" class="bot svelte-yhk8rr" frameborder="0" allow="microphone; clipboard-write" allowfullscreen=""></iframe></div>'),Kr=ye(`<p class="svelte-yhk8rr">Please make sure that the script tag has 'id="chatbot"' and the attribute
1
+ (function(){"use strict";const gt=!1;var pn=Array.isArray,gn=Array.prototype.indexOf,wn=Array.from,mn=Object.defineProperty,oe=Object.getOwnPropertyDescriptor,bn=Object.getOwnPropertyDescriptors,yn=Object.prototype,En=Array.prototype,wt=Object.getPrototypeOf,mt=Object.isExtensible;function kn(e){for(var t=0;t<e.length;t++)e[t]()}function bt(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const b=2,We=4,He=8,B=16,W=32,$=64,Se=128,y=1024,O=2048,H=4096,z=8192,Y=16384,Ye=32768,ae=65536,yt=1<<17,Et=1<<18,le=1<<19,xn=1<<20,P=256,Te=512,Oe=32768,Ge=1<<21,Ke=1<<22,ee=1<<23,Ce=Symbol("$state"),Sn=Symbol("legacy props"),Tn=Symbol(""),fe=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"};function On(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function Cn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function An(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Rn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function In(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Dn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Pn(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function Ln(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Nn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Mn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Fn(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}const Un=1,zn=4,jn=8,qn=16,Bn=1,Wn=2,E=Symbol(),Hn="http://www.w3.org/1999/xhtml";function Yn(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}function kt(e){return e===this.v}function Gn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Kn(e){return!Gn(e,this.v)}let Vn=!1,R=null;function ue(e){R=e}function Ae(e,t=!1,n){R={p:R,i:!1,c:null,e:null,s:e,x:null,l:null}}function Re(e){var t=R,n=t.e;if(n!==null){t.e=null;for(var r of n)Ut(r)}return t.i=!0,R=t.p,{}}function xt(){return!0}let ce=[];function Zn(){var e=ce;ce=[],kn(e)}function Ve(e){if(ce.length===0){var t=ce;queueMicrotask(()=>{t===ce&&Zn()})}ce.push(e)}function St(e){var t=_;if(t===null)return v.f|=ee,e;if((t.f&Ye)===0){if((t.f&Se)===0)throw e;t.b.error(e)}else de(e,t)}function de(e,t){for(;t!==null;){if((t.f&Se)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const Ie=new Set;let w=null,N=null,Ze=new Set,J=[],Je=null,Qe=!1;class j{committed=!1;current=new Map;previous=new Map;#e=new Set;#t=new Set;#n=0;#r=0;#l=null;#o=[];#a=[];skipped_effects=new Set;is_fork=!1;process(t){J=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of t)this.#i(r,n);this.is_fork||this.#f(),this.#r>0||this.is_fork?(this.#s(n.effects),this.#s(n.render_effects),this.#s(n.block_effects)):(w=null,Tt(n.render_effects),Tt(n.effects)),N=null}#i(t,n){t.f^=y;for(var r=t.first;r!==null;){var i=r.f,o=(i&(W|$))!==0,s=o&&(i&y)!==0,a=s||(i&z)!==0||this.skipped_effects.has(r);if((r.f&Se)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!a&&r.fn!==null){o?r.f^=y:(i&We)!==0?n.effects.push(r):Ee(r)&&((r.f&B)!==0&&n.block_effects.push(r),ke(r));var l=r.first;if(l!==null){r=l;continue}}var f=r.parent;for(r=r.next;r===null&&f!==null;)f===n.effect&&(this.#s(n.effects),this.#s(n.render_effects),this.#s(n.block_effects),n=n.parent),r=f.next,f=f.parent}}#s(t){for(const n of t)((n.f&O)!==0?this.#o:this.#a).push(n),k(n,y)}capture(t,n){this.previous.has(t)||this.previous.set(t,n),this.current.set(t,t.v),N?.set(t,t.v)}activate(){w=this}deactivate(){w=null,N=null}flush(){if(this.activate(),J.length>0){if(Jn(),w!==null&&w!==this)return}else this.#n===0&&this.process([]);this.deactivate();for(const t of Ze)if(Ze.delete(t),t(),w!==null)break}discard(){for(const t of this.#t)t(this);this.#t.clear()}#f(){if(this.#r===0){for(const t of this.#e)t();this.#e.clear()}this.#n===0&&this.#u()}#u(){if(Ie.size>1){this.previous.clear();var t=N,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const i of Ie){if(i===this){n=!1;continue}const o=[];for(const[a,l]of this.current){if(i.current.has(a))if(n&&l!==i.current.get(a))i.current.set(a,l);else continue;o.push(a)}if(o.length===0)continue;const s=[...i.current.keys()].filter(a=>!this.current.has(a));if(s.length>0){const a=new Set,l=new Map;for(const f of o)Ot(f,s,a,l);if(J.length>0){w=i,i.apply();for(const f of J)i.#i(f,r);J=[],i.deactivate()}}}w=null,N=t}this.committed=!0,Ie.delete(this),this.#l?.resolve()}increment(t){this.#n+=1,t&&(this.#r+=1)}decrement(t){this.#n-=1,t&&(this.#r-=1),this.revive()}revive(){for(const t of this.#o)k(t,O),te(t);for(const t of this.#a)k(t,H),te(t);this.#o=[],this.#a=[],this.flush()}oncommit(t){this.#e.add(t)}ondiscard(t){this.#t.add(t)}settled(){return(this.#l??=bt()).promise}static ensure(){if(w===null){const t=w=new j;Ie.add(w),j.enqueue(()=>{w===t&&t.flush()})}return w}static enqueue(t){Ve(t)}apply(){}}function Jn(){var e=ve;Qe=!0;try{var t=0;for(Yt(!0);J.length>0;){var n=j.ensure();if(t++>1e3){var r,i;Qn()}n.process(J),Q.clear()}}finally{Qe=!1,Yt(e),Je=null}}function Qn(){try{Dn()}catch(e){de(e,Je)}}let G=null;function Tt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(Y|z))===0&&Ee(r)&&(G=new Set,ke(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?qt(r):r.fn=null),G?.size>0)){Q.clear();for(const i of G){if((i.f&(Y|z))!==0)continue;const o=[i];let s=i.parent;for(;s!==null;)G.has(s)&&(G.delete(s),o.push(s)),s=s.parent;for(let a=o.length-1;a>=0;a--){const l=o[a];(l.f&(Y|z))===0&&ke(l)}}G.clear()}}G=null}}function Ot(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const i of e.reactions){const o=i.f;(o&b)!==0?Ot(i,t,n,r):(o&(Ke|B))!==0&&(o&O)===0&&Ct(i,t,r)&&(k(i,O),te(i))}}function Ct(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const i of e.deps){if(t.includes(i))return!0;if((i.f&b)!==0&&Ct(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function te(e){for(var t=Je=e;t.parent!==null;){t=t.parent;var n=t.f;if(Qe&&t===_&&(n&B)!==0)return;if((n&($|W))!==0){if((n&y)===0)return;t.f^=y}}J.push(t)}function Xn(e){let t=0,n=De(0),r;return()=>{vr()&&(T(n),br(()=>(t===0&&(r=it(()=>e(()=>me(n)))),t+=1,()=>{Ve(()=>{t-=1,t===0&&(r?.(),r=void 0,me(n))})})))}}var $n=ae|le|Se;function er(e,t,n){new tr(e,t,n)}class tr{parent;#e=!1;#t;#n=null;#r;#l;#o;#a=null;#i=null;#s=null;#f=null;#u=null;#h=0;#c=0;#v=!1;#d=null;#m=()=>{this.#d&&Pe(this.#d,this.#h)};#b=Xn(()=>(this.#d=De(this.#h),()=>{this.#d=null}));constructor(t,n,r){this.#t=t,this.#r=n,this.#l=r,this.parent=_.b,this.#e=!!this.#r.pending,this.#o=rt(()=>{_.b=this;{var i=this.#g();try{this.#a=V(()=>r(i))}catch(o){this.error(o)}this.#c>0?this.#p():this.#e=!1}return()=>{this.#u?.remove()}},$n)}#y(){try{this.#a=V(()=>this.#l(this.#t))}catch(t){this.error(t)}this.#e=!1}#E(){const t=this.#r.pending;t&&(this.#i=V(()=>t(this.#t)),j.enqueue(()=>{var n=this.#g();this.#a=this.#_(()=>(j.ensure(),V(()=>this.#l(n)))),this.#c>0?this.#p():(be(this.#i,()=>{this.#i=null}),this.#e=!1)}))}#g(){var t=this.#t;return this.#e&&(this.#u=he(),this.#t.before(this.#u),t=this.#u),t}is_pending(){return this.#e||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#r.pending}#_(t){var n=_,r=v,i=R;q(this.#o),C(this.#o),ue(this.#o.ctx);try{return t()}catch(o){return St(o),null}finally{q(n),C(r),ue(i)}}#p(){const t=this.#r.pending;this.#a!==null&&(this.#f=document.createDocumentFragment(),this.#f.append(this.#u),Ht(this.#a,this.#f)),this.#i===null&&(this.#i=V(()=>t(this.#t)))}#w(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#w(t);return}this.#c+=t,this.#c===0&&(this.#e=!1,this.#i&&be(this.#i,()=>{this.#i=null}),this.#f&&(this.#t.before(this.#f),this.#f=null))}update_pending_count(t){this.#w(t),this.#h+=t,Ze.add(this.#m)}get_effect_pending(){return this.#b(),T(this.#d)}error(t){var n=this.#r.onerror;let r=this.#r.failed;if(this.#v||!n&&!r)throw t;this.#a&&(I(this.#a),this.#a=null),this.#i&&(I(this.#i),this.#i=null),this.#s&&(I(this.#s),this.#s=null);var i=!1,o=!1;const s=()=>{if(i){Yn();return}i=!0,o&&Fn(),j.ensure(),this.#h=0,this.#s!==null&&be(this.#s,()=>{this.#s=null}),this.#e=this.has_pending_snippet(),this.#a=this.#_(()=>(this.#v=!1,V(()=>this.#l(this.#t)))),this.#c>0?this.#p():this.#e=!1};var a=v;try{C(null),o=!0,n?.(t,s),o=!1}catch(l){de(l,this.#o&&this.#o.parent)}finally{C(a)}r&&Ve(()=>{this.#s=this.#_(()=>{j.ensure(),this.#v=!0;try{return V(()=>{r(this.#t,()=>t,()=>s)})}catch(l){return de(l,this.#o.parent),null}finally{this.#v=!1}})})}}function nr(e,t,n){const r=$e;if(t.length===0){n(e.map(r));return}var i=w,o=_,s=rr();Promise.all(t.map(a=>ir(a))).then(a=>{s();try{n([...e.map(r),...a])}catch(l){(o.f&Y)===0&&de(l,o)}i?.deactivate(),Xe()}).catch(a=>{de(a,o)})}function rr(){var e=_,t=v,n=R,r=w;return function(){q(e),C(t),ue(n),r?.activate()}}function Xe(){q(null),C(null),ue(null)}function $e(e){var t=b|O,n=v!==null&&(v.f&b)!==0?v:null;return _===null||n!==null&&(n.f&P)!==0?t|=P:_.f|=le,{ctx:R,deps:null,effects:null,equals:kt,f:t,fn:e,reactions:null,rv:0,v:E,wv:0,parent:n??_,ac:null}}function ir(e,t){let n=_;n===null&&Cn();var r=n.b,i=void 0,o=De(E),s=!v,a=new Map;return mr(()=>{var l=bt();i=l.promise;try{Promise.resolve(e()).then(l.resolve,l.reject).then(()=>{f===w&&f.committed&&f.deactivate(),Xe()})}catch(h){l.reject(h),Xe()}var f=w;if(s){var u=!r.is_pending();r.update_pending_count(1),f.increment(u),a.get(f)?.reject(fe),a.delete(f),a.set(f,l)}const d=(h,c=void 0)=>{if(f.activate(),c)c!==fe&&(o.f|=ee,Pe(o,c));else{(o.f&ee)!==0&&(o.f^=ee),Pe(o,h);for(const[p,m]of a){if(a.delete(p),p===f)break;m.reject(fe)}}s&&(r.update_pending_count(-1),f.decrement(u))};l.promise.then(d,h=>d(null,h||"unknown"))}),_r(()=>{for(const l of a.values())l.reject(fe)}),new Promise(l=>{function f(u){function d(){u===i?l(o):f(i)}u.then(d,d)}f(i)})}function sr(e){const t=$e(e);return t.equals=Kn,t}function At(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)I(t[n])}}function or(e){for(var t=e.parent;t!==null;){if((t.f&b)===0)return t;t=t.parent}return null}function et(e){var t,n=_;q(or(e));try{e.f&=~Oe,At(e),t=Qt(e)}finally{q(n)}return t}function Rt(e){var t=et(e);if(e.equals(t)||(e.v=t,e.wv=Zt()),!re)if(N!==null)N.set(e,e.v);else{var n=(X||(e.f&P)!==0)&&e.deps!==null?H:y;k(e,n)}}let tt=new Set;const Q=new Map;let It=!1;function De(e,t){var n={f:0,v:e,reactions:null,equals:kt,rv:0,wv:0};return n}function M(e,t){const n=De(e);return Sr(n),n}function F(e,t,n=!1){v!==null&&(!U||(v.f&yt)!==0)&&xt()&&(v.f&(b|B|Ke|yt))!==0&&!Z?.includes(e)&&Mn();let r=n?ne(t):t;return Pe(e,r)}function Pe(e,t){if(!e.equals(t)){var n=e.v;re?Q.set(e,t):Q.set(e,n),e.v=t;var r=j.ensure();r.capture(e,n),(e.f&b)!==0&&((e.f&O)!==0&&et(e),k(e,(e.f&P)===0?y:H)),e.wv=Zt(),Dt(e,O),_!==null&&(_.f&y)!==0&&(_.f&(W|$))===0&&(L===null?Tr([e]):L.push(e)),!r.is_fork&&tt.size>0&&!It&&ar()}return t}function ar(){It=!1;const e=Array.from(tt);for(const t of e)(t.f&y)!==0&&k(t,H),Ee(t)&&ke(t);tt.clear()}function me(e){F(e,e.v+1)}function Dt(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,i=0;i<r;i++){var o=n[i],s=o.f,a=(s&O)===0;a&&k(o,t),(s&b)!==0?(s&Oe)===0&&(o.f|=Oe,Dt(o,H)):a&&((s&B)!==0&&G!==null&&G.add(o),te(o))}}function ne(e){if(typeof e!="object"||e===null||Ce in e)return e;const t=wt(e);if(t!==yn&&t!==En)return e;var n=new Map,r=pn(e),i=M(0),o=ie,s=a=>{if(ie===o)return a();var l=v,f=ie;C(null),Vt(o);var u=a();return C(l),Vt(f),u};return r&&n.set("length",M(e.length)),new Proxy(e,{defineProperty(a,l,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&Ln();var u=n.get(l);return u===void 0?u=s(()=>{var d=M(f.value);return n.set(l,d),d}):F(u,f.value,!0),!0},deleteProperty(a,l){var f=n.get(l);if(f===void 0){if(l in a){const u=s(()=>M(E));n.set(l,u),me(i)}}else F(f,E),me(i);return!0},get(a,l,f){if(l===Ce)return e;var u=n.get(l),d=l in a;if(u===void 0&&(!d||oe(a,l)?.writable)&&(u=s(()=>{var c=ne(d?a[l]:E),p=M(c);return p}),n.set(l,u)),u!==void 0){var h=T(u);return h===E?void 0:h}return Reflect.get(a,l,f)},getOwnPropertyDescriptor(a,l){var f=Reflect.getOwnPropertyDescriptor(a,l);if(f&&"value"in f){var u=n.get(l);u&&(f.value=T(u))}else if(f===void 0){var d=n.get(l),h=d?.v;if(d!==void 0&&h!==E)return{enumerable:!0,configurable:!0,value:h,writable:!0}}return f},has(a,l){if(l===Ce)return!0;var f=n.get(l),u=f!==void 0&&f.v!==E||Reflect.has(a,l);if(f!==void 0||_!==null&&(!u||oe(a,l)?.writable)){f===void 0&&(f=s(()=>{var h=u?ne(a[l]):E,c=M(h);return c}),n.set(l,f));var d=T(f);if(d===E)return!1}return u},set(a,l,f,u){var d=n.get(l),h=l in a;if(r&&l==="length")for(var c=f;c<d.v;c+=1){var p=n.get(c+"");p!==void 0?F(p,E):c in a&&(p=s(()=>M(E)),n.set(c+"",p))}if(d===void 0)(!h||oe(a,l)?.writable)&&(d=s(()=>M(void 0)),F(d,ne(f)),n.set(l,d));else{h=d.v!==E;var m=s(()=>ne(f));F(d,m)}var x=Reflect.getOwnPropertyDescriptor(a,l);if(x?.set&&x.set.call(u,f),!h){if(r&&typeof l=="string"){var we=n.get("length"),g=Number(l);Number.isInteger(g)&&g>=we.v&&F(we,g+1)}me(i)}return!0},ownKeys(a){T(i);var l=Reflect.ownKeys(a).filter(d=>{var h=n.get(d);return h===void 0||h.v!==E});for(var[f,u]of n)u.v!==E&&!(f in a)&&l.push(f);return l},setPrototypeOf(){Nn()}})}var Pt,Lt,Nt,Mt;function lr(){if(Pt===void 0){Pt=window,Lt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Nt=oe(t,"firstChild").get,Mt=oe(t,"nextSibling").get,mt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),mt(n)&&(n.__t=void 0)}}function he(e=""){return document.createTextNode(e)}function Le(e){return Nt.call(e)}function Ne(e){return Mt.call(e)}function nt(e,t){return Le(e)}function fr(e,t=!1){{var n=Le(e);return n instanceof Comment&&n.data===""?Ne(n):n}}function ur(e,t=1,n=!1){let r=e;for(;t--;)r=Ne(r);return r}function cr(){return!1}function Ft(e){var t=v,n=_;C(null),q(null);try{return e()}finally{C(t),q(n)}}function dr(e){_===null&&v===null&&In(),v!==null&&(v.f&P)!==0&&_===null&&Rn(),re&&An()}function hr(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function K(e,t,n,r=!0){var i=_;i!==null&&(i.f&z)!==0&&(e|=z);var o={ctx:R,deps:null,nodes_start:null,nodes_end:null,f:e|O,first:null,fn:t,last:null,next:null,parent:i,b:i&&i.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{ke(o),o.f|=Ye}catch(l){throw I(o),l}else t!==null&&te(o);if(r){var s=o;if(n&&s.deps===null&&s.teardown===null&&s.nodes_start===null&&s.first===s.last&&(s.f&le)===0&&(s=s.first,(e&B)!==0&&(e&ae)!==0&&s!==null&&(s.f|=ae)),s!==null&&(s.parent=i,i!==null&&hr(s,i),v!==null&&(v.f&b)!==0&&(e&$)===0)){var a=v;(a.effects??=[]).push(s)}}return o}function vr(){return v!==null&&!U}function _r(e){const t=K(He,null,!1);return k(t,y),t.teardown=e,t}function pr(e){dr();var t=_.f,n=!v&&(t&W)!==0&&(t&Ye)===0;if(n){var r=R;(r.e??=[]).push(e)}else return Ut(e)}function Ut(e){return K(We|xn,e,!1)}function gr(e){j.ensure();const t=K($|le,e,!0);return(n={})=>new Promise(r=>{n.outro?be(t,()=>{I(t),r(void 0)}):(I(t),r(void 0))})}function wr(e){return K(We,e,!1)}function mr(e){return K(Ke|le,e,!0)}function br(e,t=0){return K(He|t,e,!0)}function Me(e,t=[],n=[]){nr(t,n,r=>{K(He,()=>e(...r.map(T)),!0)})}function rt(e,t=0){var n=K(B|t,e,!0);return n}function V(e,t=!0){return K(W|le,e,!0,t)}function zt(e){var t=e.teardown;if(t!==null){const n=re,r=v;Gt(!0),C(null);try{t.call(null)}finally{Gt(n),C(r)}}}function jt(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&Ft(()=>{i.abort(fe)});var r=n.next;(n.f&$)!==0?n.parent=null:I(n,t),n=r}}function yr(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&W)===0&&I(t),t=n}}function I(e,t=!0){var n=!1;(t||(e.f&Et)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Er(e.nodes_start,e.nodes_end),n=!0),jt(e,t&&!n),Fe(e,0),k(e,Y);var r=e.transitions;if(r!==null)for(const o of r)o.stop();zt(e);var i=e.parent;i!==null&&i.first!==null&&qt(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Er(e,t){for(;e!==null;){var n=e===t?null:Ne(e);e.remove(),e=n}}function qt(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 be(e,t,n=!0){var r=[];Bt(e,r,!0),kr(r,()=>{n&&I(e),t&&t()})}function kr(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}function Bt(e,t,n){if((e.f&z)===0){if(e.f^=z,e.transitions!==null)for(const s of e.transitions)(s.is_global||n)&&t.push(s);for(var r=e.first;r!==null;){var i=r.next,o=(r.f&ae)!==0||(r.f&W)!==0&&(e.f&B)!==0;Bt(r,t,o?n:!1),r=i}}}function xr(e){Wt(e,!0)}function Wt(e,t){if((e.f&z)!==0){e.f^=z,(e.f&y)===0&&(k(e,O),te(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&ae)!==0||(n.f&W)!==0;Wt(n,i?t:!1),n=r}if(e.transitions!==null)for(const o of e.transitions)(o.is_global||t)&&o.in()}}function Ht(e,t){for(var n=e.nodes_start,r=e.nodes_end;n!==null;){var i=n===r?null:Ne(n);t.append(n),n=i}}let ve=!1;function Yt(e){ve=e}let re=!1;function Gt(e){re=e}let v=null,U=!1;function C(e){v=e}let _=null;function q(e){_=e}let Z=null;function Sr(e){v!==null&&(Z===null?Z=[e]:Z.push(e))}let S=null,D=0,L=null;function Tr(e){L=e}let Kt=1,ye=0,ie=ye;function Vt(e){ie=e}let X=!1;function Zt(){return++Kt}function Ee(e){var t=e.f;if((t&O)!==0)return!0;if((t&H)!==0){var n=e.deps,r=(t&P)!==0;if(t&b&&(e.f&=~Oe),n!==null){var i,o,s=(t&Te)!==0,a=r&&_!==null&&!X,l=n.length;if((s||a)&&(_===null||(_.f&Y)===0)){var f=e,u=f.parent;for(i=0;i<l;i++)o=n[i],(s||!o?.reactions?.includes(f))&&(o.reactions??=[]).push(f);s&&(f.f^=Te),a&&u!==null&&(u.f&P)===0&&(f.f^=P)}for(i=0;i<l;i++)if(o=n[i],Ee(o)&&Rt(o),o.wv>e.wv)return!0}(!r||_!==null&&!X)&&k(e,y)}return!1}function Jt(e,t,n=!0){var r=e.reactions;if(r!==null&&!Z?.includes(e))for(var i=0;i<r.length;i++){var o=r[i];(o.f&b)!==0?Jt(o,t,!1):t===o&&(n?k(o,O):(o.f&y)!==0&&k(o,H),te(o))}}function Qt(e){var t=S,n=D,r=L,i=v,o=X,s=Z,a=R,l=U,f=ie,u=e.f;S=null,D=0,L=null,X=(u&P)!==0&&(U||!ve||v===null),v=(u&(W|$))===0?e:null,Z=null,ue(e.ctx),U=!1,ie=++ye,e.ac!==null&&(Ft(()=>{e.ac.abort(fe)}),e.ac=null);try{e.f|=Ge;var d=e.fn,h=d(),c=e.deps;if(S!==null){var p;if(Fe(e,D),c!==null&&D>0)for(c.length=D+S.length,p=0;p<S.length;p++)c[D+p]=S[p];else e.deps=c=S;if(!X||(u&b)!==0&&e.reactions!==null)for(p=D;p<c.length;p++)(c[p].reactions??=[]).push(e)}else c!==null&&D<c.length&&(Fe(e,D),c.length=D);if(xt()&&L!==null&&!U&&c!==null&&(e.f&(b|H|O))===0)for(p=0;p<L.length;p++)Jt(L[p],e);return i!==null&&i!==e&&(ye++,L!==null&&(r===null?r=L:r.push(...L))),(e.f&ee)!==0&&(e.f^=ee),h}catch(m){return St(m)}finally{e.f^=Ge,S=t,D=n,L=r,v=i,X=o,Z=s,ue(a),U=l,ie=f}}function Or(e,t){let n=t.reactions;if(n!==null){var r=gn.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}n===null&&(t.f&b)!==0&&(S===null||!S.includes(t))&&(k(t,H),(t.f&(P|Te))===0&&(t.f^=Te),At(t),Fe(t,0))}function Fe(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Or(e,n[r])}function ke(e){var t=e.f;if((t&Y)===0){k(e,y);var n=_,r=ve;_=e,ve=!0;try{(t&B)!==0?yr(e):jt(e),zt(e);var i=Qt(e);e.teardown=typeof i=="function"?i:null,e.wv=Kt;var o;gt&&Vn&&(e.f&O)!==0&&e.deps}finally{ve=r,_=n}}}function T(e){var t=e.f,n=(t&b)!==0;if(v!==null&&!U){var r=_!==null&&(_.f&Y)!==0;if(!r&&!Z?.includes(e)){var i=v.deps;if((v.f&Ge)!==0)e.rv<ye&&(e.rv=ye,S===null&&i!==null&&i[D]===e?D++:S===null?S=[e]:(!X||!S.includes(e))&&S.push(e));else{(v.deps??=[]).push(e);var o=e.reactions;o===null?e.reactions=[v]:o.includes(v)||o.push(v)}}}else if(n&&e.deps===null&&e.effects===null){var s=e,a=s.parent;a!==null&&(a.f&P)===0&&(s.f^=P)}if(re){if(Q.has(e))return Q.get(e);if(n){s=e;var l=s.v;return((s.f&y)===0&&s.reactions!==null||Xt(s))&&(l=et(s)),Q.set(s,l),l}}else if(n){if(s=e,N?.has(s))return N.get(s);Ee(s)&&Rt(s)}if(N?.has(e))return N.get(e);if((e.f&ee)!==0)throw e.v;return e.v}function Xt(e){if(e.v===E)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Q.has(t)||(t.f&b)!==0&&Xt(t))return!0;return!1}function it(e){var t=U;try{return U=!0,e()}finally{U=t}}const Cr=-7169;function k(e,t){e.f=e.f&Cr|t}const Ar=["touchstart","touchmove"];function Rr(e){return Ar.includes(e)}const $t=new Set,st=new Set;function Ir(e){for(var t=0;t<e.length;t++)$t.add(e[t]);for(var n of st)n(e)}let en=null;function Ue(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],o=i[0]||e.target;en=e;var s=0,a=en===e&&e.__root;if(a){var l=i.indexOf(a);if(l!==-1&&(t===document||t===window)){e.__root=t;return}var f=i.indexOf(t);if(f===-1)return;l<=f&&(s=l)}if(o=i[s]||e.target,o!==t){mn(e,"currentTarget",{configurable:!0,get(){return o||n}});var u=v,d=_;C(null),q(null);try{for(var h,c=[];o!==null;){var p=o.assignedSlot||o.parentNode||o.host||null;try{var m=o["__"+r];m!=null&&(!o.disabled||e.target===o)&&m.call(o,e)}catch(x){h?c.push(x):h=x}if(e.cancelBubble||p===t||p===null)break;o=p}if(h){for(let x of c)queueMicrotask(()=>{throw x});throw h}}finally{e.__root=t,delete e.currentTarget,C(u),q(d)}}}function Dr(e){var t;t=document.head.appendChild(he());try{rt(()=>e(t),Et)}finally{}}function Pr(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function ot(e,t){var n=_;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function xe(e,t){var n=(t&Bn)!==0,r=(t&Wn)!==0,i,o=!e.startsWith("<!>");return()=>{i===void 0&&(i=Pr(o?e:"<!>"+e),n||(i=Le(i)));var s=r||Lt?document.importNode(i,!0):i.cloneNode(!0);if(n){var a=Le(s),l=s.lastChild;ot(a,l)}else ot(s,s);return s}}function Lr(){var e=document.createDocumentFragment(),t=document.createComment(""),n=he();return e.append(t,n),ot(t,n),e}function _e(e,t){e!==null&&e.before(t)}function Nr(e,t){return Mr(e,t)}const pe=new Map;function Mr(e,{target:t,anchor:n,props:r={},events:i,context:o,intro:s=!0}){lr();var a=new Set,l=d=>{for(var h=0;h<d.length;h++){var c=d[h];if(!a.has(c)){a.add(c);var p=Rr(c);t.addEventListener(c,Ue,{passive:p});var m=pe.get(c);m===void 0?(document.addEventListener(c,Ue,{passive:p}),pe.set(c,1)):pe.set(c,m+1)}}};l(wn($t)),st.add(l);var f=void 0,u=gr(()=>{var d=n??t.appendChild(he());return er(d,{pending:()=>{}},h=>{if(o){Ae({});var c=R;c.c=o}i&&(r.$$events=i),f=e(h,r)||{},o&&Re()}),()=>{for(var h of a){t.removeEventListener(h,Ue);var c=pe.get(h);--c===0?(document.removeEventListener(h,Ue),pe.delete(h)):pe.set(h,c)}st.delete(l),d!==n&&d.parentNode?.removeChild(d)}});return Fr.set(f,u),f}let Fr=new WeakMap;class Ur{anchor;#e=new Map;#t=new Map;#n=new Map;#r=!0;constructor(t,n=!0){this.anchor=t,this.#r=n}#l=()=>{var t=w;if(this.#e.has(t)){var n=this.#e.get(t),r=this.#t.get(n);if(r)xr(r);else{var i=this.#n.get(n);i&&(this.#t.set(n,i.effect),this.#n.delete(n),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),r=i.effect)}for(const[o,s]of this.#e){if(this.#e.delete(o),o===t)break;const a=this.#n.get(s);a&&(I(a.effect),this.#n.delete(s))}for(const[o,s]of this.#t){if(o===n)continue;const a=()=>{if(Array.from(this.#e.values()).includes(o)){var f=document.createDocumentFragment();Ht(s,f),f.append(he()),this.#n.set(o,{effect:s,fragment:f})}else I(s);this.#t.delete(o)};this.#r||!r?be(s,a,!1):a()}}};#o=t=>{this.#e.delete(t);const n=Array.from(this.#e.values());for(const[r,i]of this.#n)n.includes(r)||(I(i.effect),this.#n.delete(r))};ensure(t,n){var r=w,i=cr();if(n&&!this.#t.has(t)&&!this.#n.has(t))if(i){var o=document.createDocumentFragment(),s=he();o.append(s),this.#n.set(t,{effect:V(()=>n(s)),fragment:o})}else this.#t.set(t,V(()=>n(this.anchor)));if(this.#e.set(r,t),i){for(const[a,l]of this.#t)a===t?r.skipped_effects.delete(l):r.skipped_effects.add(l);for(const[a,l]of this.#n)a===t?r.skipped_effects.delete(l.effect):r.skipped_effects.add(l.effect);r.oncommit(this.#l),r.ondiscard(this.#o)}else this.#l()}}function zr(e,t,n=!1){var r=new Ur(e),i=n?ae:0;function o(s,a){r.ensure(s,a)}rt(()=>{var s=!1;t((a,l=!0)=>{s=!0,o(l,a)}),s||o(!1,null)},i)}function at(e,t){wr(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}const tn=[...`
2
+ \r\f \v\uFEFF`];function jr(e,t,n){var r=e==null?"":""+e;if(t&&(r=r?r+" "+t:t),n){for(var i in n)if(n[i])r=r?r+" "+i:i;else if(r.length)for(var o=i.length,s=0;(s=r.indexOf(i,s))>=0;){var a=s+o;(s===0||tn.includes(r[s-1]))&&(a===r.length||tn.includes(r[a]))?r=(s===0?"":r.substring(0,s))+r.substring(a+1):s=a}}return r===""?null:r}function nn(e,t,n,r,i,o){var s=e.__className;if(s!==n||s===void 0){var a=jr(n,r,o);a==null?e.removeAttribute("class"):e.className=a,e.__className=n}else if(o&&i!==o)for(var l in o){var f=!!o[l];(i==null||f!==!!i[l])&&e.classList.toggle(l,f)}return o}const qr=Symbol("is custom element"),Br=Symbol("is html");function ge(e,t,n,r){var i=Wr(e);i[t]!==(i[t]=n)&&(t==="loading"&&(e[Tn]=n),n==null?e.removeAttribute(t):typeof n!="string"&&Hr(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function Wr(e){return e.__attributes??={[qr]:e.nodeName.includes("-"),[Br]:e.namespaceURI===Hn}}var rn=new Map;function Hr(e){var t=e.getAttribute("is")||e.nodeName,n=rn.get(t);if(n)return n;rn.set(t,n=[]);for(var r,i=e,o=Element.prototype;o!==i;){r=bn(i);for(var s in r)r[s].set&&n.push(s);i=wt(i)}return n}let ze=!1;function Yr(e){var t=ze;try{return ze=!1,[e(),ze]}finally{ze=t}}function lt(e,t,n,r){var i=(n&jn)!==0,o=(n&qn)!==0,s=r,a=!0,l=()=>(a&&(a=!1,s=o?it(r):r),s),f;if(i){var u=Ce in e||Sn in e;f=oe(e,t)?.set??(u&&t in e?g=>e[t]=g:void 0)}var d,h=!1;i?[d,h]=Yr(()=>e[t]):d=e[t],d===void 0&&r!==void 0&&(d=l(),f&&(Pn(),f(d)));var c;if(c=()=>{var g=e[t];return g===void 0?l():(a=!0,g)},(n&zn)===0)return c;if(f){var p=e.$$legacy;return(function(g,A){return arguments.length>0?((!A||p||h)&&f(A?c():g),g):c()})}var m=!1,x=((n&Un)!==0?$e:sr)(()=>(m=!1,c()));i&&T(x);var we=_;return(function(g,A){if(arguments.length>0){const se=A?T(x):i?ne(g):g;return F(x,se),m=!0,s!==void 0&&(s=se),g}return re&&m||(we.f&Y)!==0?x.v:T(x)})}function sn(e){R===null&&On(),pr(()=>{const t=it(e);if(typeof t=="function")return t})}const Gr="5";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add(Gr);var Kr=xe('<div><iframe id="chat-frame" title="Chat" class="bot svelte-yhk8rr" frameborder="0" allow="microphone; clipboard-write" allowfullscreen=""></iframe></div>'),Vr=xe(`<p class="svelte-yhk8rr">Please make sure that the script tag has 'id="chatbot"' and the attribute
3
3
  'data-server' with the full qualified URL to the chatbot-server.</p> <pre class="svelte-yhk8rr">
4
4
  <code class="svelte-yhk8rr">
5
5
  &lt;script
@@ -12,7 +12,7 @@
12
12
  <br class="svelte-yhk8rr"/>
13
13
  src="https://server.com/webclient/embed/bundle.js"&gt; &lt;/script&gt;
14
14
  </code>
15
- </pre>`,1);const Vr={hash:"svelte-yhk8rr",code:`.svelte-yhk8rr,
15
+ </pre>`,1);const Zr={hash:"svelte-yhk8rr",code:`.svelte-yhk8rr,
16
16
  .svelte-yhk8rr:before,
17
17
  .svelte-yhk8rr:after {box-sizing:border-box;}.bot-border.svelte-yhk8rr {position:fixed;display:flex;flex-direction:column;top:0;bottom:env(safe-area-inset-bottom);height:100%;max-height:100vh;width:100%;border-width:0;border-radius:var(--window-border-radius, 8px);box-shadow:rgba(0, 0, 0, 0.24) 0px 16px 40px;background:transparent;opacity:1;transition:transform 200ms,
18
18
  opacity 100ms 100ms,
@@ -20,10 +20,10 @@
20
20
 
21
21
  @media screen and (min-width: 768px) {#chat-frame.svelte-yhk8rr {border-radius:var(--window-border-radius, 8px);}.bot-border.svelte-yhk8rr {height:var(--window-height, 43em);max-height:var(--window-max-height, calc(100vh - 2em));width:var(--window-width, 25em);top:var(--window-top, auto);right:var(--window-right, 1em);bottom:var(--window-bottom, 1em);left:var(--window-left, auto);border-radius:var(--window-border-radius, 8px);}.bot-border.closed.svelte-yhk8rr {transform:translateY(var(--window-height, 43em));opacity:0;}
22
22
  }p.svelte-yhk8rr,
23
- pre.svelte-yhk8rr {max-width:300px;}pre.svelte-yhk8rr {font-size:0.6em;line-height:0.5;}`};function Zr(e,t){Oe(t,!0),at(e,Vr),on(()=>{document.getElementById("chat-frame")?.addEventListener("load",t.onLoad)});var n=Pr(),r=lr(n);{var i=s=>{var a=Gr();let l;var f=nt(a);Ne((u,c)=>{l=rn(a,1,"bot-border svelte-yhk8rr",null,l,u),pe(a,"aria-hidden",t.open?"false":"true"),pe(f,"src",c)},[()=>({closed:!t.open}),()=>`${t.server}${t.server.indexOf("?")===-1?"?":"&"}referrer=${encodeURIComponent(t.referrer??"")}`]),ve(s,a)},o=s=>{var a=Kr();ve(s,a)};Ur(r,s=>{t.server?s(i):s(o,!1)})}ve(e,n),Ce()}function Jr(e,t){const n=e.key;(n==="ArrowDown"||n==="ArrowRight"||n==="Enter"||n===" "||n==="Space")&&(e.stopPropagation(),t.onToggle())}var Qr=ye('<div class="chat-button-wrapper svelte-1xi58vz" tabindex="0" role="button" aria-label="Open chat window"><img class="chat-button svelte-1xi58vz" alt="Open chat window"/></div>');const Xr={hash:"svelte-1xi58vz",code:`.svelte-1xi58vz,
23
+ pre.svelte-yhk8rr {max-width:300px;}pre.svelte-yhk8rr {font-size:0.6em;line-height:0.5;}`};function Jr(e,t){Ae(t,!0),at(e,Zr),sn(()=>{document.getElementById("chat-frame")?.addEventListener("load",t.onLoad)});var n=Lr(),r=fr(n);{var i=s=>{var a=Kr();let l;var f=nt(a);Me(u=>{l=nn(a,1,"bot-border svelte-yhk8rr",null,l,{closed:!t.open}),ge(a,"aria-hidden",t.open?"false":"true"),ge(f,"src",u)},[()=>`${t.server}${t.server.indexOf("?")===-1?"?":"&"}referrer=${encodeURIComponent(t.referrer??"")}`]),_e(s,a)},o=s=>{var a=Vr();_e(s,a)};zr(r,s=>{t.server?s(i):s(o,!1)})}_e(e,n),Re()}var Qr=xe('<div class="chat-button-wrapper svelte-1xi58vz" tabindex="0" role="button" aria-label="Open chat window"><img class="chat-button svelte-1xi58vz" alt="Open chat window"/></div>');const Xr={hash:"svelte-1xi58vz",code:`.svelte-1xi58vz,
24
24
  .svelte-1xi58vz:before,
25
25
  .svelte-1xi58vz:after {box-sizing:border-box;}.chat-button-wrapper.svelte-1xi58vz {position:fixed;top:var(--fab-top-mobile, var(--fab-top, auto));right:var(--fab-right-mobile, var(--fab-right, 1.5em));bottom:var(--fab-bottom-mobile, var(--fab-bottom, 1.5em));left:var(--fab-left-mobile, var(--fab-left, auto));width:var(--fab-size-mobile, var(--fab-size, 5em));height:var(--fab-size-mobile, var(--fab-size, 5em));z-index:999;}
26
26
 
27
27
  @media screen and (min-width: 768px) {.chat-button-wrapper.svelte-1xi58vz {top:var(--fab-top, auto);right:var(--fab-right, 1.5em);bottom:var(--fab-bottom, 1.5em);left:var(--fab-left, auto);width:var(--fab-size, 6em);height:var(--fab-size, 6em);}
28
28
  }.chat-button.svelte-1xi58vz {display:block;height:100%;cursor:pointer;border-radius:50%;box-shadow:9px 9px 16px rgba(0, 0, 0, 0.25);transition:transform 100ms,
29
- box-shadow 100ms;}.chat-button.svelte-1xi58vz:hover {box-shadow:16px 16px 16px rgba(0, 0, 0, 0.2);transform:translateY(-2px);}`};function $r(e,t){Oe(t,!0),at(e,Xr);var n=Qr();n.__click=function(...i){t.onToggle?.apply(this,i)},n.__keydown=[Jr,t];var r=nt(n);Ne(()=>{pe(n,"aria-expanded",t.open?"true":"false"),pe(r,"src",`${t.assetsUrl}/fab.svg`)}),ve(e,n),Ce()}Rr(["click","keydown"]);let an=!1;function ei(e){an=e}function ti(){return an}/*! js-cookie v3.0.5 | MIT */function ze(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var ni={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function ft(e,t){function n(i,o,s){if(!(typeof document>"u")){s=ze({},t,s),typeof s.expires=="number"&&(s.expires=new Date(Date.now()+s.expires*864e5)),s.expires&&(s.expires=s.expires.toUTCString()),i=encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var l in s)s[l]&&(a+="; "+l,s[l]!==!0&&(a+="="+s[l].split(";")[0]));return document.cookie=i+"="+e.write(o,i)+a}}function r(i){if(!(typeof document>"u"||arguments.length&&!i)){for(var o=document.cookie?document.cookie.split("; "):[],s={},a=0;a<o.length;a++){var l=o[a].split("="),f=l.slice(1).join("=");try{var u=decodeURIComponent(l[0]);if(s[u]=e.read(f,u),i===u)break}catch{}}return i?s[i]:s}}return Object.create({set:n,get:r,remove:function(i,o){n(i,"",ze({},o,{expires:-1}))},withAttributes:function(i){return ft(this.converter,ze({},this.attributes,i))},withConverter:function(i){return ft(ze({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var ln=ft(ni,{path:"/"});const fn="bubble-chat-window-state",un=()=>{switch(ln.get(fn)){case"open":return!0;case"closed":return!1;default:return}},cn=e=>{const t=new Date(new Date().getTime()+288e5);ln.set(fn,e,{expires:t})},ut=[];let ct=un();function dt(){ct=!0,cn("open"),ut.forEach(function(e){e.call(window,!0)})}function qe(){ct=!1,cn("closed"),ut.forEach(function(e){e.call(window,!1)})}function dn(){ct?qe():dt()}function ri(){ht({type:"RESTART_CHAT"})}function ii(e){ht({type:"CHAT_MESSAGE_FROM_GUEST",text:e})}function si(e){ht({type:"TRIGGER_STORY",story:e})}function ht(e){document.getElementById("chat-frame")?.contentWindow?.postMessage(e,"*")}function hn(e,t){switch(e){case"ON_CHAT_WINDOW_STATE_CHANGE":ut.push(t);break;default:throw new Error("Unsupported event "+e)}}const oi=Object.freeze(Object.defineProperty({__proto__:null,closeChatWindow:qe,enterGuestMessage:ii,isChatbotLoaded:ti,openChatWindow:dt,restartChat:ri,subscribe:hn,toggleChatWindow:dn,triggerStory:si},Symbol.toStringTag,{value:"Module"}));function ai(){return navigator.userAgent.match(/(iPad|iPhone|iPod)/g)}const li=()=>{ai()&&document.querySelectorAll("html, body").forEach(e=>{e.classList.add("iOS-device")})},fi=e=>{"gtag"in window&&typeof window.gtag=="function"?window.gtag("event","",e):"dataLayer"in window&&Array.isArray(window.dataLayer)&&window.dataLayer.push(e)},ui=(e,t,n,r,i)=>{window.addEventListener("message",o=>{const s=o.data;switch(s.type){case"webclient.chat.started":e();break;case"webclient.chat.ended":t();break;case"webclient.window.expand":n(s.devices,s.initial);break;case"webclient.window.close":r();break;case"webclient.change.url":i(s.url);break;case"google.tag.event":fi(s.payload);break}},!1)},ci=e=>new Promise(t=>{const n=document.getElementById(e);n?(n.onload=()=>{t(!0)},n.onerror=()=>{console.error("Failed to load CSS file: custom.css"),t(!1)}):(console.error("No custom.css file found"),t(!1))});var di=ye('<link rel="stylesheet"/>'),hi=ye("<div><!> <!></div>");const vi={hash:"svelte-1n46o8q",code:".bubble-chat.svelte-1n46o8q {font-size:16px;visibility:hidden;opacity:0;}.bubble-chat.chatbot-ready.svelte-1n46o8q {visibility:visible;opacity:1;}"};function _i(e,t){Oe(t,!0),at(e,vi);let n=lt(t,"assetsUrl",19,()=>t.server?t.server.split("?")[0]:void 0),r=lt(t,"linkHandling",3,"default"),i=lt(t,"chatStarted",7,!1);const o="chatbot-style";let s=M(!1),a=M(!1);li();let l=M(re(un()));hn("ON_CHAT_WINDOW_STATE_CHANGE",function(C){F(l,C,!0)});function f(){i(!0)}function u(){i(!1)}function c(w,C){const oe=window.innerWidth,_t=w==null||w==="all",pt=w==="desktop"&&oe>=768,mi=w==="mobile"&&oe<768,yi=_t||pt||mi;(C?x(l)!==!1:!0)&&yi&&dt()}function h(){qe()}function d(w){const C=window.innerWidth,oe=window.location.hostname,_t=new URL(w).hostname,pt=oe===_t;C<768&&qe(),r()==="new-tab"?window.open(w,"_blank"):r()==="existing-tab"||pt?document.location.href=w:window.open(w,"_blank")}function p(){F(a,!0)}ui(f,u,c,h,d),on(async()=>{F(s,await ci(o),!0)});var g=hi();Ir(w=>{var C=di();pe(C,"id",o),Ne(()=>pe(C,"href",`${n()}/custom.css`)),ve(w,C)});var I=nt(g);$r(I,{get assetsUrl(){return n()},get open(){return x(l)},get onToggle(){return dn}});var X=fr(I,2);Zr(X,{get server(){return t.server},get referrer(){return t.referrer},get open(){return x(l)},onLoad:p}),Ne(()=>rn(g,1,`bubble-chat ${x(s)&&x(a)?"chatbot-ready":""}`,"svelte-1n46o8q")),ve(e,g),Ce()}const pi=e=>e.replace(/\/embed\/bundle\.js/,""),wi=e=>e.dataset?.server,gi=e=>{if(e&&"src"in e&&typeof e.src=="string")return wi(e)||pi(e.src)},vt=document.querySelector("script#chatbot"),vn=gi(vt),bi=vt?.getAttribute("link-handling")?vt.getAttribute("link-handling"):"default";window.chatbot=oi;const _n=()=>{console.log("Chatbot is loading from",vn),Nr(_i,{target:document.body,props:{server:vn,referrer:window.location.href,linkHandling:bi}}),ei(!0)},pn=(e=0)=>{e>=3||document.readyState==="complete"?setTimeout(_n,500):setTimeout(()=>{pn(e+1)},500)};pn();const We=document.getElementById("chatbot");We&&"src"in We&&typeof We.src=="string"&&We.src.indexOf("caller=bookmarklet")>0&&setTimeout(_n,500)})();
29
+ box-shadow 100ms;}.chat-button.svelte-1xi58vz:hover {box-shadow:16px 16px 16px rgba(0, 0, 0, 0.2);transform:translateY(-2px);}`};function $r(e,t){Ae(t,!0),at(e,Xr);function n(o){const s=o.key;(s==="ArrowDown"||s==="ArrowRight"||s==="Enter"||s===" "||s==="Space")&&(o.stopPropagation(),t.onToggle())}var r=Qr();r.__click=function(...o){t.onToggle?.apply(this,o)},r.__keydown=n;var i=nt(r);Me(()=>{ge(r,"aria-expanded",t.open?"true":"false"),ge(i,"src",`${t.assetsUrl}/fab.svg`)}),_e(e,r),Re()}Ir(["click","keydown"]);let on=!1;function ei(e){on=e}function ti(){return on}/*! js-cookie v3.0.5 | MIT */function je(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var ni={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function ft(e,t){function n(i,o,s){if(!(typeof document>"u")){s=je({},t,s),typeof s.expires=="number"&&(s.expires=new Date(Date.now()+s.expires*864e5)),s.expires&&(s.expires=s.expires.toUTCString()),i=encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var l in s)s[l]&&(a+="; "+l,s[l]!==!0&&(a+="="+s[l].split(";")[0]));return document.cookie=i+"="+e.write(o,i)+a}}function r(i){if(!(typeof document>"u"||arguments.length&&!i)){for(var o=document.cookie?document.cookie.split("; "):[],s={},a=0;a<o.length;a++){var l=o[a].split("="),f=l.slice(1).join("=");try{var u=decodeURIComponent(l[0]);if(s[u]=e.read(f,u),i===u)break}catch{}}return i?s[i]:s}}return Object.create({set:n,get:r,remove:function(i,o){n(i,"",je({},o,{expires:-1}))},withAttributes:function(i){return ft(this.converter,je({},this.attributes,i))},withConverter:function(i){return ft(je({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var an=ft(ni,{path:"/"});const ln="bubble-chat-window-state",fn=()=>{switch(an.get(ln)){case"open":return!0;case"closed":return!1;default:return}},un=e=>{const t=new Date(new Date().getTime()+288e5);an.set(ln,e,{expires:t})},ut=[];let ct=fn();function dt(){ct=!0,un("open"),ut.forEach(function(e){e.call(window,!0)})}function qe(){ct=!1,un("closed"),ut.forEach(function(e){e.call(window,!1)})}function cn(){ct?qe():dt()}function ri(){ht({type:"RESTART_CHAT"})}function ii(e){ht({type:"CHAT_MESSAGE_FROM_GUEST",text:e})}function si(e){ht({type:"TRIGGER_STORY",story:e})}function ht(e){document.getElementById("chat-frame")?.contentWindow?.postMessage(e,"*")}function dn(e,t){switch(e){case"ON_CHAT_WINDOW_STATE_CHANGE":ut.push(t);break;default:throw new Error("Unsupported event "+e)}}const oi=Object.freeze(Object.defineProperty({__proto__:null,closeChatWindow:qe,enterGuestMessage:ii,isChatbotLoaded:ti,openChatWindow:dt,restartChat:ri,subscribe:dn,toggleChatWindow:cn,triggerStory:si},Symbol.toStringTag,{value:"Module"}));function ai(){return navigator.userAgent.match(/(iPad|iPhone|iPod)/g)}const li=()=>{ai()&&document.querySelectorAll("html, body").forEach(e=>{e.classList.add("iOS-device")})},fi=e=>{"gtag"in window&&typeof window.gtag=="function"?window.gtag("event","",e):"dataLayer"in window&&Array.isArray(window.dataLayer)&&window.dataLayer.push(e)},ui=(e,t,n,r,i)=>{window.addEventListener("message",o=>{const s=o.data;switch(s.type){case"webclient.chat.started":e();break;case"webclient.chat.ended":t();break;case"webclient.window.expand":n(s.devices,s.initial);break;case"webclient.window.close":r();break;case"webclient.change.url":i(s.url);break;case"google.tag.event":fi(s.payload);break}},!1)},ci=e=>new Promise(t=>{const n=document.getElementById(e);n?(n.onload=()=>{t(!0)},n.onerror=()=>{console.error("Failed to load CSS file: custom.css"),t(!1)}):(console.error("No custom.css file found"),t(!1))});var di=xe('<link rel="stylesheet"/>'),hi=xe("<div><!> <!></div>");const vi={hash:"svelte-1n46o8q",code:".bubble-chat.svelte-1n46o8q {font-size:16px;visibility:hidden;opacity:0;}.bubble-chat.chatbot-ready.svelte-1n46o8q {visibility:visible;opacity:1;}"};function _i(e,t){Ae(t,!0),at(e,vi);let n=lt(t,"assetsUrl",19,()=>t.server?t.server.split("?")[0]:void 0),r=lt(t,"linkHandling",3,"default"),i=lt(t,"chatStarted",7,!1);const o="chatbot-style";let s=M(!1),a=M(!1);li();let l=M(ne(fn()));dn("ON_CHAT_WINDOW_STATE_CHANGE",function(A){F(l,A,!0)});function f(){i(!0)}function u(){i(!1)}function d(g,A){const se=window.innerWidth,_t=g==null||g==="all",pt=g==="desktop"&&se>=768,bi=g==="mobile"&&se<768,yi=_t||pt||bi;(A?T(l)!==!1:!0)&&yi&&dt()}function h(){qe()}function c(g){const A=window.innerWidth,se=window.location.hostname,_t=new URL(g).hostname,pt=se===_t;A<768&&qe(),r()==="new-tab"?window.open(g,"_blank"):r()==="existing-tab"||pt?document.location.href=g:window.open(g,"_blank")}function p(){F(a,!0)}ui(f,u,d,h,c),sn(async()=>{F(s,await ci(o),!0)});var m=hi();Dr(g=>{var A=di();ge(A,"id",o),Me(()=>ge(A,"href",`${n()}/custom.css`)),_e(g,A)});var x=nt(m);$r(x,{get assetsUrl(){return n()},get open(){return T(l)},get onToggle(){return cn}});var we=ur(x,2);Jr(we,{get server(){return t.server},get referrer(){return t.referrer},get open(){return T(l)},onLoad:p}),Me(()=>nn(m,1,`bubble-chat ${T(s)&&T(a)?"chatbot-ready":""}`,"svelte-1n46o8q")),_e(e,m),Re()}const pi=e=>e.replace(/\/embed\/bundle\.js/,""),gi=e=>e.dataset?.server,wi=e=>{if(e&&"src"in e&&typeof e.src=="string")return gi(e)||pi(e.src)},vt=document.querySelector("script#chatbot"),hn=wi(vt),mi=vt?.getAttribute("link-handling")?vt.getAttribute("link-handling"):"default";window.chatbot=oi;const vn=()=>{console.log("Chatbot is loading from",hn),Nr(_i,{target:document.body,props:{server:hn,referrer:window.location.href,linkHandling:mi}}),ei(!0)},_n=(e=0)=>{e>=3||document.readyState==="complete"?setTimeout(vn,500):setTimeout(()=>{_n(e+1)},500)};_n();const Be=document.getElementById("chatbot");Be&&"src"in Be&&typeof Be.src=="string"&&Be.src.indexOf("caller=bookmarklet")>0&&setTimeout(vn,500)})();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botfabrik/engine-webclient",
3
- "version": "4.100.11",
3
+ "version": "4.100.12",
4
4
  "description": "Webclient for Botfabriks Bot Engine",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -43,5 +43,5 @@
43
43
  "tsx": "^4.20.6",
44
44
  "typescript": "5.9.3"
45
45
  },
46
- "gitHead": "08c6874c05eac916bf034ca636bca0a0f0520c92"
46
+ "gitHead": "86c20b00c07f34b86552ea29bb45653c1539f12e"
47
47
  }