@htmlbricks/hb-messages-send 0.60.19 → 0.60.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/main.iife.js +76 -4
- package/main.iife.js.map +1 -1
- package/manifest.json +79 -4
- package/package.json +1 -1
- package/types/webcomponent.type.d.json +35 -0
- package/types/webcomponent.type.d.ts +9 -1
- package/types/webcomponent_events.type.d.json +8 -1
package/main.iife.js
CHANGED
|
@@ -1,5 +1,77 @@
|
|
|
1
|
-
(function(gt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Nn=1,Cn=2,Xe="[",$t="[!",yt="]",ce={},T=Symbol(),Pn="http://www.w3.org/1999/xhtml",bt=!1;var wt=Array.isArray,Mn=Array.prototype.indexOf,In=Array.from,qe=Object.keys,ve=Object.defineProperty,de=Object.getOwnPropertyDescriptor,Ln=Object.prototype,Dn=Array.prototype,jn=Object.getPrototypeOf,Et=Object.isExtensible;function xt(e){for(var t=0;t<e.length;t++)e[t]()}function Fn(){var e,t,n=new Promise((r,s)=>{e=r,t=s});return{promise:n,resolve:e,reject:t}}const O=2,Ke=4,Tt=8,he=16,K=32,z=64,kt=128,D=256,Ae=512,q=1024,M=2048,J=4096,Z=8192,ie=16384,St=32768,ze=65536,Rt=1<<17,qt=1<<18,_e=1<<19,Yn=1<<20,Je=1<<21,Ze=1<<22,le=1<<23,Qe=Symbol("$state"),Gn=Symbol("legacy props"),Hn=Symbol(""),et=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Un=3,Ee=8;function Vn(){throw new Error("https://svelte.dev/e/await_outside_boundary")}function Bn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Wn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Xn(){throw new Error("https://svelte.dev/e/hydration_failed")}function Kn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function zn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Jn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Oe(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let b=!1;function Q(e){b=e}let x;function V(e){if(e===null)throw Oe(),ce;return x=e}function tt(){return V(B(x))}function Ne(e){if(b){if(B(x)!==null)throw Oe(),ce;x=e}}function Zn(){for(var e=0,t=x;;){if(t.nodeType===Ee){var n=t.data;if(n===yt){if(e===0)return t;e-=1}else(n===Xe||n===$t)&&(e+=1)}var r=B(t);t.remove(),t=r}}function Qn(e){if(!e||e.nodeType!==Ee)throw Oe(),ce;return e.data}function At(e){return e===this.v}function er(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function tr(e){return!er(e,this.v)}let nr=!1,F=null;function Ce(e){F=e}function Ot(e,t=!1,n){F={p:F,c:null,e:null,s:e,x:null,l:null}}function Nt(e){var t=F,n=t.e;if(n!==null){t.e=null;for(var r of n)br(r)}return e!==void 0&&(t.x=e),F=t.p,e??{}}function Ct(){return!0}const rr=new WeakMap;function sr(e){var t=m;if(t===null)return g.f|=le,e;if((t.f&St)===0){if((t.f&kt)===0)throw!t.parent&&e instanceof Error&&Pt(e),e;t.b.error(e)}else nt(e,t)}function nt(e,t){for(;t!==null;){if((t.f&kt)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e instanceof Error&&Pt(e),e}function Pt(e){const t=rr.get(e);t&&(ve(e,"message",{value:t.message}),ve(e,"stack",{value:t.stack}))}const ir=typeof requestIdleCallback>"u"?e=>setTimeout(e,1):requestIdleCallback;let rt=[],xe=[];function lr(){var e=rt;rt=[],xt(e)}function Mt(){var e=xe;xe=[],xt(e)}function ar(e){xe.length===0&&ir(Mt),xe.push(e)}function ur(){rt.length>0&&lr(),xe.length>0&&Mt()}function fr(){const e=m.b;return e===null&&Vn(),e}function It(e){var t=O|M,n=g!==null&&(g.f&O)!==0?g:null;return m===null||n!==null&&(n.f&D)!==0?t|=D:m.f|=_e,{ctx:F,deps:null,effects:null,equals:At,f:t,fn:e,reactions:null,rv:0,v:T,wv:0,parent:n??m,ac:null}}function or(e,t){let n=m;n===null&&Bn();var r=n.b,s=void 0,i=at(T),l=null,u=!g;return Tr(()=>{try{var a=e();l&&Promise.resolve(a).catch(()=>{})}catch(c){a=Promise.reject(c)}var f=()=>a;s=l?.then(f,f)??Promise.resolve(a),l=s;var o=w,v=r.is_pending();u&&(r.update_pending_count(1),v||o.increment());const h=(c,d=void 0)=>{l=null,v||o.activate(),d?d!==et&&(i.f|=le,ut(i,d)):((i.f&le)!==0&&(i.f^=le),ut(i,c)),u&&(r.update_pending_count(-1),v||o.decrement()),jt()};if(s.then(h,c=>h(null,c||"unknown")),o)return()=>{queueMicrotask(()=>o.neuter())}}),new Promise(a=>{function f(o){function v(){o===s?a(i):f(s)}o.then(v,v)}f(s)})}function Lt(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)ne(t[n])}}function cr(e){for(var t=e.parent;t!==null;){if((t.f&O)===0)return t;t=t.parent}return null}function st(e){var t,n=m;re(cr(e));try{Lt(e),t=dn(e)}finally{re(n)}return t}function Dt(e){var t=st(e);if(e.equals(t)||(e.v=t,e.wv=cn()),!$e){var n=(se||(e.f&D)!==0)&&e.deps!==null?J:q;C(e,n)}}function vr(e,t,n){const r=It;if(t.length===0){n(e.map(r));return}var s=w,i=m,l=dr(),u=fr();Promise.all(t.map(a=>or(a))).then(a=>{s?.activate(),l();try{n([...e.map(r),...a])}catch(f){(i.f&ie)===0&&nt(f,i)}s?.deactivate(),jt()}).catch(a=>{u.error(a)})}function dr(){var e=m,t=g,n=F,r=w;return function(){re(e),U(t),Ce(n),r?.activate()}}function jt(){re(null),U(null),Ce(null)}const it=new Set;let w=null,Pe=null,Ft=new Set,Me=[];function Yt(){const e=Me.shift();Me.length>0&&queueMicrotask(Yt),e()}let ae=[],Ie=null,lt=!1,Le=!1;class ue{current=new Map;#t=new Map;#e=new Set;#n=0;#f=null;#o=!1;#s=[];#l=[];#i=[];#r=[];#a=[];#c=[];#v=[];skipped_effects=new Set;process(t){ae=[],Pe=null;for(const s of t)this.#h(s);if(this.#s.length===0&&this.#n===0){this.#d();var n=this.#i,r=this.#r;this.#i=[],this.#r=[],this.#a=[],Pe=w,w=null,Ht(n),Ht(r),w===null?w=this:it.delete(this),this.#f?.resolve()}else this.#u(this.#i),this.#u(this.#r),this.#u(this.#a);for(const s of this.#s)ye(s);for(const s of this.#l)ye(s);this.#s=[],this.#l=[]}#h(t){t.f^=q;for(var n=t.first;n!==null;){var r=n.f,s=(r&(K|z))!==0,i=s&&(r&q)!==0,l=i||(r&Z)!==0||this.skipped_effects.has(n);if(!l&&n.fn!==null){if(s)n.f^=q;else if((r&Ke)!==0)this.#r.push(n);else if((r&q)===0)if((r&Ze)!==0){var u=n.b?.is_pending()?this.#l:this.#s;u.push(n)}else Ye(n)&&((n.f&he)!==0&&this.#a.push(n),ye(n));var a=n.first;if(a!==null){n=a;continue}}var f=n.parent;for(n=n.next;n===null&&f!==null;)n=f.next,f=f.parent}}#u(t){for(const n of t)((n.f&M)!==0?this.#c:this.#v).push(n),C(n,q);t.length=0}capture(t,n){this.#t.has(t)||this.#t.set(t,n),this.current.set(t,t.v)}activate(){w=this}deactivate(){w=null,Pe=null;for(const t of Ft)if(Ft.delete(t),t(),w!==null)break}neuter(){this.#o=!0}flush(){ae.length>0?Gt():this.#d(),w===this&&(this.#n===0&&it.delete(this),this.deactivate())}#d(){if(!this.#o)for(const t of this.#e)t();this.#e.clear()}increment(){this.#n+=1}decrement(){if(this.#n-=1,this.#n===0){for(const t of this.#c)C(t,M),pe(t);for(const t of this.#v)C(t,J),pe(t);this.#i=[],this.#r=[],this.flush()}else this.deactivate()}add_callback(t){this.#e.add(t)}settled(){return(this.#f??=Fn()).promise}static ensure(){if(w===null){const t=w=new ue;it.add(w),Le||ue.enqueue(()=>{w===t&&t.flush()})}return w}static enqueue(t){Me.length===0&&queueMicrotask(Yt),Me.unshift(t)}}function De(e){var t=Le;Le=!0;try{for(var n;;){if(ur(),ae.length===0&&(w?.flush(),ae.length===0))return Ie=null,n;Gt()}}finally{Le=t}}function Gt(){var e=ge;lt=!0;try{var t=0;for(an(!0);ae.length>0;){var n=ue.ensure();if(t++>1e3){var r,s;hr()}n.process(ae),ee.clear()}}finally{lt=!1,an(e),Ie=null}}function hr(){try{Wn()}catch(e){nt(e,Ie)}}let fe=null;function Ht(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(ie|Z))===0&&Ye(r)&&(fe=[],ye(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?nn(r):r.fn=null),fe?.length>0)){ee.clear();for(const s of fe)ye(s);fe=[]}}fe=null}}function pe(e){for(var t=Ie=e;t.parent!==null;){t=t.parent;var n=t.f;if(lt&&t===m&&(n&he)!==0)return;if((n&(z|K))!==0){if((n&q)===0)return;t.f^=q}}ae.push(t)}const ee=new Map;function at(e,t){var n={f:0,v:e,reactions:null,equals:At,rv:0,wv:0};return n}function Y(e,t){const n=at(e);return Or(n),n}function _r(e,t=!1,n=!0){const r=at(e);return t||(r.equals=tr),r}function G(e,t,n=!1){g!==null&&(!H||(g.f&Rt)!==0)&&Ct()&&(g.f&(O|he|Ze|Rt))!==0&&!X?.includes(e)&&Jn();let r=n?me(t):t;return ut(e,r)}function ut(e,t){if(!e.equals(t)){var n=e.v;$e?ee.set(e,t):ee.set(e,n),e.v=t;var r=ue.ensure();r.capture(e,n),(e.f&O)!==0&&((e.f&M)!==0&&st(e),C(e,(e.f&D)===0?q:J)),e.wv=cn(),Ut(e,M),m!==null&&(m.f&q)!==0&&(m.f&(K|z))===0&&(I===null?Nr([e]):I.push(e))}return t}function ft(e){G(e,e.v+1)}function Ut(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,s=0;s<r;s++){var i=n[s],l=i.f,u=(l&M)===0;u&&C(i,t),(l&O)!==0?Ut(i,J):u&&((l&he)!==0&&fe!==null&&fe.push(i),pe(i))}}function me(e){if(typeof e!="object"||e===null||Qe in e)return e;const t=jn(e);if(t!==Ln&&t!==Dn)return e;var n=new Map,r=wt(e),s=Y(0),i=oe,l=u=>{if(oe===i)return u();var a=g,f=oe;U(null),on(i);var o=u();return U(a),on(f),o};return r&&n.set("length",Y(e.length)),new Proxy(e,{defineProperty(u,a,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&Kn();var o=n.get(a);return o===void 0?o=l(()=>{var v=Y(f.value);return n.set(a,v),v}):G(o,f.value,!0),!0},deleteProperty(u,a){var f=n.get(a);if(f===void 0){if(a in u){const o=l(()=>Y(T));n.set(a,o),ft(s)}}else G(f,T),ft(s);return!0},get(u,a,f){if(a===Qe)return e;var o=n.get(a),v=a in u;if(o===void 0&&(!v||de(u,a)?.writable)&&(o=l(()=>{var c=me(v?u[a]:T),d=Y(c);return d}),n.set(a,o)),o!==void 0){var h=k(o);return h===T?void 0:h}return Reflect.get(u,a,f)},getOwnPropertyDescriptor(u,a){var f=Reflect.getOwnPropertyDescriptor(u,a);if(f&&"value"in f){var o=n.get(a);o&&(f.value=k(o))}else if(f===void 0){var v=n.get(a),h=v?.v;if(v!==void 0&&h!==T)return{enumerable:!0,configurable:!0,value:h,writable:!0}}return f},has(u,a){if(a===Qe)return!0;var f=n.get(a),o=f!==void 0&&f.v!==T||Reflect.has(u,a);if(f!==void 0||m!==null&&(!o||de(u,a)?.writable)){f===void 0&&(f=l(()=>{var h=o?me(u[a]):T,c=Y(h);return c}),n.set(a,f));var v=k(f);if(v===T)return!1}return o},set(u,a,f,o){var v=n.get(a),h=a in u;if(r&&a==="length")for(var c=f;c<v.v;c+=1){var d=n.get(c+"");d!==void 0?G(d,T):c in u&&(d=l(()=>Y(T)),n.set(c+"",d))}if(v===void 0)(!h||de(u,a)?.writable)&&(v=l(()=>Y(void 0)),G(v,me(f)),n.set(a,v));else{h=v.v!==T;var _=l(()=>me(f));G(v,_)}var S=Reflect.getOwnPropertyDescriptor(u,a);if(S?.set&&S.set.call(o,f),!h){if(r&&typeof a=="string"){var R=n.get("length"),y=Number(a);Number.isInteger(y)&&y>=R.v&&G(R,y+1)}ft(s)}return!0},ownKeys(u){k(s);var a=Reflect.ownKeys(u).filter(v=>{var h=n.get(v);return h===void 0||h.v!==T});for(var[f,o]of n)o.v!==T&&!(f in u)&&a.push(f);return a},setPrototypeOf(){zn()}})}var Vt,Bt,Wt,Xt;function ot(){if(Vt===void 0){Vt=window,Bt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Wt=de(t,"firstChild").get,Xt=de(t,"nextSibling").get,Et(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Et(n)&&(n.__t=void 0)}}function Te(e=""){return document.createTextNode(e)}function te(e){return Wt.call(e)}function B(e){return Xt.call(e)}function je(e,t){if(!b)return te(e);var n=te(x);return n===null&&(n=x.appendChild(Te())),V(n),n}function pr(e,t){if(!b){var n=te(e);return n instanceof Comment&&n.data===""?B(n):n}return x}function Fe(e,t=1,n=!1){let r=b?x:e;for(var s;t--;)s=r,r=B(r);if(!b)return r;if(n&&r?.nodeType!==Un){var i=Te();return r===null?s?.after(i):r.before(i),V(i),i}return V(r),r}function Kt(e){e.textContent=""}function mr(){return!1}function gr(e){b&&te(e)!==null&&Kt(e)}let zt=!1;function Jt(){zt||(zt=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(const t of e.target.elements)t.__on_r?.()})},{capture:!0}))}function ct(e){var t=g,n=m;U(null),re(null);try{return e()}finally{U(t),re(n)}}function $r(e,t,n,r=n){e.addEventListener(t,()=>ct(n));const s=e.__on_r;s?e.__on_r=()=>{s(),r(!0)}:e.__on_r=()=>r(!0),Jt()}function yr(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function W(e,t,n,r=!0){var s=m;s!==null&&(s.f&Z)!==0&&(e|=Z);var i={ctx:F,deps:null,nodes_start:null,nodes_end:null,f:e|M,first:null,fn:t,last:null,next:null,parent:s,b:s&&s.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{ye(i),i.f|=St}catch(a){throw ne(i),a}else t!==null&&pe(i);if(r){var l=i;if(n&&l.deps===null&&l.teardown===null&&l.nodes_start===null&&l.first===l.last&&(l.f&_e)===0&&(l=l.first),l!==null&&(l.parent=s,s!==null&&yr(l,s),g!==null&&(g.f&O)!==0&&(e&z)===0)){var u=g;(u.effects??=[]).push(l)}}return i}function br(e){return W(Ke|Yn,e,!1)}function wr(e){ue.ensure();const t=W(z|_e,e,!0);return()=>{ne(t)}}function Er(e){ue.ensure();const t=W(z|_e,e,!0);return(n={})=>new Promise(r=>{n.outro?rn(t,()=>{ne(t),r(void 0)}):(ne(t),r(void 0))})}function xr(e){return W(Ke,e,!1)}function Tr(e){return W(Ze|_e,e,!0)}function Zt(e,t=0){return W(Tt|t,e,!0)}function kr(e,t=[],n=[]){vr(t,n,r=>{W(Tt,()=>e(...r.map(k)),!0)})}function Qt(e,t=0){var n=W(he|t,e,!0);return n}function vt(e,t=!0){return W(K|_e,e,!0,t)}function en(e){var t=e.teardown;if(t!==null){const n=$e,r=g;un(!0),U(null);try{t.call(null)}finally{un(n),U(r)}}}function tn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const s=n.ac;s!==null&&ct(()=>{s.abort(et)});var r=n.next;(n.f&z)!==0?n.parent=null:ne(n,t),n=r}}function Sr(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&K)===0&&ne(t),t=n}}function ne(e,t=!0){var n=!1;(t||(e.f&qt)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Rr(e.nodes_start,e.nodes_end),n=!0),tn(e,t&&!n),Ge(e,0),C(e,ie);var r=e.transitions;if(r!==null)for(const i of r)i.stop();en(e);var s=e.parent;s!==null&&s.first!==null&&nn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Rr(e,t){for(;e!==null;){var n=e===t?null:B(e);e.remove(),e=n}}function nn(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 rn(e,t){var n=[];sn(e,n,!0),qr(n,()=>{ne(e),t&&t()})}function qr(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var s of e)s.out(r)}else t()}function sn(e,t,n){if((e.f&Z)===0){if(e.f^=Z,e.transitions!==null)for(const l of e.transitions)(l.is_global||n)&&t.push(l);for(var r=e.first;r!==null;){var s=r.next,i=(r.f&ze)!==0||(r.f&K)!==0;sn(r,t,i?n:!1),r=s}}}function Ar(e){ln(e,!0)}function ln(e,t){if((e.f&Z)!==0){e.f^=Z,(e.f&q)===0&&(C(e,M),pe(e));for(var n=e.first;n!==null;){var r=n.next,s=(n.f&ze)!==0||(n.f&K)!==0;ln(n,s?t:!1),n=r}if(e.transitions!==null)for(const i of e.transitions)(i.is_global||t)&&i.in()}}let ge=!1;function an(e){ge=e}let $e=!1;function un(e){$e=e}let g=null,H=!1;function U(e){g=e}let m=null;function re(e){m=e}let X=null;function Or(e){g!==null&&(X===null?X=[e]:X.push(e))}let A=null,N=0,I=null;function Nr(e){I=e}let fn=1,ke=0,oe=ke;function on(e){oe=e}let se=!1;function cn(){return++fn}function Ye(e){var t=e.f;if((t&M)!==0)return!0;if((t&J)!==0){var n=e.deps,r=(t&D)!==0;if(n!==null){var s,i,l=(t&Ae)!==0,u=r&&m!==null&&!se,a=n.length;if((l||u)&&(m===null||(m.f&ie)===0)){var f=e,o=f.parent;for(s=0;s<a;s++)i=n[s],(l||!i?.reactions?.includes(f))&&(i.reactions??=[]).push(f);l&&(f.f^=Ae),u&&o!==null&&(o.f&D)===0&&(f.f^=D)}for(s=0;s<a;s++)if(i=n[s],Ye(i)&&Dt(i),i.wv>e.wv)return!0}(!r||m!==null&&!se)&&C(e,q)}return!1}function vn(e,t,n=!0){var r=e.reactions;if(r!==null&&!X?.includes(e))for(var s=0;s<r.length;s++){var i=r[s];(i.f&O)!==0?vn(i,t,!1):t===i&&(n?C(i,M):(i.f&q)!==0&&C(i,J),pe(i))}}function dn(e){var t=A,n=N,r=I,s=g,i=se,l=X,u=F,a=H,f=oe,o=e.f;A=null,N=0,I=null,se=(o&D)!==0&&(H||!ge||g===null),g=(o&(K|z))===0?e:null,X=null,Ce(e.ctx),H=!1,oe=++ke,e.ac!==null&&(ct(()=>{e.ac.abort(et)}),e.ac=null);try{e.f|=Je;var v=e.fn,h=v(),c=e.deps;if(A!==null){var d;if(Ge(e,N),c!==null&&N>0)for(c.length=N+A.length,d=0;d<A.length;d++)c[N+d]=A[d];else e.deps=c=A;if(!se||(o&O)!==0&&e.reactions!==null)for(d=N;d<c.length;d++)(c[d].reactions??=[]).push(e)}else c!==null&&N<c.length&&(Ge(e,N),c.length=N);if(Ct()&&I!==null&&!H&&c!==null&&(e.f&(O|J|M))===0)for(d=0;d<I.length;d++)vn(I[d],e);return s!==null&&s!==e&&(ke++,I!==null&&(r===null?r=I:r.push(...I))),(e.f&le)!==0&&(e.f^=le),h}catch(_){return sr(_)}finally{e.f^=Je,A=t,N=n,I=r,g=s,se=i,X=l,Ce(u),H=a,oe=f}}function Cr(e,t){let n=t.reactions;if(n!==null){var r=Mn.call(n,e);if(r!==-1){var s=n.length-1;s===0?n=t.reactions=null:(n[r]=n[s],n.pop())}}n===null&&(t.f&O)!==0&&(A===null||!A.includes(t))&&(C(t,J),(t.f&(D|Ae))===0&&(t.f^=Ae),Lt(t),Ge(t,0))}function Ge(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Cr(e,n[r])}function ye(e){var t=e.f;if((t&ie)===0){C(e,q);var n=m,r=ge;m=e,ge=!0;try{(t&he)!==0?Sr(e):tn(e),en(e);var s=dn(e);e.teardown=typeof s=="function"?s:null,e.wv=fn;var i;bt&&nr&&(e.f&M)!==0&&e.deps}finally{ge=r,m=n}}}async function Pr(){await Promise.resolve(),De()}function k(e){var t=e.f,n=(t&O)!==0;if(g!==null&&!H){var r=m!==null&&(m.f&ie)!==0;if(!r&&!X?.includes(e)){var s=g.deps;if((g.f&Je)!==0)e.rv<ke&&(e.rv=ke,A===null&&s!==null&&s[N]===e?N++:A===null?A=[e]:(!se||!A.includes(e))&&A.push(e));else{(g.deps??=[]).push(e);var i=e.reactions;i===null?e.reactions=[g]:i.includes(g)||i.push(g)}}}else if(n&&e.deps===null&&e.effects===null){var l=e,u=l.parent;u!==null&&(u.f&D)===0&&(l.f^=D)}if($e){if(ee.has(e))return ee.get(e);if(n){l=e;var a=l.v;return((l.f&q)===0&&l.reactions!==null||hn(l))&&(a=st(l)),ee.set(l,a),a}}else n&&(l=e,Ye(l)&&Dt(l));if((e.f&le)!==0)throw e.v;return e.v}function hn(e){if(e.v===T)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(ee.has(t)||(t.f&O)!==0&&hn(t))return!0;return!1}function Mr(e){var t=H;try{return H=!0,e()}finally{H=t}}const Ir=-7169;function C(e,t){e.f=e.f&Ir|t}const _n=new Set,dt=new Set;function Lr(e){for(var t=0;t<e.length;t++)_n.add(e[t]);for(var n of dt)n(e)}let pn=null;function He(e){var t=this,n=t.ownerDocument,r=e.type,s=e.composedPath?.()||[],i=s[0]||e.target;pn=e;var l=0,u=pn===e&&e.__root;if(u){var a=s.indexOf(u);if(a!==-1&&(t===document||t===window)){e.__root=t;return}var f=s.indexOf(t);if(f===-1)return;a<=f&&(l=a)}if(i=s[l]||e.target,i!==t){ve(e,"currentTarget",{configurable:!0,get(){return i||n}});var o=g,v=m;U(null),re(null);try{for(var h,c=[];i!==null;){var d=i.assignedSlot||i.parentNode||i.host||null;try{var _=i["__"+r];if(_!=null&&(!i.disabled||e.target===i))if(wt(_)){var[S,...R]=_;S.apply(i,[e,...R])}else _.call(i,e)}catch(y){h?c.push(y):h=y}if(e.cancelBubble||d===t||d===null)break;i=d}if(h){for(let y of c)queueMicrotask(()=>{throw y});throw h}}finally{e.__root=t,delete e.currentTarget,U(o),re(v)}}}let L;function Dr(){L=void 0}function jr(e){let t=null,n=b;var r;if(b){for(t=x,L===void 0&&(L=te(document.head));L!==null&&(L.nodeType!==Ee||L.data!==Xe);)L=B(L);L===null?Q(!1):L=V(B(L))}b||(r=document.head.appendChild(Te()));try{Qt(()=>e(r),qt)}finally{n&&(Q(!0),L=x,V(t))}}function Fr(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Ue(e,t){var n=m;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function Ve(e,t){var n=(t&Nn)!==0,r=(t&Cn)!==0,s,i=!e.startsWith("<!>");return()=>{if(b)return Ue(x,null),x;s===void 0&&(s=Fr(i?e:"<!>"+e),n||(s=te(s)));var l=r||Bt?document.importNode(s,!0):s.cloneNode(!0);if(n){var u=te(l),a=l.lastChild;Ue(u,a)}else Ue(l,l);return l}}function Se(e,t){if(b){m.nodes_end=x,tt();return}e!==null&&e.before(t)}const Yr=["touchstart","touchmove"];function Gr(e){return Yr.includes(e)}function mn(e,t){return gn(e,t)}function Hr(e,t){ot(),t.intro=t.intro??!1;const n=t.target,r=b,s=x;try{for(var i=te(n);i&&(i.nodeType!==Ee||i.data!==Xe);)i=B(i);if(!i)throw ce;Q(!0),V(i),tt();const l=gn(e,{...t,anchor:i});if(x===null||x.nodeType!==Ee||x.data!==yt)throw Oe(),ce;return Q(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
|
|
2
|
-
`).some(
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
(function(fr){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Sn=1,Cn=2,Nn=16,Mn=1,On=4,Bn=8,Pn=16,In=2,kt="[",jt="[!",$t="]",Pe={},N=Symbol(),Gn="http://www.w3.org/1999/xhtml",dr=!1;var Et=Array.isArray,Ln=Array.prototype.indexOf,At=Array.from,at=Object.keys,Ie=Object.defineProperty,$e=Object.getOwnPropertyDescriptor,Dn=Object.getOwnPropertyDescriptors,Hn=Object.prototype,Fn=Array.prototype,ur=Object.getPrototypeOf,vr=Object.isExtensible;function hr(e){for(var t=0;t<e.length;t++)e[t]()}function qn(){var e,t,r=new Promise((n,s)=>{e=n,t=s});return{promise:r,resolve:e,reject:t}}const q=2,Rt=4,Tt=8,Ge=16,he=32,_e=64,gr=128,U=256,lt=512,M=1024,V=2048,me=4096,Z=8192,Ee=16384,St=32768,Ct=65536,pr=1<<17,_r=1<<18,Le=1<<19,Yn=1<<20,Nt=1<<21,Mt=1<<22,Ae=1<<23,Xe=Symbol("$state"),mr=Symbol("legacy props"),Un=Symbol(""),Ot=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Vn=3,De=8;function Wn(){throw new Error("https://svelte.dev/e/await_outside_boundary")}function Xn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Kn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Jn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Zn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Qn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function es(){throw new Error("https://svelte.dev/e/hydration_failed")}function ts(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function rs(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function ns(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function ss(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function bt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let k=!1;function Q(e){k=e}let E;function ee(e){if(e===null)throw bt(),Pe;return E=e}function ct(){return ee(re(E))}function le(e){if(k){if(re(E)!==null)throw bt(),Pe;E=e}}function os(e=1){if(k){for(var t=e,r=E;t--;)r=re(r);E=r}}function Bt(){for(var e=0,t=E;;){if(t.nodeType===De){var r=t.data;if(r===$t){if(e===0)return t;e-=1}else(r===kt||r===jt)&&(e+=1)}var n=re(t);t.remove(),t=n}}function yr(e){if(!e||e.nodeType!==De)throw bt(),Pe;return e.data}function xr(e){return e===this.v}function is(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function wr(e){return!is(e,this.v)}let as=!1,te=null;function ft(e){te=e}function zr(e,t=!1,r){te={p:te,c:null,e:null,s:e,x:null,l:null}}function kr(e){var t=te,r=t.e;if(r!==null){t.e=null;for(var n of r)Kr(n)}return e!==void 0&&(t.x=e),te=t.p,e??{}}function jr(){return!0}const ls=new WeakMap;function bs(e){var t=z;if(t===null)return j.f|=Ae,e;if((t.f&St)===0){if((t.f&gr)===0)throw!t.parent&&e instanceof Error&&$r(e),e;t.b.error(e)}else Pt(e,t)}function Pt(e,t){for(;t!==null;){if((t.f&gr)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e instanceof Error&&$r(e),e}function $r(e){const t=ls.get(e);t&&(Ie(e,"message",{value:t.message}),Ie(e,"stack",{value:t.stack}))}const cs=typeof requestIdleCallback>"u"?e=>setTimeout(e,1):requestIdleCallback;let Ke=[],Je=[];function Er(){var e=Ke;Ke=[],hr(e)}function Ar(){var e=Je;Je=[],hr(e)}function Rr(e){Ke.length===0&&queueMicrotask(Er),Ke.push(e)}function fs(e){Je.length===0&&cs(Ar),Je.push(e)}function ds(){Ke.length>0&&Er(),Je.length>0&&Ar()}function us(){const e=z.b;return e===null&&Wn(),e}function dt(e){var t=q|V,r=j!==null&&(j.f&q)!==0?j:null;return z===null||r!==null&&(r.f&U)!==0?t|=U:z.f|=Le,{ctx:te,deps:null,effects:null,equals:xr,f:t,fn:e,reactions:null,rv:0,v:N,wv:0,parent:r??z,ac:null}}function vs(e,t){let r=z;r===null&&Xn();var n=r.b,s=void 0,o=Ze(N),i=null,a=!j;return $s(()=>{try{var l=e();i&&Promise.resolve(l).catch(()=>{})}catch(d){l=Promise.reject(d)}var b=()=>l;s=i?.then(b,b)??Promise.resolve(l),i=s;var c=T,u=n.is_pending();a&&(n.update_pending_count(1),u||c.increment());const f=(d,v=void 0)=>{i=null,u||c.activate(),v?v!==Ot&&(o.f|=Ae,pt(o,v)):((o.f&Ae)!==0&&(o.f^=Ae),pt(o,d)),a&&(n.update_pending_count(-1),u||c.decrement()),Mr()};if(s.then(f,d=>f(null,d||"unknown")),c)return()=>{queueMicrotask(()=>c.neuter())}}),new Promise(l=>{function b(c){function u(){c===s?l(o):b(s)}c.then(u,u)}b(s)})}function Tr(e){const t=dt(e);return on(t),t}function Sr(e){const t=dt(e);return t.equals=wr,t}function Cr(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)fe(t[r])}}function hs(e){for(var t=e.parent;t!==null;){if((t.f&q)===0)return t;t=t.parent}return null}function It(e){var t,r=z;we(hs(e));try{Cr(e),t=fn(e)}finally{we(r)}return t}function Nr(e){var t=It(e);if(e.equals(t)||(e.v=t,e.wv=bn()),!Me){var r=(ze||(e.f&U)!==0)&&e.deps!==null?me:M;D(e,r)}}function gs(e,t,r){const n=dt;if(t.length===0){r(e.map(n));return}var s=T,o=z,i=ps(),a=us();Promise.all(t.map(l=>vs(l))).then(l=>{s?.activate(),i();try{r([...e.map(n),...l])}catch(b){(o.f&Ee)===0&&Pt(b,o)}s?.deactivate(),Mr()}).catch(l=>{a.error(l)})}function ps(){var e=z,t=j,r=te,n=T;return function(){we(e),ue(t),ft(r),n?.activate()}}function Mr(){we(null),ue(null),ft(null)}const Gt=new Set;let T=null,ut=null,Or=new Set,vt=[];function Br(){const e=vt.shift();vt.length>0&&queueMicrotask(Br),e()}let Re=[],ht=null,Lt=!1,gt=!1;class Te{current=new Map;#t=new Map;#e=new Set;#r=0;#b=null;#c=!1;#s=[];#i=[];#o=[];#n=[];#a=[];#f=[];#d=[];skipped_effects=new Set;process(t){Re=[],ut=null;for(const s of t)this.#v(s);if(this.#s.length===0&&this.#r===0){this.#u();var r=this.#o,n=this.#n;this.#o=[],this.#n=[],this.#a=[],ut=T,T=null,Ir(r),Ir(n),T===null?T=this:Gt.delete(this),this.#b?.resolve()}else this.#l(this.#o),this.#l(this.#n),this.#l(this.#a);for(const s of this.#s)Ue(s);for(const s of this.#i)Ue(s);this.#s=[],this.#i=[]}#v(t){t.f^=M;for(var r=t.first;r!==null;){var n=r.f,s=(n&(he|_e))!==0,o=s&&(n&M)!==0,i=o||(n&Z)!==0||this.skipped_effects.has(r);if(!i&&r.fn!==null){if(s)r.f^=M;else if((n&Rt)!==0)this.#n.push(r);else if((n&M)===0)if((n&Mt)!==0){var a=r.b?.is_pending()?this.#i:this.#s;a.push(r)}else mt(r)&&((r.f&Ge)!==0&&this.#a.push(r),Ue(r));var l=r.first;if(l!==null){r=l;continue}}var b=r.parent;for(r=r.next;r===null&&b!==null;)r=b.next,b=b.parent}}#l(t){for(const r of t)((r.f&V)!==0?this.#f:this.#d).push(r),D(r,M);t.length=0}capture(t,r){this.#t.has(t)||this.#t.set(t,r),this.current.set(t,t.v)}activate(){T=this}deactivate(){T=null,ut=null;for(const t of Or)if(Or.delete(t),t(),T!==null)break}neuter(){this.#c=!0}flush(){Re.length>0?Pr():this.#u(),T===this&&(this.#r===0&&Gt.delete(this),this.deactivate())}#u(){if(!this.#c)for(const t of this.#e)t();this.#e.clear()}increment(){this.#r+=1}decrement(){if(this.#r-=1,this.#r===0){for(const t of this.#f)D(t,V),Fe(t);for(const t of this.#d)D(t,me),Fe(t);this.#o=[],this.#n=[],this.flush()}else this.deactivate()}add_callback(t){this.#e.add(t)}settled(){return(this.#b??=qn()).promise}static ensure(){if(T===null){const t=T=new Te;Gt.add(T),gt||Te.enqueue(()=>{T===t&&t.flush()})}return T}static enqueue(t){vt.length===0&&queueMicrotask(Br),vt.unshift(t)}}function He(e){var t=gt;gt=!0;try{for(var r;;){if(ds(),Re.length===0&&(T?.flush(),Re.length===0))return ht=null,r;Pr()}}finally{gt=t}}function Pr(){var e=Ye;Lt=!0;try{var t=0;for(nn(!0);Re.length>0;){var r=Te.ensure();if(t++>1e3){var n,s;_s()}r.process(Re),ye.clear()}}finally{Lt=!1,nn(e),ht=null}}function _s(){try{Qn()}catch(e){Pt(e,ht)}}let Se=null;function Ir(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(Ee|Z))===0&&mt(n)&&(Se=[],Ue(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?en(n):n.fn=null),Se?.length>0)){ye.clear();for(const s of Se)Ue(s);Se=[]}}Se=null}}function Fe(e){for(var t=ht=e;t.parent!==null;){t=t.parent;var r=t.f;if(Lt&&t===z&&(r&Ge)!==0)return;if((r&(_e|he))!==0){if((r&M)===0)return;t.f^=M}}Re.push(t)}const ye=new Map;function Ze(e,t){var r={f:0,v:e,reactions:null,equals:xr,rv:0,wv:0};return r}function P(e,t){const r=Ze(e);return on(r),r}function Gr(e,t=!1,r=!0){const n=Ze(e);return t||(n.equals=wr),n}function S(e,t,r=!1){j!==null&&(!de||(j.f&pr)!==0)&&jr()&&(j.f&(q|Ge|Mt|pr))!==0&&!ge?.includes(e)&&ss();let n=r?xe(t):t;return pt(e,n)}function pt(e,t){if(!e.equals(t)){var r=e.v;Me?ye.set(e,t):ye.set(e,r),e.v=t;var n=Te.ensure();n.capture(e,r),(e.f&q)!==0&&((e.f&V)!==0&&It(e),D(e,(e.f&U)===0?M:me)),e.wv=bn(),Lr(e,V),z!==null&&(z.f&M)!==0&&(z.f&(he|_e))===0&&(W===null?Rs([e]):W.push(e))}return t}function Dt(e){S(e,e.v+1)}function Lr(e,t){var r=e.reactions;if(r!==null)for(var n=r.length,s=0;s<n;s++){var o=r[s],i=o.f,a=(i&V)===0;a&&D(o,t),(i&q)!==0?Lr(o,me):a&&((i&Ge)!==0&&Se!==null&&Se.push(o),Fe(o))}}function xe(e){if(typeof e!="object"||e===null||Xe in e)return e;const t=ur(e);if(t!==Hn&&t!==Fn)return e;var r=new Map,n=Et(e),s=P(0),o=Oe,i=a=>{if(Oe===o)return a();var l=j,b=Oe;ue(null),ln(o);var c=a();return ue(l),ln(b),c};return n&&r.set("length",P(e.length)),new Proxy(e,{defineProperty(a,l,b){(!("value"in b)||b.configurable===!1||b.enumerable===!1||b.writable===!1)&&rs();var c=r.get(l);return c===void 0?c=i(()=>{var u=P(b.value);return r.set(l,u),u}):S(c,b.value,!0),!0},deleteProperty(a,l){var b=r.get(l);if(b===void 0){if(l in a){const c=i(()=>P(N));r.set(l,c),Dt(s)}}else S(b,N),Dt(s);return!0},get(a,l,b){if(l===Xe)return e;var c=r.get(l),u=l in a;if(c===void 0&&(!u||$e(a,l)?.writable)&&(c=i(()=>{var d=xe(u?a[l]:N),v=P(d);return v}),r.set(l,c)),c!==void 0){var f=_(c);return f===N?void 0:f}return Reflect.get(a,l,b)},getOwnPropertyDescriptor(a,l){var b=Reflect.getOwnPropertyDescriptor(a,l);if(b&&"value"in b){var c=r.get(l);c&&(b.value=_(c))}else if(b===void 0){var u=r.get(l),f=u?.v;if(u!==void 0&&f!==N)return{enumerable:!0,configurable:!0,value:f,writable:!0}}return b},has(a,l){if(l===Xe)return!0;var b=r.get(l),c=b!==void 0&&b.v!==N||Reflect.has(a,l);if(b!==void 0||z!==null&&(!c||$e(a,l)?.writable)){b===void 0&&(b=i(()=>{var f=c?xe(a[l]):N,d=P(f);return d}),r.set(l,b));var u=_(b);if(u===N)return!1}return c},set(a,l,b,c){var u=r.get(l),f=l in a;if(n&&l==="length")for(var d=b;d<u.v;d+=1){var v=r.get(d+"");v!==void 0?S(v,N):d in a&&(v=i(()=>P(N)),r.set(d+"",v))}if(u===void 0)(!f||$e(a,l)?.writable)&&(u=i(()=>P(void 0)),S(u,xe(b)),r.set(l,u));else{f=u.v!==N;var h=i(()=>xe(b));S(u,h)}var x=Reflect.getOwnPropertyDescriptor(a,l);if(x?.set&&x.set.call(c,b),!f){if(n&&typeof l=="string"){var A=r.get("length"),p=Number(l);Number.isInteger(p)&&p>=A.v&&S(A,p+1)}Dt(s)}return!0},ownKeys(a){_(s);var l=Reflect.ownKeys(a).filter(u=>{var f=r.get(u);return f===void 0||f.v!==N});for(var[b,c]of r)c.v!==N&&!(b in a)&&l.push(b);return l},setPrototypeOf(){ns()}})}var Dr,Hr,Fr,qr;function Ht(){if(Dr===void 0){Dr=window,Hr=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;Fr=$e(t,"firstChild").get,qr=$e(t,"nextSibling").get,vr(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),vr(r)&&(r.__t=void 0)}}function Ce(e=""){return document.createTextNode(e)}function Ne(e){return Fr.call(e)}function re(e){return qr.call(e)}function be(e,t){if(!k)return Ne(e);var r=Ne(E);return r===null&&(r=E.appendChild(Ce())),ee(r),r}function Yr(e,t){if(!k){var r=Ne(e);return r instanceof Comment&&r.data===""?re(r):r}return E}function Qe(e,t=1,r=!1){let n=k?E:e;for(var s;t--;)s=n,n=re(n);if(!k)return n;if(r&&n?.nodeType!==Vn){var o=Ce();return n===null?s?.after(o):n.before(o),ee(o),o}return ee(n),n}function Ft(e){e.textContent=""}function Ur(){return!1}function ms(e){k&&Ne(e)!==null&&Ft(e)}let Vr=!1;function Wr(){Vr||(Vr=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(const t of e.target.elements)t.__on_r?.()})},{capture:!0}))}function _t(e){var t=j,r=z;ue(null),we(null);try{return e()}finally{ue(t),we(r)}}function ys(e,t,r,n=r){e.addEventListener(t,()=>_t(r));const s=e.__on_r;s?e.__on_r=()=>{s(),n(!0)}:e.__on_r=()=>n(!0),Wr()}function xs(e){z===null&&j===null&&Zn(),j!==null&&(j.f&U)!==0&&z===null&&Jn(),Me&&Kn()}function ws(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function ce(e,t,r,n=!0){var s=z;s!==null&&(s.f&Z)!==0&&(e|=Z);var o={ctx:te,deps:null,nodes_start:null,nodes_end:null,f:e|V,first:null,fn:t,last:null,next:null,parent:s,b:s&&s.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{Ue(o),o.f|=St}catch(l){throw fe(o),l}else t!==null&&Fe(o);if(n){var i=o;if(r&&i.deps===null&&i.teardown===null&&i.nodes_start===null&&i.first===i.last&&(i.f&Le)===0&&(i=i.first),i!==null&&(i.parent=s,s!==null&&ws(i,s),j!==null&&(j.f&q)!==0&&(e&_e)===0)){var a=j;(a.effects??=[]).push(i)}}return o}function zs(e){const t=ce(Tt,null,!1);return D(t,M),t.teardown=e,t}function Xr(e){xs();var t=z.f,r=!j&&(t&he)!==0&&(t&St)===0;if(r){var n=te;(n.e??=[]).push(e)}else return Kr(e)}function Kr(e){return ce(Rt|Yn,e,!1)}function ks(e){Te.ensure();const t=ce(_e|Le,e,!0);return()=>{fe(t)}}function js(e){Te.ensure();const t=ce(_e|Le,e,!0);return(r={})=>new Promise(n=>{r.outro?Vt(t,()=>{fe(t),n(void 0)}):(fe(t),n(void 0))})}function Jr(e){return ce(Rt,e,!1)}function $s(e){return ce(Mt|Le,e,!0)}function qt(e,t=0){return ce(Tt|t,e,!0)}function Yt(e,t=[],r=[]){gs(t,r,n=>{ce(Tt,()=>e(...n.map(_)),!0)})}function Ut(e,t=0){var r=ce(Ge|t,e,!0);return r}function qe(e,t=!0){return ce(he|Le,e,!0,t)}function Zr(e){var t=e.teardown;if(t!==null){const r=Me,n=j;sn(!0),ue(null);try{t.call(null)}finally{sn(r),ue(n)}}}function Qr(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const s=r.ac;s!==null&&_t(()=>{s.abort(Ot)});var n=r.next;(r.f&_e)!==0?r.parent=null:fe(r,t),r=n}}function Es(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&he)===0&&fe(t),t=r}}function fe(e,t=!0){var r=!1;(t||(e.f&_r)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(As(e.nodes_start,e.nodes_end),r=!0),Qr(e,t&&!r),yt(e,0),D(e,Ee);var n=e.transitions;if(n!==null)for(const o of n)o.stop();Zr(e);var s=e.parent;s!==null&&s.first!==null&&en(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function As(e,t){for(;e!==null;){var r=e===t?null:re(e);e.remove(),e=r}}function en(e){var t=e.parent,r=e.prev,n=e.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),t!==null&&(t.first===e&&(t.first=n),t.last===e&&(t.last=r))}function Vt(e,t){var r=[];Wt(e,r,!0),tn(r,()=>{fe(e),t&&t()})}function tn(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var s of e)s.out(n)}else t()}function Wt(e,t,r){if((e.f&Z)===0){if(e.f^=Z,e.transitions!==null)for(const i of e.transitions)(i.is_global||r)&&t.push(i);for(var n=e.first;n!==null;){var s=n.next,o=(n.f&Ct)!==0||(n.f&he)!==0;Wt(n,t,o?r:!1),n=s}}}function Xt(e){rn(e,!0)}function rn(e,t){if((e.f&Z)!==0){e.f^=Z,(e.f&M)===0&&(D(e,V),Fe(e));for(var r=e.first;r!==null;){var n=r.next,s=(r.f&Ct)!==0||(r.f&he)!==0;rn(r,s?t:!1),r=n}if(e.transitions!==null)for(const o of e.transitions)(o.is_global||t)&&o.in()}}let Ye=!1;function nn(e){Ye=e}let Me=!1;function sn(e){Me=e}let j=null,de=!1;function ue(e){j=e}let z=null;function we(e){z=e}let ge=null;function on(e){j!==null&&(ge===null?ge=[e]:ge.push(e))}let I=null,Y=0,W=null;function Rs(e){W=e}let an=1,et=0,Oe=et;function ln(e){Oe=e}let ze=!1;function bn(){return++an}function mt(e){var t=e.f;if((t&V)!==0)return!0;if((t&me)!==0){var r=e.deps,n=(t&U)!==0;if(r!==null){var s,o,i=(t<)!==0,a=n&&z!==null&&!ze,l=r.length;if((i||a)&&(z===null||(z.f&Ee)===0)){var b=e,c=b.parent;for(s=0;s<l;s++)o=r[s],(i||!o?.reactions?.includes(b))&&(o.reactions??=[]).push(b);i&&(b.f^=lt),a&&c!==null&&(c.f&U)===0&&(b.f^=U)}for(s=0;s<l;s++)if(o=r[s],mt(o)&&Nr(o),o.wv>e.wv)return!0}(!n||z!==null&&!ze)&&D(e,M)}return!1}function cn(e,t,r=!0){var n=e.reactions;if(n!==null&&!ge?.includes(e))for(var s=0;s<n.length;s++){var o=n[s];(o.f&q)!==0?cn(o,t,!1):t===o&&(r?D(o,V):(o.f&M)!==0&&D(o,me),Fe(o))}}function fn(e){var t=I,r=Y,n=W,s=j,o=ze,i=ge,a=te,l=de,b=Oe,c=e.f;I=null,Y=0,W=null,ze=(c&U)!==0&&(de||!Ye||j===null),j=(c&(he|_e))===0?e:null,ge=null,ft(e.ctx),de=!1,Oe=++et,e.ac!==null&&(_t(()=>{e.ac.abort(Ot)}),e.ac=null);try{e.f|=Nt;var u=e.fn,f=u(),d=e.deps;if(I!==null){var v;if(yt(e,Y),d!==null&&Y>0)for(d.length=Y+I.length,v=0;v<I.length;v++)d[Y+v]=I[v];else e.deps=d=I;if(!ze||(c&q)!==0&&e.reactions!==null)for(v=Y;v<d.length;v++)(d[v].reactions??=[]).push(e)}else d!==null&&Y<d.length&&(yt(e,Y),d.length=Y);if(jr()&&W!==null&&!de&&d!==null&&(e.f&(q|me|V))===0)for(v=0;v<W.length;v++)cn(W[v],e);return s!==null&&s!==e&&(et++,W!==null&&(n===null?n=W:n.push(...W))),(e.f&Ae)!==0&&(e.f^=Ae),f}catch(h){return bs(h)}finally{e.f^=Nt,I=t,Y=r,W=n,j=s,ze=o,ge=i,ft(a),de=l,Oe=b}}function Ts(e,t){let r=t.reactions;if(r!==null){var n=Ln.call(r,e);if(n!==-1){var s=r.length-1;s===0?r=t.reactions=null:(r[n]=r[s],r.pop())}}r===null&&(t.f&q)!==0&&(I===null||!I.includes(t))&&(D(t,me),(t.f&(U|lt))===0&&(t.f^=lt),Cr(t),yt(t,0))}function yt(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)Ts(e,r[n])}function Ue(e){var t=e.f;if((t&Ee)===0){D(e,M);var r=z,n=Ye;z=e,Ye=!0;try{(t&Ge)!==0?Es(e):Qr(e),Zr(e);var s=fn(e);e.teardown=typeof s=="function"?s:null,e.wv=an;var o;dr&&as&&(e.f&V)!==0&&e.deps}finally{Ye=n,z=r}}}async function Ss(){await Promise.resolve(),He()}function _(e){var t=e.f,r=(t&q)!==0;if(j!==null&&!de){var n=z!==null&&(z.f&Ee)!==0;if(!n&&!ge?.includes(e)){var s=j.deps;if((j.f&Nt)!==0)e.rv<et&&(e.rv=et,I===null&&s!==null&&s[Y]===e?Y++:I===null?I=[e]:(!ze||!I.includes(e))&&I.push(e));else{(j.deps??=[]).push(e);var o=e.reactions;o===null?e.reactions=[j]:o.includes(j)||o.push(j)}}}else if(r&&e.deps===null&&e.effects===null){var i=e,a=i.parent;a!==null&&(a.f&U)===0&&(i.f^=U)}if(Me){if(ye.has(e))return ye.get(e);if(r){i=e;var l=i.v;return((i.f&M)===0&&i.reactions!==null||dn(i))&&(l=It(i)),ye.set(i,l),l}}else r&&(i=e,mt(i)&&Nr(i));if((e.f&Ae)!==0)throw e.v;return e.v}function dn(e){if(e.v===N)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(ye.has(t)||(t.f&q)!==0&&dn(t))return!0;return!1}function Kt(e){var t=de;try{return de=!0,e()}finally{de=t}}const Cs=-7169;function D(e,t){e.f=e.f&Cs|t}const un=new Set,Jt=new Set;function Ns(e,t,r,n={}){function s(o){if(n.capture||tt.call(t,o),!o.cancelBubble)return _t(()=>r?.call(this,o))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?Rr(()=>{t.addEventListener(e,s,n)}):t.addEventListener(e,s,n),s}function Zt(e,t,r,n,s){var o={capture:n,passive:s},i=Ns(e,t,r,o);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&zs(()=>{t.removeEventListener(e,i,o)})}function Ms(e){for(var t=0;t<e.length;t++)un.add(e[t]);for(var r of Jt)r(e)}let vn=null;function tt(e){var t=this,r=t.ownerDocument,n=e.type,s=e.composedPath?.()||[],o=s[0]||e.target;vn=e;var i=0,a=vn===e&&e.__root;if(a){var l=s.indexOf(a);if(l!==-1&&(t===document||t===window)){e.__root=t;return}var b=s.indexOf(t);if(b===-1)return;l<=b&&(i=l)}if(o=s[i]||e.target,o!==t){Ie(e,"currentTarget",{configurable:!0,get(){return o||r}});var c=j,u=z;ue(null),we(null);try{for(var f,d=[];o!==null;){var v=o.assignedSlot||o.parentNode||o.host||null;try{var h=o["__"+n];if(h!=null&&(!o.disabled||e.target===o))if(Et(h)){var[x,...A]=h;x.apply(o,[e,...A])}else h.call(o,e)}catch(p){f?d.push(p):f=p}if(e.cancelBubble||v===t||v===null)break;o=v}if(f){for(let p of d)queueMicrotask(()=>{throw p});throw f}}finally{e.__root=t,delete e.currentTarget,ue(c),we(u)}}}let X;function Os(){X=void 0}function Bs(e){let t=null,r=k;var n;if(k){for(t=E,X===void 0&&(X=Ne(document.head));X!==null&&(X.nodeType!==De||X.data!==kt);)X=re(X);X===null?Q(!1):X=ee(re(X))}k||(n=document.head.appendChild(Ce()));try{Ut(()=>e(n),_r)}finally{r&&(Q(!0),X=E,ee(t))}}function Ps(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function rt(e,t){var r=z;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function ke(e,t){var r=(t&In)!==0,n,s=!e.startsWith("<!>");return()=>{if(k)return rt(E,null),E;n===void 0&&(n=Ps(s?e:"<!>"+e),n=Ne(n));var o=r||Hr?document.importNode(n,!0):n.cloneNode(!0);return rt(o,o),o}}function hn(){if(k)return rt(E,null),E;var e=document.createDocumentFragment(),t=document.createComment(""),r=Ce();return e.append(t,r),rt(t,r),e}function ne(e,t){if(k){z.nodes_end=E,ct();return}e!==null&&e.before(t)}const Is=["touchstart","touchmove"];function Gs(e){return Is.includes(e)}function Ls(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=r+"")}function gn(e,t){return pn(e,t)}function Ds(e,t){Ht(),t.intro=t.intro??!1;const r=t.target,n=k,s=E;try{for(var o=Ne(r);o&&(o.nodeType!==De||o.data!==kt);)o=re(o);if(!o)throw Pe;Q(!0),ee(o),ct();const i=pn(e,{...t,anchor:o});if(E===null||E.nodeType!==De||E.data!==$t)throw bt(),Pe;return Q(!1),i}catch(i){if(i instanceof Error&&i.message.split(`
|
|
2
|
+
`).some(a=>a.startsWith("https://svelte.dev/e/")))throw i;return i!==Pe&&console.warn("Failed to hydrate: ",i),t.recover===!1&&es(),Ht(),Ft(r),Q(!1),gn(e,t)}finally{Q(n),ee(s),Os()}}const Ve=new Map;function pn(e,{target:t,anchor:r,props:n={},events:s,context:o,intro:i=!0}){Ht();var a=new Set,l=u=>{for(var f=0;f<u.length;f++){var d=u[f];if(!a.has(d)){a.add(d);var v=Gs(d);t.addEventListener(d,tt,{passive:v});var h=Ve.get(d);h===void 0?(document.addEventListener(d,tt,{passive:v}),Ve.set(d,1)):Ve.set(d,h+1)}}};l(At(un)),Jt.add(l);var b=void 0,c=js(()=>{var u=r??t.appendChild(Ce());return qe(()=>{if(o){zr({});var f=te;f.c=o}s&&(n.$$events=s),k&&rt(u,null),b=e(u,n)||{},k&&(z.nodes_end=E),o&&kr()}),()=>{for(var f of a){t.removeEventListener(f,tt);var d=Ve.get(f);--d===0?(document.removeEventListener(f,tt),Ve.delete(f)):Ve.set(f,d)}Jt.delete(l),u!==r&&u.parentNode?.removeChild(u)}});return Qt.set(b,c),b}let Qt=new WeakMap;function Hs(e,t){const r=Qt.get(e);return r?(Qt.delete(e),r(t)):Promise.resolve()}function nt(e,t,r=!1){k&&ct();var n=e,s=null,o=null,i=N,a=r?Ct:0,l=!1;const b=(d,v=!0)=>{l=!0,f(v,d)};var c=null;function u(){c!==null&&(c.lastChild.remove(),n.before(c),c=null);var d=i?s:o,v=i?o:s;d&&Xt(d),v&&Vt(v,()=>{i?o=null:s=null})}const f=(d,v)=>{if(i===(i=d))return;let h=!1;if(k){const C=yr(n)===jt;!!i===C&&(n=Bt(),ee(n),Q(!1),h=!0)}var x=Ur(),A=n;if(x&&(c=document.createDocumentFragment(),c.append(A=Ce())),i?s??=v&&qe(()=>v(A)):o??=v&&qe(()=>v(A)),x){var p=T,w=i?s:o,$=i?o:s;w&&p.skipped_effects.delete(w),$&&p.skipped_effects.add($),p.add_callback(u)}else u();h&&Q(!0)};Ut(()=>{l=!1,t(b),l||f(null,null)},a),k&&(n=E)}function Fs(e,t,r){for(var n=e.items,s=[],o=t.length,i=0;i<o;i++)Wt(t[i].e,s,!0);var a=o>0&&s.length===0&&r!==null;if(a){var l=r.parentNode;Ft(l),l.append(r),n.clear(),ve(e,t[0].prev,t[o-1].next)}tn(s,()=>{for(var b=0;b<o;b++){var c=t[b];a||(n.delete(c.k),ve(e,c.prev,c.next)),fe(c.e,!a)}})}function qs(e,t,r,n,s,o=null){var i=e,a={flags:t,items:new Map,first:null};k&&ct();var l=null,b=!1,c=new Map,u=Sr(()=>{var h=r();return Et(h)?h:h==null?[]:At(h)}),f,d;function v(){Ys(d,f,a,c,i,s,t,n,r),o!==null&&(f.length===0?l?Xt(l):l=qe(()=>o(i)):l!==null&&Vt(l,()=>{l=null}))}Ut(()=>{d??=z,f=_(u);var h=f.length;if(b&&h===0)return;b=h===0;let x=!1;if(k){var A=yr(i)===jt;A!==(h===0)&&(i=Bt(),ee(i),Q(!1),x=!0)}if(k){for(var p=null,w,$=0;$<h;$++){if(E.nodeType===De&&E.data===$t){i=E,x=!0,Q(!1);break}var C=f[$],O=n(C,$);w=er(E,a,p,null,C,O,$,s,t,r),a.items.set(O,w),p=w}h>0&&ee(Bt())}if(k)h===0&&o&&(l=qe(()=>o(i)));else if(Ur()){var K=new Set,H=T;for($=0;$<h;$+=1){C=f[$],O=n(C,$);var B=a.items.get(O)??c.get(O);B?_n(B,C,$):(w=er(null,a,null,null,C,O,$,s,t,r,!0),c.set(O,w)),K.add(O)}for(const[se,oe]of a.items)K.has(se)||H.skipped_effects.add(oe.e);H.add_callback(v)}else v();x&&Q(!0),_(u)}),k&&(i=E)}function Ys(e,t,r,n,s,o,i,a,l){var b=t.length,c=r.items,u=r.first,f=u,d,v=null,h=[],x=[],A,p,w,$;for($=0;$<b;$+=1){if(A=t[$],p=a(A,$),w=c.get(p),w===void 0){var C=n.get(p);if(C!==void 0){n.delete(p),c.set(p,C);var O=v?v.next:f;ve(r,v,C),ve(r,C,O),tr(C,O,s),v=C}else{var K=f?f.e.nodes_start:s;v=er(K,r,v,v===null?r.first:v.next,A,p,$,o,i,l)}c.set(p,v),h=[],x=[],f=v.next;continue}if(_n(w,A,$),(w.e.f&Z)!==0&&Xt(w.e),w!==f){if(d!==void 0&&d.has(w)){if(h.length<x.length){var H=x[0],B;v=H.prev;var se=h[0],oe=h[h.length-1];for(B=0;B<h.length;B+=1)tr(h[B],H,s);for(B=0;B<x.length;B+=1)d.delete(x[B]);ve(r,se.prev,oe.next),ve(r,v,se),ve(r,oe,H),f=H,v=oe,$-=1,h=[],x=[]}else d.delete(w),tr(w,f,s),ve(r,w.prev,w.next),ve(r,w,v===null?r.first:v.next),ve(r,v,w),v=w;continue}for(h=[],x=[];f!==null&&f.k!==p;)(f.e.f&Z)===0&&(d??=new Set).add(f),x.push(f),f=f.next;if(f===null)continue;w=f}h.push(w),v=w,f=w.next}if(f!==null||d!==void 0){for(var pe=d===void 0?[]:At(d);f!==null;)(f.e.f&Z)===0&&pe.push(f),f=f.next;var y=pe.length;if(y>0){var m=null;Fs(r,pe,m)}}e.first=r.first&&r.first.e,e.last=v&&v.e;for(var G of n.values())fe(G.e);n.clear()}function _n(e,t,r,n){pt(e.v,t),e.i=r}function er(e,t,r,n,s,o,i,a,l,b,c){var u=(l&Sn)!==0,f=(l&Nn)===0,d=u?f?Gr(s,!1,!1):Ze(s):s,v=(l&Cn)===0?i:Ze(i),h={i:v,v:d,k:o,a:null,e:null,prev:r,next:n};try{if(e===null){var x=document.createDocumentFragment();x.append(e=Ce())}return h.e=qe(()=>a(e,d,v,b),k),h.e.prev=r&&r.e,h.e.next=n&&n.e,r===null?c||(t.first=h):(r.next=h,r.e.next=h.e),n!==null&&(n.prev=h,n.e.prev=h.e),h}finally{}}function tr(e,t,r){for(var n=e.next?e.next.e.nodes_start:r,s=t?t.e.nodes_start:r,o=e.e.nodes_start;o!==null&&o!==n;){var i=re(o);s.before(o),o=i}}function ve(e,t,r){t===null?e.first=r:(t.next=r,t.e.next=r&&r.e),r!==null&&(r.prev=t,r.e.prev=t&&t.e)}function Us(e,t){Jr(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const s=document.createElement("style");s.id=t.hash,s.textContent=t.code,n.appendChild(s)}})}const mn=[...`
|
|
3
|
+
\r\f \v\uFEFF`];function Vs(e,t,r){var n=e==null?"":""+e;if(t&&(n=n?n+" "+t:t),r){for(var s in r)if(r[s])n=n?n+" "+s:s;else if(n.length)for(var o=s.length,i=0;(i=n.indexOf(s,i))>=0;){var a=i+o;(i===0||mn.includes(n[i-1]))&&(a===n.length||mn.includes(n[a]))?n=(i===0?"":n.substring(0,i))+n.substring(a+1):i=a}}return n===""?null:n}function Ws(e,t){return e==null?null:String(e)}function st(e,t,r,n,s,o){var i=e.__className;if(k||i!==r||i===void 0){var a=Vs(r,n,o);(!k||a!==e.getAttribute("class"))&&(a==null?e.removeAttribute("class"):e.className=a),e.__className=r}else if(o&&s!==o)for(var l in o){var b=!!o[l];(s==null||b!==!!s[l])&&e.classList.toggle(l,b)}return o}function rr(e,t,r,n){var s=e.__style;if(k||s!==t){var o=Ws(t);(!k||o!==e.getAttribute("style"))&&(o==null?e.removeAttribute("style"):e.style.cssText=o),e.__style=t}return n}const Xs=Symbol("is custom element"),Ks=Symbol("is html");function Js(e){if(k){var t=!1,r=()=>{if(!t){if(t=!0,e.hasAttribute("value")){var n=e.value;ot(e,"value",null),e.value=n}if(e.hasAttribute("checked")){var s=e.checked;ot(e,"checked",null),e.checked=s}}};e.__on_r=r,fs(r),Wr()}}function ot(e,t,r,n){var s=Zs(e);k&&(s[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||s[t]!==(s[t]=r)&&(t==="loading"&&(e[Un]=r),r==null?e.removeAttribute(t):typeof r!="string"&&Qs(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function Zs(e){return e.__attributes??={[Xs]:e.nodeName.includes("-"),[Ks]:e.namespaceURI===Gn}}var yn=new Map;function Qs(e){var t=e.getAttribute("is")||e.nodeName,r=yn.get(t);if(r)return r;yn.set(t,r=[]);for(var n,s=e,o=Element.prototype;o!==s;){n=Dn(s);for(var i in n)n[i].set&&r.push(i);s=ur(s)}return r}function xn(e,t,r=t){var n=new WeakSet;ys(e,"input",async s=>{var o=s?e.defaultValue:e.value;if(o=nr(e)?sr(o):o,r(o),T!==null&&n.add(T),await Ss(),o!==(o=t())){var i=e.selectionStart,a=e.selectionEnd;e.value=o??"",a!==null&&(e.selectionStart=i,e.selectionEnd=Math.min(a,e.value.length))}}),(k&&e.defaultValue!==e.value||Kt(t)==null&&e.value)&&(r(nr(e)?sr(e.value):e.value),T!==null&&n.add(T)),qt(()=>{var s=t();if(e===document.activeElement){var o=ut??T;if(n.has(o))return}nr(e)&&s===sr(e.value)||e.type==="date"&&!s&&!e.value||s!==e.value&&(e.value=s??"")})}function nr(e){var t=e.type;return t==="number"||t==="range"}function sr(e){return e===""?null:+e}function wn(e,t){return e===t||e?.[Xe]===t}function eo(e={},t,r,n){return Jr(()=>{var s,o;return qt(()=>{s=o,o=[],Kt(()=>{e!==r(...o)&&(t(e,...o),s&&wn(r(...s),e)&&t(null,...s))})}),()=>{Rr(()=>{o&&wn(r(...o),e)&&t(null,...o)})}}),e}let xt=!1;function to(e){var t=xt;try{return xt=!1,[e(),xt]}finally{xt=t}}function wt(e,t,r,n){var s=(r&Bn)!==0,o=(r&Pn)!==0,i=n,a=!0,l=()=>(a&&(a=!1,i=o?Kt(n):n),i),b;if(s){var c=Xe in e||mr in e;b=$e(e,t)?.set??(c&&t in e?p=>e[t]=p:void 0)}var u,f=!1;s?[u,f]=to(()=>e[t]):u=e[t],u===void 0&&n!==void 0&&(u=l(),b&&(ts(),b(u)));var d;if(d=()=>{var p=e[t];return p===void 0?l():(a=!0,p)},(r&On)===0)return d;if(b){var v=e.$$legacy;return(function(p,w){return arguments.length>0?((!w||v||f)&&b(w?d():p),p):d()})}var h=!1,x=((r&Mn)!==0?dt:Sr)(()=>(h=!1,d()));s&&_(x);var A=z;return(function(p,w){if(arguments.length>0){const $=w?_(x):s?xe(p):p;return S(x,$),h=!0,i!==void 0&&(i=$),p}return Me&&h||(A.f&Ee)!==0?x.v:_(x)})}function ro(e){return new no(e)}class no{#t;#e;constructor(t){var r=new Map,n=(o,i)=>{var a=Gr(i,!1,!1);return r.set(o,a),a};const s=new Proxy({...t.props||{},$$events:{}},{get(o,i){return _(r.get(i)??n(i,Reflect.get(o,i)))},has(o,i){return i===mr?!0:(_(r.get(i)??n(i,Reflect.get(o,i))),Reflect.has(o,i))},set(o,i,a){return S(r.get(i)??n(i,a),a),Reflect.set(o,i,a)}});this.#e=(t.hydrate?Ds:gn)(t.component,{target:t.target,anchor:t.anchor,props:s,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&He(),this.#t=s.$$events;for(const o of Object.keys(this.#e))o==="$set"||o==="$destroy"||o==="$on"||Ie(this,o,{get(){return this.#e[o]},set(i){this.#e[o]=i},enumerable:!0});this.#e.$set=o=>{Object.assign(s,o)},this.#e.$destroy=()=>{Hs(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const n=(...s)=>r.call(this,...s);return this.#t[t].push(n),()=>{this.#t[t]=this.#t[t].filter(s=>s!==n)}}$destroy(){this.#e.$destroy()}}let zn;typeof HTMLElement=="function"&&(zn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,r){super(),this.$$ctor=e,this.$$s=t,r&&this.attachShadow({mode:"open"})}addEventListener(e,t,r){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,r)}removeEventListener(e,t,r){if(super.removeEventListener(e,t,r),this.$$c){const n=this.$$l_u.get(t);n&&(n(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(n){return s=>{const o=document.createElement("slot");n!=="default"&&(o.name=n),ne(s,o)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=so(this);for(const n of this.$$s)n in r&&(n==="default"&&!this.$$d.children?(this.$$d.children=e(n),t.default=!0):t[n]=e(n));for(const n of this.attributes){const s=this.$$g_p(n.name);s in this.$$d||(this.$$d[s]=zt(s,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=ro({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=ks(()=>{qt(()=>{this.$$r=!0;for(const n of at(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const s=zt(n,this.$$d[n],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,s)}this.$$r=!1})});for(const n in this.$$l)for(const s of this.$$l[n]){const o=this.$$c.$on(n,s);this.$$l_u.set(s,o)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=zt(e,r,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return at(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function zt(e,t,r,n){const s=r[e]?.type;if(t=s==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(s){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(s){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function so(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function oo(e,t,r,n,s,o){let i=class extends zn{constructor(){super(e,r,s),this.$$p_d=t}static get observedAttributes(){return at(t).map(a=>(t[a].attribute||a).toLowerCase())}};return at(t).forEach(a=>{Ie(i.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(l){l=zt(a,l,t),this.$$d[a]=l;var b=this.$$c;if(b){var c=$e(b,a)?.get;c?b[a]=l:b.$set({[a]:l})}}})}),n.forEach(a=>{Ie(i.prototype,a,{get(){return this.$$c?.[a]}})}),e.element=i,i}function io(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var We={},or,kn;function ao(){if(kn)return or;kn=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,s=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,i=/^[;\s]*/,a=/^\s+|\s+$/g,l=`
|
|
4
|
+
`,b="/",c="*",u="",f="comment",d="declaration";or=function(h,x){if(typeof h!="string")throw new TypeError("First argument must be a string");if(!h)return[];x=x||{};var A=1,p=1;function w(y){var m=y.match(t);m&&(A+=m.length);var G=y.lastIndexOf(l);p=~G?y.length-G:p+y.length}function $(){var y={line:A,column:p};return function(m){return m.position=new C(y),H(),m}}function C(y){this.start=y,this.end={line:A,column:p},this.source=x.source}C.prototype.content=h;function O(y){var m=new Error(x.source+":"+A+":"+p+": "+y);if(m.reason=y,m.filename=x.source,m.line=A,m.column=p,m.source=h,!x.silent)throw m}function K(y){var m=y.exec(h);if(m){var G=m[0];return w(G),h=h.slice(G.length),m}}function H(){K(r)}function B(y){var m;for(y=y||[];m=se();)m!==!1&&y.push(m);return y}function se(){var y=$();if(!(b!=h.charAt(0)||c!=h.charAt(1))){for(var m=2;u!=h.charAt(m)&&(c!=h.charAt(m)||b!=h.charAt(m+1));)++m;if(m+=2,u===h.charAt(m-1))return O("End of comment missing");var G=h.slice(2,m-2);return p+=2,w(G),h=h.slice(m),p+=2,y({type:f,comment:G})}}function oe(){var y=$(),m=K(n);if(m){if(se(),!K(s))return O("property missing ':'");var G=K(o),ir=y({type:d,property:v(m[0].replace(e,u)),value:G?v(G[0].replace(e,u)):u});return K(i),ir}}function pe(){var y=[];B(y);for(var m;m=oe();)m!==!1&&(y.push(m),B(y));return y}return H(),pe()};function v(h){return h?h.replace(a,u):u}return or}var jn;function lo(){if(jn)return We;jn=1;var e=We&&We.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(We,"__esModule",{value:!0}),We.default=r;var t=e(ao());function r(n,s){var o=null;if(!n||typeof n!="string")return o;var i=(0,t.default)(n),a=typeof s=="function";return i.forEach(function(l){if(l.type==="declaration"){var b=l.property,c=l.value;a?s(b,c,l):c&&(o=o||{},o[b]=c)}}),o}return We}var bo=lo();const $n=io(bo);$n.default;function co(e,t){e.key==="Enter"&&!e.shiftKey&&(e.preventDefault(),t())}var fo=ke('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-1njdz65"/>'),uo=ke('<button id="maximize-button" type="button"><i></i></button>'),vo=ke('<label id="upload-file" class="btn file-button btn-sm svelte-1njdz65" style="--tag-color: var(--bs-primary, #007bff)"><input type="file" class="svelte-1njdz65"/> <i class="bi bi-paperclip svelte-1njdz65"></i></label>'),ho=(e,t)=>S(t,void 0),go=ke('<i class="bi bi-x-lg svelte-1njdz65"></i>'),po=ke('<i class="bi bi-file-earmark-check-fill svelte-1njdz65"></i>'),_o=ke('<button type="button" class="btn file-button file-selected btn-sm svelte-1njdz65" style="--tag-color: var(--bs-primary, #007bff)" aria-label="Remove file"><!></button>'),mo=(e,t,r)=>t(_(r).id),yo=ke('<button type="button"><i></i> </button>'),xo=(e,t)=>t(),wo=ke('<div id="chat-container" class="svelte-1njdz65"><div id="chat-box" class="svelte-1njdz65"><div id="textarea-container" class="svelte-1njdz65"><textarea id="send-message-text" placeholder="Type your message..."></textarea> <!></div> <div id="buttons-container" class="svelte-1njdz65"><div id="left-buttons" class="svelte-1njdz65"><!> <!></div> <div id="right-buttons" class="svelte-1njdz65"><button type="button" id="send-message-button" aria-label="Send message" class="svelte-1njdz65"><i class="bi bi-send-fill svelte-1njdz65"></i></button></div></div></div></div>');const zo={hash:"svelte-1njdz65",code:`@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
|
|
5
|
+
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");
|
|
6
|
+
/*!
|
|
7
|
+
* Bootstrap v5.1.2 (https://getbootstrap.com/)
|
|
8
|
+
* Copyright 2011-2021 The Bootstrap Authors
|
|
9
|
+
* Copyright 2011-2021 Twitter, Inc.
|
|
10
|
+
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
11
|
+
*/:host {--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-primary: #0d6efd;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #212529;--bs-primary-rgb: 13, 110, 253;--bs-secondary-rgb: 108, 117, 125;--bs-success-rgb: 25, 135, 84;--bs-info-rgb: 13, 202, 240;--bs-warning-rgb: 255, 193, 7;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 33, 37, 41;--bs-primary-text-emphasis: rgb(5.2, 44, 101.2);--bs-secondary-text-emphasis: rgb(43.2, 46.8, 50);--bs-success-text-emphasis: rgb(10, 54, 33.6);--bs-info-text-emphasis: rgb(5.2, 80.8, 96);--bs-warning-text-emphasis: rgb(102, 77.2, 2.8);--bs-danger-text-emphasis: rgb(88, 21.2, 27.6);--bs-light-text-emphasis: #495057;--bs-dark-text-emphasis: #495057;--bs-primary-bg-subtle: rgb(206.6, 226, 254.6);--bs-secondary-bg-subtle: rgb(225.6, 227.4, 229);--bs-success-bg-subtle: rgb(209, 231, 220.8);--bs-info-bg-subtle: rgb(206.6, 244.4, 252);--bs-warning-bg-subtle: rgb(255, 242.6, 205.4);--bs-danger-bg-subtle: rgb(248, 214.6, 217.8);--bs-light-bg-subtle: rgb(251.5, 252, 252.5);--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: rgb(158.2, 197, 254.2);--bs-secondary-border-subtle: rgb(196.2, 199.8, 203);--bs-success-border-subtle: rgb(163, 207, 186.6);--bs-info-border-subtle: rgb(158.2, 233.8, 249);--bs-warning-border-subtle: rgb(255, 230.2, 155.8);--bs-danger-border-subtle: rgb(241, 174.2, 180.6);--bs-light-border-subtle: #e9ecef;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size: 1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg: #fff;--bs-body-bg-rgb: 255, 255, 255;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(33, 37, 41, 0.75);--bs-secondary-color-rgb: 33, 37, 41;--bs-secondary-bg: #e9ecef;--bs-secondary-bg-rgb: 233, 236, 239;--bs-tertiary-color: rgba(33, 37, 41, 0.5);--bs-tertiary-color-rgb: 33, 37, 41;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #0d6efd;--bs-link-color-rgb: 13, 110, 253;--bs-link-decoration: underline;--bs-link-hover-color: rgb(10.4, 88, 202.4);--bs-link-hover-color-rgb: 10, 88, 202;--bs-code-color: #d63384;--bs-highlight-color: #212529;--bs-highlight-bg: rgb(255, 242.6, 205.4);--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, 0.175);--bs-border-radius: 0.375rem;--bs-border-radius-sm: 0.25rem;--bs-border-radius-lg: 0.5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width: 0.25rem;--bs-focus-ring-opacity: 0.25;--bs-focus-ring-color: rgba(13, 110, 253, 0.25);--bs-form-valid-color: #198754;--bs-form-valid-border-color: #198754;--bs-form-invalid-color: #dc3545;--bs-form-invalid-border-color: #dc3545;}.svelte-1njdz65,
|
|
12
|
+
.svelte-1njdz65::before,
|
|
13
|
+
.svelte-1njdz65::after {box-sizing:border-box;}
|
|
14
|
+
@media (prefers-reduced-motion: no-preference) {:host {scroll-behavior:smooth;}
|
|
15
|
+
}
|
|
16
|
+
@media (min-width: 1200px) {
|
|
17
|
+
}
|
|
18
|
+
@media (min-width: 1200px) {
|
|
19
|
+
}
|
|
20
|
+
@media (min-width: 1200px) {
|
|
21
|
+
}
|
|
22
|
+
@media (min-width: 1200px) {
|
|
23
|
+
}label.svelte-1njdz65 {display:inline-block;}button.svelte-1njdz65 {border-radius:0;}button.svelte-1njdz65:focus:not(:focus-visible) {outline:0;}input.svelte-1njdz65,
|
|
24
|
+
button.svelte-1njdz65,
|
|
25
|
+
textarea.svelte-1njdz65 {margin:0;font-family:inherit;font-size:inherit;line-height:inherit;}button.svelte-1njdz65 {text-transform:none;}button.svelte-1njdz65,
|
|
26
|
+
[type=button].svelte-1njdz65 {-webkit-appearance:button;}button.svelte-1njdz65:not(:disabled),
|
|
27
|
+
[type=button].svelte-1njdz65:not(:disabled) {cursor:pointer;}.svelte-1njdz65::-moz-focus-inner {padding:0;border-style:none;}textarea.svelte-1njdz65 {resize:vertical;}
|
|
28
|
+
@media (min-width: 1200px) {
|
|
29
|
+
}.svelte-1njdz65::-webkit-datetime-edit-fields-wrapper,
|
|
30
|
+
.svelte-1njdz65::-webkit-datetime-edit-text,
|
|
31
|
+
.svelte-1njdz65::-webkit-datetime-edit-minute,
|
|
32
|
+
.svelte-1njdz65::-webkit-datetime-edit-hour-field,
|
|
33
|
+
.svelte-1njdz65::-webkit-datetime-edit-day-field,
|
|
34
|
+
.svelte-1njdz65::-webkit-datetime-edit-month-field,
|
|
35
|
+
.svelte-1njdz65::-webkit-datetime-edit-year-field {padding:0;}.svelte-1njdz65::-webkit-inner-spin-button {height:auto;}
|
|
36
|
+
/* rtl:raw:
|
|
37
|
+
[type="tel"],
|
|
38
|
+
[type="url"],
|
|
39
|
+
[type="email"],
|
|
40
|
+
[type="number"] {
|
|
41
|
+
direction: ltr;
|
|
42
|
+
}
|
|
43
|
+
*/.svelte-1njdz65::-webkit-search-decoration {-webkit-appearance:none;}.svelte-1njdz65::-webkit-color-swatch-wrapper {padding:0;}.svelte-1njdz65::file-selector-button {font:inherit;-webkit-appearance:button;}.btn.svelte-1njdz65 {--bs-btn-padding-x: 0.75rem;--bs-btn-padding-y: 0.375rem;--bs-btn-font-family: ;--bs-btn-font-size: 1rem;--bs-btn-font-weight: 400;--bs-btn-line-height: 1.5;--bs-btn-color: var(--bs-body-color);--bs-btn-bg: transparent;--bs-btn-border-width: var(--bs-border-width);--bs-btn-border-color: transparent;--bs-btn-border-radius: var(--bs-border-radius);--bs-btn-hover-border-color: transparent;--bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);--bs-btn-disabled-opacity: 0.65;--bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);display:inline-block;padding:var(--bs-btn-padding-y) var(--bs-btn-padding-x);font-family:var(--bs-btn-font-family);font-size:var(--bs-btn-font-size);font-weight:var(--bs-btn-font-weight);line-height:var(--bs-btn-line-height);color:var(--bs-btn-color);text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;user-select:none;border:var(--bs-btn-border-width) solid var(--bs-btn-border-color);border-radius:var(--bs-btn-border-radius);background-color:var(--bs-btn-bg);transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;}
|
|
44
|
+
@media (prefers-reduced-motion: reduce) {.btn.svelte-1njdz65 {transition:none;}
|
|
45
|
+
}.btn.svelte-1njdz65:hover {color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);}.btn.svelte-1njdz65:focus-visible {color:var(--bs-btn-hover-color);background-color:var(--bs-btn-hover-bg);border-color:var(--bs-btn-hover-border-color);outline:0;box-shadow:var(--bs-btn-focus-box-shadow);} .svelte-1njdz65:not(.btn-check) + .btn:where(.svelte-1njdz65):active, .btn.svelte-1njdz65:first-child:active, .btn.active.svelte-1njdz65, .btn.show.svelte-1njdz65 {color:var(--bs-btn-active-color);background-color:var(--bs-btn-active-bg);border-color:var(--bs-btn-active-border-color);} .svelte-1njdz65:not(.btn-check) + .btn:where(.svelte-1njdz65):active:focus-visible, .btn.svelte-1njdz65:first-child:active:focus-visible, .btn.active.svelte-1njdz65:focus-visible, .btn.show.svelte-1njdz65:focus-visible {box-shadow:var(--bs-btn-focus-box-shadow);}.btn.svelte-1njdz65:disabled, .btn.disabled.svelte-1njdz65 {color:var(--bs-btn-disabled-color);pointer-events:none;background-color:var(--bs-btn-disabled-bg);border-color:var(--bs-btn-disabled-border-color);opacity:var(--bs-btn-disabled-opacity);}.btn-primary.svelte-1njdz65 {--bs-btn-color: #fff;--bs-btn-bg: #0d6efd;--bs-btn-border-color: #0d6efd;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: rgb(11.05, 93.5, 215.05);--bs-btn-hover-border-color: rgb(10.4, 88, 202.4);--bs-btn-focus-shadow-rgb: 49, 132, 253;--bs-btn-active-color: #fff;--bs-btn-active-bg: rgb(10.4, 88, 202.4);--bs-btn-active-border-color: rgb(9.75, 82.5, 189.75);--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #0d6efd;--bs-btn-disabled-border-color: #0d6efd;}.btn-secondary.svelte-1njdz65 {--bs-btn-color: #fff;--bs-btn-bg: #6c757d;--bs-btn-border-color: #6c757d;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: rgb(91.8, 99.45, 106.25);--bs-btn-hover-border-color: rgb(86.4, 93.6, 100);--bs-btn-focus-shadow-rgb: 130, 138, 145;--bs-btn-active-color: #fff;--bs-btn-active-bg: rgb(86.4, 93.6, 100);--bs-btn-active-border-color: rgb(81, 87.75, 93.75);--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #6c757d;--bs-btn-disabled-border-color: #6c757d;}.btn-success.svelte-1njdz65 {--bs-btn-color: #fff;--bs-btn-bg: #198754;--bs-btn-border-color: #198754;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: rgb(21.25, 114.75, 71.4);--bs-btn-hover-border-color: rgb(20, 108, 67.2);--bs-btn-focus-shadow-rgb: 60, 153, 110;--bs-btn-active-color: #fff;--bs-btn-active-bg: rgb(20, 108, 67.2);--bs-btn-active-border-color: rgb(18.75, 101.25, 63);--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #198754;--bs-btn-disabled-border-color: #198754;}.btn-info.svelte-1njdz65 {--bs-btn-color: #000;--bs-btn-bg: #0dcaf0;--bs-btn-border-color: #0dcaf0;--bs-btn-hover-color: #000;--bs-btn-hover-bg: rgb(49.3, 209.95, 242.25);--bs-btn-hover-border-color: rgb(37.2, 207.3, 241.5);--bs-btn-focus-shadow-rgb: 11, 172, 204;--bs-btn-active-color: #000;--bs-btn-active-bg: rgb(61.4, 212.6, 243);--bs-btn-active-border-color: rgb(37.2, 207.3, 241.5);--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #0dcaf0;--bs-btn-disabled-border-color: #0dcaf0;}.btn-warning.svelte-1njdz65 {--bs-btn-color: #000;--bs-btn-bg: #ffc107;--bs-btn-border-color: #ffc107;--bs-btn-hover-color: #000;--bs-btn-hover-bg: rgb(255, 202.3, 44.2);--bs-btn-hover-border-color: rgb(255, 199.2, 31.8);--bs-btn-focus-shadow-rgb: 217, 164, 6;--bs-btn-active-color: #000;--bs-btn-active-bg: rgb(255, 205.4, 56.6);--bs-btn-active-border-color: rgb(255, 199.2, 31.8);--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #ffc107;--bs-btn-disabled-border-color: #ffc107;}.btn-danger.svelte-1njdz65 {--bs-btn-color: #fff;--bs-btn-bg: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: rgb(187, 45.05, 58.65);--bs-btn-hover-border-color: rgb(176, 42.4, 55.2);--bs-btn-focus-shadow-rgb: 225, 83, 97;--bs-btn-active-color: #fff;--bs-btn-active-bg: rgb(176, 42.4, 55.2);--bs-btn-active-border-color: rgb(165, 39.75, 51.75);--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #dc3545;--bs-btn-disabled-border-color: #dc3545;}.btn-light.svelte-1njdz65 {--bs-btn-color: #000;--bs-btn-bg: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: rgb(210.8, 211.65, 212.5);--bs-btn-hover-border-color: rgb(198.4, 199.2, 200);--bs-btn-focus-shadow-rgb: 211, 212, 213;--bs-btn-active-color: #000;--bs-btn-active-bg: rgb(198.4, 199.2, 200);--bs-btn-active-border-color: rgb(186, 186.75, 187.5);--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #000;--bs-btn-disabled-bg: #f8f9fa;--bs-btn-disabled-border-color: #f8f9fa;}.btn-dark.svelte-1njdz65 {--bs-btn-color: #fff;--bs-btn-bg: #212529;--bs-btn-border-color: #212529;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: rgb(66.3, 69.7, 73.1);--bs-btn-hover-border-color: rgb(55.2, 58.8, 62.4);--bs-btn-focus-shadow-rgb: 66, 70, 73;--bs-btn-active-color: #fff;--bs-btn-active-bg: rgb(77.4, 80.6, 83.8);--bs-btn-active-border-color: rgb(55.2, 58.8, 62.4);--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #fff;--bs-btn-disabled-bg: #212529;--bs-btn-disabled-border-color: #212529;}.btn-outline-primary.svelte-1njdz65 {--bs-btn-color: #0d6efd;--bs-btn-border-color: #0d6efd;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #0d6efd;--bs-btn-hover-border-color: #0d6efd;--bs-btn-focus-shadow-rgb: 13, 110, 253;--bs-btn-active-color: #fff;--bs-btn-active-bg: #0d6efd;--bs-btn-active-border-color: #0d6efd;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #0d6efd;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #0d6efd;--bs-gradient: none;}.btn-outline-secondary.svelte-1njdz65 {--bs-btn-color: #6c757d;--bs-btn-border-color: #6c757d;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #6c757d;--bs-btn-hover-border-color: #6c757d;--bs-btn-focus-shadow-rgb: 108, 117, 125;--bs-btn-active-color: #fff;--bs-btn-active-bg: #6c757d;--bs-btn-active-border-color: #6c757d;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #6c757d;--bs-gradient: none;}.btn-outline-success.svelte-1njdz65 {--bs-btn-color: #198754;--bs-btn-border-color: #198754;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #198754;--bs-btn-hover-border-color: #198754;--bs-btn-focus-shadow-rgb: 25, 135, 84;--bs-btn-active-color: #fff;--bs-btn-active-bg: #198754;--bs-btn-active-border-color: #198754;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #198754;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #198754;--bs-gradient: none;}.btn-outline-info.svelte-1njdz65 {--bs-btn-color: #0dcaf0;--bs-btn-border-color: #0dcaf0;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #0dcaf0;--bs-btn-hover-border-color: #0dcaf0;--bs-btn-focus-shadow-rgb: 13, 202, 240;--bs-btn-active-color: #000;--bs-btn-active-bg: #0dcaf0;--bs-btn-active-border-color: #0dcaf0;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #0dcaf0;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #0dcaf0;--bs-gradient: none;}.btn-outline-warning.svelte-1njdz65 {--bs-btn-color: #ffc107;--bs-btn-border-color: #ffc107;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #ffc107;--bs-btn-hover-border-color: #ffc107;--bs-btn-focus-shadow-rgb: 255, 193, 7;--bs-btn-active-color: #000;--bs-btn-active-bg: #ffc107;--bs-btn-active-border-color: #ffc107;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #ffc107;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #ffc107;--bs-gradient: none;}.btn-outline-danger.svelte-1njdz65 {--bs-btn-color: #dc3545;--bs-btn-border-color: #dc3545;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #dc3545;--bs-btn-hover-border-color: #dc3545;--bs-btn-focus-shadow-rgb: 220, 53, 69;--bs-btn-active-color: #fff;--bs-btn-active-bg: #dc3545;--bs-btn-active-border-color: #dc3545;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #dc3545;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #dc3545;--bs-gradient: none;}.btn-outline-light.svelte-1njdz65 {--bs-btn-color: #f8f9fa;--bs-btn-border-color: #f8f9fa;--bs-btn-hover-color: #000;--bs-btn-hover-bg: #f8f9fa;--bs-btn-hover-border-color: #f8f9fa;--bs-btn-focus-shadow-rgb: 248, 249, 250;--bs-btn-active-color: #000;--bs-btn-active-bg: #f8f9fa;--bs-btn-active-border-color: #f8f9fa;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #f8f9fa;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #f8f9fa;--bs-gradient: none;}.btn-outline-dark.svelte-1njdz65 {--bs-btn-color: #212529;--bs-btn-border-color: #212529;--bs-btn-hover-color: #fff;--bs-btn-hover-bg: #212529;--bs-btn-hover-border-color: #212529;--bs-btn-focus-shadow-rgb: 33, 37, 41;--bs-btn-active-color: #fff;--bs-btn-active-bg: #212529;--bs-btn-active-border-color: #212529;--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);--bs-btn-disabled-color: #212529;--bs-btn-disabled-bg: transparent;--bs-btn-disabled-border-color: #212529;--bs-gradient: none;}.btn-link.svelte-1njdz65 {--bs-btn-font-weight: 400;--bs-btn-color: var(--bs-link-color);--bs-btn-bg: transparent;--bs-btn-border-color: transparent;--bs-btn-hover-color: var(--bs-link-hover-color);--bs-btn-hover-border-color: transparent;--bs-btn-active-color: var(--bs-link-hover-color);--bs-btn-active-border-color: transparent;--bs-btn-disabled-color: #6c757d;--bs-btn-disabled-border-color: transparent;--bs-btn-box-shadow: 0 0 0 #000;--bs-btn-focus-shadow-rgb: 49, 132, 253;text-decoration:underline;}.btn-link.svelte-1njdz65:focus-visible {color:var(--bs-btn-color);}.btn-link.svelte-1njdz65:hover {color:var(--bs-btn-hover-color);}.btn-lg.svelte-1njdz65 {--bs-btn-padding-y: 0.5rem;--bs-btn-padding-x: 1rem;--bs-btn-font-size: 1.25rem;--bs-btn-border-radius: var(--bs-border-radius-lg);}.btn-sm.svelte-1njdz65 {--bs-btn-padding-y: 0.25rem;--bs-btn-padding-x: 0.5rem;--bs-btn-font-size: 0.875rem;--bs-btn-border-radius: var(--bs-border-radius-sm);}.placeholder.svelte-1njdz65 {display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentcolor;opacity:0.5;}.placeholder.btn.svelte-1njdz65::before {display:inline-block;content:"";}.placeholder-xs.svelte-1njdz65 {min-height:0.6em;}.placeholder-sm.svelte-1njdz65 {min-height:0.8em;}.placeholder-lg.svelte-1njdz65 {min-height:1.2em;}
|
|
46
|
+
@keyframes svelte-1njdz65-placeholder-glow {
|
|
47
|
+
50% {
|
|
48
|
+
opacity: 0.2;
|
|
49
|
+
}
|
|
50
|
+
}.placeholder-wave.svelte-1njdz65 {mask-image:linear-gradient(130deg, #000 55%, rgba(0, 0, 0, 0.8) 75%, #000 95%);mask-size:200% 100%;
|
|
51
|
+
animation: svelte-1njdz65-placeholder-wave 2s linear infinite;}
|
|
52
|
+
@keyframes svelte-1njdz65-placeholder-wave {
|
|
53
|
+
100% {
|
|
54
|
+
mask-position: -200% 0%;
|
|
55
|
+
}
|
|
56
|
+
}.clearfix.svelte-1njdz65::after {display:block;clear:both;content:"";}.text-bg-primary.svelte-1njdz65 {color:#fff !important;background-color:RGBA(var(--bs-primary-rgb), var(--bs-bg-opacity, 1)) !important;}.text-bg-secondary.svelte-1njdz65 {color:#fff !important;background-color:RGBA(var(--bs-secondary-rgb), var(--bs-bg-opacity, 1)) !important;}.text-bg-success.svelte-1njdz65 {color:#fff !important;background-color:RGBA(var(--bs-success-rgb), var(--bs-bg-opacity, 1)) !important;}.text-bg-info.svelte-1njdz65 {color:#000 !important;background-color:RGBA(var(--bs-info-rgb), var(--bs-bg-opacity, 1)) !important;}.text-bg-warning.svelte-1njdz65 {color:#000 !important;background-color:RGBA(var(--bs-warning-rgb), var(--bs-bg-opacity, 1)) !important;}.text-bg-danger.svelte-1njdz65 {color:#fff !important;background-color:RGBA(var(--bs-danger-rgb), var(--bs-bg-opacity, 1)) !important;}.text-bg-light.svelte-1njdz65 {color:#000 !important;background-color:RGBA(var(--bs-light-rgb), var(--bs-bg-opacity, 1)) !important;}.text-bg-dark.svelte-1njdz65 {color:#fff !important;background-color:RGBA(var(--bs-dark-rgb), var(--bs-bg-opacity, 1)) !important;}.link-primary.svelte-1njdz65 {color:RGBA(var(--bs-primary-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-primary-rgb), var(--bs-link-underline-opacity, 1)) !important;}.link-primary.svelte-1njdz65:hover, .link-primary.svelte-1njdz65:focus {color:RGBA(10, 88, 202, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(10, 88, 202, var(--bs-link-underline-opacity, 1)) !important;}.link-secondary.svelte-1njdz65 {color:RGBA(var(--bs-secondary-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-secondary-rgb), var(--bs-link-underline-opacity, 1)) !important;}.link-secondary.svelte-1njdz65:hover, .link-secondary.svelte-1njdz65:focus {color:RGBA(86, 94, 100, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(86, 94, 100, var(--bs-link-underline-opacity, 1)) !important;}.link-success.svelte-1njdz65 {color:RGBA(var(--bs-success-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-success-rgb), var(--bs-link-underline-opacity, 1)) !important;}.link-success.svelte-1njdz65:hover, .link-success.svelte-1njdz65:focus {color:RGBA(20, 108, 67, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(20, 108, 67, var(--bs-link-underline-opacity, 1)) !important;}.link-info.svelte-1njdz65 {color:RGBA(var(--bs-info-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-info-rgb), var(--bs-link-underline-opacity, 1)) !important;}.link-info.svelte-1njdz65:hover, .link-info.svelte-1njdz65:focus {color:RGBA(61, 213, 243, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(61, 213, 243, var(--bs-link-underline-opacity, 1)) !important;}.link-warning.svelte-1njdz65 {color:RGBA(var(--bs-warning-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-warning-rgb), var(--bs-link-underline-opacity, 1)) !important;}.link-warning.svelte-1njdz65:hover, .link-warning.svelte-1njdz65:focus {color:RGBA(255, 205, 57, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(255, 205, 57, var(--bs-link-underline-opacity, 1)) !important;}.link-danger.svelte-1njdz65 {color:RGBA(var(--bs-danger-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-danger-rgb), var(--bs-link-underline-opacity, 1)) !important;}.link-danger.svelte-1njdz65:hover, .link-danger.svelte-1njdz65:focus {color:RGBA(176, 42, 55, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(176, 42, 55, var(--bs-link-underline-opacity, 1)) !important;}.link-light.svelte-1njdz65 {color:RGBA(var(--bs-light-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-light-rgb), var(--bs-link-underline-opacity, 1)) !important;}.link-light.svelte-1njdz65:hover, .link-light.svelte-1njdz65:focus {color:RGBA(249, 250, 251, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(249, 250, 251, var(--bs-link-underline-opacity, 1)) !important;}.link-dark.svelte-1njdz65 {color:RGBA(var(--bs-dark-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-dark-rgb), var(--bs-link-underline-opacity, 1)) !important;}.link-dark.svelte-1njdz65:hover, .link-dark.svelte-1njdz65:focus {color:RGBA(26, 30, 33, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(26, 30, 33, var(--bs-link-underline-opacity, 1)) !important;}.link-body-emphasis.svelte-1njdz65 {color:RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-underline-opacity, 1)) !important;}.link-body-emphasis.svelte-1njdz65:hover, .link-body-emphasis.svelte-1njdz65:focus {color:RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-opacity, 0.75)) !important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-underline-opacity, 0.75)) !important;}.focus-ring.svelte-1njdz65:focus {outline:0;box-shadow:var(--bs-focus-ring-x, 0) var(--bs-focus-ring-y, 0) var(--bs-focus-ring-blur, 0) var(--bs-focus-ring-width) var(--bs-focus-ring-color);}.icon-link.svelte-1njdz65 {display:inline-flex;gap:0.375rem;align-items:center;text-decoration-color:rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 0.5));text-underline-offset:0.25em;backface-visibility:hidden;}
|
|
57
|
+
@media (prefers-reduced-motion: reduce) {
|
|
58
|
+
}.ratio.svelte-1njdz65 {position:relative;width:100%;}.ratio.svelte-1njdz65::before {display:block;padding-top:var(--bs-aspect-ratio);content:"";}.ratio-1x1.svelte-1njdz65 {--bs-aspect-ratio: 100%;}.ratio-4x3.svelte-1njdz65 {--bs-aspect-ratio: 75%;}.ratio-16x9.svelte-1njdz65 {--bs-aspect-ratio: 56.25%;}.ratio-21x9.svelte-1njdz65 {--bs-aspect-ratio: 42.8571428571%;}.fixed-top.svelte-1njdz65 {position:fixed;top:0;right:0;left:0;z-index:1030;}.fixed-bottom.svelte-1njdz65 {position:fixed;right:0;bottom:0;left:0;z-index:1030;}.sticky-top.svelte-1njdz65 {position:sticky;top:0;z-index:1020;}.sticky-bottom.svelte-1njdz65 {position:sticky;bottom:0;z-index:1020;}
|
|
59
|
+
@media (min-width: 576px) {.sticky-sm-top.svelte-1njdz65 {position:sticky;top:0;z-index:1020;}.sticky-sm-bottom.svelte-1njdz65 {position:sticky;bottom:0;z-index:1020;}
|
|
60
|
+
}
|
|
61
|
+
@media (min-width: 768px) {.sticky-md-top.svelte-1njdz65 {position:sticky;top:0;z-index:1020;}.sticky-md-bottom.svelte-1njdz65 {position:sticky;bottom:0;z-index:1020;}
|
|
62
|
+
}
|
|
63
|
+
@media (min-width: 992px) {.sticky-lg-top.svelte-1njdz65 {position:sticky;top:0;z-index:1020;}.sticky-lg-bottom.svelte-1njdz65 {position:sticky;bottom:0;z-index:1020;}
|
|
64
|
+
}
|
|
65
|
+
@media (min-width: 1200px) {.sticky-xl-top.svelte-1njdz65 {position:sticky;top:0;z-index:1020;}.sticky-xl-bottom.svelte-1njdz65 {position:sticky;bottom:0;z-index:1020;}
|
|
66
|
+
}
|
|
67
|
+
@media (min-width: 1400px) {.sticky-xxl-top.svelte-1njdz65 {position:sticky;top:0;z-index:1020;}.sticky-xxl-bottom.svelte-1njdz65 {position:sticky;bottom:0;z-index:1020;}
|
|
68
|
+
}.hstack.svelte-1njdz65 {display:flex;flex-direction:row;align-items:center;align-self:stretch;}.vstack.svelte-1njdz65 {display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch;}.visually-hidden.svelte-1njdz65,
|
|
69
|
+
.visually-hidden-focusable.svelte-1njdz65:not(:focus):not(:focus-within) {width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border:0 !important;}.visually-hidden.svelte-1njdz65:not(caption),
|
|
70
|
+
.visually-hidden-focusable.svelte-1njdz65:not(:focus):not(:focus-within):not(caption) {position:absolute !important;}.stretched-link.svelte-1njdz65::after {position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:"";}.text-truncate.svelte-1njdz65 {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.vr.svelte-1njdz65 {display:inline-block;align-self:stretch;width:var(--bs-border-width);min-height:1em;background-color:currentcolor;opacity:0.25;}:host {font-family:"Roboto", sans-serif;display:block;width:100%;padding:20px;box-sizing:border-box;}#chat-container.svelte-1njdz65 {width:100%;margin:0 auto;}#chat-box.svelte-1njdz65 {border:2px solid #e0e0e0;border-radius:12px;background-color:#ffffff;transition:border-color 0.3s ease, height 0.3s ease, min-height 0.3s ease;overflow:hidden;min-height:130px;}#chat-box.svelte-1njdz65:focus-within {border-color:#007bff;box-shadow:0 0 0 3px rgba(0, 123, 255, 0.1);}#textarea-container.svelte-1njdz65 {position:relative;padding:16px;border-bottom:1px solid #e0e0e0;}#send-message-text.svelte-1njdz65 {width:calc(100% - 34px);height:46px;min-height:46px;max-height:140px;border:none;outline:none;font-family:"Roboto", sans-serif;font-size:14px;line-height:1.5;resize:vertical;background-color:transparent;overflow-y:hidden;}#send-message-text.svelte-1njdz65::placeholder {color:#999;}#send-message-text.svelte-1njdz65:focus {outline:none;}#send-message-text.expandable.svelte-1njdz65 {transition:height 0.3s ease;}#send-message-text.expandable.svelte-1njdz65:focus {height:80px;min-height:80px;overflow-y:auto;}#send-message-text.maximized.svelte-1njdz65 {height:400px !important;max-height:400px !important;min-height:400px !important;overflow-y:auto !important;transition:none !important;}#buttons-container.svelte-1njdz65 {display:flex;align-items:center;justify-content:space-between;padding:5px 16px;background-color:#f8f9fa;min-height:36px;}#left-buttons.svelte-1njdz65 {display:flex;align-items:center;gap:12px;}#right-buttons.svelte-1njdz65 {display:flex;align-items:center;gap:12px;}label#upload-file.svelte-1njdz65 input[type=file]:where(.svelte-1njdz65) {position:absolute;top:-10000000px;left:-10000000px;opacity:0;pointer-events:none;}.tag-button.svelte-1njdz65,
|
|
71
|
+
.file-button.svelte-1njdz65 {border:2px solid var(--tag-color);background-color:transparent;color:var(--tag-color);transition:all 0.2s ease;}.tag-button.svelte-1njdz65:hover,
|
|
72
|
+
.file-button.svelte-1njdz65:hover {background-color:var(--tag-color);color:white;transform:translateY(-1px);box-shadow:0 2px 4px rgba(0, 0, 0, 0.1);}.tag-button.tag-selected.svelte-1njdz65, .tag-button.file-selected.svelte-1njdz65,
|
|
73
|
+
.file-button.tag-selected.svelte-1njdz65,
|
|
74
|
+
.file-button.file-selected.svelte-1njdz65 {background-color:var(--tag-color);color:white;box-shadow:0 2px 4px rgba(0, 0, 0, 0.1);}.tag-button.tag-selected.svelte-1njdz65:hover, .tag-button.file-selected.svelte-1njdz65:hover,
|
|
75
|
+
.file-button.tag-selected.svelte-1njdz65:hover,
|
|
76
|
+
.file-button.file-selected.svelte-1njdz65:hover {background-color:var(--tag-color);opacity:0.9;}#send-message-button.svelte-1njdz65 {display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;border-radius:50%;background-color:var(--bs-primary, #007bff);color:white;cursor:pointer;transition:all 0.2s ease;font-size:14px;}#send-message-button.svelte-1njdz65:hover:not(:disabled) {background-color:var(--bs-primary, #0056b3);transform:scale(1.05);}#send-message-button.svelte-1njdz65:active:not(:disabled) {transform:scale(0.95);}#send-message-button.svelte-1njdz65:disabled {background-color:var(--bs-secondary, #6c757d);cursor:not-allowed;transform:none;}#send-message-button.svelte-1njdz65 > i:where(.svelte-1njdz65) {margin:0;}#maximize-button.svelte-1njdz65 {position:absolute;top:20px;right:20px;width:24px;height:24px;border:none;border-radius:4px;color:var(--bs-primary, #007bff);background-color:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:12px;transition:all 0.2s ease;z-index:10;}#maximize-button.svelte-1njdz65:hover {color:var(--bs-primary, #007bff);transform:scale(1.1);box-shadow:0 2px 6px rgba(0, 0, 0, 0.15);}#maximize-button.svelte-1njdz65:active {transform:scale(0.95);}#maximize-button.maximized.svelte-1njdz65 {color:var(--bs-primary, #007bff);}#maximize-button.maximized.svelte-1njdz65:hover {background-color:rgba(0, 123, 255, 0.2);}#maximize-button.svelte-1njdz65 > i:where(.svelte-1njdz65) {margin:0;}`};function En(e,t){zr(t,!0),Us(e,zo);function r(g,R){t.$$host.dispatchEvent(new CustomEvent(g,{detail:R}))}let n=wt(t,"id",7,""),s=wt(t,"text",7,""),o=wt(t,"expandable",7,!1),i=wt(t,"tags",23,()=>[]),a=P(void 0),l=P(!1),b=P(130),c,u=P(!1),f=P(!1);xe({});let d=P(xe([]));function v(){const g=["#e74c3c","#3498db","#2ecc71","#f39c12","#9b59b6","#1abc9c","#34495e","#e67e22","#95a5a6","#f1c40f","#e91e63","#00bcd4","#4caf50","#ff9800","#673ab7"];return g[Math.floor(Math.random()*g.length)]}function h(g){return g.color||v()}Xr(()=>{if(typeof i()=="string")try{i(JSON.parse(i()))}catch(g){console.error("error parsing buttons",g)}typeof o()=="string"&&o(o()==="yes"||o()==="true")}),Xr(()=>{c&&s()&&setTimeout(()=>{H()},0)});let x=Tr(()=>i()?.find?.(g=>g.type==="file")),A=Tr(()=>i()?.filter?.(g=>g.type==="toggle")||[]);function p(){if(!s()?.length&&!_(a))return console.warn("no message to send");console.log("send message "+s()),r("sendMessage",{text:s(),id:n(),file:_(a),tags:_(d)||[]})}function w(g){S(d,_(d).includes(g)?_(d).filter(R=>R!==g):[..._(d),g],!0)}function $(){S(l,!0)}function C(){S(l,!1)}function O(){o()&&!_(u)&&H()}function K(){if(S(u,!_(u)),_(u))c.style.height="400px",c.style.maxHeight="400px",c.style.minHeight="400px",c.style.overflowY="auto",S(b,484);else{c.style.maxHeight="",c.style.minHeight="";const g=140,R=32,J=52;c.style.height=g+"px",c.style.overflowY="auto",S(b,R+g+J),S(f,!0)}}function H(){if(c&&!_(u)){c.style.height="auto";const g=c.scrollHeight,R=140;let J=40;o()&&(J=Math.max(g,80));const ie=Math.min(Math.max(g,J),R);c.style.height=ie+"px",g>R?c.style.overflowY="auto":c.style.overflowY="hidden",S(b,Math.max(32+ie+52,130),!0),S(f,ie>=R)}}var B={get id(){return n()},set id(g=""){n(g),He()},get text(){return s()},set text(g=""){s(g),He()},get expandable(){return o()},set expandable(g=!1){o(g),He()},get tags(){return i()},set tags(g=[]){i(g),He()}},se=wo();Bs(g=>{var R=fo();ne(g,R)});var oe=be(se),pe=be(oe),y=be(pe);ms(y),y.__keydown=[co,p],y.__input=H;let m;eo(y,g=>c=g,()=>c);var G=Qe(y,2);{var ir=g=>{var R=uo();R.__click=K;let J;var ie=be(R);le(R),Yt(ae=>{ot(R,"aria-label",_(u)?"Minimize textarea":"Maximize textarea"),ot(R,"title",_(u)?"Minimize textarea":"Maximize textarea"),J=st(R,1,"svelte-1njdz65",null,J,ae),st(ie,1,`bi bi-${_(u)?"arrows-angle-contract":"arrows-angle-expand"}`,"svelte-1njdz65")},[()=>({maximized:_(u)})]),ne(g,R)};nt(G,g=>{_(f)&&g(ir)})}le(pe);var An=Qe(pe,2),ar=be(An),Rn=be(ar);{var ko=g=>{var R=hn(),J=Yr(R);{var ie=L=>{var F=vo(),Be=be(F);Js(Be),os(2),le(F),xn(Be,()=>_(a),it=>S(a,it)),ne(L,F)},ae=L=>{var F=_o();F.__click=[ho,a];var Be=be(F);{var it=je=>{var cr=go();ne(je,cr)},br=je=>{var cr=po();ne(je,cr)};nt(Be,je=>{_(l)?je(it):je(br,!1)})}le(F),Zt("mouseenter",F,$),Zt("mouseleave",F,C),ne(L,F)};nt(J,L=>{_(a)?L(ae,!1):L(ie)})}ne(g,R)};nt(Rn,g=>{_(x)&&g(ko)})}var jo=Qe(Rn,2);{var $o=g=>{var R=hn(),J=Yr(R);qs(J,17,()=>_(A),ie=>ie.id,(ie,ae)=>{var L=yo();let F;L.__click=[mo,w,ae];var Be=be(L),it=Qe(Be);le(L),Yt((br,je)=>{F=st(L,1,"btn tag-button btn-sm svelte-1njdz65",null,F,br),rr(L,`--tag-color: ${je??""}`),ot(L,"aria-label",`Use ${_(ae).label}`),st(Be,1,`bi bi-${_(ae).icon??""}`,"svelte-1njdz65"),Ls(it,` ${_(ae).label??""}`)},[()=>({"tag-selected":_(d).includes(_(ae).id)}),()=>h(_(ae))]),ne(ie,L)}),ne(g,R)};nt(jo,g=>{_(A).length&&g($o)})}le(ar);var Tn=Qe(ar,2),lr=be(Tn);return lr.__click=[xo,p],le(Tn),le(An),le(oe),le(se),Yt(g=>{rr(oe,`height: ${_(b)??""}px;`),m=st(y,1,"svelte-1njdz65",null,m,g),lr.disabled=!(s()?.length||_(a)),rr(lr,`opacity:${s()?.length||_(a)?"1":"0.25"}`)},[()=>({expandable:o(),maximized:_(u)})]),Zt("focus",y,O),xn(y,s),ne(e,se),kr(B)}Ms(["keydown","input","click"]),customElements.define("hb-messages-send",oo(En,{id:{},text:{},expandable:{},tags:{}},[],[],!0)),fr.Component=En,Object.defineProperty(fr,Symbol.toStringTag,{value:"Module"})})(this["messages-send"]=this["messages-send"]||{});
|
|
5
77
|
//# sourceMappingURL=main.iife.js.map
|