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