@htmlbricks/hb-cookie-law-banner 0.66.2 → 0.66.4
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 +3 -3
- package/main.iife.js.map +1 -1
- package/manifest.json +3 -1
- package/package.json +1 -1
package/main.iife.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
(function(xt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Bn=2,Nt="[",St="[!",At="[?",Ct="]",be={},S=Symbol(),Rt="http://www.w3.org/1999/xhtml",Vn=!1;var Wn=Array.isArray,Un=Array.prototype.indexOf,ye=Array.prototype.includes,Gn=Array.from,We=Object.keys,Ue=Object.defineProperty,$e=Object.getOwnPropertyDescriptor,Jn=Object.getOwnPropertyDescriptors,Kn=Object.prototype,Xn=Array.prototype,Ot=Object.getPrototypeOf,Lt=Object.isExtensible;const Zn=()=>{};function Qn(e){for(var t=0;t<e.length;t++)e[t]()}function Dt(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const N=2,ke=4,Ge=8,Mt=1<<24,ne=16,B=32,re=64,ot=128,D=512,T=1024,A=2048,V=4096,W=8192,z=16384,ie=32768,Pt=1<<25,Ee=65536,It=1<<17,er=1<<18,ve=1<<19,tr=1<<20,_e=65536,at=1<<21,ft=1<<22,se=1<<23,ut=Symbol("$state"),nr=Symbol("legacy props"),K=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},rr=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml"),Je=3,Ke=8;function ir(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function sr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function lr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function or(e){throw new Error("https://svelte.dev/e/effect_orphan")}function ar(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function fr(){throw new Error("https://svelte.dev/e/hydration_failed")}function ur(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function cr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function hr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function dr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Xe(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function vr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let b=!1;function Te(e){b=e}let y;function H(e){if(e===null)throw Xe(),be;return y=e}function Ze(){return H(ue(y))}function le(e){if(b){if(ue(y)!==null)throw Xe(),be;y=e}}function _r(e=1){if(b){for(var t=e,n=y;t--;)n=ue(n);y=n}}function Ft(e=!0){for(var t=0,n=y;;){if(n.nodeType===Ke){var r=n.data;if(r===Ct){if(t===0)return n;t-=1}else(r===Nt||r===St||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=ue(n);e&&n.remove(),n=i}}function pr(e){if(!e||e.nodeType!==Ke)throw Xe(),be;return e.data}function jt(e){return e===this.v}function gr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function wr(e){return!gr(e,this.v)}let mr=!1,M=null;function xe(e){M=e}function zt(e,t=!1,n){M={p:M,i:!1,c:null,e:null,s:e,x:null,r:p,l:null}}function Ht(e){var t=M,n=t.e;if(n!==null){t.e=null;for(var r of n)cn(r)}return e!==void 0&&(t.x=e),t.i=!0,M=t.p,e??{}}function Yt(){return!0}let pe=[];function qt(){var e=pe;pe=[],Qn(e)}function Ne(e){if(pe.length===0&&!De){var t=pe;queueMicrotask(()=>{t===pe&&qt()})}pe.push(e)}function br(){for(;pe.length>0;)qt()}function Bt(e){var t=p;if(t===null)return _.f|=se,e;if((t.f&ie)===0&&(t.f&ke)===0)throw e;oe(e,t)}function oe(e,t){for(;t!==null;){if((t.f&ot)!==0){if((t.f&ie)===0)throw e;try{t.b.error(e);return}catch(n){e=n}}t=t.parent}throw e}const yr=-7169;function $(e,t){e.f=e.f&yr|t}function ct(e){(e.f&D)!==0||e.deps===null?$(e,T):$(e,V)}function Vt(e){if(e!==null)for(const t of e)(t.f&N)===0||(t.f&_e)===0||(t.f^=_e,Vt(t.deps))}function Wt(e,t,n){(e.f&A)!==0?t.add(e):(e.f&V)!==0&&n.add(e),Vt(e.deps),$(e,T)}const ae=new Set;let m=null,Y=null,ht=null,De=!1,dt=!1,Se=null,Qe=null;var Ut=0;let $r=1;class X{id=$r++;current=new Map;previous=new Map;#e=new Set;#n=new Set;#t=new Map;#i=new Map;#s=null;#r=[];#l=new Set;#o=new Set;#a=new Map;is_fork=!1;#c=!1;#f=new Set;#h(){return this.is_fork||this.#i.size>0}#v(){for(const r of this.#f)for(const i of r.#i.keys()){for(var t=!1,n=i;n.parent!==null;){if(this.#a.has(n)){t=!0;break}n=n.parent}if(!t)return!0}return!1}skip_effect(t){this.#a.has(t)||this.#a.set(t,{d:[],m:[]})}unskip_effect(t){var n=this.#a.get(t);if(n){this.#a.delete(t);for(var r of n.d)$(r,A),this.schedule(r);for(r of n.m)$(r,V),this.schedule(r)}}#d(){if(Ut++>1e3&&(ae.delete(this),kr()),!this.#h()){for(const l of this.#l)this.#o.delete(l),$(l,A),this.schedule(l);for(const l of this.#o)$(l,V),this.schedule(l)}const t=this.#r;this.#r=[],this.apply();var n=Se=[],r=[],i=Qe=[];for(const l of t)try{this.#u(l,n,r)}catch(f){throw Zt(l),f}if(m=null,i.length>0){var s=X.ensure();for(const l of i)s.schedule(l)}if(Se=null,Qe=null,this.#h()||this.#v()){this.#_(r),this.#_(n);for(const[l,f]of this.#a)Xt(l,f)}else{this.#t.size===0&&ae.delete(this),this.#l.clear(),this.#o.clear();for(const l of this.#e)l(this);this.#e.clear(),Gt(r),Gt(n),this.#s?.resolve()}var o=m;if(this.#r.length>0){const l=o??=this;l.#r.push(...this.#r.filter(f=>!l.#r.includes(f)))}o!==null&&(ae.add(o),o.#d()),ae.has(this)||this.#p()}#u(t,n,r){t.f^=T;for(var i=t.first;i!==null;){var s=i.f,o=(s&(B|re))!==0,l=o&&(s&T)!==0,f=l||(s&W)!==0||this.#a.has(i);if(!f&&i.fn!==null){o?i.f^=T:(s&ke)!==0?n.push(i):je(i)&&((s&ne)!==0&&this.#o.add(i),Re(i));var a=i.first;if(a!==null){i=a;continue}}for(;i!==null;){var u=i.next;if(u!==null){i=u;break}i=i.parent}}}#_(t){for(var n=0;n<t.length;n+=1)Wt(t[n],this.#l,this.#o)}capture(t,n,r=!1){n!==S&&!this.previous.has(t)&&this.previous.set(t,n),(t.f&se)===0&&(this.current.set(t,[t.v,r]),Y?.set(t,t.v))}activate(){m=this}deactivate(){m=null,Y=null}flush(){try{dt=!0,m=this,this.#d()}finally{Ut=0,ht=null,Se=null,Qe=null,dt=!1,m=null,Y=null,fe.clear()}}discard(){for(const t of this.#n)t(this);this.#n.clear(),ae.delete(this)}#p(){for(const a of ae){var t=a.id<this.id,n=[];for(const[u,[d,c]]of this.current){if(a.current.has(u)){var r=a.current.get(u)[0];if(t&&d!==r)a.current.set(u,[d,c]);else continue}n.push(u)}var i=[...a.current.keys()].filter(u=>!this.current.has(u));if(i.length===0)t&&a.discard();else if(n.length>0){a.activate();var s=new Set,o=new Map;for(var l of n)Jt(l,i,s,o);if(a.#r.length>0){a.apply();for(var f of a.#r)a.#u(f,[],[]);a.#r=[]}a.deactivate()}}for(const a of ae)a.#f.has(this)&&(a.#f.delete(this),a.#f.size===0&&!a.#h()&&(a.activate(),a.#d()))}increment(t,n){let r=this.#t.get(n)??0;if(this.#t.set(n,r+1),t){let i=this.#i.get(n)??0;this.#i.set(n,i+1)}}decrement(t,n,r){let i=this.#t.get(n)??0;if(i===1?this.#t.delete(n):this.#t.set(n,i-1),t){let s=this.#i.get(n)??0;s===1?this.#i.delete(n):this.#i.set(n,s-1)}this.#c||r||(this.#c=!0,Ne(()=>{this.#c=!1,this.flush()}))}transfer_effects(t,n){for(const r of t)this.#l.add(r);for(const r of n)this.#o.add(r);t.clear(),n.clear()}oncommit(t){this.#e.add(t)}ondiscard(t){this.#n.add(t)}settled(){return(this.#s??=Dt()).promise}static ensure(){if(m===null){const t=m=new X;dt||(ae.add(m),De||Ne(()=>{m===t&&t.flush()}))}return m}apply(){{Y=null;return}}schedule(t){if(ht=t,t.b?.is_pending&&(t.f&(ke|Ge|Mt))!==0&&(t.f&ie)===0){t.b.defer_effect(t);return}for(var n=t;n.parent!==null;){n=n.parent;var r=n.f;if(Se!==null&&n===p&&(_===null||(_.f&N)===0))return;if((r&(re|B))!==0){if((r&T)===0)return;n.f^=T}}this.#r.push(n)}}function Ae(e){var t=De;De=!0;try{for(var n;;){if(br(),m===null)return n;m.flush()}}finally{De=t}}function kr(){try{ar()}catch(e){oe(e,ht)}}let Z=null;function Gt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(z|W))===0&&je(r)&&(Z=new Set,Re(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&_n(r),Z?.size>0)){fe.clear();for(const i of Z){if((i.f&(z|W))!==0)continue;const s=[i];let o=i.parent;for(;o!==null;)Z.has(o)&&(Z.delete(o),s.push(o)),o=o.parent;for(let l=s.length-1;l>=0;l--){const f=s[l];(f.f&(z|W))===0&&Re(f)}}Z.clear()}}Z=null}}function Jt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;(s&N)!==0?Jt(i,t,n,r):(s&(ft|ne))!==0&&(s&A)===0&&Kt(i,t,r)&&($(i,A),vt(i))}}function Kt(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const i of e.deps){if(ye.call(t,i))return!0;if((i.f&N)!==0&&Kt(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function vt(e){m.schedule(e)}function Xt(e,t){if(!((e.f&B)!==0&&(e.f&T)!==0)){(e.f&A)!==0?t.d.push(e):(e.f&V)!==0&&t.m.push(e),$(e,T);for(var n=e.first;n!==null;)Xt(n,t),n=n.next}}function Zt(e){$(e,T);for(var t=e.first;t!==null;)Zt(t),t=t.next}function Er(e){let t=0,n=Me(0),r;return()=>{bt()&&(k(n),hn(()=>(t===0&&(r=Zr(()=>e(()=>Pe(n)))),t+=1,()=>{Ne(()=>{t-=1,t===0&&(r?.(),r=void 0,Pe(n))})})))}}var Tr=Ee|ve;function xr(e,t,n,r){new Nr(e,t,n,r)}class Nr{parent;is_pending=!1;transform_error;#e;#n=b?y:null;#t;#i;#s;#r=null;#l=null;#o=null;#a=null;#c=0;#f=0;#h=!1;#v=new Set;#d=new Set;#u=null;#_=Er(()=>(this.#u=Me(this.#c),()=>{this.#u=null}));constructor(t,n,r,i){this.#e=t,this.#t=n,this.#i=s=>{var o=p;o.b=this,o.f|=ot,r(s)},this.parent=p.b,this.transform_error=i??this.parent?.transform_error??(s=>s),this.#s=dn(()=>{if(b){const s=this.#n;Ze();const o=s.data===St;if(s.data.startsWith(At)){const f=JSON.parse(s.data.slice(At.length));this.#y(f)}else o?this.#$():this.#p()}else this.#m()},Tr),b&&(this.#e=y)}#p(){try{this.#r=ee(()=>this.#i(this.#e))}catch(t){this.error(t)}}#y(t){const n=this.#t.failed;n&&(this.#o=ee(()=>{n(this.#e,()=>t,()=>()=>{})}))}#$(){const t=this.#t.pending;t&&(this.is_pending=!0,this.#l=ee(()=>t(this.#e)),Ne(()=>{var n=this.#a=document.createDocumentFragment(),r=Q();n.append(r),this.#r=this.#w(()=>ee(()=>this.#i(r))),this.#f===0&&(this.#e.before(n),this.#a=null,Fe(this.#l,()=>{this.#l=null}),this.#g(m))}))}#m(){try{if(this.is_pending=this.has_pending_snippet(),this.#f=0,this.#c=0,this.#r=ee(()=>{this.#i(this.#e)}),this.#f>0){var t=this.#a=document.createDocumentFragment();wn(this.#r,t);const n=this.#t.pending;this.#l=ee(()=>n(this.#e))}else this.#g(m)}catch(n){this.error(n)}}#g(t){this.is_pending=!1,t.transfer_effects(this.#v,this.#d)}defer_effect(t){Wt(t,this.#v,this.#d)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#t.pending}#w(t){var n=p,r=_,i=M;J(this.#s),I(this.#s),xe(this.#s.ctx);try{return X.ensure(),t()}catch(s){return Bt(s),null}finally{J(n),I(r),xe(i)}}#b(t,n){if(!this.has_pending_snippet()){this.parent&&this.parent.#b(t,n);return}this.#f+=t,this.#f===0&&(this.#g(n),this.#l&&Fe(this.#l,()=>{this.#l=null}),this.#a&&(this.#e.before(this.#a),this.#a=null))}update_pending_count(t,n){this.#b(t,n),this.#c+=t,!(!this.#u||this.#h)&&(this.#h=!0,Ne(()=>{this.#h=!1,this.#u&&tt(this.#u,this.#c)}))}get_effect_pending(){return this.#_(),k(this.#u)}error(t){var n=this.#t.onerror;let r=this.#t.failed;if(!n&&!r)throw t;this.#r&&(C(this.#r),this.#r=null),this.#l&&(C(this.#l),this.#l=null),this.#o&&(C(this.#o),this.#o=null),b&&(H(this.#n),_r(),H(Ft()));var i=!1,s=!1;const o=()=>{if(i){vr();return}i=!0,s&&dr(),this.#o!==null&&Fe(this.#o,()=>{this.#o=null}),this.#w(()=>{this.#m()})},l=f=>{try{s=!0,n?.(f,o),s=!1}catch(a){oe(a,this.#s&&this.#s.parent)}r&&(this.#o=this.#w(()=>{try{return ee(()=>{var a=p;a.b=this,a.f|=ot,r(this.#e,()=>f,()=>o)})}catch(a){return oe(a,this.#s.parent),null}}))};Ne(()=>{var f;try{f=this.transform_error(t)}catch(a){oe(a,this.#s&&this.#s.parent);return}f!==null&&typeof f=="object"&&typeof f.then=="function"?f.then(l,a=>oe(a,this.#s&&this.#s.parent)):l(f)})}}function Sr(e,t,n,r){const i=en;var s=e.filter(c=>!c.settled);if(n.length===0&&s.length===0){r(t.map(i));return}var o=p,l=Ar(),f=s.length===1?s[0].promise:s.length>1?Promise.all(s.map(c=>c.promise)):null;function a(c){l();try{r(c)}catch(v){(o.f&z)===0&&oe(v,o)}et()}if(n.length===0){f.then(()=>a(t.map(i)));return}var u=Qt();function d(){Promise.all(n.map(c=>Cr(c))).then(c=>a([...t.map(i),...c])).catch(c=>oe(c,o)).finally(()=>u())}f?f.then(()=>{l(),d(),et()}):d()}function Ar(){var e=p,t=_,n=M,r=m;return function(s=!0){J(e),I(t),xe(n),s&&(e.f&z)===0&&(r?.activate(),r?.apply())}}function et(e=!0){J(null),I(null),xe(null),e&&m?.deactivate()}function Qt(){var e=p,t=e.b,n=m,r=t.is_rendered();return t.update_pending_count(1,n),n.increment(r,e),(i=!1)=>{t.update_pending_count(-1,n),n.decrement(r,e,i)}}function en(e){var t=N|A,n=_!==null&&(_.f&N)!==0?_:null;return p!==null&&(p.f|=ve),{ctx:M,deps:null,effects:null,equals:jt,f:t,fn:e,reactions:null,rv:0,v:S,wv:0,parent:n??p,ac:null}}function Cr(e,t,n){let r=p;r===null&&ir();var i=void 0,s=Me(S),o=!_,l=new Map;return Vr(()=>{var f=p,a=Dt();i=a.promise;try{Promise.resolve(e()).then(a.resolve,a.reject).finally(et)}catch(v){a.reject(v),et()}var u=m;if(o){if((f.f&ie)!==0)var d=Qt();if(r.b.is_rendered())l.get(u)?.reject(K),l.delete(u);else{for(const v of l.values())v.reject(K);l.clear()}l.set(u,a)}const c=(v,h=void 0)=>{if(d){var g=h===K;d(g)}if(!(h===K||(f.f&z)!==0)){if(u.activate(),h)s.f|=se,tt(s,h);else{(s.f&se)!==0&&(s.f^=se),tt(s,v);for(const[E,L]of l){if(l.delete(E),E===u)break;L.reject(K)}}u.deactivate()}};a.promise.then(c,v=>c(null,v||"unknown"))}),zr(()=>{for(const f of l.values())f.reject(K)}),new Promise(f=>{function a(u){function d(){u===i?f(s):a(i)}u.then(d,d)}a(i)})}function Rr(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)C(t[n])}}function Or(e){for(var t=e.parent;t!==null;){if((t.f&N)===0)return(t.f&z)===0?t:null;t=t.parent}return null}function _t(e){var t,n=p;J(Or(e));try{e.f&=~_e,Rr(e),t=En(e)}finally{J(n)}return t}function tn(e){var t=e.v,n=_t(e);if(!e.equals(n)&&(e.wv=$n(),(!m?.is_fork||e.deps===null)&&(e.v=n,m?.capture(e,t,!0),e.deps===null))){$(e,T);return}he||(Y!==null?(bt()||m?.is_fork)&&Y.set(e,n):ct(e))}function Lr(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(K),t.teardown=Zn,t.ac=null,ze(t,0),yt(t))}function nn(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&Re(t)}let pt=new Set;const fe=new Map;let rn=!1;function Me(e,t){var n={f:0,v:e,reactions:null,equals:jt,rv:0,wv:0};return n}function U(e,t){const n=Me(e);return Jr(n),n}function Dr(e,t=!1,n=!0){const r=Me(e);return t||(r.equals=wr),r}function P(e,t,n=!1){_!==null&&(!q||(_.f&It)!==0)&&Yt()&&(_.f&(N|ne|ft|It))!==0&&(F===null||!ye.call(F,e))&&hr();let r=n?Ce(t):t;return tt(e,r,Qe)}function tt(e,t,n=null){if(!e.equals(t)){var r=e.v;he?fe.set(e,t):fe.set(e,r),e.v=t;var i=X.ensure();if(i.capture(e,r),(e.f&N)!==0){const s=e;(e.f&A)!==0&&_t(s),Y===null&&ct(s)}e.wv=$n(),sn(e,A,n),p!==null&&(p.f&T)!==0&&(p.f&(B|re))===0&&(j===null?Kr([e]):j.push(e)),!i.is_fork&&pt.size>0&&!rn&&Mr()}return t}function Mr(){rn=!1;for(const e of pt)(e.f&T)!==0&&$(e,V),je(e)&&Re(e);pt.clear()}function Pe(e){P(e,e.v+1)}function sn(e,t,n){var r=e.reactions;if(r!==null)for(var i=r.length,s=0;s<i;s++){var o=r[s],l=o.f,f=(l&A)===0;if(f&&$(o,t),(l&N)!==0){var a=o;Y?.delete(a),(l&_e)===0&&(l&D&&(o.f|=_e),sn(a,V,n))}else if(f){var u=o;(l&ne)!==0&&Z!==null&&Z.add(u),n!==null?n.push(u):vt(u)}}}function Ce(e){if(typeof e!="object"||e===null||ut in e)return e;const t=Ot(e);if(t!==Kn&&t!==Xn)return e;var n=new Map,r=Wn(e),i=U(0),s=we,o=l=>{if(we===s)return l();var f=_,a=we;I(null),yn(s);var u=l();return I(f),yn(a),u};return r&&n.set("length",U(e.length)),new Proxy(e,{defineProperty(l,f,a){(!("value"in a)||a.configurable===!1||a.enumerable===!1||a.writable===!1)&&ur();var u=n.get(f);return u===void 0?o(()=>{var d=U(a.value);return n.set(f,d),d}):P(u,a.value,!0),!0},deleteProperty(l,f){var a=n.get(f);if(a===void 0){if(f in l){const u=o(()=>U(S));n.set(f,u),Pe(i)}}else P(a,S),Pe(i);return!0},get(l,f,a){if(f===ut)return e;var u=n.get(f),d=f in l;if(u===void 0&&(!d||$e(l,f)?.writable)&&(u=o(()=>{var v=Ce(d?l[f]:S),h=U(v);return h}),n.set(f,u)),u!==void 0){var c=k(u);return c===S?void 0:c}return Reflect.get(l,f,a)},getOwnPropertyDescriptor(l,f){var a=Reflect.getOwnPropertyDescriptor(l,f);if(a&&"value"in a){var u=n.get(f);u&&(a.value=k(u))}else if(a===void 0){var d=n.get(f),c=d?.v;if(d!==void 0&&c!==S)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return a},has(l,f){if(f===ut)return!0;var a=n.get(f),u=a!==void 0&&a.v!==S||Reflect.has(l,f);if(a!==void 0||p!==null&&(!u||$e(l,f)?.writable)){a===void 0&&(a=o(()=>{var c=u?Ce(l[f]):S,v=U(c);return v}),n.set(f,a));var d=k(a);if(d===S)return!1}return u},set(l,f,a,u){var d=n.get(f),c=f in l;if(r&&f==="length")for(var v=a;v<d.v;v+=1){var h=n.get(v+"");h!==void 0?P(h,S):v in l&&(h=o(()=>U(S)),n.set(v+"",h))}if(d===void 0)(!c||$e(l,f)?.writable)&&(d=o(()=>U(void 0)),P(d,Ce(a)),n.set(f,d));else{c=d.v!==S;var g=o(()=>Ce(a));P(d,g)}var E=Reflect.getOwnPropertyDescriptor(l,f);if(E?.set&&E.set.call(u,a),!c){if(r&&typeof f=="string"){var L=n.get("length"),de=Number(f);Number.isInteger(de)&&de>=L.v&&P(L,de+1)}Pe(i)}return!0},ownKeys(l){k(i);var f=Reflect.ownKeys(l).filter(d=>{var c=n.get(d);return c===void 0||c.v!==S});for(var[a,u]of n)u.v!==S&&!(a in l)&&f.push(a);return f},setPrototypeOf(){cr()}})}var ln,on,an,fn;function gt(){if(ln===void 0){ln=window,on=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;an=$e(t,"firstChild").get,fn=$e(t,"nextSibling").get,Lt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Lt(n)&&(n.__t=void 0)}}function Q(e=""){return document.createTextNode(e)}function nt(e){return an.call(e)}function ue(e){return fn.call(e)}function ce(e,t){if(!b)return nt(e);var n=nt(y);if(n===null)n=y.appendChild(Q());else if(t&&n.nodeType!==Je){var r=Q();return n?.before(r),H(r),r}return t&&mt(n),H(n),n}function rt(e,t=1,n=!1){let r=b?y:e;for(var i;t--;)i=r,r=ue(r);if(!b)return r;if(n){if(r?.nodeType!==Je){var s=Q();return r===null?i?.after(s):r.before(s),H(s),s}mt(r)}return H(r),r}function Pr(e){e.textContent=""}function Ir(){return!1}function wt(e,t,n){return document.createElementNS(Rt,e,void 0)}function mt(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===Je;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function un(e){var t=_,n=p;I(null),J(null);try{return e()}finally{I(t),J(n)}}function Fr(e){p===null&&(_===null&&or(),lr()),he&&sr()}function jr(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function G(e,t){var n=p;n!==null&&(n.f&W)!==0&&(e|=W);var r={ctx:M,deps:null,nodes:null,f:e|A|D,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},i=r;if((e&ke)!==0)Se!==null?Se.push(r):X.ensure().schedule(r);else if(t!==null){try{Re(r)}catch(o){throw C(r),o}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&ve)===0&&(i=i.first,(e&ne)!==0&&(e&Ee)!==0&&i!==null&&(i.f|=Ee))}if(i!==null&&(i.parent=n,n!==null&&jr(i,n),_!==null&&(_.f&N)!==0&&(e&re)===0)){var s=_;(s.effects??=[]).push(i)}return r}function bt(){return _!==null&&!q}function zr(e){const t=G(Ge,null);return $(t,T),t.teardown=e,t}function Hr(e){Fr();var t=p.f,n=!_&&(t&B)!==0&&(t&ie)===0;if(n){var r=M;(r.e??=[]).push(e)}else return cn(e)}function cn(e){return G(ke|tr,e)}function Yr(e){X.ensure();const t=G(re|ve,e);return()=>{C(t)}}function qr(e){X.ensure();const t=G(re|ve,e);return(n={})=>new Promise(r=>{n.outro?Fe(t,()=>{C(t),r(void 0)}):(C(t),r(void 0))})}function Br(e){return G(ke,e)}function Vr(e){return G(ft|ve,e)}function hn(e,t=0){return G(Ge|t,e)}function Ie(e,t=[],n=[],r=[]){Sr(r,t,n,i=>{G(Ge,()=>e(...i.map(k)))})}function dn(e,t=0){var n=G(ne|t,e);return n}function ee(e){return G(B|ve,e)}function vn(e){var t=e.teardown;if(t!==null){const n=he,r=_;mn(!0),I(null);try{t.call(null)}finally{mn(n),I(r)}}}function yt(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&un(()=>{i.abort(K)});var r=n.next;(n.f&re)!==0?n.parent=null:C(n,t),n=r}}function Wr(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&B)===0&&C(t),t=n}}function C(e,t=!0){var n=!1;(t||(e.f&er)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(Ur(e.nodes.start,e.nodes.end),n=!0),$(e,Pt),yt(e,t&&!n),ze(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(const s of r)s.stop();vn(e),e.f^=Pt,e.f|=z;var i=e.parent;i!==null&&i.first!==null&&_n(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function Ur(e,t){for(;e!==null;){var n=e===t?null:ue(e);e.remove(),e=n}}function _n(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function Fe(e,t,n=!0){var r=[];pn(e,r,!0);var i=()=>{n&&C(e),t&&t()},s=r.length;if(s>0){var o=()=>--s||i();for(var l of r)l.out(o)}else i()}function pn(e,t,n){if((e.f&W)===0){e.f^=W;var r=e.nodes&&e.nodes.t;if(r!==null)for(const l of r)(l.is_global||n)&&t.push(l);for(var i=e.first;i!==null;){var s=i.next,o=(i.f&Ee)!==0||(i.f&B)!==0&&(e.f&ne)!==0;pn(i,t,o?n:!1),i=s}}}function Gr(e){gn(e,!0)}function gn(e,t){if((e.f&W)!==0){e.f^=W,(e.f&T)===0&&($(e,A),X.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&Ee)!==0||(n.f&B)!==0;gn(n,i?t:!1),n=r}var s=e.nodes&&e.nodes.t;if(s!==null)for(const o of s)(o.is_global||t)&&o.in()}}function wn(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:ue(n);t.append(n),n=i}}let it=!1,he=!1;function mn(e){he=e}let _=null,q=!1;function I(e){_=e}let p=null;function J(e){p=e}let F=null;function Jr(e){_!==null&&(F===null?F=[e]:F.push(e))}let R=null,O=0,j=null;function Kr(e){j=e}let bn=1,ge=0,we=ge;function yn(e){we=e}function $n(){return++bn}function je(e){var t=e.f;if((t&A)!==0)return!0;if(t&N&&(e.f&=~_e),(t&V)!==0){for(var n=e.deps,r=n.length,i=0;i<r;i++){var s=n[i];if(je(s)&&tn(s),s.wv>e.wv)return!0}(t&D)!==0&&Y===null&&$(e,T)}return!1}function kn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(F!==null&&ye.call(F,e)))for(var i=0;i<r.length;i++){var s=r[i];(s.f&N)!==0?kn(s,t,!1):t===s&&(n?$(s,A):(s.f&T)!==0&&$(s,V),vt(s))}}function En(e){var t=R,n=O,r=j,i=_,s=F,o=M,l=q,f=we,a=e.f;R=null,O=0,j=null,_=(a&(B|re))===0?e:null,F=null,xe(e.ctx),q=!1,we=++ge,e.ac!==null&&(un(()=>{e.ac.abort(K)}),e.ac=null);try{e.f|=at;var u=e.fn,d=u();e.f|=ie;var c=e.deps,v=m?.is_fork;if(R!==null){var h;if(v||ze(e,O),c!==null&&O>0)for(c.length=O+R.length,h=0;h<R.length;h++)c[O+h]=R[h];else e.deps=c=R;if(bt()&&(e.f&D)!==0)for(h=O;h<c.length;h++)(c[h].reactions??=[]).push(e)}else!v&&c!==null&&O<c.length&&(ze(e,O),c.length=O);if(Yt()&&j!==null&&!q&&c!==null&&(e.f&(N|V|A))===0)for(h=0;h<j.length;h++)kn(j[h],e);if(i!==null&&i!==e){if(ge++,i.deps!==null)for(let g=0;g<n;g+=1)i.deps[g].rv=ge;if(t!==null)for(const g of t)g.rv=ge;j!==null&&(r===null?r=j:r.push(...j))}return(e.f&se)!==0&&(e.f^=se),d}catch(g){return Bt(g)}finally{e.f^=at,R=t,O=n,j=r,_=i,F=s,xe(o),q=l,we=f}}function Xr(e,t){let n=t.reactions;if(n!==null){var r=Un.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}if(n===null&&(t.f&N)!==0&&(R===null||!ye.call(R,t))){var s=t;(s.f&D)!==0&&(s.f^=D,s.f&=~_e),ct(s),Lr(s),ze(s,0)}}function ze(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Xr(e,n[r])}function Re(e){var t=e.f;if((t&z)===0){$(e,T);var n=p,r=it;p=e,it=!0;try{(t&(ne|Mt))!==0?Wr(e):yt(e),vn(e);var i=En(e);e.teardown=typeof i=="function"?i:null,e.wv=bn;var s;Vn&&mr&&(e.f&A)!==0&&e.deps}finally{it=r,p=n}}}function k(e){var t=e.f,n=(t&N)!==0;if(_!==null&&!q){var r=p!==null&&(p.f&z)!==0;if(!r&&(F===null||!ye.call(F,e))){var i=_.deps;if((_.f&at)!==0)e.rv<ge&&(e.rv=ge,R===null&&i!==null&&i[O]===e?O++:R===null?R=[e]:R.push(e));else{(_.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[_]:ye.call(s,_)||s.push(_)}}}if(he&&fe.has(e))return fe.get(e);if(n){var o=e;if(he){var l=o.v;return((o.f&T)===0&&o.reactions!==null||xn(o))&&(l=_t(o)),fe.set(o,l),l}var f=(o.f&D)===0&&!q&&_!==null&&(it||(_.f&D)!==0),a=(o.f&ie)===0;je(o)&&(f&&(o.f|=D),tn(o)),f&&!a&&(nn(o),Tn(o))}if(Y?.has(e))return Y.get(e);if((e.f&se)!==0)throw e.v;return e.v}function Tn(e){if(e.f|=D,e.deps!==null)for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&N)!==0&&(t.f&D)===0&&(nn(t),Tn(t))}function xn(e){if(e.v===S)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(fe.has(t)||(t.f&N)!==0&&xn(t))return!0;return!1}function Zr(e){var t=q;try{return q=!0,e()}finally{q=t}}const He=Symbol("events"),Nn=new Set,$t=new Set;function Sn(e,t,n){(t[He]??={})[e]=n}function Qr(e){for(var t=0;t<e.length;t++)Nn.add(e[t]);for(var n of $t)n(e)}let An=null;function Cn(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;An=e;var o=0,l=An===e&&e[He];if(l){var f=i.indexOf(l);if(f!==-1&&(t===document||t===window)){e[He]=t;return}var a=i.indexOf(t);if(a===-1)return;f<=a&&(o=f)}if(s=i[o]||e.target,s!==t){Ue(e,"currentTarget",{configurable:!0,get(){return s||n}});var u=_,d=p;I(null),J(null);try{for(var c,v=[];s!==null;){var h=s.assignedSlot||s.parentNode||s.host||null;try{var g=s[He]?.[r];g!=null&&(!s.disabled||e.target===s)&&g.call(s,e)}catch(E){c?v.push(E):c=E}if(e.cancelBubble||h===t||h===null)break;s=h}if(c){for(let E of v)queueMicrotask(()=>{throw E});throw c}}finally{e[He]=t,delete e.currentTarget,I(u),J(d)}}}const ei=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function ti(e){return ei?.createHTML(e)??e}function ni(e){var t=wt("template");return t.innerHTML=ti(e.replaceAll("<!>","<!---->")),t.content}function Ye(e,t){var n=p;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function kt(e,t){var n=(t&Bn)!==0,r,i=!e.startsWith("<!>");return()=>{if(b)return Ye(y,null),y;r===void 0&&(r=ni(i?e:"<!>"+e),r=nt(r));var s=n||on?document.importNode(r,!0):r.cloneNode(!0);return Ye(s,s),s}}function Rn(e=""){if(!b){var t=Q(e+"");return Ye(t,t),t}var n=y;return n.nodeType!==Je?(n.before(n=Q()),H(n)):mt(n),Ye(n,n),n}function Oe(e,t){if(b){var n=p;((n.f&ie)===0||n.nodes.end===null)&&(n.nodes.end=y),Ze();return}e!==null&&e.before(t)}const ri=["touchstart","touchmove"];function ii(e){return ri.includes(e)}function qe(e,t){var n=t==null?"":typeof t=="object"?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function On(e,t){return Ln(e,t)}function si(e,t){gt(),t.intro=t.intro??!1;const n=t.target,r=b,i=y;try{for(var s=nt(n);s&&(s.nodeType!==Ke||s.data!==Nt);)s=ue(s);if(!s)throw be;Te(!0),H(s);const o=Ln(e,{...t,anchor:s});return Te(!1),o}catch(o){if(o instanceof Error&&o.message.split(`
|
|
2
|
-
`).some(l=>l.startsWith("https://svelte.dev/e/")))throw o;return o!==be&&console.warn("Failed to hydrate: ",o),t.recover===!1&&fr(),gt(),Pr(n),Te(!1),On(e,t)}finally{Te(r),H(i)}}const st=new Map;function Ln(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:o=!0,transformError:l}){gt();var f=void 0,a=qr(()=>{var u=n??t.appendChild(Q());xr(u,{pending:()=>{}},v=>{zt({});var h=M;if(s&&(h.c=s),i&&(r.$$events=i),b&&Ye(v,null),f=e(v,r)||{},b&&(p.nodes.end=y,y===null||y.nodeType!==Ke||y.data!==Ct))throw Xe(),be;Ht()},l);var d=new Set,c=v=>{for(var h=0;h<v.length;h++){var g=v[h];if(!d.has(g)){d.add(g);var E=ii(g);for(const Le of[t,document]){var L=st.get(Le);L===void 0&&(L=new Map,st.set(Le,L));var de=L.get(g);de===void 0?(Le.addEventListener(g,Cn,{passive:E}),L.set(g,1)):L.set(g,de+1)}}}};return c(Gn(Nn)),$t.add(c),()=>{for(var v of d)for(const E of[t,document]){var h=st.get(E),g=h.get(v);--g==0?(E.removeEventListener(v,Cn),h.delete(v),h.size===0&&st.delete(E)):h.set(v,g)}$t.delete(c),u!==n&&u.parentNode?.removeChild(u)}});return Et.set(f,a),f}let Et=new WeakMap;function li(e,t){const n=Et.get(e);return n?(Et.delete(e),n(t)):Promise.resolve()}class oi{anchor;#e=new Map;#n=new Map;#t=new Map;#i=new Set;#s=!0;constructor(t,n=!0){this.anchor=t,this.#s=n}#r=t=>{if(this.#e.has(t)){var n=this.#e.get(t),r=this.#n.get(n);if(r)Gr(r),this.#i.delete(n);else{var i=this.#t.get(n);i&&(this.#n.set(n,i.effect),this.#t.delete(n),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),r=i.effect)}for(const[s,o]of this.#e){if(this.#e.delete(s),s===t)break;const l=this.#t.get(o);l&&(C(l.effect),this.#t.delete(o))}for(const[s,o]of this.#n){if(s===n||this.#i.has(s))continue;const l=()=>{if(Array.from(this.#e.values()).includes(s)){var a=document.createDocumentFragment();wn(o,a),a.append(Q()),this.#t.set(s,{effect:o,fragment:a})}else C(o);this.#i.delete(s),this.#n.delete(s)};this.#s||!r?(this.#i.add(s),Fe(o,l,!1)):l()}}};#l=t=>{this.#e.delete(t);const n=Array.from(this.#e.values());for(const[r,i]of this.#t)n.includes(r)||(C(i.effect),this.#t.delete(r))};ensure(t,n){var r=m,i=Ir();if(n&&!this.#n.has(t)&&!this.#t.has(t))if(i){var s=document.createDocumentFragment(),o=Q();s.append(o),this.#t.set(t,{effect:ee(()=>n(o)),fragment:s})}else this.#n.set(t,ee(()=>n(this.anchor)));if(this.#e.set(r,t),i){for(const[l,f]of this.#n)l===t?r.unskip_effect(f):r.skip_effect(f);for(const[l,f]of this.#t)l===t?r.unskip_effect(f.effect):r.skip_effect(f.effect);r.oncommit(this.#r),r.ondiscard(this.#l)}else b&&(this.anchor=y),this.#r(r)}}function Dn(e,t,n=!1){var r;b&&(r=y,Ze());var i=new oi(e),s=n?Ee:0;function o(l,f){if(b){var a=pr(r);if(l!==parseInt(a.substring(1))){var u=Ft();H(u),i.anchor=u,Te(!1),i.ensure(l,f),Te(!0);return}}i.ensure(l,f)}dn(()=>{var l=!1;t((f,a=0)=>{l=!0,o(a,f)}),l||o(-1,null)},s)}function Mn(e,t,n,r,i){b&&Ze();var s=t.$$slots?.[n],o=!1;s===!0&&(s=t[n==="default"?"children":n],o=!0),s===void 0?i!==null&&i(e):s(e,o?()=>r:r)}function ai(e,t){Br(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=wt("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function fi(e,t,n){var r=e==null?"":""+e;return r=r?r+" "+t:t,r===""?null:r}function ui(e,t,n,r,i,s){var o=e.__className;if(b||o!==n||o===void 0){var l=fi(n,r);(!b||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):e.className=l),e.__className=n}return s}const ci=Symbol("is custom element"),hi=Symbol("is html"),di=rr?"link":"LINK";function vi(e,t,n,r){var i=_i(e);b&&(i[t]=e.getAttribute(t),e.nodeName===di)||i[t]!==(i[t]=n)&&(n==null?e.removeAttribute(t):typeof n!="string"&&pi(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function _i(e){return e.__attributes??={[ci]:e.nodeName.includes("-"),[hi]:e.namespaceURI===Rt}}var Pn=new Map;function pi(e){var t=e.getAttribute("is")||e.nodeName,n=Pn.get(t);if(n)return n;Pn.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=Jn(i);for(var o in r)r[o].set&&n.push(o);i=Ot(i)}return n}function Be(e,t,n,r){var i=r,s=!0,o=()=>(s&&(s=!1,i=r),i),l;l=e[t],l===void 0&&r!==void 0&&(l=o());var f;f=()=>{var c=e[t];return c===void 0?o():(s=!0,c)};var a=!1,u=en(()=>(a=!1,f())),d=p;return(function(c,v){if(arguments.length>0){const h=v?k(u):c;return P(u,h),a=!0,i!==void 0&&(i=h),c}return he&&a||(d.f&z)!==0?u.v:k(u)})}function gi(e){return new wi(e)}class wi{#e;#n;constructor(t){var n=new Map,r=(s,o)=>{var l=Dr(o,!1,!1);return n.set(s,l),l};const i=new Proxy({...t.props||{},$$events:{}},{get(s,o){return k(n.get(o)??r(o,Reflect.get(s,o)))},has(s,o){return o===nr?!0:(k(n.get(o)??r(o,Reflect.get(s,o))),Reflect.has(s,o))},set(s,o,l){return P(n.get(o)??r(o,l),l),Reflect.set(s,o,l)}});this.#n=(t.hydrate?si:On)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&Ae(),this.#e=i.$$events;for(const s of Object.keys(this.#n))s==="$set"||s==="$destroy"||s==="$on"||Ue(this,s,{get(){return this.#n[s]},set(o){this.#n[s]=o},enumerable:!0});this.#n.$set=s=>{Object.assign(i,s)},this.#n.$destroy=()=>{li(this.#n)}}$set(t){this.#n.$set(t)}$on(t,n){this.#e[t]=this.#e[t]||[];const r=(...i)=>n.call(this,...i);return this.#e[t].push(r),()=>{this.#e[t]=this.#e[t].filter(i=>i!==r)}}$destroy(){this.#n.$destroy()}}let In;typeof HTMLElement=="function"&&(In=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const r=this.$$c.$on(e,t);this.$$l_u.set(t,r)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const r=this.$$l_u.get(t);r&&(r(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(r){return i=>{const s=wt("slot");r!=="default"&&(s.name=r),Oe(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=mi(this);for(const r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(const r of this.attributes){const i=this.$$g_p(r.name);i in this.$$d||(this.$$d[i]=lt(i,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=gi({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Yr(()=>{hn(()=>{this.$$r=!0;for(const r of We(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=lt(r,this.$$d[r],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,i)}this.$$r=!1})});for(const r in this.$$l)for(const i of this.$$l[r]){const s=this.$$c.$on(r,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=lt(e,n,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 We(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function lt(e,t,n,r){const i=n[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="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 mi(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function bi(e,t,n,r,i,s){let o=class extends In{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return We(t).map(l=>(t[l].attribute||l).toLowerCase())}};return We(t).forEach(l=>{Ue(o.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(f){f=lt(l,f,t),this.$$d[l]=f;var a=this.$$c;if(a){var u=$e(a,l)?.get;u?a[l]=f:a.$set({[l]:f})}}})}),r.forEach(l=>{Ue(o.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=o,o}const Fn={en:{accept:"I Agree",decline:"I Decline",learnmore:"Learn more",basicCookieLaw:"Noi e terze parti selezionate utilizziamo cookie o tecnologie simili per finalità tecniche e, con il tuo consenso, anche per altre finalità come specificato nella cookie policy.",cookieLawTitle:"Cookie Informations"},it:{accept:"Accetto",decline:"Rifiuto",learnmore:"Approfondisci",basicCookieLaw:"Noi e terze parti selezionate utilizziamo cookie o tecnologie simili per finalità tecniche e, con il tuo consenso, anche per altre finalità come specificato nella cookie policy.",cookieLawTitle:"Informativa sui cookie"}};var me={},jn;function yi(){if(jn)return me;jn=1,Object.defineProperty(me,"__esModule",{value:!0}),me.LanguageTranslator=void 0,me.getChildStyleToPass=e,me.addComponent=t;function e(r,i){var s,o,l="";try{if(r&&i?.length&&(!((s=Object.keys(r))===null||s===void 0)&&s.length)&&(!((o=i?.filter(function(c){return Object.keys(r).includes(c.name)}))===null||o===void 0)&&o.length))for(var f=function(c){var v=i?.filter(function(h){return h.name===c&&h.defaultValue!==r[c]});v&&(l+="".concat(c,":").concat(r[c],";"))},a=0,u=Object.keys(r);a<u.length;a++){var d=u[a];f(d)}}catch(c){console.error("error getting child style to pass",c)}finally{return l}}function t(r){var i,s=((i=r?.repoName.split("/"))===null||i===void 0?void 0:i[1])||r?.repoName;if(!s)throw new Error("wrong componentPath "+r?.repoName);if(!r?.version)throw new Error("wrong version "+r?.version);var o=r?.iifePath||"main.iife.js";if(!document.getElementById(s+"-script"))try{var l=document.createElement("script");if(l.id=s+"-script",l.src="https://cdn.jsdelivr.net/npm/".concat(r.repoName,"@").concat(r.version,"/").concat(o),r?.local)l.src="".concat(r.local);else if(location.href.includes("localhost:6006")){var f=s.split("-")[0];l.src="http://localhost:6006/webcomponents/".concat(s.replace(f+"-",""),"/").concat(o)}document.head.appendChild(l)}catch(a){console.warn(a)}}var n=(function(){function r(i){if(this.lang="",!i?.dictionary)throw new Error("no dictionary provided");this.dictionary=i.dictionary,this.setLang(i?.lang)}return r.prototype.setLang=function(i){i||(i=r.getDefaultLang()),this.lang=i},r.prototype.translateWord=function(i,s){return r.getDictionaryWord(i,this.dictionary,s||this.lang)},r.prototype.translateDate=function(i,s,o){return r.formatDate(i,s,o||this.lang)},r.getDefaultLang=function(){var i,s,o,l="en";return navigator?.languages&&(!((o=(s=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||s===void 0?void 0:s.toLowerCase())===null||o===void 0)&&o.length)&&(l=navigator.languages[0].split("-")[0].toLowerCase()),l},r.getDictionaryWord=function(i,s,o){var l;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(o&&(!((l=s[o])===null||l===void 0)&&l[i]))return s[o][i];var f="",a=r.getDefaultLang();if(!o||a!==o){var u=s?.[a];u?.[i]&&(f=u[i])}return f},r.formatDate=function(i,s,o){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var l=new Intl.DateTimeFormat(o||r.getDefaultLang(),s);return l.format(i)},r})();return me.LanguageTranslator=n,me}var zn=yi(),$i=kt('<a target="_blank" class="svelte-1a3taka"> </a>'),ki=kt('<button type="button" class="svelte-1a3taka"> </button>'),Ei=kt('<div id="cookiealert" role="alert"><div id="cookielaw_container" class="svelte-1a3taka"><div id="cookielaw_content" class="svelte-1a3taka"><h3><!></h3> <!></div> <div id="cookielaw_buttons" class="svelte-1a3taka"><!> <!> <button type="button" class="svelte-1a3taka"> </button></div></div></div>');const Ti={hash:"svelte-1a3taka",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");:host {font-family:"Roboto", sans-serif;}
|
|
1
|
+
(function(xt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Yn=2,St="[",At="[!",Nt="[?",Rt="]",be={},A=Symbol(),Ct="http://www.w3.org/1999/xhtml",Wn=!1;var Bn=Array.isArray,Vn=Array.prototype.indexOf,ye=Array.prototype.includes,qn=Array.from,qe=Object.keys,Ue=Object.defineProperty,$e=Object.getOwnPropertyDescriptor,Un=Object.getOwnPropertyDescriptors,Gn=Object.prototype,Jn=Array.prototype,Dt=Object.getPrototypeOf,Ot=Object.isExtensible;const Kn=()=>{};function Xn(e){for(var t=0;t<e.length;t++)e[t]()}function Lt(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const S=2,ke=4,Ge=8,Mt=1<<24,ne=16,B=32,re=64,ot=128,L=512,T=1024,N=2048,V=4096,q=8192,z=16384,ie=32768,It=1<<25,Ee=65536,Pt=1<<17,Zn=1<<18,ve=1<<19,Qn=1<<20,pe=65536,at=1<<21,ft=1<<22,se=1<<23,ut=Symbol("$state"),er=Symbol("legacy props"),K=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},tr=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml"),Je=3,Ke=8;function nr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function rr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function ir(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function sr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function lr(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function or(){throw new Error("https://svelte.dev/e/hydration_failed")}function ar(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function fr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function ur(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function cr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Xe(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function hr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let b=!1;function Te(e){b=e}let y;function H(e){if(e===null)throw Xe(),be;return y=e}function Ze(){return H(ue(y))}function le(e){if(b){if(ue(y)!==null)throw Xe(),be;y=e}}function dr(e=1){if(b){for(var t=e,n=y;t--;)n=ue(n);y=n}}function Ft(e=!0){for(var t=0,n=y;;){if(n.nodeType===Ke){var r=n.data;if(r===Rt){if(t===0)return n;t-=1}else(r===St||r===At||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=ue(n);e&&n.remove(),n=i}}function _r(e){if(!e||e.nodeType!==Ke)throw Xe(),be;return e.data}function jt(e){return e===this.v}function vr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function pr(e){return!vr(e,this.v)}let gr=!1,M=null;function xe(e){M=e}function zt(e,t=!1,n){M={p:M,i:!1,c:null,e:null,s:e,x:null,r:p,l:null}}function Ht(e){var t=M,n=t.e;if(n!==null){t.e=null;for(var r of n)cn(r)}return e!==void 0&&(t.x=e),t.i=!0,M=t.p,e??{}}function Yt(){return!0}let ge=[];function Wt(){var e=ge;ge=[],Xn(e)}function Se(e){if(ge.length===0&&!Le){var t=ge;queueMicrotask(()=>{t===ge&&Wt()})}ge.push(e)}function wr(){for(;ge.length>0;)Wt()}function Bt(e){var t=p;if(t===null)return v.f|=se,e;if((t.f&ie)===0&&(t.f&ke)===0)throw e;oe(e,t)}function oe(e,t){for(;t!==null;){if((t.f&ot)!==0){if((t.f&ie)===0)throw e;try{t.b.error(e);return}catch(n){e=n}}t=t.parent}throw e}const mr=-7169;function $(e,t){e.f=e.f&mr|t}function ct(e){(e.f&L)!==0||e.deps===null?$(e,T):$(e,V)}function Vt(e){if(e!==null)for(const t of e)(t.f&S)===0||(t.f&pe)===0||(t.f^=pe,Vt(t.deps))}function qt(e,t,n){(e.f&N)!==0?t.add(e):(e.f&V)!==0&&n.add(e),Vt(e.deps),$(e,T)}const ae=new Set;let m=null,Y=null,ht=null,Le=!1,dt=!1,Ae=null,Qe=null;var Ut=0;let br=1;class X{id=br++;current=new Map;previous=new Map;#e=new Set;#n=new Set;#t=new Map;#i=new Map;#s=null;#r=[];#l=new Set;#o=new Set;#a=new Map;is_fork=!1;#c=!1;#f=new Set;#h(){return this.is_fork||this.#i.size>0}#_(){for(const r of this.#f)for(const i of r.#i.keys()){for(var t=!1,n=i;n.parent!==null;){if(this.#a.has(n)){t=!0;break}n=n.parent}if(!t)return!0}return!1}skip_effect(t){this.#a.has(t)||this.#a.set(t,{d:[],m:[]})}unskip_effect(t){var n=this.#a.get(t);if(n){this.#a.delete(t);for(var r of n.d)$(r,N),this.schedule(r);for(r of n.m)$(r,V),this.schedule(r)}}#d(){if(Ut++>1e3&&(ae.delete(this),yr()),!this.#h()){for(const l of this.#l)this.#o.delete(l),$(l,N),this.schedule(l);for(const l of this.#o)$(l,V),this.schedule(l)}const t=this.#r;this.#r=[],this.apply();var n=Ae=[],r=[],i=Qe=[];for(const l of t)try{this.#u(l,n,r)}catch(f){throw Zt(l),f}if(m=null,i.length>0){var s=X.ensure();for(const l of i)s.schedule(l)}if(Ae=null,Qe=null,this.#h()||this.#_()){this.#v(r),this.#v(n);for(const[l,f]of this.#a)Xt(l,f)}else{this.#t.size===0&&ae.delete(this),this.#l.clear(),this.#o.clear();for(const l of this.#e)l(this);this.#e.clear(),Gt(r),Gt(n),this.#s?.resolve()}var o=m;if(this.#r.length>0){const l=o??=this;l.#r.push(...this.#r.filter(f=>!l.#r.includes(f)))}o!==null&&(ae.add(o),o.#d()),ae.has(this)||this.#p()}#u(t,n,r){t.f^=T;for(var i=t.first;i!==null;){var s=i.f,o=(s&(B|re))!==0,l=o&&(s&T)!==0,f=l||(s&q)!==0||this.#a.has(i);if(!f&&i.fn!==null){o?i.f^=T:(s&ke)!==0?n.push(i):je(i)&&((s&ne)!==0&&this.#o.add(i),Ce(i));var a=i.first;if(a!==null){i=a;continue}}for(;i!==null;){var u=i.next;if(u!==null){i=u;break}i=i.parent}}}#v(t){for(var n=0;n<t.length;n+=1)qt(t[n],this.#l,this.#o)}capture(t,n,r=!1){n!==A&&!this.previous.has(t)&&this.previous.set(t,n),(t.f&se)===0&&(this.current.set(t,[t.v,r]),Y?.set(t,t.v))}activate(){m=this}deactivate(){m=null,Y=null}flush(){try{dt=!0,m=this,this.#d()}finally{Ut=0,ht=null,Ae=null,Qe=null,dt=!1,m=null,Y=null,fe.clear()}}discard(){for(const t of this.#n)t(this);this.#n.clear(),ae.delete(this)}#p(){for(const a of ae){var t=a.id<this.id,n=[];for(const[u,[d,c]]of this.current){if(a.current.has(u)){var r=a.current.get(u)[0];if(t&&d!==r)a.current.set(u,[d,c]);else continue}n.push(u)}var i=[...a.current.keys()].filter(u=>!this.current.has(u));if(i.length===0)t&&a.discard();else if(n.length>0){a.activate();var s=new Set,o=new Map;for(var l of n)Jt(l,i,s,o);if(a.#r.length>0){a.apply();for(var f of a.#r)a.#u(f,[],[]);a.#r=[]}a.deactivate()}}for(const a of ae)a.#f.has(this)&&(a.#f.delete(this),a.#f.size===0&&!a.#h()&&(a.activate(),a.#d()))}increment(t,n){let r=this.#t.get(n)??0;if(this.#t.set(n,r+1),t){let i=this.#i.get(n)??0;this.#i.set(n,i+1)}}decrement(t,n,r){let i=this.#t.get(n)??0;if(i===1?this.#t.delete(n):this.#t.set(n,i-1),t){let s=this.#i.get(n)??0;s===1?this.#i.delete(n):this.#i.set(n,s-1)}this.#c||r||(this.#c=!0,Se(()=>{this.#c=!1,this.flush()}))}transfer_effects(t,n){for(const r of t)this.#l.add(r);for(const r of n)this.#o.add(r);t.clear(),n.clear()}oncommit(t){this.#e.add(t)}ondiscard(t){this.#n.add(t)}settled(){return(this.#s??=Lt()).promise}static ensure(){if(m===null){const t=m=new X;dt||(ae.add(m),Le||Se(()=>{m===t&&t.flush()}))}return m}apply(){{Y=null;return}}schedule(t){if(ht=t,t.b?.is_pending&&(t.f&(ke|Ge|Mt))!==0&&(t.f&ie)===0){t.b.defer_effect(t);return}for(var n=t;n.parent!==null;){n=n.parent;var r=n.f;if(Ae!==null&&n===p&&(v===null||(v.f&S)===0))return;if((r&(re|B))!==0){if((r&T)===0)return;n.f^=T}}this.#r.push(n)}}function Ne(e){var t=Le;Le=!0;try{for(var n;;){if(wr(),m===null)return n;m.flush()}}finally{Le=t}}function yr(){try{lr()}catch(e){oe(e,ht)}}let Z=null;function Gt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(z|q))===0&&je(r)&&(Z=new Set,Ce(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&vn(r),Z?.size>0)){fe.clear();for(const i of Z){if((i.f&(z|q))!==0)continue;const s=[i];let o=i.parent;for(;o!==null;)Z.has(o)&&(Z.delete(o),s.push(o)),o=o.parent;for(let l=s.length-1;l>=0;l--){const f=s[l];(f.f&(z|q))===0&&Ce(f)}}Z.clear()}}Z=null}}function Jt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;(s&S)!==0?Jt(i,t,n,r):(s&(ft|ne))!==0&&(s&N)===0&&Kt(i,t,r)&&($(i,N),_t(i))}}function Kt(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const i of e.deps){if(ye.call(t,i))return!0;if((i.f&S)!==0&&Kt(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function _t(e){m.schedule(e)}function Xt(e,t){if(!((e.f&B)!==0&&(e.f&T)!==0)){(e.f&N)!==0?t.d.push(e):(e.f&V)!==0&&t.m.push(e),$(e,T);for(var n=e.first;n!==null;)Xt(n,t),n=n.next}}function Zt(e){$(e,T);for(var t=e.first;t!==null;)Zt(t),t=t.next}function $r(e){let t=0,n=Me(0),r;return()=>{bt()&&(k(n),hn(()=>(t===0&&(r=Kr(()=>e(()=>Ie(n)))),t+=1,()=>{Se(()=>{t-=1,t===0&&(r?.(),r=void 0,Ie(n))})})))}}var kr=Ee|ve;function Er(e,t,n,r){new Tr(e,t,n,r)}class Tr{parent;is_pending=!1;transform_error;#e;#n=b?y:null;#t;#i;#s;#r=null;#l=null;#o=null;#a=null;#c=0;#f=0;#h=!1;#_=new Set;#d=new Set;#u=null;#v=$r(()=>(this.#u=Me(this.#c),()=>{this.#u=null}));constructor(t,n,r,i){this.#e=t,this.#t=n,this.#i=s=>{var o=p;o.b=this,o.f|=ot,r(s)},this.parent=p.b,this.transform_error=i??this.parent?.transform_error??(s=>s),this.#s=dn(()=>{if(b){const s=this.#n;Ze();const o=s.data===At;if(s.data.startsWith(Nt)){const f=JSON.parse(s.data.slice(Nt.length));this.#y(f)}else o?this.#$():this.#p()}else this.#m()},kr),b&&(this.#e=y)}#p(){try{this.#r=ee(()=>this.#i(this.#e))}catch(t){this.error(t)}}#y(t){const n=this.#t.failed;n&&(this.#o=ee(()=>{n(this.#e,()=>t,()=>()=>{})}))}#$(){const t=this.#t.pending;t&&(this.is_pending=!0,this.#l=ee(()=>t(this.#e)),Se(()=>{var n=this.#a=document.createDocumentFragment(),r=Q();n.append(r),this.#r=this.#w(()=>ee(()=>this.#i(r))),this.#f===0&&(this.#e.before(n),this.#a=null,Fe(this.#l,()=>{this.#l=null}),this.#g(m))}))}#m(){try{if(this.is_pending=this.has_pending_snippet(),this.#f=0,this.#c=0,this.#r=ee(()=>{this.#i(this.#e)}),this.#f>0){var t=this.#a=document.createDocumentFragment();wn(this.#r,t);const n=this.#t.pending;this.#l=ee(()=>n(this.#e))}else this.#g(m)}catch(n){this.error(n)}}#g(t){this.is_pending=!1,t.transfer_effects(this.#_,this.#d)}defer_effect(t){qt(t,this.#_,this.#d)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#t.pending}#w(t){var n=p,r=v,i=M;J(this.#s),P(this.#s),xe(this.#s.ctx);try{return X.ensure(),t()}catch(s){return Bt(s),null}finally{J(n),P(r),xe(i)}}#b(t,n){if(!this.has_pending_snippet()){this.parent&&this.parent.#b(t,n);return}this.#f+=t,this.#f===0&&(this.#g(n),this.#l&&Fe(this.#l,()=>{this.#l=null}),this.#a&&(this.#e.before(this.#a),this.#a=null))}update_pending_count(t,n){this.#b(t,n),this.#c+=t,!(!this.#u||this.#h)&&(this.#h=!0,Se(()=>{this.#h=!1,this.#u&&tt(this.#u,this.#c)}))}get_effect_pending(){return this.#v(),k(this.#u)}error(t){var n=this.#t.onerror;let r=this.#t.failed;if(!n&&!r)throw t;this.#r&&(R(this.#r),this.#r=null),this.#l&&(R(this.#l),this.#l=null),this.#o&&(R(this.#o),this.#o=null),b&&(H(this.#n),dr(),H(Ft()));var i=!1,s=!1;const o=()=>{if(i){hr();return}i=!0,s&&cr(),this.#o!==null&&Fe(this.#o,()=>{this.#o=null}),this.#w(()=>{this.#m()})},l=f=>{try{s=!0,n?.(f,o),s=!1}catch(a){oe(a,this.#s&&this.#s.parent)}r&&(this.#o=this.#w(()=>{try{return ee(()=>{var a=p;a.b=this,a.f|=ot,r(this.#e,()=>f,()=>o)})}catch(a){return oe(a,this.#s.parent),null}}))};Se(()=>{var f;try{f=this.transform_error(t)}catch(a){oe(a,this.#s&&this.#s.parent);return}f!==null&&typeof f=="object"&&typeof f.then=="function"?f.then(l,a=>oe(a,this.#s&&this.#s.parent)):l(f)})}}function xr(e,t,n,r){const i=en;var s=e.filter(c=>!c.settled);if(n.length===0&&s.length===0){r(t.map(i));return}var o=p,l=Sr(),f=s.length===1?s[0].promise:s.length>1?Promise.all(s.map(c=>c.promise)):null;function a(c){l();try{r(c)}catch(_){(o.f&z)===0&&oe(_,o)}et()}if(n.length===0){f.then(()=>a(t.map(i)));return}var u=Qt();function d(){Promise.all(n.map(c=>Ar(c))).then(c=>a([...t.map(i),...c])).catch(c=>oe(c,o)).finally(()=>u())}f?f.then(()=>{l(),d(),et()}):d()}function Sr(){var e=p,t=v,n=M,r=m;return function(s=!0){J(e),P(t),xe(n),s&&(e.f&z)===0&&(r?.activate(),r?.apply())}}function et(e=!0){J(null),P(null),xe(null),e&&m?.deactivate()}function Qt(){var e=p,t=e.b,n=m,r=t.is_rendered();return t.update_pending_count(1,n),n.increment(r,e),(i=!1)=>{t.update_pending_count(-1,n),n.decrement(r,e,i)}}function en(e){var t=S|N,n=v!==null&&(v.f&S)!==0?v:null;return p!==null&&(p.f|=ve),{ctx:M,deps:null,effects:null,equals:jt,f:t,fn:e,reactions:null,rv:0,v:A,wv:0,parent:n??p,ac:null}}function Ar(e,t,n){let r=p;r===null&&nr();var i=void 0,s=Me(A),o=!v,l=new Map;return Wr(()=>{var f=p,a=Lt();i=a.promise;try{Promise.resolve(e()).then(a.resolve,a.reject).finally(et)}catch(_){a.reject(_),et()}var u=m;if(o){if((f.f&ie)!==0)var d=Qt();if(r.b.is_rendered())l.get(u)?.reject(K),l.delete(u);else{for(const _ of l.values())_.reject(K);l.clear()}l.set(u,a)}const c=(_,h=void 0)=>{if(d){var g=h===K;d(g)}if(!(h===K||(f.f&z)!==0)){if(u.activate(),h)s.f|=se,tt(s,h);else{(s.f&se)!==0&&(s.f^=se),tt(s,_);for(const[E,O]of l){if(l.delete(E),E===u)break;O.reject(K)}}u.deactivate()}};a.promise.then(c,_=>c(null,_||"unknown"))}),Fr(()=>{for(const f of l.values())f.reject(K)}),new Promise(f=>{function a(u){function d(){u===i?f(s):a(i)}u.then(d,d)}a(i)})}function Nr(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)R(t[n])}}function Rr(e){for(var t=e.parent;t!==null;){if((t.f&S)===0)return(t.f&z)===0?t:null;t=t.parent}return null}function vt(e){var t,n=p;J(Rr(e));try{e.f&=~pe,Nr(e),t=En(e)}finally{J(n)}return t}function tn(e){var t=e.v,n=vt(e);if(!e.equals(n)&&(e.wv=$n(),(!m?.is_fork||e.deps===null)&&(e.v=n,m?.capture(e,t,!0),e.deps===null))){$(e,T);return}he||(Y!==null?(bt()||m?.is_fork)&&Y.set(e,n):ct(e))}function Cr(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(K),t.teardown=Kn,t.ac=null,ze(t,0),yt(t))}function nn(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&Ce(t)}let pt=new Set;const fe=new Map;let rn=!1;function Me(e,t){var n={f:0,v:e,reactions:null,equals:jt,rv:0,wv:0};return n}function U(e,t){const n=Me(e);return Ur(n),n}function Dr(e,t=!1,n=!0){const r=Me(e);return t||(r.equals=pr),r}function I(e,t,n=!1){v!==null&&(!W||(v.f&Pt)!==0)&&Yt()&&(v.f&(S|ne|ft|Pt))!==0&&(F===null||!ye.call(F,e))&&ur();let r=n?Re(t):t;return tt(e,r,Qe)}function tt(e,t,n=null){if(!e.equals(t)){var r=e.v;he?fe.set(e,t):fe.set(e,r),e.v=t;var i=X.ensure();if(i.capture(e,r),(e.f&S)!==0){const s=e;(e.f&N)!==0&&vt(s),Y===null&&ct(s)}e.wv=$n(),sn(e,N,n),p!==null&&(p.f&T)!==0&&(p.f&(B|re))===0&&(j===null?Gr([e]):j.push(e)),!i.is_fork&&pt.size>0&&!rn&&Or()}return t}function Or(){rn=!1;for(const e of pt)(e.f&T)!==0&&$(e,V),je(e)&&Ce(e);pt.clear()}function Ie(e){I(e,e.v+1)}function sn(e,t,n){var r=e.reactions;if(r!==null)for(var i=r.length,s=0;s<i;s++){var o=r[s],l=o.f,f=(l&N)===0;if(f&&$(o,t),(l&S)!==0){var a=o;Y?.delete(a),(l&pe)===0&&(l&L&&(o.f|=pe),sn(a,V,n))}else if(f){var u=o;(l&ne)!==0&&Z!==null&&Z.add(u),n!==null?n.push(u):_t(u)}}}function Re(e){if(typeof e!="object"||e===null||ut in e)return e;const t=Dt(e);if(t!==Gn&&t!==Jn)return e;var n=new Map,r=Bn(e),i=U(0),s=me,o=l=>{if(me===s)return l();var f=v,a=me;P(null),yn(s);var u=l();return P(f),yn(a),u};return r&&n.set("length",U(e.length)),new Proxy(e,{defineProperty(l,f,a){(!("value"in a)||a.configurable===!1||a.enumerable===!1||a.writable===!1)&&ar();var u=n.get(f);return u===void 0?o(()=>{var d=U(a.value);return n.set(f,d),d}):I(u,a.value,!0),!0},deleteProperty(l,f){var a=n.get(f);if(a===void 0){if(f in l){const u=o(()=>U(A));n.set(f,u),Ie(i)}}else I(a,A),Ie(i);return!0},get(l,f,a){if(f===ut)return e;var u=n.get(f),d=f in l;if(u===void 0&&(!d||$e(l,f)?.writable)&&(u=o(()=>{var _=Re(d?l[f]:A),h=U(_);return h}),n.set(f,u)),u!==void 0){var c=k(u);return c===A?void 0:c}return Reflect.get(l,f,a)},getOwnPropertyDescriptor(l,f){var a=Reflect.getOwnPropertyDescriptor(l,f);if(a&&"value"in a){var u=n.get(f);u&&(a.value=k(u))}else if(a===void 0){var d=n.get(f),c=d?.v;if(d!==void 0&&c!==A)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return a},has(l,f){if(f===ut)return!0;var a=n.get(f),u=a!==void 0&&a.v!==A||Reflect.has(l,f);if(a!==void 0||p!==null&&(!u||$e(l,f)?.writable)){a===void 0&&(a=o(()=>{var c=u?Re(l[f]):A,_=U(c);return _}),n.set(f,a));var d=k(a);if(d===A)return!1}return u},set(l,f,a,u){var d=n.get(f),c=f in l;if(r&&f==="length")for(var _=a;_<d.v;_+=1){var h=n.get(_+"");h!==void 0?I(h,A):_ in l&&(h=o(()=>U(A)),n.set(_+"",h))}if(d===void 0)(!c||$e(l,f)?.writable)&&(d=o(()=>U(void 0)),I(d,Re(a)),n.set(f,d));else{c=d.v!==A;var g=o(()=>Re(a));I(d,g)}var E=Reflect.getOwnPropertyDescriptor(l,f);if(E?.set&&E.set.call(u,a),!c){if(r&&typeof f=="string"){var O=n.get("length"),_e=Number(f);Number.isInteger(_e)&&_e>=O.v&&I(O,_e+1)}Ie(i)}return!0},ownKeys(l){k(i);var f=Reflect.ownKeys(l).filter(d=>{var c=n.get(d);return c===void 0||c.v!==A});for(var[a,u]of n)u.v!==A&&!(a in l)&&f.push(a);return f},setPrototypeOf(){fr()}})}var ln,on,an,fn;function gt(){if(ln===void 0){ln=window,on=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;an=$e(t,"firstChild").get,fn=$e(t,"nextSibling").get,Ot(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Ot(n)&&(n.__t=void 0)}}function Q(e=""){return document.createTextNode(e)}function nt(e){return an.call(e)}function ue(e){return fn.call(e)}function ce(e,t){if(!b)return nt(e);var n=nt(y);if(n===null)n=y.appendChild(Q());else if(t&&n.nodeType!==Je){var r=Q();return n?.before(r),H(r),r}return t&&mt(n),H(n),n}function rt(e,t=1,n=!1){let r=b?y:e;for(var i;t--;)i=r,r=ue(r);if(!b)return r;if(n){if(r?.nodeType!==Je){var s=Q();return r===null?i?.after(s):r.before(s),H(s),s}mt(r)}return H(r),r}function Lr(e){e.textContent=""}function Mr(){return!1}function wt(e,t,n){return document.createElementNS(Ct,e,void 0)}function mt(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===Je;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function un(e){var t=v,n=p;P(null),J(null);try{return e()}finally{P(t),J(n)}}function Ir(e){p===null&&(v===null&&sr(),ir()),he&&rr()}function Pr(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function G(e,t){var n=p;n!==null&&(n.f&q)!==0&&(e|=q);var r={ctx:M,deps:null,nodes:null,f:e|N|L,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},i=r;if((e&ke)!==0)Ae!==null?Ae.push(r):X.ensure().schedule(r);else if(t!==null){try{Ce(r)}catch(o){throw R(r),o}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&ve)===0&&(i=i.first,(e&ne)!==0&&(e&Ee)!==0&&i!==null&&(i.f|=Ee))}if(i!==null&&(i.parent=n,n!==null&&Pr(i,n),v!==null&&(v.f&S)!==0&&(e&re)===0)){var s=v;(s.effects??=[]).push(i)}return r}function bt(){return v!==null&&!W}function Fr(e){const t=G(Ge,null);return $(t,T),t.teardown=e,t}function jr(e){Ir();var t=p.f,n=!v&&(t&B)!==0&&(t&ie)===0;if(n){var r=M;(r.e??=[]).push(e)}else return cn(e)}function cn(e){return G(ke|Qn,e)}function zr(e){X.ensure();const t=G(re|ve,e);return()=>{R(t)}}function Hr(e){X.ensure();const t=G(re|ve,e);return(n={})=>new Promise(r=>{n.outro?Fe(t,()=>{R(t),r(void 0)}):(R(t),r(void 0))})}function Yr(e){return G(ke,e)}function Wr(e){return G(ft|ve,e)}function hn(e,t=0){return G(Ge|t,e)}function Pe(e,t=[],n=[],r=[]){xr(r,t,n,i=>{G(Ge,()=>e(...i.map(k)))})}function dn(e,t=0){var n=G(ne|t,e);return n}function ee(e){return G(B|ve,e)}function _n(e){var t=e.teardown;if(t!==null){const n=he,r=v;mn(!0),P(null);try{t.call(null)}finally{mn(n),P(r)}}}function yt(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&un(()=>{i.abort(K)});var r=n.next;(n.f&re)!==0?n.parent=null:R(n,t),n=r}}function Br(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&B)===0&&R(t),t=n}}function R(e,t=!0){var n=!1;(t||(e.f&Zn)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(Vr(e.nodes.start,e.nodes.end),n=!0),$(e,It),yt(e,t&&!n),ze(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(const s of r)s.stop();_n(e),e.f^=It,e.f|=z;var i=e.parent;i!==null&&i.first!==null&&vn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function Vr(e,t){for(;e!==null;){var n=e===t?null:ue(e);e.remove(),e=n}}function vn(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function Fe(e,t,n=!0){var r=[];pn(e,r,!0);var i=()=>{n&&R(e),t&&t()},s=r.length;if(s>0){var o=()=>--s||i();for(var l of r)l.out(o)}else i()}function pn(e,t,n){if((e.f&q)===0){e.f^=q;var r=e.nodes&&e.nodes.t;if(r!==null)for(const l of r)(l.is_global||n)&&t.push(l);for(var i=e.first;i!==null;){var s=i.next,o=(i.f&Ee)!==0||(i.f&B)!==0&&(e.f&ne)!==0;pn(i,t,o?n:!1),i=s}}}function qr(e){gn(e,!0)}function gn(e,t){if((e.f&q)!==0){e.f^=q,(e.f&T)===0&&($(e,N),X.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&Ee)!==0||(n.f&B)!==0;gn(n,i?t:!1),n=r}var s=e.nodes&&e.nodes.t;if(s!==null)for(const o of s)(o.is_global||t)&&o.in()}}function wn(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:ue(n);t.append(n),n=i}}let it=!1,he=!1;function mn(e){he=e}let v=null,W=!1;function P(e){v=e}let p=null;function J(e){p=e}let F=null;function Ur(e){v!==null&&(F===null?F=[e]:F.push(e))}let C=null,D=0,j=null;function Gr(e){j=e}let bn=1,we=0,me=we;function yn(e){me=e}function $n(){return++bn}function je(e){var t=e.f;if((t&N)!==0)return!0;if(t&S&&(e.f&=~pe),(t&V)!==0){for(var n=e.deps,r=n.length,i=0;i<r;i++){var s=n[i];if(je(s)&&tn(s),s.wv>e.wv)return!0}(t&L)!==0&&Y===null&&$(e,T)}return!1}function kn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(F!==null&&ye.call(F,e)))for(var i=0;i<r.length;i++){var s=r[i];(s.f&S)!==0?kn(s,t,!1):t===s&&(n?$(s,N):(s.f&T)!==0&&$(s,V),_t(s))}}function En(e){var t=C,n=D,r=j,i=v,s=F,o=M,l=W,f=me,a=e.f;C=null,D=0,j=null,v=(a&(B|re))===0?e:null,F=null,xe(e.ctx),W=!1,me=++we,e.ac!==null&&(un(()=>{e.ac.abort(K)}),e.ac=null);try{e.f|=at;var u=e.fn,d=u();e.f|=ie;var c=e.deps,_=m?.is_fork;if(C!==null){var h;if(_||ze(e,D),c!==null&&D>0)for(c.length=D+C.length,h=0;h<C.length;h++)c[D+h]=C[h];else e.deps=c=C;if(bt()&&(e.f&L)!==0)for(h=D;h<c.length;h++)(c[h].reactions??=[]).push(e)}else!_&&c!==null&&D<c.length&&(ze(e,D),c.length=D);if(Yt()&&j!==null&&!W&&c!==null&&(e.f&(S|V|N))===0)for(h=0;h<j.length;h++)kn(j[h],e);if(i!==null&&i!==e){if(we++,i.deps!==null)for(let g=0;g<n;g+=1)i.deps[g].rv=we;if(t!==null)for(const g of t)g.rv=we;j!==null&&(r===null?r=j:r.push(...j))}return(e.f&se)!==0&&(e.f^=se),d}catch(g){return Bt(g)}finally{e.f^=at,C=t,D=n,j=r,v=i,F=s,xe(o),W=l,me=f}}function Jr(e,t){let n=t.reactions;if(n!==null){var r=Vn.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}if(n===null&&(t.f&S)!==0&&(C===null||!ye.call(C,t))){var s=t;(s.f&L)!==0&&(s.f^=L,s.f&=~pe),ct(s),Cr(s),ze(s,0)}}function ze(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Jr(e,n[r])}function Ce(e){var t=e.f;if((t&z)===0){$(e,T);var n=p,r=it;p=e,it=!0;try{(t&(ne|Mt))!==0?Br(e):yt(e),_n(e);var i=En(e);e.teardown=typeof i=="function"?i:null,e.wv=bn;var s;Wn&&gr&&(e.f&N)!==0&&e.deps}finally{it=r,p=n}}}function k(e){var t=e.f,n=(t&S)!==0;if(v!==null&&!W){var r=p!==null&&(p.f&z)!==0;if(!r&&(F===null||!ye.call(F,e))){var i=v.deps;if((v.f&at)!==0)e.rv<we&&(e.rv=we,C===null&&i!==null&&i[D]===e?D++:C===null?C=[e]:C.push(e));else{(v.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[v]:ye.call(s,v)||s.push(v)}}}if(he&&fe.has(e))return fe.get(e);if(n){var o=e;if(he){var l=o.v;return((o.f&T)===0&&o.reactions!==null||xn(o))&&(l=vt(o)),fe.set(o,l),l}var f=(o.f&L)===0&&!W&&v!==null&&(it||(v.f&L)!==0),a=(o.f&ie)===0;je(o)&&(f&&(o.f|=L),tn(o)),f&&!a&&(nn(o),Tn(o))}if(Y?.has(e))return Y.get(e);if((e.f&se)!==0)throw e.v;return e.v}function Tn(e){if(e.f|=L,e.deps!==null)for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&S)!==0&&(t.f&L)===0&&(nn(t),Tn(t))}function xn(e){if(e.v===A)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(fe.has(t)||(t.f&S)!==0&&xn(t))return!0;return!1}function Kr(e){var t=W;try{return W=!0,e()}finally{W=t}}const He=Symbol("events"),Sn=new Set,$t=new Set;function An(e,t,n){(t[He]??={})[e]=n}function Xr(e){for(var t=0;t<e.length;t++)Sn.add(e[t]);for(var n of $t)n(e)}let Nn=null;function Rn(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;Nn=e;var o=0,l=Nn===e&&e[He];if(l){var f=i.indexOf(l);if(f!==-1&&(t===document||t===window)){e[He]=t;return}var a=i.indexOf(t);if(a===-1)return;f<=a&&(o=f)}if(s=i[o]||e.target,s!==t){Ue(e,"currentTarget",{configurable:!0,get(){return s||n}});var u=v,d=p;P(null),J(null);try{for(var c,_=[];s!==null;){var h=s.assignedSlot||s.parentNode||s.host||null;try{var g=s[He]?.[r];g!=null&&(!s.disabled||e.target===s)&&g.call(s,e)}catch(E){c?_.push(E):c=E}if(e.cancelBubble||h===t||h===null)break;s=h}if(c){for(let E of _)queueMicrotask(()=>{throw E});throw c}}finally{e[He]=t,delete e.currentTarget,P(u),J(d)}}}const Zr=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function Qr(e){return Zr?.createHTML(e)??e}function ei(e){var t=wt("template");return t.innerHTML=Qr(e.replaceAll("<!>","<!---->")),t.content}function Ye(e,t){var n=p;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function kt(e,t){var n=(t&Yn)!==0,r,i=!e.startsWith("<!>");return()=>{if(b)return Ye(y,null),y;r===void 0&&(r=ei(i?e:"<!>"+e),r=nt(r));var s=n||on?document.importNode(r,!0):r.cloneNode(!0);return Ye(s,s),s}}function Cn(e=""){if(!b){var t=Q(e+"");return Ye(t,t),t}var n=y;return n.nodeType!==Je?(n.before(n=Q()),H(n)):mt(n),Ye(n,n),n}function De(e,t){if(b){var n=p;((n.f&ie)===0||n.nodes.end===null)&&(n.nodes.end=y),Ze();return}e!==null&&e.before(t)}const ti=["touchstart","touchmove"];function ni(e){return ti.includes(e)}function We(e,t){var n=t==null?"":typeof t=="object"?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function Dn(e,t){return On(e,t)}function ri(e,t){gt(),t.intro=t.intro??!1;const n=t.target,r=b,i=y;try{for(var s=nt(n);s&&(s.nodeType!==Ke||s.data!==St);)s=ue(s);if(!s)throw be;Te(!0),H(s);const o=On(e,{...t,anchor:s});return Te(!1),o}catch(o){if(o instanceof Error&&o.message.split(`
|
|
2
|
+
`).some(l=>l.startsWith("https://svelte.dev/e/")))throw o;return o!==be&&console.warn("Failed to hydrate: ",o),t.recover===!1&&or(),gt(),Lr(n),Te(!1),Dn(e,t)}finally{Te(r),H(i)}}const st=new Map;function On(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:o=!0,transformError:l}){gt();var f=void 0,a=Hr(()=>{var u=n??t.appendChild(Q());Er(u,{pending:()=>{}},_=>{zt({});var h=M;if(s&&(h.c=s),i&&(r.$$events=i),b&&Ye(_,null),f=e(_,r)||{},b&&(p.nodes.end=y,y===null||y.nodeType!==Ke||y.data!==Rt))throw Xe(),be;Ht()},l);var d=new Set,c=_=>{for(var h=0;h<_.length;h++){var g=_[h];if(!d.has(g)){d.add(g);var E=ni(g);for(const Oe of[t,document]){var O=st.get(Oe);O===void 0&&(O=new Map,st.set(Oe,O));var _e=O.get(g);_e===void 0?(Oe.addEventListener(g,Rn,{passive:E}),O.set(g,1)):O.set(g,_e+1)}}}};return c(qn(Sn)),$t.add(c),()=>{for(var _ of d)for(const E of[t,document]){var h=st.get(E),g=h.get(_);--g==0?(E.removeEventListener(_,Rn),h.delete(_),h.size===0&&st.delete(E)):h.set(_,g)}$t.delete(c),u!==n&&u.parentNode?.removeChild(u)}});return Et.set(f,a),f}let Et=new WeakMap;function ii(e,t){const n=Et.get(e);return n?(Et.delete(e),n(t)):Promise.resolve()}class si{anchor;#e=new Map;#n=new Map;#t=new Map;#i=new Set;#s=!0;constructor(t,n=!0){this.anchor=t,this.#s=n}#r=t=>{if(this.#e.has(t)){var n=this.#e.get(t),r=this.#n.get(n);if(r)qr(r),this.#i.delete(n);else{var i=this.#t.get(n);i&&(this.#n.set(n,i.effect),this.#t.delete(n),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),r=i.effect)}for(const[s,o]of this.#e){if(this.#e.delete(s),s===t)break;const l=this.#t.get(o);l&&(R(l.effect),this.#t.delete(o))}for(const[s,o]of this.#n){if(s===n||this.#i.has(s))continue;const l=()=>{if(Array.from(this.#e.values()).includes(s)){var a=document.createDocumentFragment();wn(o,a),a.append(Q()),this.#t.set(s,{effect:o,fragment:a})}else R(o);this.#i.delete(s),this.#n.delete(s)};this.#s||!r?(this.#i.add(s),Fe(o,l,!1)):l()}}};#l=t=>{this.#e.delete(t);const n=Array.from(this.#e.values());for(const[r,i]of this.#t)n.includes(r)||(R(i.effect),this.#t.delete(r))};ensure(t,n){var r=m,i=Mr();if(n&&!this.#n.has(t)&&!this.#t.has(t))if(i){var s=document.createDocumentFragment(),o=Q();s.append(o),this.#t.set(t,{effect:ee(()=>n(o)),fragment:s})}else this.#n.set(t,ee(()=>n(this.anchor)));if(this.#e.set(r,t),i){for(const[l,f]of this.#n)l===t?r.unskip_effect(f):r.skip_effect(f);for(const[l,f]of this.#t)l===t?r.unskip_effect(f.effect):r.skip_effect(f.effect);r.oncommit(this.#r),r.ondiscard(this.#l)}else b&&(this.anchor=y),this.#r(r)}}function Ln(e,t,n=!1){var r;b&&(r=y,Ze());var i=new si(e),s=n?Ee:0;function o(l,f){if(b){var a=_r(r);if(l!==parseInt(a.substring(1))){var u=Ft();H(u),i.anchor=u,Te(!1),i.ensure(l,f),Te(!0);return}}i.ensure(l,f)}dn(()=>{var l=!1;t((f,a=0)=>{l=!0,o(a,f)}),l||o(-1,null)},s)}function Mn(e,t,n,r,i){b&&Ze();var s=t.$$slots?.[n],o=!1;s===!0&&(s=t[n==="default"?"children":n],o=!0),s===void 0?i!==null&&i(e):s(e,o?()=>r:r)}function li(e,t){Yr(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=wt("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function oi(e,t,n){var r=e==null?"":""+e;return r=r?r+" "+t:t,r===""?null:r}function ai(e,t,n,r,i,s){var o=e.__className;if(b||o!==n||o===void 0){var l=oi(n,r);(!b||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):e.className=l),e.__className=n}return s}const fi=Symbol("is custom element"),ui=Symbol("is html"),ci=tr?"link":"LINK";function hi(e,t,n,r){var i=di(e);b&&(i[t]=e.getAttribute(t),e.nodeName===ci)||i[t]!==(i[t]=n)&&(n==null?e.removeAttribute(t):typeof n!="string"&&_i(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function di(e){return e.__attributes??={[fi]:e.nodeName.includes("-"),[ui]:e.namespaceURI===Ct}}var In=new Map;function _i(e){var t=e.getAttribute("is")||e.nodeName,n=In.get(t);if(n)return n;In.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=Un(i);for(var o in r)r[o].set&&n.push(o);i=Dt(i)}return n}function Be(e,t,n,r){var i=r,s=!0,o=()=>(s&&(s=!1,i=r),i),l;l=e[t],l===void 0&&r!==void 0&&(l=o());var f;f=()=>{var c=e[t];return c===void 0?o():(s=!0,c)};var a=!1,u=en(()=>(a=!1,f())),d=p;return(function(c,_){if(arguments.length>0){const h=_?k(u):c;return I(u,h),a=!0,i!==void 0&&(i=h),c}return he&&a||(d.f&z)!==0?u.v:k(u)})}function vi(e){return new pi(e)}class pi{#e;#n;constructor(t){var n=new Map,r=(s,o)=>{var l=Dr(o,!1,!1);return n.set(s,l),l};const i=new Proxy({...t.props||{},$$events:{}},{get(s,o){return k(n.get(o)??r(o,Reflect.get(s,o)))},has(s,o){return o===er?!0:(k(n.get(o)??r(o,Reflect.get(s,o))),Reflect.has(s,o))},set(s,o,l){return I(n.get(o)??r(o,l),l),Reflect.set(s,o,l)}});this.#n=(t.hydrate?ri:Dn)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&Ne(),this.#e=i.$$events;for(const s of Object.keys(this.#n))s==="$set"||s==="$destroy"||s==="$on"||Ue(this,s,{get(){return this.#n[s]},set(o){this.#n[s]=o},enumerable:!0});this.#n.$set=s=>{Object.assign(i,s)},this.#n.$destroy=()=>{ii(this.#n)}}$set(t){this.#n.$set(t)}$on(t,n){this.#e[t]=this.#e[t]||[];const r=(...i)=>n.call(this,...i);return this.#e[t].push(r),()=>{this.#e[t]=this.#e[t].filter(i=>i!==r)}}$destroy(){this.#n.$destroy()}}let Pn;typeof HTMLElement=="function"&&(Pn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const r=this.$$c.$on(e,t);this.$$l_u.set(t,r)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const r=this.$$l_u.get(t);r&&(r(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(r){return i=>{const s=wt("slot");r!=="default"&&(s.name=r),De(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=gi(this);for(const r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(const r of this.attributes){const i=this.$$g_p(r.name);i in this.$$d||(this.$$d[i]=lt(i,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=vi({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=zr(()=>{hn(()=>{this.$$r=!0;for(const r of qe(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=lt(r,this.$$d[r],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,i)}this.$$r=!1})});for(const r in this.$$l)for(const i of this.$$l[r]){const s=this.$$c.$on(r,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=lt(e,n,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 qe(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function lt(e,t,n,r){const i=n[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="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 gi(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function wi(e,t,n,r,i,s){let o=class extends Pn{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return qe(t).map(l=>(t[l].attribute||l).toLowerCase())}};return qe(t).forEach(l=>{Ue(o.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(f){f=lt(l,f,t),this.$$d[l]=f;var a=this.$$c;if(a){var u=$e(a,l)?.get;u?a[l]=f:a.$set({[l]:f})}}})}),r.forEach(l=>{Ue(o.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=o,o}const Fn={en:{accept:"I Agree",decline:"I Decline",learnmore:"Learn more",basicCookieLaw:"Noi e terze parti selezionate utilizziamo cookie o tecnologie simili per finalità tecniche e, con il tuo consenso, anche per altre finalità come specificato nella cookie policy.",cookieLawTitle:"Cookie Informations"},it:{accept:"Accetto",decline:"Rifiuto",learnmore:"Approfondisci",basicCookieLaw:"Noi e terze parti selezionate utilizziamo cookie o tecnologie simili per finalità tecniche e, con il tuo consenso, anche per altre finalità come specificato nella cookie policy.",cookieLawTitle:"Informativa sui cookie"}};class de{dictionary;lang="";constructor(t){if(!t?.dictionary)throw new Error("no dictionary provided");this.dictionary=t.dictionary,this.setLang(t?.lang)}setLang(t){t||(t=de.getDefaultLang()),this.lang=t}translateWord(t,n){return de.getDictionaryWord(t,this.dictionary,n||this.lang)}translateDate(t,n,r){return de.formatDate(t,n,r||this.lang)}static getDefaultLang(){let t="en";return navigator?.languages&&navigator.languages[0]?.split("-")[0]?.toLowerCase()?.length&&(t=navigator.languages[0].split("-")[0].toLowerCase()),t}static getDictionaryWord(t,n,r){if(!t)throw new Error("no wordKey provided");if(!n)throw new Error("no dictionary provided");if(r&&n[r]?.[t])return n[r][t];let i="";const s=de.getDefaultLang();if(!r||s!==r){const o=n?.[s];o?.[t]&&(i=o[t])}return i}static formatDate(t,n,r){if(!t)throw new Error("no date provided");if(typeof t.getMonth!="function")throw new Error("wrong date format");return new Intl.DateTimeFormat(r||de.getDefaultLang(),n).format(t)}}var mi=kt('<a target="_blank" class="svelte-1a3taka"> </a>'),bi=kt('<button type="button" class="svelte-1a3taka"> </button>'),yi=kt('<div id="cookiealert" role="alert"><div id="cookielaw_container" class="svelte-1a3taka"><div id="cookielaw_content" class="svelte-1a3taka"><h3><!></h3> <!></div> <div id="cookielaw_buttons" class="svelte-1a3taka"><!> <!> <button type="button" class="svelte-1a3taka"> </button></div></div></div>');const $i={hash:"svelte-1a3taka",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");:host {font-family:"Roboto", sans-serif;}
|
|
3
3
|
/*
|
|
4
4
|
* Bootstrap Cookie Alert by Wruczek
|
|
5
5
|
* https://github.com/Wruczek/Bootstrap-Cookie-Alert
|
|
6
6
|
* Released under MIT license
|
|
7
|
-
*/#cookiealert.svelte-1a3taka {position:fixed;bottom:0;left:0;width:100%;margin:0 !important;z-index:999;opacity:0;visibility:hidden;border-radius:0;transform:translateY(100%);transition:all 500ms ease-out;color:#ecf0f1;background:#212327;}#cookiealert.show.svelte-1a3taka {opacity:1;visibility:visible;transform:translateY(0%);transition-delay:1000ms;}#cookielaw_container.svelte-1a3taka {margin:5px 10px 5px 10px;}#cookielaw_content.svelte-1a3taka {min-height:90px;line-height:30px;vertical-align:middle;}#cookielaw_buttons.svelte-1a3taka {text-align:right;line-height:30px;vertical-align:middle;padding-right:3vh;margin-bottom:10px;}#cookielaw_buttons.svelte-1a3taka button:where(.svelte-1a3taka) {margin-left:5px;font-size:1.2em;}#cookiealert.svelte-1a3taka a:where(.svelte-1a3taka) {text-decoration:underline;color:white;font-size:1.2em;}`};function
|
|
7
|
+
*/#cookiealert.svelte-1a3taka {position:fixed;bottom:0;left:0;width:100%;margin:0 !important;z-index:999;opacity:0;visibility:hidden;border-radius:0;transform:translateY(100%);transition:all 500ms ease-out;color:#ecf0f1;background:#212327;}#cookiealert.show.svelte-1a3taka {opacity:1;visibility:visible;transform:translateY(0%);transition-delay:1000ms;}#cookielaw_container.svelte-1a3taka {margin:5px 10px 5px 10px;}#cookielaw_content.svelte-1a3taka {min-height:90px;line-height:30px;vertical-align:middle;}#cookielaw_buttons.svelte-1a3taka {text-align:right;line-height:30px;vertical-align:middle;padding-right:3vh;margin-bottom:10px;}#cookielaw_buttons.svelte-1a3taka button:where(.svelte-1a3taka) {margin-left:5px;font-size:1.2em;}#cookiealert.svelte-1a3taka a:where(.svelte-1a3taka) {text-decoration:underline;color:white;font-size:1.2em;}`};function jn(e,t){zt(t,!0),li(e,$i);function n(w,x){t.$$host.dispatchEvent(new CustomEvent(w,{detail:x}))}let r=Be(t,"id",7,""),i=Be(t,"cookielawuri4more",7,""),s=Be(t,"capabilities",7,void 0),o=Be(t,"allowdecline",7,"no"),l=Be(t,"i18nlang"),f=U(!1),a=U(Re(new de({dictionary:Fn,lang:l()})));jr(()=>{if(typeof s()=="string")try{s(JSON.parse(s()))}catch{}I(f,!!localStorage.getItem(u),!0),o()!=="yes"&&o("no"),k(a)&&l()&&k(a).lang&&k(a).lang!==l()&&I(a,new de({dictionary:Fn,lang:l()}),!0)});const u="cookielaw";function d(w){console.info("accept cookie law");const x="acceptCookieLaw",te={accepted:w},Ve=w?"yes":"no";localStorage.setItem(u,Ve),I(f,!0),n(x,te)}var c={get id(){return r()},set id(w=""){r(w),Ne()},get cookielawuri4more(){return i()},set cookielawuri4more(w=""){i(w),Ne()},get capabilities(){return s()},set capabilities(w=void 0){s(w),Ne()},get allowdecline(){return o()},set allowdecline(w="no"){o(w),Ne()},get i18nlang(){return l()},set i18nlang(w){l(w),Ne()}},_=yi(),h=ce(_),g=ce(h),E=ce(g),O=ce(E);Mn(O,t,"title",{},w=>{var x=Cn();Pe(te=>We(x,te),[()=>k(a).translateWord("cookieLawTitle")]),De(w,x)}),le(E);var _e=rt(E,2);Mn(_e,t,"text",{},w=>{var x=Cn();Pe(te=>We(x,te),[()=>k(a).translateWord("basicCookieLaw")]),De(w,x)}),le(g);var Oe=rt(g,2),zn=ce(Oe);{var ki=w=>{var x=mi(),te=ce(x,!0);le(x),Pe(Ve=>{hi(x,"href",i()||"https://wikipedia.org/wiki/HTTP_cookie"),We(te,Ve)},[()=>k(a).translateWord("learnmore")]),De(w,x)};Ln(zn,w=>{i()!=="no"&&w(ki)})}var Hn=rt(zn,2);{var Ei=w=>{var x=bi(),te=ce(x,!0);le(x),Pe(Ve=>We(te,Ve),[()=>k(a).translateWord("decline")]),An("click",x,()=>d(!1)),De(w,x)};Ln(Hn,w=>{o()==="yes"&&w(Ei)})}var Tt=rt(Hn,2),Ti=ce(Tt,!0);return le(Tt),le(Oe),le(h),le(_),Pe(w=>{ai(_,1,`alert text-center ${k(f)?"":"show"}`,"svelte-1a3taka"),We(Ti,w)},[()=>k(a).translateWord("accept")]),An("click",Tt,()=>d(!0)),De(e,_),Ht(c)}Xr(["click"]),customElements.define("hb-cookie-law-banner",wi(jn,{id:{},cookielawuri4more:{},capabilities:{},allowdecline:{},i18nlang:{}},["title","text"],[],{mode:"open"})),xt.Component=jn,Object.defineProperty(xt,Symbol.toStringTag,{value:"Module"})})(this["cookie-law-banner"]=this["cookie-law-banner"]||{});
|
|
8
8
|
//# sourceMappingURL=main.iife.js.map
|