@htmlbricks/hb-dialog-loader 0.61.50 → 0.61.51
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 +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
package/main.iife.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
(function(ft){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const mr=2,br="[",$r="]",ge={},x=Symbol(),yr="http://www.w3.org/1999/xhtml",ct=!1;var vt=Array.isArray,Er=Array.prototype.indexOf,Tr=Array.from,Oe=Object.keys,ae=Object.defineProperty,oe=Object.getOwnPropertyDescriptor,xr=Object.getOwnPropertyDescriptors,Nr=Object.prototype,Ar=Array.prototype,dt=Object.getPrototypeOf,ht=Object.isExtensible;function _t(e){for(var t=0;t<e.length;t++)e[t]()}function Or(){var e,t,r=new Promise((n,i)=>{e=n,t=i});return{promise:r,resolve:e,reject:t}}const R=2,qe=4,Fe=8,we=16,H=32,U=64,pt=128,C=256,Re=512,A=1024,M=2048,V=4096,le=8192,K=16384,Ye=32768,Rr=65536,gt=1<<17,Sr=1<<18,ue=1<<19,kr=1<<20,Be=1<<21,We=1<<22,J=1<<23,He=Symbol("$state"),Cr=Symbol("legacy props"),Pr=Symbol(""),Ue=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},wt=3,mt=8;function Lr(){throw new Error("https://svelte.dev/e/await_outside_boundary")}function Mr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Dr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Ir(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function jr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function qr(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Fr(){throw new Error("https://svelte.dev/e/hydration_failed")}function Yr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Br(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Wr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Ve(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let $=!1;function fe(e){$=e}let E;function Z(e){if(e===null)throw Ve(),ge;return E=e}function Ge(){return Z(ve(E))}function me(e){if($){if(ve(E)!==null)throw Ve(),ge;E=e}}function Hr(e=1){if($){for(var t=e,r=E;t--;)r=ve(r);E=r}}function bt(e){return e===this.v}function Ur(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Vr(e){return!Ur(e,this.v)}let Gr=!1,D=null;function Se(e){D=e}function $t(e,t=!1,r){D={p:D,c:null,e:null,s:e,x:null,l:null}}function yt(e){var t=D,r=t.e;if(r!==null){t.e=null;for(var n of r)qt(n)}return e!==void 0&&(t.x=e),D=t.p,e??{}}function Et(){return!0}const Xr=new WeakMap;function zr(e){var t=p;if(t===null)return g.f|=J,e;if((t.f&Ye)===0){if((t.f&pt)===0)throw!t.parent&&e instanceof Error&&Tt(e),e;t.b.error(e)}else Xe(e,t)}function Xe(e,t){for(;t!==null;){if((t.f&pt)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e instanceof Error&&Tt(e),e}function Tt(e){const t=Xr.get(e);t&&(ae(e,"message",{value:t.message}),ae(e,"stack",{value:t.stack}))}let be=[],ze=[];function xt(){var e=be;be=[],_t(e)}function Kr(){var e=ze;ze=[],_t(e)}function Jr(e){be.length===0&&queueMicrotask(xt),be.push(e)}function Zr(){be.length>0&&xt(),ze.length>0&&Kr()}function Qr(){const e=p.b;return e===null&&Lr(),e}function Nt(e){var t=R|M,r=g!==null&&(g.f&R)!==0?g:null;return p===null||r!==null&&(r.f&C)!==0?t|=C:p.f|=ue,{ctx:D,deps:null,effects:null,equals:bt,f:t,fn:e,reactions:null,rv:0,v:x,wv:0,parent:r??p,ac:null}}function en(e,t){let r=p;r===null&&Mr();var n=r.b,i=void 0,s=Qe(x),a=null,o=!g;return pn(()=>{try{var l=e();a&&Promise.resolve(l).catch(()=>{})}catch(d){l=Promise.reject(d)}var u=()=>l;i=a?.then(u,u)??Promise.resolve(l),a=i;var f=N,v=n.is_pending();o&&(n.update_pending_count(1),v||f.increment());const c=(d,h=void 0)=>{a=null,v||f.activate(),h?h!==Ue&&(s.f|=J,et(s,h)):((s.f&J)!==0&&(s.f^=J),et(s,d)),o&&(n.update_pending_count(-1),v||f.decrement()),Rt()};if(i.then(c,d=>c(null,d||"unknown")),f)return()=>{queueMicrotask(()=>f.neuter())}}),new Promise(l=>{function u(f){function v(){f===i?l(s):u(i)}f.then(v,v)}u(i)})}function At(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)X(t[r])}}function tn(e){for(var t=e.parent;t!==null;){if((t.f&R)===0)return t;t=t.parent}return null}function Ke(e){var t,r=p;q(tn(e));try{At(e),t=Kt(e)}finally{q(r)}return t}function Ot(e){var t=Ke(e);if(e.equals(t)||(e.v=t,e.wv=Xt()),!re){var r=(z||(e.f&C)!==0)&&e.deps!==null?V:A;k(e,r)}}function rn(e,t,r){const n=Nt;if(t.length===0){r(e.map(n));return}var i=N,s=p,a=nn(),o=Qr();Promise.all(t.map(l=>en(l))).then(l=>{i?.activate(),a();try{r([...e.map(n),...l])}catch(u){(s.f&K)===0&&Xe(u,s)}i?.deactivate(),Rt()}).catch(l=>{o.error(l)})}function nn(){var e=p,t=g,r=D,n=N;return function(){q(e),P(t),Se(r),n?.activate()}}function Rt(){q(null),P(null),Se(null)}const Je=new Set;let N=null,St=new Set,ke=[];function kt(){const e=ke.shift();ke.length>0&&queueMicrotask(kt),e()}let Q=[],Ce=null,Ze=!1,Pe=!1;class ee{current=new Map;#t=new Map;#e=new Set;#r=0;#u=null;#f=!1;#i=[];#a=[];#s=[];#n=[];#o=[];#c=[];#v=[];skipped_effects=new Set;process(t){Q=[];for(const i of t)this.#h(i);if(this.#i.length===0&&this.#r===0){this.#d();var r=this.#s,n=this.#n;this.#s=[],this.#n=[],this.#o=[],N=null,Pt(r),Pt(n),N===null?N=this:Je.delete(this),this.#u?.resolve()}else this.#l(this.#s),this.#l(this.#n),this.#l(this.#o);for(const i of this.#i)he(i);for(const i of this.#a)he(i);this.#i=[],this.#a=[]}#h(t){t.f^=A;for(var r=t.first;r!==null;){var n=r.f,i=(n&(H|U))!==0,s=i&&(n&A)!==0,a=s||(n&le)!==0||this.skipped_effects.has(r);if(!a&&r.fn!==null){if(i)r.f^=A;else if((n&qe)!==0)this.#n.push(r);else if((n&A)===0)if((n&We)!==0){var o=r.b?.is_pending()?this.#a:this.#i;o.push(r)}else De(r)&&((r.f&we)!==0&&this.#o.push(r),he(r));var l=r.first;if(l!==null){r=l;continue}}var u=r.parent;for(r=r.next;r===null&&u!==null;)r=u.next,u=u.parent}}#l(t){for(const r of t)((r.f&M)!==0?this.#c:this.#v).push(r),k(r,A);t.length=0}capture(t,r){this.#t.has(t)||this.#t.set(t,r),this.current.set(t,t.v)}activate(){N=this}deactivate(){N=null;for(const t of St)if(St.delete(t),t(),N!==null)break}neuter(){this.#f=!0}flush(){Q.length>0?Ct():this.#d(),N===this&&(this.#r===0&&Je.delete(this),this.deactivate())}#d(){if(!this.#f)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.#c)k(t,M),$e(t);for(const t of this.#v)k(t,V),$e(t);this.#s=[],this.#n=[],this.flush()}else this.deactivate()}add_callback(t){this.#e.add(t)}settled(){return(this.#u??=Or()).promise}static ensure(){if(N===null){const t=N=new ee;Je.add(N),Pe||ee.enqueue(()=>{N===t&&t.flush()})}return N}static enqueue(t){ke.length===0&&queueMicrotask(kt),ke.unshift(t)}}function Le(e){var t=Pe;Pe=!0;try{for(var r;;){if(Zr(),Q.length===0&&(N?.flush(),Q.length===0))return Ce=null,r;Ct()}}finally{Pe=t}}function Ct(){var e=de;Ze=!0;try{var t=0;for(Ht(!0);Q.length>0;){var r=ee.ensure();if(t++>1e3){var n,i;sn()}r.process(Q),G.clear()}}finally{Ze=!1,Ht(e),Ce=null}}function sn(){try{qr()}catch(e){Xe(e,Ce)}}let te=null;function Pt(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(K|le))===0&&De(n)&&(te=[],he(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?Bt(n):n.fn=null),te?.length>0)){G.clear();for(const i of te)he(i);te=[]}}te=null}}function $e(e){for(var t=Ce=e;t.parent!==null;){t=t.parent;var r=t.f;if(Ze&&t===p&&(r&we)!==0)return;if((r&(U|H))!==0){if((r&A)===0)return;t.f^=A}}Q.push(t)}const G=new Map;function Qe(e,t){var r={f:0,v:e,reactions:null,equals:bt,rv:0,wv:0};return r}function j(e,t){const r=Qe(e);return En(r),r}function an(e,t=!1,r=!0){const n=Qe(e);return t||(n.equals=Vr),n}function Y(e,t,r=!1){g!==null&&(!ne||(g.f>)!==0)&&Et()&&(g.f&(R|we|We|gt))!==0&&!W?.includes(e)&&Wr();let n=r?ce(t):t;return et(e,n)}function et(e,t){if(!e.equals(t)){var r=e.v;re?G.set(e,t):G.set(e,r),e.v=t;var n=ee.ensure();n.capture(e,r),(e.f&R)!==0&&((e.f&M)!==0&&Ke(e),k(e,(e.f&C)===0?A:V)),e.wv=Xt(),Lt(e,M),p!==null&&(p.f&A)!==0&&(p.f&(H|U))===0&&(L===null?Tn([e]):L.push(e))}return t}function tt(e){Y(e,e.v+1)}function Lt(e,t){var r=e.reactions;if(r!==null)for(var n=r.length,i=0;i<n;i++){var s=r[i],a=s.f,o=(a&M)===0;o&&k(s,t),(a&R)!==0?Lt(s,V):o&&((a&we)!==0&&te!==null&&te.push(s),$e(s))}}function ce(e){if(typeof e!="object"||e===null||He in e)return e;const t=dt(e);if(t!==Nr&&t!==Ar)return e;var r=new Map,n=vt(e),i=j(0),s=ie,a=o=>{if(ie===s)return o();var l=g,u=ie;P(null),Gt(s);var f=o();return P(l),Gt(u),f};return n&&r.set("length",j(e.length)),new Proxy(e,{defineProperty(o,l,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&Yr();var f=r.get(l);return f===void 0?f=a(()=>{var v=j(u.value);return r.set(l,v),v}):Y(f,u.value,!0),!0},deleteProperty(o,l){var u=r.get(l);if(u===void 0){if(l in o){const f=a(()=>j(x));r.set(l,f),tt(i)}}else Y(u,x),tt(i);return!0},get(o,l,u){if(l===He)return e;var f=r.get(l),v=l in o;if(f===void 0&&(!v||oe(o,l)?.writable)&&(f=a(()=>{var d=ce(v?o[l]:x),h=j(d);return h}),r.set(l,f)),f!==void 0){var c=F(f);return c===x?void 0:c}return Reflect.get(o,l,u)},getOwnPropertyDescriptor(o,l){var u=Reflect.getOwnPropertyDescriptor(o,l);if(u&&"value"in u){var f=r.get(l);f&&(u.value=F(f))}else if(u===void 0){var v=r.get(l),c=v?.v;if(v!==void 0&&c!==x)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return u},has(o,l){if(l===He)return!0;var u=r.get(l),f=u!==void 0&&u.v!==x||Reflect.has(o,l);if(u!==void 0||p!==null&&(!f||oe(o,l)?.writable)){u===void 0&&(u=a(()=>{var c=f?ce(o[l]):x,d=j(c);return d}),r.set(l,u));var v=F(u);if(v===x)return!1}return f},set(o,l,u,f){var v=r.get(l),c=l in o;if(n&&l==="length")for(var d=u;d<v.v;d+=1){var h=r.get(d+"");h!==void 0?Y(h,x):d in o&&(h=a(()=>j(x)),r.set(d+"",h))}if(v===void 0)(!c||oe(o,l)?.writable)&&(v=a(()=>j(void 0)),Y(v,ce(u)),r.set(l,v));else{c=v.v!==x;var w=a(()=>ce(u));Y(v,w)}var m=Reflect.getOwnPropertyDescriptor(o,l);if(m?.set&&m.set.call(f,u),!c){if(n&&typeof l=="string"){var T=r.get("length"),y=Number(l);Number.isInteger(y)&&y>=T.v&&Y(T,y+1)}tt(i)}return!0},ownKeys(o){F(i);var l=Reflect.ownKeys(o).filter(v=>{var c=r.get(v);return c===void 0||c.v!==x});for(var[u,f]of r)f.v!==x&&!(u in o)&&l.push(u);return l},setPrototypeOf(){Br()}})}var Mt,Dt,It,jt;function rt(){if(Mt===void 0){Mt=window,Dt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;It=oe(t,"firstChild").get,jt=oe(t,"nextSibling").get,ht(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),ht(r)&&(r.__t=void 0)}}function ye(e=""){return document.createTextNode(e)}function Me(e){return It.call(e)}function ve(e){return jt.call(e)}function Ee(e,t){if(!$)return Me(e);var r=Me(E);return r===null&&(r=E.appendChild(ye())),Z(r),r}function on(e,t=1,r=!1){let n=$?E:e;for(var i;t--;)i=n,n=ve(n);if(!$)return n;if(r&&n?.nodeType!==wt){var s=ye();return n===null?i?.after(s):n.before(s),Z(s),s}return Z(n),n}function ln(e){e.textContent=""}function nt(e){var t=g,r=p;P(null),q(null);try{return e()}finally{P(t),q(r)}}function un(e){p===null&&g===null&&jr(),g!==null&&(g.f&C)!==0&&p===null&&Ir(),re&&Dr()}function fn(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function B(e,t,r,n=!0){var i=p;i!==null&&(i.f&le)!==0&&(e|=le);var s={ctx:D,deps:null,nodes_start:null,nodes_end:null,f:e|M,first:null,fn:t,last:null,next:null,parent:i,b:i&&i.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{he(s),s.f|=Ye}catch(l){throw X(s),l}else t!==null&&$e(s);if(n){var a=s;if(r&&a.deps===null&&a.teardown===null&&a.nodes_start===null&&a.first===a.last&&(a.f&ue)===0&&(a=a.first),a!==null&&(a.parent=i,i!==null&&fn(a,i),g!==null&&(g.f&R)!==0&&(e&U)===0)){var o=g;(o.effects??=[]).push(a)}}return s}function cn(e){const t=B(Fe,null,!1);return k(t,A),t.teardown=e,t}function vn(e){un();var t=p.f,r=!g&&(t&H)!==0&&(t&Ye)===0;if(r){var n=D;(n.e??=[]).push(e)}else return qt(e)}function qt(e){return B(qe|kr,e,!1)}function dn(e){ee.ensure();const t=B(U|ue,e,!0);return()=>{X(t)}}function hn(e){ee.ensure();const t=B(U|ue,e,!0);return(r={})=>new Promise(n=>{r.outro?$n(t,()=>{X(t),n(void 0)}):(X(t),n(void 0))})}function _n(e){return B(qe,e,!1)}function pn(e){return B(We|ue,e,!0)}function gn(e,t=0){return B(Fe|t,e,!0)}function it(e,t=[],r=[]){rn(t,r,n=>{B(Fe,()=>e(...n.map(F)),!0)})}function wn(e,t=!0){return B(H|ue,e,!0,t)}function Ft(e){var t=e.teardown;if(t!==null){const r=re,n=g;Ut(!0),P(null);try{t.call(null)}finally{Ut(r),P(n)}}}function Yt(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const i=r.ac;i!==null&&nt(()=>{i.abort(Ue)});var n=r.next;(r.f&U)!==0?r.parent=null:X(r,t),r=n}}function mn(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&H)===0&&X(t),t=r}}function X(e,t=!0){var r=!1;(t||(e.f&Sr)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(bn(e.nodes_start,e.nodes_end),r=!0),Yt(e,t&&!r),Ie(e,0),k(e,K);var n=e.transitions;if(n!==null)for(const s of n)s.stop();Ft(e);var i=e.parent;i!==null&&i.first!==null&&Bt(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function bn(e,t){for(;e!==null;){var r=e===t?null:ve(e);e.remove(),e=r}}function Bt(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 $n(e,t){var r=[];Wt(e,r,!0),yn(r,()=>{X(e),t&&t()})}function yn(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var i of e)i.out(n)}else t()}function Wt(e,t,r){if((e.f&le)===0){if(e.f^=le,e.transitions!==null)for(const a of e.transitions)(a.is_global||r)&&t.push(a);for(var n=e.first;n!==null;){var i=n.next,s=(n.f&Rr)!==0||(n.f&H)!==0;Wt(n,t,s?r:!1),n=i}}}let de=!1;function Ht(e){de=e}let re=!1;function Ut(e){re=e}let g=null,ne=!1;function P(e){g=e}let p=null;function q(e){p=e}let W=null;function En(e){g!==null&&(W===null?W=[e]:W.push(e))}let O=null,S=0,L=null;function Tn(e){L=e}let Vt=1,Te=0,ie=Te;function Gt(e){ie=e}let z=!1;function Xt(){return++Vt}function De(e){var t=e.f;if((t&M)!==0)return!0;if((t&V)!==0){var r=e.deps,n=(t&C)!==0;if(r!==null){var i,s,a=(t&Re)!==0,o=n&&p!==null&&!z,l=r.length;if((a||o)&&(p===null||(p.f&K)===0)){var u=e,f=u.parent;for(i=0;i<l;i++)s=r[i],(a||!s?.reactions?.includes(u))&&(s.reactions??=[]).push(u);a&&(u.f^=Re),o&&f!==null&&(f.f&C)===0&&(u.f^=C)}for(i=0;i<l;i++)if(s=r[i],De(s)&&Ot(s),s.wv>e.wv)return!0}(!n||p!==null&&!z)&&k(e,A)}return!1}function zt(e,t,r=!0){var n=e.reactions;if(n!==null&&!W?.includes(e))for(var i=0;i<n.length;i++){var s=n[i];(s.f&R)!==0?zt(s,t,!1):t===s&&(r?k(s,M):(s.f&A)!==0&&k(s,V),$e(s))}}function Kt(e){var t=O,r=S,n=L,i=g,s=z,a=W,o=D,l=ne,u=ie,f=e.f;O=null,S=0,L=null,z=(f&C)!==0&&(ne||!de||g===null),g=(f&(H|U))===0?e:null,W=null,Se(e.ctx),ne=!1,ie=++Te,e.ac!==null&&(nt(()=>{e.ac.abort(Ue)}),e.ac=null);try{e.f|=Be;var v=e.fn,c=v(),d=e.deps;if(O!==null){var h;if(Ie(e,S),d!==null&&S>0)for(d.length=S+O.length,h=0;h<O.length;h++)d[S+h]=O[h];else e.deps=d=O;if(!z||(f&R)!==0&&e.reactions!==null)for(h=S;h<d.length;h++)(d[h].reactions??=[]).push(e)}else d!==null&&S<d.length&&(Ie(e,S),d.length=S);if(Et()&&L!==null&&!ne&&d!==null&&(e.f&(R|V|M))===0)for(h=0;h<L.length;h++)zt(L[h],e);return i!==null&&i!==e&&(Te++,L!==null&&(n===null?n=L:n.push(...L))),(e.f&J)!==0&&(e.f^=J),c}catch(w){return zr(w)}finally{e.f^=Be,O=t,S=r,L=n,g=i,z=s,W=a,Se(o),ne=l,ie=u}}function xn(e,t){let r=t.reactions;if(r!==null){var n=Er.call(r,e);if(n!==-1){var i=r.length-1;i===0?r=t.reactions=null:(r[n]=r[i],r.pop())}}r===null&&(t.f&R)!==0&&(O===null||!O.includes(t))&&(k(t,V),(t.f&(C|Re))===0&&(t.f^=Re),At(t),Ie(t,0))}function Ie(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)xn(e,r[n])}function he(e){var t=e.f;if((t&K)===0){k(e,A);var r=p,n=de;p=e,de=!0;try{(t&we)!==0?mn(e):Yt(e),Ft(e);var i=Kt(e);e.teardown=typeof i=="function"?i:null,e.wv=Vt;var s;ct&&Gr&&(e.f&M)!==0&&e.deps}finally{de=n,p=r}}}function F(e){var t=e.f,r=(t&R)!==0;if(g!==null&&!ne){var n=p!==null&&(p.f&K)!==0;if(!n&&!W?.includes(e)){var i=g.deps;if((g.f&Be)!==0)e.rv<Te&&(e.rv=Te,O===null&&i!==null&&i[S]===e?S++:O===null?O=[e]:(!z||!O.includes(e))&&O.push(e));else{(g.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[g]:s.includes(g)||s.push(g)}}}else if(r&&e.deps===null&&e.effects===null){var a=e,o=a.parent;o!==null&&(o.f&C)===0&&(a.f^=C)}if(re){if(G.has(e))return G.get(e);if(r){a=e;var l=a.v;return((a.f&A)===0&&a.reactions!==null||Jt(a))&&(l=Ke(a)),G.set(a,l),l}}else r&&(a=e,De(a)&&Ot(a));if((e.f&J)!==0)throw e.v;return e.v}function Jt(e){if(e.v===x)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(G.has(t)||(t.f&R)!==0&&Jt(t))return!0;return!1}const Nn=-7169;function k(e,t){e.f=e.f&Nn|t}const An=new Set,Zt=new Set;function On(e,t,r,n={}){function i(s){if(n.capture||xe.call(t,s),!s.cancelBubble)return nt(()=>r?.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?Jr(()=>{t.addEventListener(e,i,n)}):t.addEventListener(e,i,n),i}function Rn(e,t,r,n,i){var s={capture:n,passive:i},a=On(e,t,r,s);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&cn(()=>{t.removeEventListener(e,a,s)})}let Qt=null;function xe(e){var t=this,r=t.ownerDocument,n=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;Qt=e;var a=0,o=Qt===e&&e.__root;if(o){var l=i.indexOf(o);if(l!==-1&&(t===document||t===window)){e.__root=t;return}var u=i.indexOf(t);if(u===-1)return;l<=u&&(a=l)}if(s=i[a]||e.target,s!==t){ae(e,"currentTarget",{configurable:!0,get(){return s||r}});var f=g,v=p;P(null),q(null);try{for(var c,d=[];s!==null;){var h=s.assignedSlot||s.parentNode||s.host||null;try{var w=s["__"+n];if(w!=null&&(!s.disabled||e.target===s))if(vt(w)){var[m,...T]=w;m.apply(s,[e,...T])}else w.call(s,e)}catch(y){c?d.push(y):c=y}if(e.cancelBubble||h===t||h===null)break;s=h}if(c){for(let y of d)queueMicrotask(()=>{throw y});throw c}}finally{e.__root=t,delete e.currentTarget,P(f),q(v)}}}function Sn(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Ne(e,t){var r=p;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function kn(e,t){var r=(t&mr)!==0,n,i=!e.startsWith("<!>");return()=>{if($)return Ne(E,null),E;n===void 0&&(n=Sn(i?e:"<!>"+e),n=Me(n));var s=r||Dt?document.importNode(n,!0):n.cloneNode(!0);return Ne(s,s),s}}function Cn(e=""){if(!$){var t=ye(e+"");return Ne(t,t),t}var r=E;return r.nodeType!==wt&&(r.before(r=ye()),Z(r)),Ne(r,r),r}function st(e,t){if($){p.nodes_end=E,Ge();return}e!==null&&e.before(t)}const Pn=["touchstart","touchmove"];function Ln(e){return Pn.includes(e)}function er(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=r+"")}function tr(e,t){return rr(e,t)}function Mn(e,t){rt(),t.intro=t.intro??!1;const r=t.target,n=$,i=E;try{for(var s=Me(r);s&&(s.nodeType!==mt||s.data!==br);)s=ve(s);if(!s)throw ge;fe(!0),Z(s),Ge();const a=rr(e,{...t,anchor:s});if(E===null||E.nodeType!==mt||E.data!==$r)throw Ve(),ge;return fe(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
|
|
2
|
-
`).some(o=>o.startsWith("https://svelte.dev/e/")))throw a;return a!==ge&&console.warn("Failed to hydrate: ",a),t.recover===!1&&Fr(),rt(),ln(r),fe(!1),tr(e,t)}finally{fe(n),Z(i)}}const _e=new Map;function rr(e,{target:t,anchor:r,props:n={},events:i,context:s,intro:a=!0}){rt();var o=new Set,l=v=>{for(var c=0;c<v.length;c++){var d=v[c];if(!o.has(d)){o.add(d);var h=Ln(d);t.addEventListener(d,xe,{passive:h});var w=_e.get(d);w===void 0?(document.addEventListener(d,xe,{passive:h}),_e.set(d,1)):_e.set(d,w+1)}}};l(Tr(An)),Zt.add(l);var u=void 0,f=hn(()=>{var v=r??t.appendChild(ye());return wn(()=>{if(s){$t({});var c=D;c.c=s}i&&(n.$$events=i),$&&Ne(v,null),u=e(v,n)||{},$&&(p.nodes_end=E),s&&yt()}),()=>{for(var c of o){t.removeEventListener(c,xe);var d=_e.get(c);--d===0?(document.removeEventListener(c,xe),_e.delete(c)):_e.set(c,d)}Zt.delete(l),v!==r&&v.parentNode?.removeChild(v)}});return at.set(u,f),u}let at=new WeakMap;function Dn(e,t){const r=at.get(e);return r?(at.delete(e),r(t)):Promise.resolve()}function In(e,t,r,n,i){$&&Ge();var s=t.$$slots?.[r],a=!1;s===!0&&(s=t[r],a=!0),s===void 0?i!==null&&i(e):s(e,a?()=>n:n)}function jn(e,t){_n(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,n.appendChild(i)}})}function qn(e,t,r){var n=""+e;return n}function Fn(e,t){return e==null?null:String(e)}function Yn(e,t,r,n,i,s){var a=e.__className;if($||a!==r||a===void 0){var o=qn(r);(!$||o!==e.getAttribute("class"))&&(o==null?e.removeAttribute("class"):e.className=o),e.__className=r}return s}function nr(e,t,r,n){var i=e.__style;if($||i!==t){var s=Fn(t);(!$||s!==e.getAttribute("style"))&&(s==null?e.removeAttribute("style"):e.style.cssText=s),e.__style=t}return n}const Bn=Symbol("is custom element"),Wn=Symbol("is html");function ir(e,t,r,n){var i=Un(e);$&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=r)&&(t==="loading"&&(e[Pr]=r),r==null?e.removeAttribute(t):typeof r!="string"&&sr(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function Hn(e,t,r){var n=g,i=p;let s=$;$&&fe(!1),P(null),q(null);try{t!=="style"&&(ot.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?sr(e).includes(t):r&&typeof r=="object")?e[t]=r:ir(e,t,r==null?r:String(r))}finally{P(n),q(i),s&&fe(!0)}}function Un(e){return e.__attributes??={[Bn]:e.nodeName.includes("-"),[Wn]:e.namespaceURI===yr}}var ot=new Map;function sr(e){var t=e.getAttribute("is")||e.nodeName,r=ot.get(t);if(r)return r;ot.set(t,r=[]);for(var n,i=e,s=Element.prototype;s!==i;){n=xr(i);for(var a in n)n[a].set&&r.push(a);i=dt(i)}return r}function lt(e,t,r,n){var i=n,s=!0,a=()=>(s&&(s=!1,i=n),i),o;o=e[t],o===void 0&&n!==void 0&&(o=a());var l;l=()=>{var c=e[t];return c===void 0?a():(s=!0,c)};var u=!1,f=Nt(()=>(u=!1,l())),v=p;return(function(c,d){if(arguments.length>0){const h=d?F(f):c;return Y(f,h),u=!0,i!==void 0&&(i=h),c}return re&&u||(v.f&K)!==0?f.v:F(f)})}function Vn(e){return new Gn(e)}class Gn{#t;#e;constructor(t){var r=new Map,n=(s,a)=>{var o=an(a,!1,!1);return r.set(s,o),o};const i=new Proxy({...t.props||{},$$events:{}},{get(s,a){return F(r.get(a)??n(a,Reflect.get(s,a)))},has(s,a){return a===Cr?!0:(F(r.get(a)??n(a,Reflect.get(s,a))),Reflect.has(s,a))},set(s,a,o){return Y(r.get(a)??n(a,o),o),Reflect.set(s,a,o)}});this.#e=(t.hydrate?Mn:tr)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&Le(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||ae(this,s,{get(){return this.#e[s]},set(a){this.#e[s]=a},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{Dn(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const n=(...i)=>r.call(this,...i);return this.#t[t].push(n),()=>{this.#t[t]=this.#t[t].filter(i=>i!==n)}}$destroy(){this.#e.$destroy()}}let ar;typeof HTMLElement=="function"&&(ar=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 i=>{const s=document.createElement("slot");n!=="default"&&(s.name=n),st(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=Xn(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 i=this.$$g_p(n.name);i in this.$$d||(this.$$d[i]=je(i,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=Vn({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=dn(()=>{gn(()=>{this.$$r=!0;for(const n of Oe(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const i=je(n,this.$$d[n],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,i)}this.$$r=!1})});for(const n in this.$$l)for(const i of this.$$l[n]){const s=this.$$c.$on(n,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=je(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 Oe(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function je(e,t,r,n){const i=r[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Xn(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function zn(e,t,r,n,i,s){let a=class extends ar{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Oe(t).map(o=>(t[o].attribute||o).toLowerCase())}};return Oe(t).forEach(o=>{ae(a.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(l){l=je(o,l,t),this.$$d[o]=l;var u=this.$$c;if(u){var f=oe(u,o)?.get;f?u[o]=l:u.$set({[o]:l})}}})}),n.forEach(o=>{ae(a.prototype,o,{get(){return this.$$c?.[o]}})}),e.element=a,a}const Kn={version:"0.61.50"};function Jn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var se={},or;function Zn(){if(or)return se;or=1,Object.defineProperty(se,"__esModule",{value:!0}),se.LanguageTranslator=void 0,se.getChildStyleToPass=e,se.addComponent=t;function e(n,i){var s,a,o="";try{if(n&&i?.length&&(!((s=Object.keys(n))===null||s===void 0)&&s.length)&&(!((a=i?.filter(function(c){return Object.keys(n).includes(c.name)}))===null||a===void 0)&&a.length))for(var l=function(c){var d=i?.filter(function(h){return h.name===c&&h.defaultValue!==n[c]});d&&(o+="".concat(c,":").concat(n[c],";"))},u=0,f=Object.keys(n);u<f.length;u++){var v=f[u];l(v)}}catch(c){console.error("error getting child style to pass",c)}finally{return o}}function t(n){var i,s=((i=n?.repoName.split("/"))===null||i===void 0?void 0:i[1])||n?.repoName;if(!s)throw new Error("wrong componentPath "+n?.repoName);if(!n?.version)throw new Error("wrong version "+n?.version);var a=n?.iifePath||"main.iife.js";if(!document.getElementById(s+"-script"))try{var o=document.createElement("script");if(o.id=s+"-script",o.src="https://cdn.jsdelivr.net/npm/".concat(n.repoName,"@").concat(n.version,"/").concat(a),n?.local)o.src="".concat(n.local);else if(location.href.includes("localhost:6006")){var l=s.split("-")[0];o.src="http://localhost:6006/webcomponents/".concat(s.replace(l+"-",""),"/").concat(a)}document.head.appendChild(o)}catch(u){console.warn(u)}}var r=(function(){function n(i){if(this.lang="",!i?.dictionary)throw new Error("no dictionary provided");this.dictionary=i.dictionary,this.setLang(i?.lang)}return n.prototype.setLang=function(i){i||(i=n.getDefaultLang()),this.lang=i},n.prototype.translateWord=function(i,s){return n.getDictionaryWord(i,this.dictionary,s||this.lang)},n.prototype.translateDate=function(i,s,a){return n.formatDate(i,s,a||this.lang)},n.getDefaultLang=function(){var i,s,a,o,l,u="en";return navigator?.languages&&(!((a=(s=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||s===void 0?void 0:s.toLowerCase())===null||a===void 0)&&a.length)&&(u=(l=(o=navigator.languages[0])===null||o===void 0?void 0:o.split("-")[0])===null||l===void 0?void 0:l.toLowerCase()),u},n.getDictionaryWord=function(i,s,a){var o;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(a&&(!((o=s[a])===null||o===void 0)&&o[i]))return s[a][i];var l="",u=n.getDefaultLang();if(!a||u!==a){var f=s?.[u];f?.[i]&&(l=f[i])}return l},n.formatDate=function(i,s,a){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var o=new Intl.DateTimeFormat(a||n.getDefaultLang(),s);return o.format(i)},n})();return se.LanguageTranslator=r,se}var Qn=Zn(),pe={},ut,lr;function ei(){if(lr)return ut;lr=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,o=/^\s+|\s+$/g,l=`
|
|
2
|
+
`).some(o=>o.startsWith("https://svelte.dev/e/")))throw a;return a!==ge&&console.warn("Failed to hydrate: ",a),t.recover===!1&&Fr(),rt(),ln(r),fe(!1),tr(e,t)}finally{fe(n),Z(i)}}const _e=new Map;function rr(e,{target:t,anchor:r,props:n={},events:i,context:s,intro:a=!0}){rt();var o=new Set,l=v=>{for(var c=0;c<v.length;c++){var d=v[c];if(!o.has(d)){o.add(d);var h=Ln(d);t.addEventListener(d,xe,{passive:h});var w=_e.get(d);w===void 0?(document.addEventListener(d,xe,{passive:h}),_e.set(d,1)):_e.set(d,w+1)}}};l(Tr(An)),Zt.add(l);var u=void 0,f=hn(()=>{var v=r??t.appendChild(ye());return wn(()=>{if(s){$t({});var c=D;c.c=s}i&&(n.$$events=i),$&&Ne(v,null),u=e(v,n)||{},$&&(p.nodes_end=E),s&&yt()}),()=>{for(var c of o){t.removeEventListener(c,xe);var d=_e.get(c);--d===0?(document.removeEventListener(c,xe),_e.delete(c)):_e.set(c,d)}Zt.delete(l),v!==r&&v.parentNode?.removeChild(v)}});return at.set(u,f),u}let at=new WeakMap;function Dn(e,t){const r=at.get(e);return r?(at.delete(e),r(t)):Promise.resolve()}function In(e,t,r,n,i){$&&Ge();var s=t.$$slots?.[r],a=!1;s===!0&&(s=t[r],a=!0),s===void 0?i!==null&&i(e):s(e,a?()=>n:n)}function jn(e,t){_n(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,n.appendChild(i)}})}function qn(e,t,r){var n=""+e;return n}function Fn(e,t){return e==null?null:String(e)}function Yn(e,t,r,n,i,s){var a=e.__className;if($||a!==r||a===void 0){var o=qn(r);(!$||o!==e.getAttribute("class"))&&(o==null?e.removeAttribute("class"):e.className=o),e.__className=r}return s}function nr(e,t,r,n){var i=e.__style;if($||i!==t){var s=Fn(t);(!$||s!==e.getAttribute("style"))&&(s==null?e.removeAttribute("style"):e.style.cssText=s),e.__style=t}return n}const Bn=Symbol("is custom element"),Wn=Symbol("is html");function ir(e,t,r,n){var i=Un(e);$&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=r)&&(t==="loading"&&(e[Pr]=r),r==null?e.removeAttribute(t):typeof r!="string"&&sr(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function Hn(e,t,r){var n=g,i=p;let s=$;$&&fe(!1),P(null),q(null);try{t!=="style"&&(ot.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?sr(e).includes(t):r&&typeof r=="object")?e[t]=r:ir(e,t,r==null?r:String(r))}finally{P(n),q(i),s&&fe(!0)}}function Un(e){return e.__attributes??={[Bn]:e.nodeName.includes("-"),[Wn]:e.namespaceURI===yr}}var ot=new Map;function sr(e){var t=e.getAttribute("is")||e.nodeName,r=ot.get(t);if(r)return r;ot.set(t,r=[]);for(var n,i=e,s=Element.prototype;s!==i;){n=xr(i);for(var a in n)n[a].set&&r.push(a);i=dt(i)}return r}function lt(e,t,r,n){var i=n,s=!0,a=()=>(s&&(s=!1,i=n),i),o;o=e[t],o===void 0&&n!==void 0&&(o=a());var l;l=()=>{var c=e[t];return c===void 0?a():(s=!0,c)};var u=!1,f=Nt(()=>(u=!1,l())),v=p;return(function(c,d){if(arguments.length>0){const h=d?F(f):c;return Y(f,h),u=!0,i!==void 0&&(i=h),c}return re&&u||(v.f&K)!==0?f.v:F(f)})}function Vn(e){return new Gn(e)}class Gn{#t;#e;constructor(t){var r=new Map,n=(s,a)=>{var o=an(a,!1,!1);return r.set(s,o),o};const i=new Proxy({...t.props||{},$$events:{}},{get(s,a){return F(r.get(a)??n(a,Reflect.get(s,a)))},has(s,a){return a===Cr?!0:(F(r.get(a)??n(a,Reflect.get(s,a))),Reflect.has(s,a))},set(s,a,o){return Y(r.get(a)??n(a,o),o),Reflect.set(s,a,o)}});this.#e=(t.hydrate?Mn:tr)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&Le(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||ae(this,s,{get(){return this.#e[s]},set(a){this.#e[s]=a},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{Dn(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const n=(...i)=>r.call(this,...i);return this.#t[t].push(n),()=>{this.#t[t]=this.#t[t].filter(i=>i!==n)}}$destroy(){this.#e.$destroy()}}let ar;typeof HTMLElement=="function"&&(ar=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 i=>{const s=document.createElement("slot");n!=="default"&&(s.name=n),st(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=Xn(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 i=this.$$g_p(n.name);i in this.$$d||(this.$$d[i]=je(i,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=Vn({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=dn(()=>{gn(()=>{this.$$r=!0;for(const n of Oe(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const i=je(n,this.$$d[n],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,i)}this.$$r=!1})});for(const n in this.$$l)for(const i of this.$$l[n]){const s=this.$$c.$on(n,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=je(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 Oe(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function je(e,t,r,n){const i=r[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Xn(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function zn(e,t,r,n,i,s){let a=class extends ar{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Oe(t).map(o=>(t[o].attribute||o).toLowerCase())}};return Oe(t).forEach(o=>{ae(a.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(l){l=je(o,l,t),this.$$d[o]=l;var u=this.$$c;if(u){var f=oe(u,o)?.get;f?u[o]=l:u.$set({[o]:l})}}})}),n.forEach(o=>{ae(a.prototype,o,{get(){return this.$$c?.[o]}})}),e.element=a,a}const Kn={version:"0.61.51"};function Jn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var se={},or;function Zn(){if(or)return se;or=1,Object.defineProperty(se,"__esModule",{value:!0}),se.LanguageTranslator=void 0,se.getChildStyleToPass=e,se.addComponent=t;function e(n,i){var s,a,o="";try{if(n&&i?.length&&(!((s=Object.keys(n))===null||s===void 0)&&s.length)&&(!((a=i?.filter(function(c){return Object.keys(n).includes(c.name)}))===null||a===void 0)&&a.length))for(var l=function(c){var d=i?.filter(function(h){return h.name===c&&h.defaultValue!==n[c]});d&&(o+="".concat(c,":").concat(n[c],";"))},u=0,f=Object.keys(n);u<f.length;u++){var v=f[u];l(v)}}catch(c){console.error("error getting child style to pass",c)}finally{return o}}function t(n){var i,s=((i=n?.repoName.split("/"))===null||i===void 0?void 0:i[1])||n?.repoName;if(!s)throw new Error("wrong componentPath "+n?.repoName);if(!n?.version)throw new Error("wrong version "+n?.version);var a=n?.iifePath||"main.iife.js";if(!document.getElementById(s+"-script"))try{var o=document.createElement("script");if(o.id=s+"-script",o.src="https://cdn.jsdelivr.net/npm/".concat(n.repoName,"@").concat(n.version,"/").concat(a),n?.local)o.src="".concat(n.local);else if(location.href.includes("localhost:6006")){var l=s.split("-")[0];o.src="http://localhost:6006/webcomponents/".concat(s.replace(l+"-",""),"/").concat(a)}document.head.appendChild(o)}catch(u){console.warn(u)}}var r=(function(){function n(i){if(this.lang="",!i?.dictionary)throw new Error("no dictionary provided");this.dictionary=i.dictionary,this.setLang(i?.lang)}return n.prototype.setLang=function(i){i||(i=n.getDefaultLang()),this.lang=i},n.prototype.translateWord=function(i,s){return n.getDictionaryWord(i,this.dictionary,s||this.lang)},n.prototype.translateDate=function(i,s,a){return n.formatDate(i,s,a||this.lang)},n.getDefaultLang=function(){var i,s,a,o,l,u="en";return navigator?.languages&&(!((a=(s=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||s===void 0?void 0:s.toLowerCase())===null||a===void 0)&&a.length)&&(u=(l=(o=navigator.languages[0])===null||o===void 0?void 0:o.split("-")[0])===null||l===void 0?void 0:l.toLowerCase()),u},n.getDictionaryWord=function(i,s,a){var o;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(a&&(!((o=s[a])===null||o===void 0)&&o[i]))return s[a][i];var l="",u=n.getDefaultLang();if(!a||u!==a){var f=s?.[u];f?.[i]&&(l=f[i])}return l},n.formatDate=function(i,s,a){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var o=new Intl.DateTimeFormat(a||n.getDefaultLang(),s);return o.format(i)},n})();return se.LanguageTranslator=r,se}var Qn=Zn(),pe={},ut,lr;function ei(){if(lr)return ut;lr=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,o=/^\s+|\s+$/g,l=`
|
|
3
3
|
`,u="/",f="*",v="",c="comment",d="declaration";ut=function(w,m){if(typeof w!="string")throw new TypeError("First argument must be a string");if(!w)return[];m=m||{};var T=1,y=1;function vr(b){var _=b.match(t);_&&(T+=_.length);var I=b.lastIndexOf(l);y=~I?b.length-I:y+b.length}function dr(){var b={line:T,column:y};return function(_){return _.position=new hr(b),pr(),_}}function hr(b){this.start=b,this.end={line:T,column:y},this.source=m.source}hr.prototype.content=w;function _r(b){var _=new Error(m.source+":"+T+":"+y+": "+b);if(_.reason=b,_.filename=m.source,_.line=T,_.column=y,_.source=w,!m.silent)throw _}function Ae(b){var _=b.exec(w);if(_){var I=_[0];return vr(I),w=w.slice(I.length),_}}function pr(){Ae(r)}function gr(b){var _;for(b=b||[];_=wr();)_!==!1&&b.push(_);return b}function wr(){var b=dr();if(!(u!=w.charAt(0)||f!=w.charAt(1))){for(var _=2;v!=w.charAt(_)&&(f!=w.charAt(_)||u!=w.charAt(_+1));)++_;if(_+=2,v===w.charAt(_-1))return _r("End of comment missing");var I=w.slice(2,_-2);return y+=2,vr(I),w=w.slice(_),y+=2,b({type:c,comment:I})}}function si(){var b=dr(),_=Ae(n);if(_){if(wr(),!Ae(i))return _r("property missing ':'");var I=Ae(s),oi=b({type:d,property:h(_[0].replace(e,v)),value:I?h(I[0].replace(e,v)):v});return Ae(a),oi}}function ai(){var b=[];gr(b);for(var _;_=si();)_!==!1&&(b.push(_),gr(b));return b}return pr(),ai()};function h(w){return w?w.replace(o,v):v}return ut}var ur;function ti(){if(ur)return pe;ur=1;var e=pe&&pe.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(pe,"__esModule",{value:!0}),pe.default=r;var t=e(ei());function r(n,i){var s=null;if(!n||typeof n!="string")return s;var a=(0,t.default)(n),o=typeof i=="function";return a.forEach(function(l){if(l.type==="declaration"){var u=l.property,f=l.value;o?i(u,f,l):f&&(s=s||{},s[u]=f)}}),s}return pe}var ri=ti();const fr=Jn(ri);fr.default;var ni=kn('<hb-dialog><span slot="title" class="svelte-qxv4dk"><!></span> <div slot="body-content" class="svelte-qxv4dk"><div class="progress svelte-qxv4dk"><div class="progress-bar svelte-qxv4dk" role="progressbar" aria-valuemin="0" aria-valuemax="100"> </div></div></div> <span slot="modal-footer" class="svelte-qxv4dk"></span></hb-dialog>',2);const ii={hash:"svelte-qxv4dk",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");
|
|
4
4
|
/*!
|
|
5
5
|
* Bootstrap v5.1.2 (https://getbootstrap.com/)
|
package/manifest.json
CHANGED