PageSourceSearch

https://chatbot.apptiva.ch/chatbot/embed/bundle.js

js apptiva.ch collected 2026-10-07 19:12:12 UTC 43,946 bytes, 32 lines download raw bytes

vendor: 4,219 bytes, line 1
1(function(){var e=Object.defineProperty,t=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n||e(r,Symbol.toStringTag,{value:`Module`}),r},n=Array.isArray,r=Array.prototype.indexOf,i=Array.prototype.includes,a=Array.from,o=Object.defineProperty,s=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyDescriptors,l=Object.prototype,u=Array.prototype,d=Object.getPrototypeOf,f=Object.isExtensible,p=()=>{};function m(e){for(var t=0;t<e.length;t++)e[t]()}function h(){var e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}var g=1024,_=2048,v=4096,y=8192,ee=16384,te=32768,ne=1<<25,re=65536,ie=1<<18,ae=1<<19,oe=1<<20,se=1<<21,ce=1<<22,le=1<<23,ue=Symbol(`$state`),de=Symbol(`component`),fe=Symbol(`legacy props`),pe=Symbol(``),me=Symbol(`attributes`),he=Symbol(`class`),ge=Symbol(`style`),_e=Symbol(`text`),ve=new class extends Error{name=`StaleReactionError`;message="The reaction that called `getAbortSignal()` was re-run or destroyed"},ye=!!globalThis.document?.contentType&&globalThis.document.contentType.includes(`xml`),be={},b=Symbol(`uninitialized`),xe=`http://www.w3.org/1999/xhtml`;function Se(){console.warn(`https://svelte.dev/e/derived_inert`)}function Ce(e){console.warn(`https://svelte.dev/e/hydration_mismatch`)}function we(){console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`)}var x=!1;function Te(e){x=e}var S;function C(e){if(e===null)throw Ce(),be;return S=e}function Ee(){return C(L(S))}function De(e){if(x){if(L(S)!==null)throw Ce(),be;S=e}}function Oe(e=1){if(x){for(var t=e,n=S;t--;)n=L(n);S=n}}function ke(e=!0){for(var t=0,n=S;;){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=L(n);e&&n.remove(),n=i}}function Ae(e){if(!e||e.nodeType!==8)throw Ce(),be;return e.data}function je(e){return e===this.v}function Me(e,t){return e==e?e!==t||typeof e==`object`&&!!e||typeof e==`function`:t==t}function Ne(e){return!Me(e,this.v)}function Pe(e){throw Error(`https://svelte.dev/e/lifecycle_outside_component`)}function Fe(){throw Error(`https://svelte.dev/e/async_derived_orphan`)}function Ie(e){throw Error(`https://svelte.dev/e/effect_in_teardown`)}function Le(){throw Error(`https://svelte.dev/e/effect_in_unowned_derived`)}function Re(e){throw Error(`https://svelte.dev/e/effect_orphan`)}function ze(){throw Error(`https://svelte.dev/e/effect_update_depth_exceeded`)}function Be(e){throw Error(`https://svelte.dev/e/props_invalid_value`)}function Ve(){throw Error(`https://svelte.dev/e/state_descriptors_fixed`)}function He(){throw Error(`https://svelte.dev/e/state_prototype_fixed`)}function Ue(){throw Error(`https://svelte.dev/e/state_unsafe_mutation`)}function We(){throw Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`)}var w=null;function Ge(e){w=e}function Ke(e,t=!1,n){w={p:w,i:!1,c:null,e:null,s:e,x:null,r:K,l:null}}function qe(e){var t=w,n=t.e;if(n!==null){t.e=null;for(var r of n)nn(r)}return e!==void 0&&(t.x=e),t.i=!0,w=t.p,Je(e)}function Je(e={}){return o(e,de,{value:!0}),e}function Ye(){return!0}var Xe=[];function Ze(){var e=Xe;Xe=[],m(e)}function T(e){if(Xe.length===0&&!vt){var t=Xe;queueMicrotask(()=>{t===Xe&&Ze()})}Xe.push(e)}var Qe=~(_|v|g);function E(e,t){e.f=e.f&Qe|t}function $e(e){e.f&512||e.deps===null?E(e,g):E(e,v)}function et(e,t,n){e.f&2048?t.add(e):e.f&4096&&n.add(e),E(e,g)}function tt(e){var t=U,n=K;G(null),q(null);try{return e()}finally{G(t),q(n)}}function nt(e,t,n,r){let i=Ye()?ot:lt;var a=e.filter(e=>!e.settled),o=t.map(i);if(n.length===0&&a.length===0){r(o);return}var s=K,c=rt(),l=a.length===1?a[0].promise:a.length>1?Promise.all(a.map(e=>e.promise)):null;function u(e){if(!(s.f&16384)){c();try{r([...o,...e])}catch(e){R(e,s)}it()}}var d=at();if(n.length===0){l.then(()=>u([])).finally(d);return}function f(){Promise.all(n.map(e=>ct(e))).then(u).catch(e=>R(e,s)).finally(d)}l?l.then(()=>{c(),f(),it()}):f()}function rt(){var e=K,t=U,n=w,r=D;return function(i=!0){q(e),G(t),Ge(n),i&&!(e.f&16384)&&(r?.activate(),r?.apply())}}function it(e=!0){q(null),G(null),Ge(null),e&&D?.deactivate()}function at(){var e=K,t=e.b,n=D,r=!!t?.is_rendered();return t?.update_pending_count(1,n),n.increment(r,e),()=>
1{t?.update_pending_count(-1,n),n.decrement(r,e)}}function ot(e){var t=2|_;return K!==null&&(K.f|=ae),{ctx:w,deps:null,effects:null,equals:je,f:t,fn:e,reactions:null,rv:0,v:b,wv:0,parent:K,ac:null}}var st=Symbol(`obsolete`);function ct(e,t,n){let r=K;r===null&&Fe();var i=void 0,a=Mt(b),o=!U,s=new Set;return on(()=>{var t=K,n=h();i=n.promise;try{Promise.resolve(e()).then(n.resolve,e=>{e!==ve&&n.reject(e)}).finally(it)}catch(e){n.reject(e),it()}var c=D;if(o){if(t.f&32768)var l=at();if(r.b?.is_rendered())c.async_deriveds.get(t)?.reject(st);else for(let e of s.values())e.reject(st);s.add(n),c.async_deriveds.set(t,n)}let u=(e,t=void 0)=>{l?.(),s.delete(n),t!==st&&(c.activate(),t?(a.f|=le,Pt(a,t)):(a.f&8388608&&(a.f^=le),Pt(a,e)),c.deactivate())};n.promise.then(u,e=>u(null,e||`unknown`))}),en(()=>{for(let e of s)e.reject(st)}),new Promise(e=>{function t(n){function r(){n===i?e(a):t(i)}n.then(r,r)}t(i)})}function lt(e){let t=ot(e);return t.equals=Ne,t}function ut(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)V(t[n])}}function dt(e){var t,n=K,r=e.parent;if(!H&&r!==null&&e.v!==b&&r.f&24576)return Se(),e.v;q(r);try{ut(e),t=jn(e)}finally{q(n)}return t}function ft(e){var t=dt(e);if(!e.equals(t)&&(e.wv=On(),(!D?.is_fork||e.deps===null)&&(D===null?e.v=t:(D.capture(e,t,!0),gt?.capture(e,t,!0)),e.deps===null))){E(e,g);return}H||(O===null?$e(e):($t()||D?.is_fork)&&O.set(e,t))}function pt(e){if(e.effects!==null)for(let t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac!==null&&tt(()=>{t.ac.abort(ve),t.ac=null}),t.fn!==null&&(t.teardown=p),Pn(t,0),dn(t))}function mt(e){if(e.effects!==null)for(let t of e.effects)t.teardown&&t.fn!==null&&Fn(t)}var ht=null,D=null,gt=null,O=null,_t=null,vt=!1,yt=!1,bt=null,xt=null,St=0,Ct=1,wt=class e{id=Ct++;#e=!1;linked=!0;#t=null;#n=null;async_deriveds=new Map;current=new Map;previous=new Map;#r=new Set;#i=new Set;#a=0;#o=new Map;#s=null;#c=[];#l=[];#u=new Set;#d=new Set;#f=new Map;#p=new Set;is_fork=!1;#m=!1;constructor(){ht===null?ht=this:(ht.#n=this,this.#t=ht),ht=this}#h(){if(this.is_fork)return!0;for(let n of this.#o.keys()){for(var e=n,t=!1;e.parent!==null;){if(this.#f.has(e)){t=!0;break}e=e.parent}if(!t)return!0}return!1}skip_effect(e){this.#f.has(e)||this.#f.set(e,{d:[],m:[]}),this.#p.delete(e)}unskip_effect(e,t=e=>this.schedule(e)){var n=this.#f.get(e);if(n){this.#f.delete(e);for(var r of n.d)E(r,_),t(r);for(r of n.m)E(r,v),t(r)}this.#p.add(e)}#g(){var e=[];for(let i of this.#c)if(!(i.f&16384||!(i.f&6144))){for(var t=i,n=!1;t.parent!==null;){t=t.parent;var r=t.f;if(r&96){if(!(r&1024)){n=!0;break}t.f^=g}}n||e.push(t)}return this.#c=[],e}#_(){this.#e=!0;for(let e of this.#u)this.#d.delete(e),E(e,_),this.schedule(e);for(let e of this.#d)E(e,v),this.schedule(e);this.apply();for(var t=bt=[],n=[],r=xt=[];this.#c.length>0;){St++>1e3&&(this.#S(),Tt());for(let e of this.#g())try{this.#v(e,t,n)}catch(t){throw kt(e),this.#h()||this.discard(),t}}if(D=null,r.length>0){var i=e.ensure();for(let e of r)i.schedule(e)}if(bt=null,xt=null,this.#h()){this.#x(n),this.#x(t);for(let[e,t]of this.#f)Ot(e,t);r.length>0&&D.#_();return}let a=this.#y();if(a){this.#x(n),this.#x(t),a.#b(this);return}this.#u.clear(),this.#d.clear();for(let e of this.#r)e(this);this.#r.clear(),gt=this,Et(n),Et(t),gt=null,this.#s?.resolve();var o=D;if(this.#a===0&&(this.#c.length===0||o!==null)&&this.#S(),this.#c.length>0){if(o!==null){for(let e of this.#c)o.#c.push(e);this.#c=[]}else o=this}o!==null&&(A.clear(),o.#_())}#v(e,t,n){e.f^=g;for(var r=e.first;r!==null;){var i=r.f,a=!!(i&96);if(!(a&&i&1024||i&8192||this.#f.has(r))&&r.fn!==null){a?r.f^=g:i&4?t.push(r):kn(r)&&(i&16&&this.#d.add(r),Fn(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}}}#y(){for(var e=this.#t;e!==null;){if(!e.is_fork){for(let[t,[,n]]of this.current)if(e.current.has(t)&&!n)return e}e=e.#t}return null}#b(e){for(let[t,n]of e.current)!this.previous.has(t)&&e.previous.has(t)&&this.previous.set(t,e.previous.get(t)),this.current.set(t,n);for(let[t,n]of e.async_deriveds){let e=this.async_deriveds.get(t);
vendor: 19,305 bytes, line 1
1e&&n.promise.then(e.resolve).catch(e.reject)}e.async_deriveds.clear(),this.transfer_effects(e.#u,e.#d);let t=e=>{var n=e.reactions;if(n!==null&&!(e.f&2&&!(e.f&6144)))for(let e of n){var r=e.f;if(r&2)t(e);else{var i=e;r&4194320&&!this.async_deriveds.has(i)&&(this.#d.delete(i),E(i,_),this.schedule(i))}}};for(let e of this.current.keys())t(e);this.oncommit(()=>e.discard()),e.#S(),D=this,this.#_()}#x(e){for(var t=0;t<e.length;t+=1)et(e[t],this.#u,this.#d)}capture(e,t,n=!1){e.v!==b&&!this.previous.has(e)&&this.previous.set(e,e.v),e.f&8388608||(this.current.set(e,[t,n]),O?.set(e,t)),this.is_fork||(e.v=t)}activate(){D=this}deactivate(){D=null,O=null}flush(){try{yt=!0,D=this,this.#_()}finally{St=0,_t=null,bt=null,xt=null,yt=!1,D=null,O=null,A.clear()}}discard(){for(let e of this.#i)e(this);this.#i.clear();for(let e of this.async_deriveds.values())e.reject(st);this.#S(),this.#s?.resolve()}register_created_effect(e){this.#l.push(e)}increment(e,t){if(this.#a+=1,e){let e=this.#o.get(t)??0;this.#o.set(t,e+1)}}decrement(e,t){if(--this.#a,e){let e=this.#o.get(t)??0;e===1?this.#o.delete(t):this.#o.set(t,e-1)}this.#m||(this.#m=!0,T(()=>{this.#m=!1,this.linked&&this.flush()}))}transfer_effects(e,t){for(let t of e)this.#u.add(t);for(let e of t)this.#d.add(e);e.clear(),t.clear()}oncommit(e){this.#r.add(e)}ondiscard(e){this.#i.add(e)}settled(){return(this.#s??=h()).promise}static ensure(){if(D===null){let t=D=new e;!yt&&T(()=>{t.#e||t.flush()})}return D}apply(){O=null}schedule(e){if(_t=e,e.b?.is_pending&&e.f&16777228&&!(e.f&32768)){e.b.defer_effect(e);return}this.#c.push(e)}#S(){if(this.linked){var e=this.#t,t=this.#n;e===null||(e.#n=t),t===null?ht=e:t.#t=e,this.linked=!1}}};function Tt(){try{ze()}catch(e){R(e,_t)}}var k=null;function Et(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if(!(r.f&24576)&&kn(r)&&(k=new Set,Fn(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&mn(r),k?.size>0)){A.clear();for(let e of k){if(e.f&24576)continue;let t=[e],n=e.parent;for(;n!==null;)k.has(n)&&(k.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){let n=t[e];n.f&24576||Fn(n)}}k.clear()}}k=null}}function Dt(e){D.schedule(e)}function Ot(e,t){if(!(e.f&32&&e.f&1024)){e.f&2048?t.d.push(e):e.f&4096&&t.m.push(e),E(e,g);for(var n=e.first;n!==null;)Ot(n,t),n=n.next}}function kt(e){E(e,g);for(var t=e.first;t!==null;)kt(t),t=t.next}var At=new Set,A=new Map,jt=!1;function Mt(e,t){return{f:0,v:e,reactions:null,equals:je,rv:0,wv:0}}function j(e,t){let n=Mt(e,t);return Cn(n),n}function M(e,t,n=!1){return U!==null&&(!W||U.f&131072)&&Ye()&&U.f&4325394&&(J===null||!J.has(e))&&Ue(),Pt(e,n?P(t):t,xt)}var N=null,Nt=0;function Pt(e,t,n=null){if(!e.equals(t)){H?A.set(e,t):A.has(e)||A.set(e,e.v);var r=wt.ensure();if(r.capture(e,t),e.f&2){let t=e;e.f&2048&&dt(t),O===null&&$e(t)}e.wv=On(),N=null,Nt=0,Lt(e,_,n),N=null,Ye()&&K!==null&&K.f&1024&&!(K.f&96)&&(Z===null?wn([e]):Z.push(e)),!r.is_fork&&At.size>0&&!jt&&Ft()}return t}function Ft(){jt=!1;for(let e of At){e.f&1024&&E(e,v);let t;try{t=kn(e)}catch{t=!0}t&&Fn(e)}At.clear()}function It(e){M(e,e.v+1)}function Lt(e,t,n){var r=e.reactions;if(r!==null){var i=Ye(),a=r.length;if(Nt+=a,Nt>1e5&&N===null&&(N=new Set),N!==null){if(N.has(e))return;N.add(e)}for(var o=0;o<a;o++){var s=r[o],c=s.f;if(i||s!==K){var l=(c&_)===0;if(l&&E(s,t),c&131072)At.add(s);else if(c&2){var u=s;O?.delete(u),Lt(u,v,n)}else if(l){var d=s;c&16&&k!==null&&k.add(d),n===null?Dt(d):n.push(d)}}}}}function P(e){if(typeof e!=`object`||!e||ue in e||de in e)return e;let t=d(e);if(t!==l&&t!==u)return e;var r=new Map,i=n(e),a=j(0),o=null,c=En,f=e=>{if(En===c)return e();var t=U,n=En;G(null),Dn(c);var r=e();return G(t),Dn(n),r};return i&&r.set(`length`,j(e.length,o)),new Proxy(e,{defineProperty(e,t,n){(!(`value`in n)||n.configurable===!1||n.enumerable===!1||n.writable===!1)&&Ve();var i=r.get(t);return i===void 0?f(()=>{var e=j(n.value,o);return r.set(t,e),e}):M(i,n.value,!0),!0},deleteProperty(e,t){var n=r.get(t);if(n===void 0){if(t in e){let e=f(()=>j(b,o));r.set(t,e),It(a)}}else M(n,b),It(a);return!0},get(t,n,i){if(n===ue)return e;var a=r.get(n),c=n in t;if(a===void 0&&(!c||s(t,n)?.writable)&&(a=f(()=>j(P(c?t[n]:b),o)),r.set(n,a)),a!==void 0){var l=$(a);return l===b?void 0:l}return Reflect.get(t,n,i)},getOwnPropertyDescriptor(e,t){this.has?.(e,t);var n=Reflect.getOwnPropertyDescriptor(e,t),i=r.get(t);if(i!==void 0){var a=$(i);if(a===b)return;if(n&&`value`in n)n.value=a;else return{enumerable:!0,configurable:!0,value:a,writable:!0}}return n},has(e,t){if(t===ue)return!0;var n=r.get(t),i=n!==void 0&&n.v!==b||Reflect.has(e,t);return(n!==void 0||K!==null&&(!i||s(e,t)?.writable))&&(n===void 0&&(n=f(()=>j(i?P(e[t]):b,o)),r.set(t,n)),$(n)===b)?!1:i},set(e,t,n,c){var l=r.get(t),u=t in e;if(i&&t===`length`)for(var d=n;d<l.v;d+=1){var p=r.get(d+``);p===void 0?d in e&&(p=f(()=>j(b,o)),r.set(d+``,p)):M(p,b)}if(l===void 0)(!u||s(e,t)?.writable)&&(l=f(()=>j(void 0,o)),M(l,P(n)),r.set(t,l));else{u=l.v!==b;var m=f(()=>P(n));M(l,m)}var h=Reflect.getOwnPropertyDescriptor(e,t);if(h?.set&&h.set.call(c,n),!u){if(i&&typeof t==`string`){var g=r.get(`length`),_=Number(t);Number.isInteger(_)&&_>=g.v&&M(g,_+1)}It(a)}return!0},ownKeys(e){$(a);var t=Reflect.ownKeys(e).filter(e=>{var t=r.get(e);return t===void 0||t.v!==b});for(var[n,i]of r)i.v!==b&&!(n in e)&&t.push(n);return t},setPrototypeOf(){He()}})}var Rt,zt,Bt,Vt;function Ht(){if(Rt===void 0){Rt=window,zt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Bt=s(t,`firstChild`).get,Vt=s(t,`nextSibling`).get,f(e)&&(e[he]=void 0,e[me]=null,e[ge]=void 0,e.__e=void 0),f(n)&&(n[_e]=void 0)}}function F(e=``){return document.createTextNode(e)}function I(e){return Bt.call(e)}function L(e){return Vt.call(e)}function Ut(e,t){if(!x)return I(e);var n=I(S);if(n===null)n=S.appendChild(F());else if(t&&n.nodeType!==3){var r=F();return n?.before(r),C(r),r}return t&&Yt(n),C(n),n}function Wt(e,t=!1){if(!x){var n=I(e);return n instanceof Comment&&n.data===``?L(n):n}if(t){if(S?.nodeType!==3){var r=F();return S?.before(r),C(r),r}Yt(S)}return S}function Gt(e,t=!1){if(!x)return I(e);var n=Ut(e,t);return De(e),n}function Kt(e,t=1,n=!1){let r=x?S:e;for(var i;t--;)i=r,r=L(r);if(!x)return r;if(n){if(r?.nodeType!==3){var a=F();return r===null?i?.after(a):r.before(a),C(a),a}Yt(r)}return C(r),r}function qt(){return!1}function Jt(e,t,n){return t==null||t===`http://www.w3.org/1999/xhtml`?n?document.createElement(e,{is:n}):document.createElement(e):n?document.createElementNS(t,e,{is:n}):document.createElementNS(t,e)}function Yt(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 Xt(e){var t=K;if(t===null)return U.f|=le,e;if(!(t.f&32768)&&!(t.f&4))throw e;R(e,t)}function R(e,t){if(!(t!==null&&t.f&16384)){for(;t!==null;){if(t.f&128&&!(t.f&33570816)){if(!(t.f&32768))throw e;try{t.b.error(e);return}catch(t){e=t}}t=t.parent}throw e}}function Zt(e){K===null&&(U===null&&Re(e),Le()),H&&Ie(e)}function Qt(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function z(e,t){var n=K;n!==null&&n.f&8192&&(e|=y);var r={ctx:w,deps:null,nodes:null,f:e|_|512,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null};D?.register_created_effect(r);var i=r;if(e&4)bt===null?wt.ensure().schedule(r):bt.push(r);else if(t!==null){try{Fn(r)}catch(e){throw V(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|=re))}if(i!==null&&(i.parent=n,n!==null&&Qt(i,n),U!==null&&U.f&2&&!(e&64))){var a=U;(a.effects??=[]).push(i)}return r}function $t(){return U!==null&&!W}function en(e){let t=z(8,null);return E(t,g),t.teardown=e,t}function tn(e){Zt(`$effect`);var t=K.f;if(!U&&t&32&&w!==null&&!w.i){var n=w;(n.e??=[]).push(e)}else return nn(e)}function nn(e){return z(4|oe,e)}function rn(e){wt.ensure();let t=z(64|ae,e);return(e={})=>new Promise(n=>{e.outro?hn(t,()=>{V(t),n(void 0)}):(V(t),n(void 0))})}function an(e){return z(4,e)}function on(e){return z(ce|ae,e)}function sn(e,t=0){return z(8|t,e)}function cn(e,t=[],n=[],r=[]){nt(r,t,n,t=>{z(8,()=>{e(...t.map($))})})}function ln(e,t=0){return z(16|t,e)}function B(e){return z(32|ae,e)}function un(e){var t=e.teardown;if(t!==null){let n=H,r=U;Sn(!0),G(null);try{t.call(null)}catch(t){R(t,e.parent)}finally{Sn(n),G(r)}}}function dn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){let e=n.ac;e!==null&&tt(()=>{e.abort(ve)});var r=n.next;n.f&64?n.parent=null:V(n,t),n=r}}function fn(e){for(var t=e.first;t!==null;){var n=t.next;t.f&32||V(t),t=n}}function V(e,t=!0){var n=!1;(t||e.f&262144)&&e.nodes!==null&&e.nodes.end!==null&&(pn(e.nodes.start,e.nodes.end),n=!0),e.f|=ne,dn(e,t&&!n),Pn(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)e.stop();un(e),e.f^=ne,e.f|=ee;var i=e.parent;i!==null&&i.first!==null&&mn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function pn(e,t){for(;e!==null;){var n=e===t?null:L(e);e.remove(),e=n}}function mn(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 hn(e,t,n=!0){var r=[];e.f|=256,gn(e,r,!0);var i=()=>{n&&V(e),t&&t()},a=r.length;if(a>0){var o=()=>--a||i();for(var s of r)s.out(o)}else i()}function gn(e,t,n){if(!(e.f&8192)){e.f^=y;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;if(!(i.f&64)){var o=!!(i.f&65536)||!!(i.f&32)&&!!(e.f&16);gn(i,t,o?n:!1)}i=a}}}function _n(e){e.f&=-257,vn(e,!0)}function vn(e,t){if(!(e.f&256)&&e.f&8192){e.f^=y,e.f&1024||(E(e,_),wt.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=!!(n.f&65536)||!!(n.f&32);vn(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 yn(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:L(n);t.append(n),n=i}}var bn=null,xn=!1,H=!1;function Sn(e){H=e}var U=null,W=!1;function G(e){U=e}var K=null;function q(e){K=e}var J=null;function Cn(e){U!==null&&(U.f&2097152||U.f&2)&&(J??=new Set).add(e)}var Y=null,X=0,Z=null;function wn(e){Z=e}var Tn=1,Q=0,En=Q;function Dn(e){En=e}function On(){return++Tn}function kn(e){var t=e.f;if(t&2048)return!0;if(t&4096){for(var n=e.deps,r=n.length,i=0;i<r;i++){var a=n[i];if(kn(a)&&ft(a),a.wv>e.wv)return!0}t&512&&O===null&&E(e,g)}return!1}function An(e,t,n=!0){var r=e.reactions;if(r!==null&&!(J!==null&&J.has(e)))for(var i=0;i<r.length;i++){var a=r[i];a.f&2?An(a,t,!1):t===a&&(n?E(a,_):a.f&1024&&E(a,v),Dt(a))}}function jn(e){var t=Y,n=X,r=Z,i=U,a=J,o=w,s=W,c=En,l=e.f;Y=null,X=0,Z=null,U=l&96?null:e,J=null,Ge(e.ctx),W=!1,En=++Q,e.ac!==null&&(tt(()=>{e.ac.abort(ve)}),e.ac=null);try{e.f|=se;var u=e.fn,d=u();e.f|=te;var f=Mn(e);if(Ye()&&Z!==null&&!W&&f!==null&&!(e.f&6146))for(var p=0;p<Z.length;p++)An(Z[p],e);if(i!==null&&i!==e){if(Q++,i.deps!==null)for(let e=0;e<n;e+=1)i.deps[e].rv=Q;if(t!==null)for(let e of t)e.rv=Q;Z!==null&&(r===null?r=Z:r.push(...Z))}return e.f&8388608&&(e.f^=le),d}catch(t){return Mn(e),Xt(t)}finally{e.f^=se,Y=t,X=n,Z=r,U=i,J=a,Ge(o),W=s,En=c}}function Mn(e){var t=e.deps,n=D?.is_fork;if(Y!==null){var r;if(n||Pn(e,X),t!==null&&X>0)for(t.length=X+Y.length,r=0;r<Y.length;r++)t[X+r]=Y[r];else e.deps=t=Y;if($t()&&e.f&512)for(r=X;r<t.length;r++)(t[r].reactions??=[]).push(e)}else!n&&t!==null&&X<t.length&&(Pn(e,X),t.length=X);return t}function Nn(e,t){let n=t.reactions;if(n!==null){var a=r.call(n,e);if(a!==-1){var o=n.length-1;o===0?n=t.reactions=null:(n[a]=n[o],n.pop())}}if(n===null&&t.f&2&&(Y===null||!i.call(Y,t))){var s=t;s.f&512&&(s.f^=512),s.v!==b&&$e(s),s.ac!==null&&tt(()=>{s.ac.abort(ve),s.ac=null,E(s,_)}),pt(s),Pn(s,0)}}function Pn(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Nn(e,n[r])}function Fn(e){var t=e.f;if(!(t&16384)){E(e,g);var n=K,r=xn;K=e,xn=!(t&96);try{t&16777232?fn(e):dn(e),un(e);var i=jn(e);e.teardown=typeof i==`function`?i:null,e.wv=Tn}finally{xn=r,K=n}}}function $(e){var t=!!(e.f&2);if(bn?.add(e),U!==null&&!W&&!(K!==null&&K.f&16384)&&(J===null||!J.has(e))){var n=U.deps;if(U.f&2097152)e.rv<Q&&(e.rv=Q,Y===null&&n!==null&&n[X]===e?X++:Y===null?Y=[e]:Y.push(e));else{U.deps??=[],i.call(U.deps,e)||U.deps.push(e);var r=e.reactions;r===null?e.reactions=[U]:i.call(r,U)||r.push(U)}}if(H&&A.has(e))return A.get(e);if(t){var a=e;if(H){var o=a.v;return(!(a.f&1024)&&a.reactions!==null||Ln(a))&&(o=dt(a)),A.set(a,o),o}var s=!(a.f&512)&&!W&&U!==null&&(xn||!!(U.f&512)),c=(a.f&te)===0;kn(a)&&(s&&(a.f|=512),ft(a)),s&&!c&&(mt(a),In(a))}if(O?.has(e))return O.get(e);if(e.f&8388608)throw e.v;return e.v}function In(e){if(e.f|=512,e.deps!==null)for(let t of e.deps)(t.reactions??=[]).push(e),t.f&2&&!(t.f&512)&&(mt(t),In(t))}function Ln(e){if(e.v===b)return!0;if(e.deps===null)return!1;for(let t of e.deps)if(A.has(t)||t.f&2&&Ln(t))return!0;return!1}function Rn(e){var t=W;try{return W=!0,e()}finally{W=t}}[...`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(`.`)];var zn=[`touchstart`,`touchmove`];function Bn(e){return zn.includes(e)}var Vn=Symbol(`events`),Hn=new Set,Un=new Set;function Wn(e,t,n){(t[Vn]??={})[e]=n}function Gn(e){for(var t=0;t<e.length;t++)Hn.add(e[t]);for(var n of Un)n(e)}var Kn=null,qn=!1;function Jn(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],a=i[0]||e.target;Kn=e,qn||(qn=!0,setTimeout(()=>{qn=!1,Kn=null}));var s=0,c=Kn===e&&e[Vn];if(c){var l=i.indexOf(c);if(l!==-1&&(t===document||t===window)){e[Vn]=t;return}var u=i.indexOf(t);if(u===-1)return;l<=u&&(s=l)}if(a=i[s]||e.target,a!==t){o(e,`currentTarget`,{configurable:!0,get(){return a||n}});var d=U,f=K;G(null),q(null);try{for(var p,m=[];a!==null&&a!==t;){try{var h=a[Vn]?.[r];h!=null&&(!a.disabled||e.target===a)&&h.call(a,e)}catch(e){p?m.push(e):p=e}if(e.cancelBubble)break;s++,a=s<i.length?i[s]:null}if(p){for(let e of m)queueMicrotask(()=>{throw e});throw p}}finally{e[Vn]=t,delete e.currentTarget,G(d),q(f)}}}var Yn=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy(`svelte-trusted-html`,{createHTML:e=>e});function Xn(e){return Yn?.createHTML(e)??e}function Zn(e){var t=Jt(`template`);return t.innerHTML=Xn(e.replaceAll(`<!>`,`<!---->`)),t.content}function Qn(e,t){var n=K;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function $n(e,t){var n=!!(t&1),r=!!(t&2),i,a=!e.startsWith(`<!>`);return()=>{if(x)return Qn(S,null),S;i===void 0&&(i=Zn(a?e:`<!>`+e),n||(i=I(i)));var t=r||zt?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=I(t),s=t.lastChild;Qn(o,s)}else Qn(t,t);return t}}function er(){if(x)return Qn(S,null),S;var e=document.createDocumentFragment(),t=document.createComment(``),n=F();return e.append(t,n),Qn(t,n),e}function tr(e,t){if(x){var n=K;(!(n.f&32768)||n.nodes.end===null)&&(n.nodes.end=S),Ee();return}e!==null&&e.before(t)}function nr(e){let t=0,n=Mt(0),r;return()=>{$t()&&($(n),sn(()=>(t===0&&(r=Rn(()=>e(()=>It(n)))),t+=1,()=>{T(()=>{--t,t===0&&(r?.(),r=void 0,It(n))})})))}}var rr=re|ae;function ir(e,t,n,r){new ar(e,t,n,r)}var ar=class{parent;is_pending=!1;transform_error;#e;#t=x?S: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=nr(()=>(this.#m=Mt(this.#l),()=>{this.#m=null}));constructor(e,t,n,r){this.#e=e,this.#n=t,this.#r=e=>{var t=K;t.b=this,t.f|=128,n(e)},this.parent=K.b,this.transform_error=r??this.parent?.transform_error??(e=>e),this.#i=ln(()=>{if(x){let e=this.#t;Ee();let t=e.data===`[!`;if(e.data.startsWith(`[?`)){let t=JSON.parse(e.data.slice(2));this.#_(t)}else t?this.#y():this.#g()}else this.#b()},rr),x&&(this.#e=S)}#g(){try{this.#a=B(()=>this.#r(this.#e))}catch(e){this.error(e)}}#_(e){let t=this.#n.failed,{reset:n,invoke_onerror:r}=this.#v(e);T(r),t&&(this.#s=B(()=>{t(this.#e,()=>e,()=>n)}))}#v(e){var t=!1,n=!1;let r=()=>{if(t){we();return}t=!0,n&&We(),this.#s!==null&&hn(this.#s,()=>{this.#s=null}),this.#S(()=>{this.#b()})};return{reset:r,invoke_onerror:()=>{try{n=!0,this.#n.onerror?.(e,r),n=!1}catch(e){R(e,this.#i&&this.#i.parent)}}}}#y(){let e=this.#n.pending;e&&(this.is_pending=!0,this.#o=B(()=>e(this.#e)),T(()=>{var e=this.#c=document.createDocumentFragment(),t=F(),n=!1;if(e.append(t),this.#a=this.#S(()=>{try{return B(()=>this.#r(t))}catch(e){try{this.error(e),n=!0}catch(e){R(e,this.#i.parent)}return null}}),this.#a===null){this.#c=null,n&&this.#x(D);return}this.#u===0&&(this.#e.before(e),this.#c=null,hn(this.#o,()=>{this.#o=null}),this.#x(D))}))}#b(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#l=0,this.#a=B(()=>{this.#r(this.#e)}),this.#u>0){var e=this.#c=document.createDocumentFragment();yn(this.#a,e);let t=this.#n.pending;this.#o=B(()=>t(this.#e))}else this.#x(D)}catch(e){this.error(e)}}#x(e){this.is_pending=!1,e.transfer_effects(this.#f,this.#p)}defer_effect(e){et(e,this.#f,this.#p)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#n.pending}#S(e){var t=K,n=U,r=w;q(this.#i),G(this.#i),Ge(this.#i.ctx);try{return wt.ensure(),e()}finally{q(t),G(n),Ge(r)}}#C(e,t){if(!this.has_pending_snippet()){this.parent&&this.parent.#C(e,t);return}this.#u+=e,this.#u===0&&(this.#x(t),this.#o&&hn(this.#o,()=>{this.#o=null}),this.#c&&=(this.#e.before(this.#c),null))}update_pending_count(e,t){this.#C(e,t),this.#l+=e,!(!this.#m||this.#d)&&(this.#d=!0,T(()=>{this.#d=!1,this.#m&&Pt(this.#m,this.#l)}))}get_effect_pending(){return this.#h(),$(this.#m)}error(e){if(!this.#n.onerror&&!this.#n.failed)throw e;D?.is_fork?(this.#a&&D.skip_effect(this.#a),this.#o&&D.skip_effect(this.#o),this.#s&&D.skip_effect(this.#s),D.oncommit(()=>{this.#w(e)})):this.#w(e)}#w(e){this.#a&&=(V(this.#a),null),this.#o&&=(V(this.#o),null),this.#s&&=(V(this.#s),null),x&&(C(this.#t),Oe(),C(ke()));let t=this.#n.failed,n=e=>{let{reset:n,invoke_onerror:r}=this.#v(e);r(),t&&(this.#s=this.#S(()=>{try{return B(()=>{var r=K;r.b=this,r.f|=128,t(this.#e,()=>e,()=>n)})}catch(e){return R(e,this.#i.parent),null}}))};T(()=>{var t;try{t=this.transform_error(e)}catch(e){R(e,this.#i&&this.#i.parent);return}typeof t==`object`&&t&&typeof t.then==`function`?t.then(n,e=>R(e,this.#i&&this.#i.parent)):n(t)})}};function or(e,t){return cr(e,t)}var sr=new Map;function cr(e,{target:t,anchor:n,props:r={},events:i,context:o,intro:s=!0,transformError:c}){Ht();var l=void 0,u=rn(()=>{var s=n??t.appendChild(F());ir(s,{pending:()=>{}},t=>{Ke({});var n=w;if(o&&(n.c=o),i&&(r.$$events=i),x&&Qn(t,null),l=e(t,r)||Je(),x&&(K.nodes.end=S,S===null||S.nodeType!==8||S.data!==`]`))throw Ce(),be;qe()},c);var u=new Set,d=e=>{for(var n=0;n<e.length;n++){var r=e[n];if(!u.has(r)){u.add(r);var i=Bn(r);for(let e of[t,document]){var a=sr.get(e);a===void 0&&(a=new Map,sr.set(e,a));var o=a.get(r);o===void 0?(e.addEventListener(r,Jn,{passive:i}),a.set(r,1)):a.set(r,o+1)}}}};return d(a(Hn)),Un.add(d),()=>{for(var e of u)for(let n of[t,document]){var r=sr.get(n),i=r.get(e);--i==0?(n.removeEventListener(e,Jn),r.delete(e),r.size===0&&sr.delete(n)):r.set(e,i)}
1Un.delete(d),s!==n&&s.parentNode?.removeChild(s)}});return lr.set(l,u),l}var lr=new WeakMap,ur=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)_n(n),this.#r.delete(t);else{var r=this.#n.get(t);r&&(_n(r.effect),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&&(V(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();yn(r,t),t.append(F()),this.#n.set(e,{effect:r,fragment:t})}else V(r);this.#r.delete(e),this.#t.delete(e)};this.#i||!n?(this.#r.add(e),hn(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)||(V(n.effect),this.#n.delete(e))};ensure(e,t){var n=D,r=qt();if(t&&!this.#t.has(e)&&!this.#n.has(e)){if(r){var i=document.createDocumentFragment(),a=F();i.append(a),this.#n.set(e,{effect:B(()=>t(a)),fragment:i})}else this.#t.set(e,B(()=>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 x&&(this.anchor=S),this.#a(n)}};function dr(e,t,n=!1){var r;x&&(r=S,Ee());var i=new ur(e),a=n?re:0;function o(e,t){if(x){var n=Ae(r);if(e!==parseInt(n.substring(1))){var a=ke();C(a),i.anchor=a,Te(!1),i.ensure(e,t),Te(!0);return}}i.ensure(e,t)}ln(()=>{var e=!1;t((t,n=0)=>{e=!0,o(n,t)}),e||o(-1,null)},a)}function fr(e,t){let n=null,r=x;var i;if(x){n=S;for(var a=I(document.head);a!==null&&(a.nodeType!==8||a.data!==e);)a=L(a);if(a===null)Te(!1);else{var o=L(a);a.remove(),C(o)}}x||(i=document.head.appendChild(F()));try{ln(()=>{var e=B(()=>t(i));e.f|=ie,x||(e.nodes===null?e.nodes={start:i,end:i,a:null,t:null}:e.nodes.end=i)})}finally{r&&(Te(!0),C(n))}}function pr(e,t){an(()=>{e=K?.parent?.nodes?.start??e;var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector(`#`+t.hash)){let e=Jt(`style`);e.id=t.hash,e.textContent=t.code,r.appendChild(e)}})}var mr=[...` 	
2\r\f\xA0\v`];function hr(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;
2(o===0||mr.includes(r[o-1]))&&(s===r.length||mr.includes(r[s]))?r=(o===0?``:r.substring(0,o))+r.substring(s+1):o=s}}return r===``?null:r}function gr(e,t,n,r,i,a){var o=e[he];if(x||o!==n||o===void 0){var s=hr(n,r,a);(!x||s!==e.getAttribute(`class`))&&(s==null?e.removeAttribute(`class`):t?e.className=s:e.setAttribute(`class`,s)),e[he]=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}var _r=Symbol(`is custom element`),vr=Symbol(`is html`),yr=ye?`link`:`LINK`;function br(e,t,n,r){var i=xr(e);x&&(i[t]=e.getAttribute(t),t===`src`||t===`srcset`||t===`href`&&e.nodeName===yr)||i[t]!==(i[t]=n)&&(t===`loading`&&(e[pe]=n),n==null?e.removeAttribute(t):typeof n!=`string`&&Cr(e).has(t)?e[t]=n:e.setAttribute(t,n))}function xr(e){return e[me]??={[_r]:e.nodeName.includes(`-`),[vr]:e.namespaceURI===xe}}var Sr=new Map;function Cr(e){var t=e.getAttribute(`is`)||e.nodeName,n=Sr.get(t);if(n)return n;Sr.set(t,n=new Set);for(var r,i=e,a=Element.prototype;a!==i;){for(var o in r=c(i),r)r[o].set&&o!==`innerHTML`&&o!==`textContent`&&o!==`innerText`&&n.add(o);i=d(i)}return n}var wr=!1;function Tr(e){var t=wr;try{return wr=!1,[e(),wr]}finally{wr=t}}function Er(e,t,n,r){var i=!0,a=!!(n&8),o=!!(n&16),c=r,l=!0,u=void 0,d=()=>o&&i?(u??=ot(r),$(u)):(l&&(l=!1,c=o?Rn(r):r),c);let f;if(a){var p=ue in e||fe in e;f=s(e,t)?.set??(p&&t in e?n=>e[t]=n:void 0)}var m,h=!1;a?[m,h]=Tr(()=>e[t]):m=e[t],m===void 0&&r!==void 0&&(m=d(),f&&(i&&Be(t),f(m)));var g=i?()=>{var n=e[t];return n===void 0?d():(l=!0,n)}:()=>{var n=e[t];return n!==void 0&&(c=void 0),n===void 0?c:n};if(i&&!(n&4))return g;if(f){var _=e.$$legacy;return(function(e,t){return arguments.length>0?((!i||!t||_||h)&&f(t?g():e),e):g()})}var v=!1,y=(n&1?ot:lt)(()=>(v=!1,g()));a&&$(y);var ee=K;return(function(e,t){if(arguments.length>0){let n=t?$(y):i&&a?P(e):e;return M(y,n),v=!0,c!==void 0&&(c=n),e}return H&&v||ee.f&16384?y.v:$(y)})}function Dr(e){w===null&&Pe(`onMount`),tn(()=>{let t=Rn(e);if(typeof t==`function`)return t})}typeof window<`u`&&((window.__svelte??={}).v??=new Set).add(`5`);var Or=$n(`<div><iframe id="chat-frame" title="Chat" class="bot svelte-yhk8rr" frameborder="0" allow="microphone; clipboard-write" allowfullscreen=""></iframe></div>`),kr=$n(`<p class="svelte-yhk8rr">Please make sure that the script tag has 'id="chatbot"' and the attribute
3    'data-server' with the full qualified URL to the chatbot-server.</p> <p class="svelte-yhk8rr">Optional: Use 'data-expand-at-start' to control if the chat window should open automatically.
4    Possible values: 'all', 'desktop', 'mobile'</p> <pre class="svelte-yhk8rr">
5    <code class="svelte-yhk8rr">
6      &lt;script
7      <br class="svelte-yhk8rr"/>
8      id="chatbot"
9      <br class="svelte-yhk8rr"/>
10      data-server="https://server.com/webclient"
11      <br class="svelte-yhk8rr"/>
12      data-expand-at-start="all"
13      <br class="svelte-yhk8rr"/>
14      defer
15      <br class="svelte-yhk8rr"/>
16      src="https://server.com/webclient/embed/bundle.js"&gt; &lt;/script&gt;
17    </code>
18  </pre>`,1),Ar={hash:`svelte-yhk8rr`,code:`.svelte-yhk8rr,
19  .svelte-yhk8rr:before,
20  .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,
21      opacity 100ms 100ms,
22      all 150ms;z-index:2147483647;}.bot-border.closed.svelte-yhk8rr {transform:translateY(100vh);opacity:0;}.bot.svelte-yhk8rr {display:block;width:100%;flex:1 0 auto;margin:0;}#chat-frame.svelte-yhk8rr {background-color:var(--body-background-color, white);}
23
24  @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, 50em);max-height:var(--window-max-height, calc(100vh - 2em));width:var(--window-width, 30em);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, 50em));opacity:0;}
25  }p.svelte-yhk8rr,
26  pre.svelte-yhk8rr {max-width:300px;}pre.svelte-yhk8rr {font-size:0.6em;line-height:0.5;}`};function jr(e,t){Ke(t,!0),pr(e,Ar);let n=window.matchMedia(`(min-width: 768px)`).matches?`desktop`:`mobile`;Dr(()=>{document.getElementById(`chat-frame`)?.addEventListener(`load`,t.onLoad)});var r=er(),i=Wt(r),a=e=>{var r=Or();let i;var a=Gt(r);cn(e=>{i=gr(r,1,`bot-border svelte-yhk8rr`,null,i,{closed:!t.open}),br(r,`aria-hidden`,t.open?`false`:`true`),br(a,`src`,e)},[()=>`${t.server}${t.server.indexOf(`?`)===-1?`?`:`&`}referrer=${encodeURIComponent(t.referrer??``)}&deviceType=${n}`]),tr(e,r)},o=e=>{var t=kr();Oe(4),tr(e,t)};dr(i,e=>{t.server?e(a):e(o,-1)}),tr(e,r),qe()}var Mr=$n(`<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>`),Nr={hash:`svelte-1xi58vz`,code:`.svelte-1xi58vz,
27  .svelte-1xi58vz:before,
28  .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-width-mobile, var(--fab-width, var(--fab-size-mobile, var(--fab-size, 5em))));height:var(--fab-height-mobile, var(--fab-height, var(--fab-size-mobile, var(--fab-size, 5em))));z-index:999;}
29
30  @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-width, var(--fab-size, 6em));
30height:var(--fab-height, var(--fab-size, 6em));}
31  }.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,
32      box-shadow 100ms;}.chat-button.svelte-1xi58vz:hover {box-shadow:16px 16px 16px rgba(0, 0, 0, 0.2);transform:translateY(-2px);}`};function Pr(e,t){Ke(t,!0),pr(e,Nr);function n(e){let n=e.key;(n===`ArrowDown`||n===`ArrowRight`||n===`Enter`||n===` `||n===`Space`)&&(e.stopPropagation(),t.onToggle())}var r=Mr(),i=Gt(r);cn(()=>{br(r,`aria-expanded`,t.open?`true`:`false`),br(i,`src`,`${t.assetsUrl}/fab.svg`)}),Wn(`click`,r,function(...e){t.onToggle?.apply(this,e)}),Wn(`keydown`,r,n),tr(e,r),qe()}Gn([`click`,`keydown`]);var Fr=!1,Ir=[];function Lr(e){Fr=e,e&&Ir.forEach(function(e){e.call(window)})}function Rr(){return Fr}function zr(e){Ir.push(e)}function Br(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)r!==`__proto__`&&(e[r]=n[r])}return e}var Vr={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 Hr(e,t){function n(n,r,i){if(typeof document<`u`){i=Br({},t,i),typeof i.expires==`number`&&(i.expires=new Date(Date.now()+i.expires*864e5)),i.expires&&(i.expires=i.expires.toUTCString()),n=encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a=``;for(var o in i)i[o]&&(a+=`; `+o,i[o]!==!0&&(a+=`=`+i[o].split(`;`)[0]));return document.cookie=n+`=`+e.write(r,n)+a}}function r(t){if(!(typeof document>`u`||arguments.length&&!t)){for(var n=document.cookie?document.cookie.split(`; `):[],r={},i=0;i<n.length;i++){var a=n[i].split(`=`),o=a.slice(1).join(`=`);try{var s=decodeURIComponent(a[0]);if(s in r||(r[s]=e.read(o,s)),t===s)break}catch{}}return t?r[t]:r}}return Object.create({set:n,get:r,remove:function(e,t){n(e,``,Br({},t,{expires:-1}))},withAttributes:function(e){return Hr(this.converter,Br({},this.attributes,e))},withConverter:function(e){return Hr(Br({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var Ur=Hr(Vr,{path:`/`}),Wr=`apptiva-klar-window-state`,Gr=()=>{switch(Ur.get(Wr)){case`open`:return!0;case`closed`:return!1;default:return}},Kr=e=>{let t=new Date(new Date().getTime()+288e5);Ur.set(Wr,e,{expires:t})},qr=t({closeChatWindow:()=>Qr,enterGuestMessage:()=>ni,isChatbotLoaded:()=>Rr,openChatWindow:()=>Zr,restartChat:()=>ei,sendTextMessage:()=>ti,subscribe:()=>oi,toggleChatWindow:()=>$r}),Jr=[],Yr=[],Xr=Gr();function Zr(){Xr=!0,Kr(`open`),Jr.forEach(function(e){e.call(window,!0)})}function Qr(){Xr=!1,Kr(`closed`),Jr.forEach(function(e){e.call(window,!1)})}function $r(e){e===`fab`&&Yr.forEach(function(e){e.call(window)}),Xr?Qr():Zr()}function ei(){ai({type:`RESTART_CHAT`})}function ti(e){ai({type:`CHAT_MESSAGE_FROM_GUEST`,text:e})}function ni(e){ti(e)}function ri(){return document.getElementById(`chat-frame`)}function ii(){let e=ri();if(e?.src)try{return new URL(e.src).origin}catch{return null}return null}function ai(e){let t=ri(),n=ii();if(!n){console.warn(`Cannot send message: chat iframe origin could not be determined`);return}t?.contentWindow?.postMessage(e,n)}function oi(e,t){switch(e){case`ON_CHATBOT_LOAD`:zr(t);break;case`ON_CHAT_WINDOW_STATE_CHANGE`:Jr.push(t);break;case`ON_FAB_CLICK`:Yr.push(t);break;default:throw Error(`Unsupported event `+e)}}var si=e=>{if(!e||typeof e!=`object`||Array.isArray(e)){console.warn(`Invalid tracking payload received:`,e);return}`gtag`in window&&typeof window.gtag==`function`?window.gtag(`event`,``,e):`dataLayer`in window&&Array.isArray(window.dataLayer)&&window.dataLayer.push(e)},ci=(e,t,n,r,i)=>{let a=()=>{let e=document.getElementById(`chat-frame`);if(e?.src)try{return new URL(e.src).origin}catch{return null}return null},o={CHAT_STARTED:`webclient.chat.started`,CHAT_ENDED:`webclient.chat.ended`,WINDOW_EXPAND:`webclient.window.expand`,WINDOW_CLOSE:`webclient.window.close`,CHANGE_URL:`webclient.change.url`,GOOGLE_TAG_EVENT:`google.tag.event`},s=Object.values(o);window.addEventListener(`message`,c=>{if(!c.data?.type||!s.includes(c.data.type))return;let l=a();if(l&&c.origin!==l){console.warn(`Rejected postMessage from untrusted origin:`,c.origin);return}let u=c.data;switch(u.type){case o.CHAT_STARTED:e();break;case o.CHAT_ENDED:t();break;case o.WINDOW_EXPAND:n(u.devices,u.initial);break;case o.WINDOW_CLOSE:r();break;case o.CHANGE_URL:i(u.url);break;case o.GOOGLE_TAG_EVENT:si(u.payload)}},!1)},li=e=>new Promise(t=>{let 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))}),ui=$n(`<link rel="stylesheet"/>`),di=$n(`<div><!> <!></div>`),fi={hash:`svelte-1n46o8q`,code:`.apptiva-klar.svelte-1n46o8q {font-size:16px;visibility:hidden;opacity:0;}.apptiva-klar.chatbot-ready.svelte-1n46o8q {visibility:visible;opacity:1;}`};function pi(e,t){Ke(t,!0),pr(e,fi);let n=`chatbot-style`,r=Er(t,`assetsUrl`,19,()=>t.server?t.server.split(`?`)[0]:void 0),i=Er(t,`linkHandling`,3,`default`),a=Er(t,`chatStarted`,7,!1),o=Er(t,`expandChatWindowAtStart`,3,null),s=Er
32(t,`fabVisible`,3,!0),c=j(!1),l=j(!1),u=j(P(Gr()));oi(`ON_CHAT_WINDOW_STATE_CHANGE`,function(e){M(u,e,!0)});function d(){a(!0)}function f(){a(!1)}function p(e,t){let n=window.innerWidth,r=e==null||e===`all`||e===`desktop`&&n>=768||e===`mobile`&&n<768;(!t||$(u)!==!1)&&r&&Zr()}function m(){Qr()}function h(e){let t=window.innerWidth,n=window.location.hostname===new URL(e).hostname;t<768&&Qr(),i()===`new-tab`?window.open(e,`_blank`):i()===`existing-tab`||n?document.location.href=e:window.open(e,`_blank`)}function g(){M(l,!0)}ci(d,f,p,m,h),tn(()=>{let e=window.innerWidth<768;if($(u)&&e){let e=window.scrollY,t=document.body.style.position,n=document.body.style.width,r=document.body.style.overflow,i=document.body.style.top;return document.body.style.position=`fixed`,document.body.style.width=`100%`,document.body.style.overflow=`hidden`,document.body.style.top=`-${e}px`,()=>{document.body.style.position=t,document.body.style.width=n,document.body.style.overflow=r,document.body.style.top=i,window.scrollTo(0,e)}}}),Dr(async()=>{if(M(c,await li(n),!0),o()&&$(u)!==!1){let e=window.innerWidth,t=o()===`all`,n=o()===`desktop`&&e>=768,r=o()===`mobile`&&e<768;(t||n||r)&&Zr()}});var _=di();fr(`1n46o8q`,e=>{var t=ui();br(t,`id`,n),cn(()=>br(t,`href`,`${r()}/custom.css`)),tr(e,t)});var v=Ut(_),y=e=>{Pr(e,{get assetsUrl(){return r()},get open(){return $(u)},onToggle:()=>$r(`fab`)})};dr(v,e=>{s()&&e(y)}),jr(Kt(v,2),{get server(){return t.server},get referrer(){return t.referrer},get open(){return $(u)},onLoad:g}),De(_),cn(()=>gr(_,1,`apptiva-klar ${$(c)&&$(l)?`chatbot-ready`:``}`,`svelte-1n46o8q`)),tr(e,_),qe()}var mi=e=>
32e.replace(/\/embed\/bundle\.js/,``),hi=e=>e.dataset?.server,gi=e=>{if(e&&`src`in e&&typeof e.src==`string`)return hi(e)||mi(e.src)},_i=document.querySelector(`script#chatbot`),vi=gi(_i),yi=_i?.getAttribute(`data-link-handling`)??`default`,bi=_i?.getAttribute(`data-expand-at-start`)??null,xi=_i?.getAttribute(`data-fab-visible`)!==`false`;window.chatbot=qr;var Si=()=>{console.log(`Chatbot is loading from`,vi),or(pi,{target:document.body,props:{server:vi,referrer:window.location.href,linkHandling:yi,expandChatWindowAtStart:bi,fabVisible:xi}}),Lr(!0)},Ci=(e=0)=>{e>=3||document.readyState===`complete`?setTimeout(Si,500):setTimeout(()=>{Ci(e+1)},500)};Ci();var wi=document.getElementById(`chatbot`);wi&&`src`in wi&&typeof wi.src==`string`&&wi.src.indexOf(`caller=bookmarklet`)>0&&setTimeout(Si,500)})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.