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