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