@htmlbricks/hb-footer 0.66.5 → 0.66.7

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 CHANGED
@@ -1,5 +1,6 @@
1
- (function(Ln){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const no=1,ro=2,Fn=4,oo=8,io=16,lo=1,ao=4,so=8,mo=16,po=1,vo=2,Jn="[",kn="[!",Un="[?",un="]",Ee={},W=Symbol(),qn="http://www.w3.org/1999/xhtml",go=!1;var Hn=Array.isArray,co=Array.prototype.indexOf,Ae=Array.prototype.includes,Qe=Array.from,tn=Object.keys,en=Object.defineProperty,ce=Object.getOwnPropertyDescriptor,fo=Object.getOwnPropertyDescriptors,bo=Object.prototype,ko=Array.prototype,Yn=Object.getPrototypeOf,Vn=Object.isExtensible;const uo=()=>{};function ho(t){for(var e=0;e<t.length;e++)t[e]()}function Kn(){var t,e,n=new Promise((r,o)=>{t=r,e=o});return{promise:n,resolve:t,reject:e}}const Y=2,Se=4,nn=8,Wn=1<<24,te=16,Nt=32,ee=64,hn=128,ut=512,F=1024,tt=2048,Gt=4096,ft=8192,ht=16384,ne=32768,Xn=1<<25,Ne=65536,Zn=1<<17,Qn=1<<18,re=1<<19,xo=1<<20,Pt=1<<25,fe=65536,xn=1<<21,yn=1<<22,oe=1<<23,rn=Symbol("$state"),tr=Symbol("legacy props"),yo=Symbol(""),Ut=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},wo=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml"),Ge=3,Re=8;function _o(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function $o(t,e,n){throw new Error("https://svelte.dev/e/each_key_duplicate")}function jo(t){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Eo(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Ao(t){throw new Error("https://svelte.dev/e/effect_orphan")}function So(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function No(){throw new Error("https://svelte.dev/e/hydration_failed")}function Ro(t){throw new Error("https://svelte.dev/e/props_invalid_value")}function To(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function zo(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Oo(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Co(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function on(t){console.warn("https://svelte.dev/e/hydration_mismatch")}function Bo(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let E=!1;function bt(t){E=t}let N;function X(t){if(t===null)throw on(),Ee;return N=t}function Pe(){return X(yt(N))}function k(t){if(E){if(yt(N)!==null)throw on(),Ee;N=t}}function Io(t=1){if(E){for(var e=t,n=N;e--;)n=yt(n);N=n}}function ln(t=!0){for(var e=0,n=N;;){if(n.nodeType===Re){var r=n.data;if(r===un){if(e===0)return n;e-=1}else(r===Jn||r===kn||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(e+=1)}var o=yt(n);t&&n.remove(),n=o}}function er(t){if(!t||t.nodeType!==Re)throw on(),Ee;return t.data}function nr(t){return t===this.v}function Mo(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function rr(t){return!Mo(t,this.v)}let Go=!1,xt=null;function Te(t){xt=t}function or(t,e=!1,n){xt={p:xt,i:!1,c:null,e:null,s:t,x:null,r:A,l:null}}function ir(t){var e=xt,n=e.e;if(n!==null){e.e=null;for(var r of n)Tr(r)}return t!==void 0&&(e.x=t),e.i=!0,xt=e.p,t??{}}function lr(){return!0}let be=[];function ar(){var t=be;be=[],ho(t)}function ke(t){if(be.length===0&&!De){var e=be;queueMicrotask(()=>{e===be&&ar()})}be.push(t)}function Po(){for(;be.length>0;)ar()}function sr(t){var e=A;if(e===null)return $.f|=oe,t;if((e.f&ne)===0&&(e.f&Se)===0)throw t;ie(t,e)}function ie(t,e){for(;e!==null;){if((e.f&hn)!==0){if((e.f&ne)===0)throw t;try{e.b.error(t);return}catch(n){t=n}}e=e.parent}throw t}const Do=-7169;function L(t,e){t.f=t.f&Do|e}function wn(t){(t.f&ut)!==0||t.deps===null?L(t,F):L(t,Gt)}function mr(t){if(t!==null)for(const e of t)(e.f&Y)===0||(e.f&fe)===0||(e.f^=fe,mr(e.deps))}function pr(t,e,n){(t.f&tt)!==0?e.add(t):(t.f&Gt)!==0&&n.add(t),mr(t.deps),L(t,F)}let an=!1;function Lo(t){var e=an;try{return an=!1,[t(),an]}finally{an=e}}const le=new Set;let C=null,Rt=null,_n=null,De=!1,$n=!1,ze=null,sn=null;var dr=0;let Fo=1;class qt{id=Fo++;current=new Map;previous=new Map;#t=new Set;#n=new Set;#e=new Map;#o=new Map;#i=null;#r=[];#l=new Set;#a=new Set;#s=new Map;is_fork=!1;#d=!1;#m=new Set;#v(){return this.is_fork||this.#o.size>0}#c(){for(const r of this.#m)for(const o of r.#o.keys()){for(var e=!1,n=o;n.parent!==null;){if(this.#s.has(n)){e=!0;break}n=n.parent}if(!e)return!0}return!1}skip_effect(e){this.#s.has(e)||this.#s.set(e,{d:[],m:[]})}unskip_effect(e){var n=this.#s.get(e);if(n){this.#s.delete(e);for(var r of n.d)L(r,tt),this.schedule(r);for(r of n.m)L(r,Gt),this.schedule(r)}}#g(){if(dr++>1e3&&(le.delete(this),Jo()),!this.#v()){for(const a of this.#l)this.#a.delete(a),L(a,tt),this.schedule(a);for(const a of this.#a)L(a,Gt),this.schedule(a)}const e=this.#r;this.#r=[],this.apply();var n=ze=[],r=[],o=sn=[];for(const a of e)try{this.#p(a,n,r)}catch(s){throw br(a),s}if(C=null,o.length>0){var i=qt.ensure();for(const a of o)i.schedule(a)}if(ze=null,sn=null,this.#v()||this.#c()){this.#f(r),this.#f(n);for(const[a,s]of this.#s)fr(a,s)}else{this.#e.size===0&&le.delete(this),this.#l.clear(),this.#a.clear();for(const a of this.#t)a(this);this.#t.clear(),vr(r),vr(n),this.#i?.resolve()}var l=C;if(this.#r.length>0){const a=l??=this;a.#r.push(...this.#r.filter(s=>!a.#r.includes(s)))}l!==null&&(le.add(l),l.#g()),le.has(this)||this.#b()}#p(e,n,r){e.f^=F;for(var o=e.first;o!==null;){var i=o.f,l=(i&(Nt|ee))!==0,a=l&&(i&F)!==0,s=a||(i&ft)!==0||this.#s.has(o);if(!s&&o.fn!==null){l?o.f^=F:(i&Se)!==0?n.push(o):Fe(o)&&((i&te)!==0&&this.#a.add(o),Be(o));var m=o.first;if(m!==null){o=m;continue}}for(;o!==null;){var p=o.next;if(p!==null){o=p;break}o=o.parent}}}#f(e){for(var n=0;n<e.length;n+=1)pr(e[n],this.#l,this.#a)}capture(e,n,r=!1){n!==W&&!this.previous.has(e)&&this.previous.set(e,n),(e.f&oe)===0&&(this.current.set(e,[e.v,r]),Rt?.set(e,e.v))}activate(){C=this}deactivate(){C=null,Rt=null}flush(){try{$n=!0,C=this,this.#g()}finally{dr=0,_n=null,ze=null,sn=null,$n=!1,C=null,Rt=null,ae.clear()}}discard(){for(const e of this.#n)e(this);this.#n.clear(),le.delete(this)}#b(){for(const m of le){var e=m.id<this.id,n=[];for(const[p,[g,d]]of this.current){if(m.current.has(p)){var r=m.current.get(p)[0];if(e&&g!==r)m.current.set(p,[g,d]);else continue}n.push(p)}var o=[...m.current.keys()].filter(p=>!this.current.has(p));if(o.length===0)e&&m.discard();else if(n.length>0){m.activate();var i=new Set,l=new Map;for(var a of n)gr(a,o,i,l);if(m.#r.length>0){m.apply();for(var s of m.#r)m.#p(s,[],[]);m.#r=[]}m.deactivate()}}for(const m of le)m.#m.has(this)&&(m.#m.delete(this),m.#m.size===0&&!m.#v()&&(m.activate(),m.#g()))}increment(e,n){let r=this.#e.get(n)??0;if(this.#e.set(n,r+1),e){let o=this.#o.get(n)??0;this.#o.set(n,o+1)}}decrement(e,n,r){let o=this.#e.get(n)??0;if(o===1?this.#e.delete(n):this.#e.set(n,o-1),e){let i=this.#o.get(n)??0;i===1?this.#o.delete(n):this.#o.set(n,i-1)}this.#d||r||(this.#d=!0,ke(()=>{this.#d=!1,this.flush()}))}transfer_effects(e,n){for(const r of e)this.#l.add(r);for(const r of n)this.#a.add(r);e.clear(),n.clear()}oncommit(e){this.#t.add(e)}ondiscard(e){this.#n.add(e)}settled(){return(this.#i??=Kn()).promise}static ensure(){if(C===null){const e=C=new qt;$n||(le.add(C),De||ke(()=>{C===e&&e.flush()}))}return C}apply(){{Rt=null;return}}schedule(e){if(_n=e,e.b?.is_pending&&(e.f&(Se|nn|Wn))!==0&&(e.f&ne)===0){e.b.defer_effect(e);return}for(var n=e;n.parent!==null;){n=n.parent;var r=n.f;if(ze!==null&&n===A&&($===null||($.f&Y)===0))return;if((r&(ee|Nt))!==0){if((r&F)===0)return;n.f^=F}}this.#r.push(n)}}function Dt(t){var e=De;De=!0;try{for(var n;;){if(Po(),C===null)return n;C.flush()}}finally{De=e}}function Jo(){try{So()}catch(t){ie(t,_n)}}let Ht=null;function vr(t){var e=t.length;if(e!==0){for(var n=0;n<e;){var r=t[n++];if((r.f&(ht|ft))===0&&Fe(r)&&(Ht=new Set,Be(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&Cr(r),Ht?.size>0)){ae.clear();for(const o of Ht){if((o.f&(ht|ft))!==0)continue;const i=[o];let l=o.parent;for(;l!==null;)Ht.has(l)&&(Ht.delete(l),i.push(l)),l=l.parent;for(let a=i.length-1;a>=0;a--){const s=i[a];(s.f&(ht|ft))===0&&Be(s)}}Ht.clear()}}Ht=null}}function gr(t,e,n,r){if(!n.has(t)&&(n.add(t),t.reactions!==null))for(const o of t.reactions){const i=o.f;(i&Y)!==0?gr(o,e,n,r):(i&(yn|te))!==0&&(i&tt)===0&&cr(o,e,r)&&(L(o,tt),jn(o))}}function cr(t,e,n){const r=n.get(t);if(r!==void 0)return r;if(t.deps!==null)for(const o of t.deps){if(Ae.call(e,o))return!0;if((o.f&Y)!==0&&cr(o,e,n))return n.set(o,!0),!0}return n.set(t,!1),!1}function jn(t){C.schedule(t)}function fr(t,e){if(!((t.f&Nt)!==0&&(t.f&F)!==0)){(t.f&tt)!==0?e.d.push(t):(t.f&Gt)!==0&&e.m.push(t),L(t,F);for(var n=t.first;n!==null;)fr(n,e),n=n.next}}function br(t){L(t,F);for(var e=t.first;e!==null;)br(e),e=e.next}function Uo(t){let e=0,n=ue(0),r;return()=>{Tn()&&(x(n),zr(()=>(e===0&&(r=qr(()=>t(()=>Le(n)))),e+=1,()=>{ke(()=>{e-=1,e===0&&(r?.(),r=void 0,Le(n))})})))}}var qo=Ne|re;function Ho(t,e,n,r){new Yo(t,e,n,r)}class Yo{parent;is_pending=!1;transform_error;#t;#n=E?N:null;#e;#o;#i;#r=null;#l=null;#a=null;#s=null;#d=0;#m=0;#v=!1;#c=new Set;#g=new Set;#p=null;#f=Uo(()=>(this.#p=ue(this.#d),()=>{this.#p=null}));constructor(e,n,r,o){this.#t=e,this.#e=n,this.#o=i=>{var l=A;l.b=this,l.f|=hn,r(i)},this.parent=A.b,this.transform_error=o??this.parent?.transform_error??(i=>i),this.#i=dn(()=>{if(E){const i=this.#n;Pe();const l=i.data===kn;if(i.data.startsWith(Un)){const s=JSON.parse(i.data.slice(Un.length));this.#y(s)}else l?this.#w():this.#b()}else this.#h()},qo),E&&(this.#t=N)}#b(){try{this.#r=wt(()=>this.#o(this.#t))}catch(e){this.error(e)}}#y(e){const n=this.#e.failed;n&&(this.#a=wt(()=>{n(this.#t,()=>e,()=>()=>{})}))}#w(){const e=this.#e.pending;e&&(this.is_pending=!0,this.#l=wt(()=>e(this.#t)),ke(()=>{var n=this.#s=document.createDocumentFragment(),r=nt();n.append(r),this.#r=this.#u(()=>wt(()=>this.#o(r))),this.#m===0&&(this.#t.before(n),this.#s=null,he(this.#l,()=>{this.#l=null}),this.#k(C))}))}#h(){try{if(this.is_pending=this.has_pending_snippet(),this.#m=0,this.#d=0,this.#r=wt(()=>{this.#o(this.#t)}),this.#m>0){var e=this.#s=document.createDocumentFragment();Cn(this.#r,e);const n=this.#e.pending;this.#l=wt(()=>n(this.#t))}else this.#k(C)}catch(n){this.error(n)}}#k(e){this.is_pending=!1,e.transfer_effects(this.#c,this.#g)}defer_effect(e){pr(e,this.#c,this.#g)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#e.pending}#u(e){var n=A,r=$,o=xt;_t(this.#i),mt(this.#i),Te(this.#i.ctx);try{return qt.ensure(),e()}catch(i){return sr(i),null}finally{_t(n),mt(r),Te(o)}}#x(e,n){if(!this.has_pending_snippet()){this.parent&&this.parent.#x(e,n);return}this.#m+=e,this.#m===0&&(this.#k(n),this.#l&&he(this.#l,()=>{this.#l=null}),this.#s&&(this.#t.before(this.#s),this.#s=null))}update_pending_count(e,n){this.#x(e,n),this.#d+=e,!(!this.#p||this.#v)&&(this.#v=!0,ke(()=>{this.#v=!1,this.#p&&Oe(this.#p,this.#d)}))}get_effect_pending(){return this.#f(),x(this.#p)}error(e){var n=this.#e.onerror;let r=this.#e.failed;if(!n&&!r)throw e;this.#r&&(rt(this.#r),this.#r=null),this.#l&&(rt(this.#l),this.#l=null),this.#a&&(rt(this.#a),this.#a=null),E&&(X(this.#n),Io(),X(ln()));var o=!1,i=!1;const l=()=>{if(o){Bo();return}o=!0,i&&Co(),this.#a!==null&&he(this.#a,()=>{this.#a=null}),this.#u(()=>{this.#h()})},a=s=>{try{i=!0,n?.(s,l),i=!1}catch(m){ie(m,this.#i&&this.#i.parent)}r&&(this.#a=this.#u(()=>{try{return wt(()=>{var m=A;m.b=this,m.f|=hn,r(this.#t,()=>s,()=>l)})}catch(m){return ie(m,this.#i.parent),null}}))};ke(()=>{var s;try{s=this.transform_error(e)}catch(m){ie(m,this.#i&&this.#i.parent);return}s!==null&&typeof s=="object"&&typeof s.then=="function"?s.then(a,m=>ie(m,this.#i&&this.#i.parent)):a(s)})}}function Vo(t,e,n,r){const o=En;var i=t.filter(d=>!d.settled);if(n.length===0&&i.length===0){r(e.map(o));return}var l=A,a=Ko(),s=i.length===1?i[0].promise:i.length>1?Promise.all(i.map(d=>d.promise)):null;function m(d){a();try{r(d)}catch(c){(l.f&ht)===0&&ie(c,l)}mn()}if(n.length===0){s.then(()=>m(e.map(o)));return}var p=kr();function g(){Promise.all(n.map(d=>Wo(d))).then(d=>m([...e.map(o),...d])).catch(d=>ie(d,l)).finally(()=>p())}s?s.then(()=>{a(),g(),mn()}):g()}function Ko(){var t=A,e=$,n=xt,r=C;return function(i=!0){_t(t),mt(e),Te(n),i&&(t.f&ht)===0&&(r?.activate(),r?.apply())}}function mn(t=!0){_t(null),mt(null),Te(null),t&&C?.deactivate()}function kr(){var t=A,e=t.b,n=C,r=e.is_rendered();return e.update_pending_count(1,n),n.increment(r,t),(o=!1)=>{e.update_pending_count(-1,n),n.decrement(r,t,o)}}function En(t){var e=Y|tt,n=$!==null&&($.f&Y)!==0?$:null;return A!==null&&(A.f|=re),{ctx:xt,deps:null,effects:null,equals:nr,f:e,fn:t,reactions:null,rv:0,v:W,wv:0,parent:n??A,ac:null}}function Wo(t,e,n){let r=A;r===null&&_o();var o=void 0,i=ue(W),l=!$,a=new Map;return si(()=>{var s=A,m=Kn();o=m.promise;try{Promise.resolve(t()).then(m.resolve,m.reject).finally(mn)}catch(c){m.reject(c),mn()}var p=C;if(l){if((s.f&ne)!==0)var g=kr();if(r.b.is_rendered())a.get(p)?.reject(Ut),a.delete(p);else{for(const c of a.values())c.reject(Ut);a.clear()}a.set(p,m)}const d=(c,f=void 0)=>{if(g){var y=f===Ut;g(y)}if(!(f===Ut||(s.f&ht)!==0)){if(p.activate(),f)i.f|=oe,Oe(i,f);else{(i.f&oe)!==0&&(i.f^=oe),Oe(i,c);for(const[v,j]of a){if(a.delete(v),v===p)break;j.reject(Ut)}}p.deactivate()}};m.promise.then(d,c=>d(null,c||"unknown"))}),ri(()=>{for(const s of a.values())s.reject(Ut)}),new Promise(s=>{function m(p){function g(){p===o?s(i):m(o)}p.then(g,g)}m(o)})}function ur(t){const e=En(t);return e.equals=rr,e}function Xo(t){var e=t.effects;if(e!==null){t.effects=null;for(var n=0;n<e.length;n+=1)rt(e[n])}}function Zo(t){for(var e=t.parent;e!==null;){if((e.f&Y)===0)return(e.f&ht)===0?e:null;e=e.parent}return null}function An(t){var e,n=A;_t(Zo(t));try{t.f&=~fe,Xo(t),e=Fr(t)}finally{_t(n)}return e}function hr(t){var e=t.v,n=An(t);if(!t.equals(n)&&(t.wv=Dr(),(!C?.is_fork||t.deps===null)&&(t.v=n,C?.capture(t,e,!0),t.deps===null))){L(t,F);return}me||(Rt!==null?(Tn()||C?.is_fork)&&Rt.set(t,n):wn(t))}function Qo(t){if(t.effects!==null)for(const e of t.effects)(e.teardown||e.ac)&&(e.teardown?.(),e.ac?.abort(Ut),e.teardown=uo,e.ac=null,Je(e,0),zn(e))}function xr(t){if(t.effects!==null)for(const e of t.effects)e.teardown&&Be(e)}let Sn=new Set;const ae=new Map;let yr=!1;function ue(t,e){var n={f:0,v:t,reactions:null,equals:nr,rv:0,wv:0};return n}function Yt(t,e){const n=ue(t);return di(n),n}function wr(t,e=!1,n=!0){const r=ue(t);return e||(r.equals=rr),r}function Tt(t,e,n=!1){$!==null&&(!Ot||($.f&Zn)!==0)&&lr()&&($.f&(Y|te|yn|Zn))!==0&&($t===null||!Ae.call($t,t))&&Oo();let r=n?Ce(e):e;return Oe(t,r,sn)}function Oe(t,e,n=null){if(!t.equals(e)){var r=t.v;me?ae.set(t,e):ae.set(t,r),t.v=e;var o=qt.ensure();if(o.capture(t,r),(t.f&Y)!==0){const i=t;(t.f&tt)!==0&&An(i),Rt===null&&wn(i)}t.wv=Dr(),_r(t,tt,n),A!==null&&(A.f&F)!==0&&(A.f&(Nt|ee))===0&&(jt===null?vi([t]):jt.push(t)),!o.is_fork&&Sn.size>0&&!yr&&ti()}return e}function ti(){yr=!1;for(const t of Sn)(t.f&F)!==0&&L(t,Gt),Fe(t)&&Be(t);Sn.clear()}function Le(t){Tt(t,t.v+1)}function _r(t,e,n){var r=t.reactions;if(r!==null)for(var o=r.length,i=0;i<o;i++){var l=r[i],a=l.f,s=(a&tt)===0;if(s&&L(l,e),(a&Y)!==0){var m=l;Rt?.delete(m),(a&fe)===0&&(a&ut&&(l.f|=fe),_r(m,Gt,n))}else if(s){var p=l;(a&te)!==0&&Ht!==null&&Ht.add(p),n!==null?n.push(p):jn(p)}}}function Ce(t){if(typeof t!="object"||t===null||rn in t)return t;const e=Yn(t);if(e!==bo&&e!==ko)return t;var n=new Map,r=Hn(t),o=Yt(0),i=ye,l=a=>{if(ye===i)return a();var s=$,m=ye;mt(null),Pr(i);var p=a();return mt(s),Pr(m),p};return r&&n.set("length",Yt(t.length)),new Proxy(t,{defineProperty(a,s,m){(!("value"in m)||m.configurable===!1||m.enumerable===!1||m.writable===!1)&&To();var p=n.get(s);return p===void 0?l(()=>{var g=Yt(m.value);return n.set(s,g),g}):Tt(p,m.value,!0),!0},deleteProperty(a,s){var m=n.get(s);if(m===void 0){if(s in a){const p=l(()=>Yt(W));n.set(s,p),Le(o)}}else Tt(m,W),Le(o);return!0},get(a,s,m){if(s===rn)return t;var p=n.get(s),g=s in a;if(p===void 0&&(!g||ce(a,s)?.writable)&&(p=l(()=>{var c=Ce(g?a[s]:W),f=Yt(c);return f}),n.set(s,p)),p!==void 0){var d=x(p);return d===W?void 0:d}return Reflect.get(a,s,m)},getOwnPropertyDescriptor(a,s){var m=Reflect.getOwnPropertyDescriptor(a,s);if(m&&"value"in m){var p=n.get(s);p&&(m.value=x(p))}else if(m===void 0){var g=n.get(s),d=g?.v;if(g!==void 0&&d!==W)return{enumerable:!0,configurable:!0,value:d,writable:!0}}return m},has(a,s){if(s===rn)return!0;var m=n.get(s),p=m!==void 0&&m.v!==W||Reflect.has(a,s);if(m!==void 0||A!==null&&(!p||ce(a,s)?.writable)){m===void 0&&(m=l(()=>{var d=p?Ce(a[s]):W,c=Yt(d);return c}),n.set(s,m));var g=x(m);if(g===W)return!1}return p},set(a,s,m,p){var g=n.get(s),d=s in a;if(r&&s==="length")for(var c=m;c<g.v;c+=1){var f=n.get(c+"");f!==void 0?Tt(f,W):c in a&&(f=l(()=>Yt(W)),n.set(c+"",f))}if(g===void 0)(!d||ce(a,s)?.writable)&&(g=l(()=>Yt(void 0)),Tt(g,Ce(m)),n.set(s,g));else{d=g.v!==W;var y=l(()=>Ce(m));Tt(g,y)}var v=Reflect.getOwnPropertyDescriptor(a,s);if(v?.set&&v.set.call(p,m),!d){if(r&&typeof s=="string"){var j=n.get("length"),z=Number(s);Number.isInteger(z)&&z>=j.v&&Tt(j,z+1)}Le(o)}return!0},ownKeys(a){x(o);var s=Reflect.ownKeys(a).filter(g=>{var d=n.get(g);return d===void 0||d.v!==W});for(var[m,p]of n)p.v!==W&&!(m in a)&&s.push(m);return s},setPrototypeOf(){zo()}})}var $r,jr,Er,Ar;function Nn(){if($r===void 0){$r=window,jr=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,n=Text.prototype;Er=ce(e,"firstChild").get,Ar=ce(e,"nextSibling").get,Vn(t)&&(t.__click=void 0,t.__className=void 0,t.__attributes=null,t.__style=void 0,t.__e=void 0),Vn(n)&&(n.__t=void 0)}}function nt(t=""){return document.createTextNode(t)}function se(t){return Er.call(t)}function yt(t){return Ar.call(t)}function u(t,e){if(!E)return se(t);var n=se(N);if(n===null)n=N.appendChild(nt());else if(e&&n.nodeType!==Ge){var r=nt();return n?.before(r),X(r),r}return e&&pn(n),X(n),n}function zt(t,e=!1){if(!E){var n=se(t);return n instanceof Comment&&n.data===""?yt(n):n}if(e){if(N?.nodeType!==Ge){var r=nt();return N?.before(r),X(r),r}pn(N)}return N}function I(t,e=1,n=!1){let r=E?N:t;for(var o;e--;)o=r,r=yt(r);if(!E)return r;if(n){if(r?.nodeType!==Ge){var i=nt();return r===null?o?.after(i):r.before(i),X(i),i}pn(r)}return X(r),r}function Sr(t){t.textContent=""}function Nr(){return!1}function Rn(t,e,n){return document.createElementNS(qn,t,void 0)}function pn(t){if(t.nodeValue.length<65536)return;let e=t.nextSibling;for(;e!==null&&e.nodeType===Ge;)e.remove(),t.nodeValue+=e.nodeValue,e=t.nextSibling}function Rr(t){var e=$,n=A;mt(null),_t(null);try{return t()}finally{mt(e),_t(n)}}function ei(t){A===null&&($===null&&Ao(),Eo()),me&&jo()}function ni(t,e){var n=e.last;n===null?e.last=e.first=t:(n.next=t,t.prev=n,e.last=t)}function Lt(t,e){var n=A;n!==null&&(n.f&ft)!==0&&(t|=ft);var r={ctx:xt,deps:null,nodes:null,f:t|tt|ut,first:null,fn:e,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},o=r;if((t&Se)!==0)ze!==null?ze.push(r):qt.ensure().schedule(r);else if(e!==null){try{Be(r)}catch(l){throw rt(r),l}o.deps===null&&o.teardown===null&&o.nodes===null&&o.first===o.last&&(o.f&re)===0&&(o=o.first,(t&te)!==0&&(t&Ne)!==0&&o!==null&&(o.f|=Ne))}if(o!==null&&(o.parent=n,n!==null&&ni(o,n),$!==null&&($.f&Y)!==0&&(t&ee)===0)){var i=$;(i.effects??=[]).push(o)}return r}function Tn(){return $!==null&&!Ot}function ri(t){const e=Lt(nn,null);return L(e,F),e.teardown=t,e}function oi(t){ei();var e=A.f,n=!$&&(e&Nt)!==0&&(e&ne)===0;if(n){var r=xt;(r.e??=[]).push(t)}else return Tr(t)}function Tr(t){return Lt(Se|xo,t)}function ii(t){qt.ensure();const e=Lt(ee|re,t);return()=>{rt(e)}}function li(t){qt.ensure();const e=Lt(ee|re,t);return(n={})=>new Promise(r=>{n.outro?he(e,()=>{rt(e),r(void 0)}):(rt(e),r(void 0))})}function ai(t){return Lt(Se,t)}function si(t){return Lt(yn|re,t)}function zr(t,e=0){return Lt(nn|e,t)}function P(t,e=[],n=[],r=[]){Vo(r,e,n,o=>{Lt(nn,()=>t(...o.map(x)))})}function dn(t,e=0){var n=Lt(te|e,t);return n}function wt(t){return Lt(Nt|re,t)}function Or(t){var e=t.teardown;if(e!==null){const n=me,r=$;Mr(!0),mt(null);try{e.call(null)}finally{Mr(n),mt(r)}}}function zn(t,e=!1){var n=t.first;for(t.first=t.last=null;n!==null;){const o=n.ac;o!==null&&Rr(()=>{o.abort(Ut)});var r=n.next;(n.f&ee)!==0?n.parent=null:rt(n,e),n=r}}function mi(t){for(var e=t.first;e!==null;){var n=e.next;(e.f&Nt)===0&&rt(e),e=n}}function rt(t,e=!0){var n=!1;(e||(t.f&Qn)!==0)&&t.nodes!==null&&t.nodes.end!==null&&(pi(t.nodes.start,t.nodes.end),n=!0),L(t,Xn),zn(t,e&&!n),Je(t,0);var r=t.nodes&&t.nodes.t;if(r!==null)for(const i of r)i.stop();Or(t),t.f^=Xn,t.f|=ht;var o=t.parent;o!==null&&o.first!==null&&Cr(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes=t.ac=t.b=null}function pi(t,e){for(;t!==null;){var n=t===e?null:yt(t);t.remove(),t=n}}function Cr(t){var e=t.parent,n=t.prev,r=t.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),e!==null&&(e.first===t&&(e.first=r),e.last===t&&(e.last=n))}function he(t,e,n=!0){var r=[];Br(t,r,!0);var o=()=>{n&&rt(t),e&&e()},i=r.length;if(i>0){var l=()=>--i||o();for(var a of r)a.out(l)}else o()}function Br(t,e,n){if((t.f&ft)===0){t.f^=ft;var r=t.nodes&&t.nodes.t;if(r!==null)for(const a of r)(a.is_global||n)&&e.push(a);for(var o=t.first;o!==null;){var i=o.next,l=(o.f&Ne)!==0||(o.f&Nt)!==0&&(t.f&te)!==0;Br(o,e,l?n:!1),o=i}}}function On(t){Ir(t,!0)}function Ir(t,e){if((t.f&ft)!==0){t.f^=ft,(t.f&F)===0&&(L(t,tt),qt.ensure().schedule(t));for(var n=t.first;n!==null;){var r=n.next,o=(n.f&Ne)!==0||(n.f&Nt)!==0;Ir(n,o?e:!1),n=r}var i=t.nodes&&t.nodes.t;if(i!==null)for(const l of i)(l.is_global||e)&&l.in()}}function Cn(t,e){if(t.nodes)for(var n=t.nodes.start,r=t.nodes.end;n!==null;){var o=n===r?null:yt(n);e.append(n),n=o}}let vn=!1,me=!1;function Mr(t){me=t}let $=null,Ot=!1;function mt(t){$=t}let A=null;function _t(t){A=t}let $t=null;function di(t){$!==null&&($t===null?$t=[t]:$t.push(t))}let pt=null,kt=0,jt=null;function vi(t){jt=t}let Gr=1,xe=0,ye=xe;function Pr(t){ye=t}function Dr(){return++Gr}function Fe(t){var e=t.f;if((e&tt)!==0)return!0;if(e&Y&&(t.f&=~fe),(e&Gt)!==0){for(var n=t.deps,r=n.length,o=0;o<r;o++){var i=n[o];if(Fe(i)&&hr(i),i.wv>t.wv)return!0}(e&ut)!==0&&Rt===null&&L(t,F)}return!1}function Lr(t,e,n=!0){var r=t.reactions;if(r!==null&&!($t!==null&&Ae.call($t,t)))for(var o=0;o<r.length;o++){var i=r[o];(i.f&Y)!==0?Lr(i,e,!1):e===i&&(n?L(i,tt):(i.f&F)!==0&&L(i,Gt),jn(i))}}function Fr(t){var e=pt,n=kt,r=jt,o=$,i=$t,l=xt,a=Ot,s=ye,m=t.f;pt=null,kt=0,jt=null,$=(m&(Nt|ee))===0?t:null,$t=null,Te(t.ctx),Ot=!1,ye=++xe,t.ac!==null&&(Rr(()=>{t.ac.abort(Ut)}),t.ac=null);try{t.f|=xn;var p=t.fn,g=p();t.f|=ne;var d=t.deps,c=C?.is_fork;if(pt!==null){var f;if(c||Je(t,kt),d!==null&&kt>0)for(d.length=kt+pt.length,f=0;f<pt.length;f++)d[kt+f]=pt[f];else t.deps=d=pt;if(Tn()&&(t.f&ut)!==0)for(f=kt;f<d.length;f++)(d[f].reactions??=[]).push(t)}else!c&&d!==null&&kt<d.length&&(Je(t,kt),d.length=kt);if(lr()&&jt!==null&&!Ot&&d!==null&&(t.f&(Y|Gt|tt))===0)for(f=0;f<jt.length;f++)Lr(jt[f],t);if(o!==null&&o!==t){if(xe++,o.deps!==null)for(let y=0;y<n;y+=1)o.deps[y].rv=xe;if(e!==null)for(const y of e)y.rv=xe;jt!==null&&(r===null?r=jt:r.push(...jt))}return(t.f&oe)!==0&&(t.f^=oe),g}catch(y){return sr(y)}finally{t.f^=xn,pt=e,kt=n,jt=r,$=o,$t=i,Te(l),Ot=a,ye=s}}function gi(t,e){let n=e.reactions;if(n!==null){var r=co.call(n,t);if(r!==-1){var o=n.length-1;o===0?n=e.reactions=null:(n[r]=n[o],n.pop())}}if(n===null&&(e.f&Y)!==0&&(pt===null||!Ae.call(pt,e))){var i=e;(i.f&ut)!==0&&(i.f^=ut,i.f&=~fe),wn(i),Qo(i),Je(i,0)}}function Je(t,e){var n=t.deps;if(n!==null)for(var r=e;r<n.length;r++)gi(t,n[r])}function Be(t){var e=t.f;if((e&ht)===0){L(t,F);var n=A,r=vn;A=t,vn=!0;try{(e&(te|Wn))!==0?mi(t):zn(t),Or(t);var o=Fr(t);t.teardown=typeof o=="function"?o:null,t.wv=Gr;var i;go&&Go&&(t.f&tt)!==0&&t.deps}finally{vn=r,A=n}}}function x(t){var e=t.f,n=(e&Y)!==0;if($!==null&&!Ot){var r=A!==null&&(A.f&ht)!==0;if(!r&&($t===null||!Ae.call($t,t))){var o=$.deps;if(($.f&xn)!==0)t.rv<xe&&(t.rv=xe,pt===null&&o!==null&&o[kt]===t?kt++:pt===null?pt=[t]:pt.push(t));else{($.deps??=[]).push(t);var i=t.reactions;i===null?t.reactions=[$]:Ae.call(i,$)||i.push($)}}}if(me&&ae.has(t))return ae.get(t);if(n){var l=t;if(me){var a=l.v;return((l.f&F)===0&&l.reactions!==null||Ur(l))&&(a=An(l)),ae.set(l,a),a}var s=(l.f&ut)===0&&!Ot&&$!==null&&(vn||($.f&ut)!==0),m=(l.f&ne)===0;Fe(l)&&(s&&(l.f|=ut),hr(l)),s&&!m&&(xr(l),Jr(l))}if(Rt?.has(t))return Rt.get(t);if((t.f&oe)!==0)throw t.v;return t.v}function Jr(t){if(t.f|=ut,t.deps!==null)for(const e of t.deps)(e.reactions??=[]).push(t),(e.f&Y)!==0&&(e.f&ut)===0&&(xr(e),Jr(e))}function Ur(t){if(t.v===W)return!0;if(t.deps===null)return!1;for(const e of t.deps)if(ae.has(e)||(e.f&Y)!==0&&Ur(e))return!0;return!1}function qr(t){var e=Ot;try{return Ot=!0,t()}finally{Ot=e}}const Ue=Symbol("events"),Hr=new Set,Bn=new Set;function qe(t,e,n){(e[Ue]??={})[t]=n}function ci(t){for(var e=0;e<t.length;e++)Hr.add(t[e]);for(var n of Bn)n(t)}let Yr=null;function Vr(t){var e=this,n=e.ownerDocument,r=t.type,o=t.composedPath?.()||[],i=o[0]||t.target;Yr=t;var l=0,a=Yr===t&&t[Ue];if(a){var s=o.indexOf(a);if(s!==-1&&(e===document||e===window)){t[Ue]=e;return}var m=o.indexOf(e);if(m===-1)return;s<=m&&(l=s)}if(i=o[l]||t.target,i!==e){en(t,"currentTarget",{configurable:!0,get(){return i||n}});var p=$,g=A;mt(null),_t(null);try{for(var d,c=[];i!==null;){var f=i.assignedSlot||i.parentNode||i.host||null;try{var y=i[Ue]?.[r];y!=null&&(!i.disabled||t.target===i)&&y.call(i,t)}catch(v){d?c.push(v):d=v}if(t.cancelBubble||f===e||f===null)break;i=f}if(d){for(let v of c)queueMicrotask(()=>{throw v});throw d}}finally{t[Ue]=e,delete t.currentTarget,mt(p),_t(g)}}}const fi=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:t=>t});function bi(t){return fi?.createHTML(t)??t}function ki(t){var e=Rn("template");return e.innerHTML=bi(t.replaceAll("<!>","<!---->")),e.content}function pe(t,e){var n=A;n.nodes===null&&(n.nodes={start:t,end:e,a:null,t:null})}function R(t,e){var n=(e&po)!==0,r=(e&vo)!==0,o,i=!t.startsWith("<!>");return()=>{if(E)return pe(N,null),N;o===void 0&&(o=ki(i?t:"<!>"+t),n||(o=se(o)));var l=r||jr?document.importNode(o,!0):o.cloneNode(!0);if(n){var a=se(l),s=l.lastChild;pe(a,s)}else pe(l,l);return l}}function ui(t=""){if(!E){var e=nt(t+"");return pe(e,e),e}var n=N;return n.nodeType!==Ge?(n.before(n=nt()),X(n)):pn(n),pe(n,n),n}function Ft(){if(E)return pe(N,null),N;var t=document.createDocumentFragment(),e=document.createComment(""),n=nt();return t.append(e,n),pe(e,n),t}function h(t,e){if(E){var n=A;((n.f&ne)===0||n.nodes.end===null)&&(n.nodes.end=N),Pe();return}t!==null&&t.before(e)}const hi=["touchstart","touchmove"];function xi(t){return hi.includes(t)}function Ct(t,e){var n=e==null?"":typeof e=="object"?`${e}`:e;n!==(t.__t??=t.nodeValue)&&(t.__t=n,t.nodeValue=`${n}`)}function Kr(t,e){return Wr(t,e)}function yi(t,e){Nn(),e.intro=e.intro??!1;const n=e.target,r=E,o=N;try{for(var i=se(n);i&&(i.nodeType!==Re||i.data!==Jn);)i=yt(i);if(!i)throw Ee;bt(!0),X(i);const l=Wr(t,{...e,anchor:i});return bt(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
2
- `).some(a=>a.startsWith("https://svelte.dev/e/")))throw l;return l!==Ee&&console.warn("Failed to hydrate: ",l),e.recover===!1&&No(),Nn(),Sr(n),bt(!1),Kr(t,e)}finally{bt(r),X(o)}}const gn=new Map;function Wr(t,{target:e,anchor:n,props:r={},events:o,context:i,intro:l=!0,transformError:a}){Nn();var s=void 0,m=li(()=>{var p=n??e.appendChild(nt());Ho(p,{pending:()=>{}},c=>{or({});var f=xt;if(i&&(f.c=i),o&&(r.$$events=o),E&&pe(c,null),s=t(c,r)||{},E&&(A.nodes.end=N,N===null||N.nodeType!==Re||N.data!==un))throw on(),Ee;ir()},a);var g=new Set,d=c=>{for(var f=0;f<c.length;f++){var y=c[f];if(!g.has(y)){g.add(y);var v=xi(y);for(const T of[e,document]){var j=gn.get(T);j===void 0&&(j=new Map,gn.set(T,j));var z=j.get(y);z===void 0?(T.addEventListener(y,Vr,{passive:v}),j.set(y,1)):j.set(y,z+1)}}}};return d(Qe(Hr)),Bn.add(d),()=>{for(var c of g)for(const v of[e,document]){var f=gn.get(v),y=f.get(c);--y==0?(v.removeEventListener(c,Vr),f.delete(c),f.size===0&&gn.delete(v)):f.set(c,y)}Bn.delete(d),p!==n&&p.parentNode?.removeChild(p)}});return In.set(s,m),s}let In=new WeakMap;function wi(t,e){const n=In.get(t);return n?(In.delete(t),n(e)):Promise.resolve()}class _i{anchor;#t=new Map;#n=new Map;#e=new Map;#o=new Set;#i=!0;constructor(e,n=!0){this.anchor=e,this.#i=n}#r=e=>{if(this.#t.has(e)){var n=this.#t.get(e),r=this.#n.get(n);if(r)On(r),this.#o.delete(n);else{var o=this.#e.get(n);o&&(this.#n.set(n,o.effect),this.#e.delete(n),o.fragment.lastChild.remove(),this.anchor.before(o.fragment),r=o.effect)}for(const[i,l]of this.#t){if(this.#t.delete(i),i===e)break;const a=this.#e.get(l);a&&(rt(a.effect),this.#e.delete(l))}for(const[i,l]of this.#n){if(i===n||this.#o.has(i))continue;const a=()=>{if(Array.from(this.#t.values()).includes(i)){var m=document.createDocumentFragment();Cn(l,m),m.append(nt()),this.#e.set(i,{effect:l,fragment:m})}else rt(l);this.#o.delete(i),this.#n.delete(i)};this.#i||!r?(this.#o.add(i),he(l,a,!1)):a()}}};#l=e=>{this.#t.delete(e);const n=Array.from(this.#t.values());for(const[r,o]of this.#e)n.includes(r)||(rt(o.effect),this.#e.delete(r))};ensure(e,n){var r=C,o=Nr();if(n&&!this.#n.has(e)&&!this.#e.has(e))if(o){var i=document.createDocumentFragment(),l=nt();i.append(l),this.#e.set(e,{effect:wt(()=>n(l)),fragment:i})}else this.#n.set(e,wt(()=>n(this.anchor)));if(this.#t.set(r,e),o){for(const[a,s]of this.#n)a===e?r.unskip_effect(s):r.skip_effect(s);for(const[a,s]of this.#e)a===e?r.unskip_effect(s.effect):r.skip_effect(s.effect);r.oncommit(this.#r),r.ondiscard(this.#l)}else E&&(this.anchor=N),this.#r(r)}}function M(t,e,n=!1){var r;E&&(r=N,Pe());var o=new _i(t),i=n?Ne:0;function l(a,s){if(E){var m=er(r);if(a!==parseInt(m.substring(1))){var p=ln();X(p),o.anchor=p,bt(!1),o.ensure(a,s),bt(!0);return}}o.ensure(a,s)}dn(()=>{var a=!1;e((s,m=0)=>{a=!0,l(m,s)}),a||l(-1,null)},i)}function $i(t,e,n){for(var r=[],o=e.length,i,l=e.length,a=0;a<o;a++){let g=e[a];he(g,()=>{if(i){if(i.pending.delete(g),i.done.add(g),i.pending.size===0){var d=t.outrogroups;Mn(t,Qe(i.done)),d.delete(i),d.size===0&&(t.outrogroups=null)}}else l-=1},!1)}if(l===0){var s=r.length===0&&n!==null;if(s){var m=n,p=m.parentNode;Sr(p),p.append(m),t.items.clear()}Mn(t,e,!s)}else i={pending:new Set(e),done:new Set},(t.outrogroups??=new Set).add(i)}function Mn(t,e,n=!0){var r;if(t.pending.size>0){r=new Set;for(const l of t.pending.values())for(const a of l)r.add(t.items.get(a).e)}for(var o=0;o<e.length;o++){var i=e[o];if(r?.has(i)){i.f|=Pt;const l=document.createDocumentFragment();Cn(i,l)}else rt(e[o],n)}}var Xr;function we(t,e,n,r,o,i=null){var l=t,a=new Map,s=(e&Fn)!==0;if(s){var m=t;l=E?X(se(m)):m.appendChild(nt())}E&&Pe();var p=null,g=ur(()=>{var T=n();return Hn(T)?T:T==null?[]:Qe(T)}),d,c=new Map,f=!0;function y(T){(z.effect.f&ht)===0&&(z.pending.delete(T),z.fallback=p,ji(z,d,l,e,r),p!==null&&(d.length===0?(p.f&Pt)===0?On(p):(p.f^=Pt,Ye(p,null,l)):he(p,()=>{p=null})))}function v(T){z.pending.delete(T)}var j=dn(()=>{d=x(g);var T=d.length;let b=!1;if(E){var S=er(l)===kn;S!==(T===0)&&(l=ln(),X(l),bt(!1),b=!0)}for(var B=new Set,V=C,Bt=Nr(),dt=0;dt<T;dt+=1){E&&N.nodeType===Re&&N.data===un&&(l=N,b=!0,bt(!1));var it=d[dt],vt=r(it,dt),Z=f?null:a.get(vt);Z?(Z.v&&Oe(Z.v,it),Z.i&&Oe(Z.i,dt),Bt&&V.unskip_effect(Z.e)):(Z=Ei(a,f?l:Xr??=nt(),it,vt,dt,o,e,n),f||(Z.e.f|=Pt),a.set(vt,Z)),B.add(vt)}if(T===0&&i&&!p&&(f?p=wt(()=>i(l)):(p=wt(()=>i(Xr??=nt())),p.f|=Pt)),T>B.size&&$o(),E&&T>0&&X(ln()),!f)if(c.set(V,B),Bt){for(const[Ie,Ke]of a)B.has(Ie)||V.skip_effect(Ke.e);V.oncommit(y),V.ondiscard(v)}else y(V);b&&bt(!0),x(g)}),z={effect:j,items:a,pending:c,outrogroups:null,fallback:p};f=!1,E&&(l=N)}function He(t){for(;t!==null&&(t.f&Nt)===0;)t=t.next;return t}function ji(t,e,n,r,o){var i=(r&oo)!==0,l=e.length,a=t.items,s=He(t.effect.first),m,p=null,g,d=[],c=[],f,y,v,j;if(i)for(j=0;j<l;j+=1)f=e[j],y=o(f,j),v=a.get(y).e,(v.f&Pt)===0&&(v.nodes?.a?.measure(),(g??=new Set).add(v));for(j=0;j<l;j+=1){if(f=e[j],y=o(f,j),v=a.get(y).e,t.outrogroups!==null)for(const it of t.outrogroups)it.pending.delete(v),it.done.delete(v);if((v.f&ft)!==0&&(On(v),i&&(v.nodes?.a?.unfix(),(g??=new Set).delete(v))),(v.f&Pt)!==0)if(v.f^=Pt,v===s)Ye(v,null,n);else{var z=p?p.next:s;v===t.effect.last&&(t.effect.last=v.prev),v.prev&&(v.prev.next=v.next),v.next&&(v.next.prev=v.prev),de(t,p,v),de(t,v,z),Ye(v,z,n),p=v,d=[],c=[],s=He(p.next);continue}if(v!==s){if(m!==void 0&&m.has(v)){if(d.length<c.length){var T=c[0],b;p=T.prev;var S=d[0],B=d[d.length-1];for(b=0;b<d.length;b+=1)Ye(d[b],T,n);for(b=0;b<c.length;b+=1)m.delete(c[b]);de(t,S.prev,B.next),de(t,p,S),de(t,B,T),s=T,p=B,j-=1,d=[],c=[]}else m.delete(v),Ye(v,s,n),de(t,v.prev,v.next),de(t,v,p===null?t.effect.first:p.next),de(t,p,v),p=v;continue}for(d=[],c=[];s!==null&&s!==v;)(m??=new Set).add(s),c.push(s),s=He(s.next);if(s===null)continue}(v.f&Pt)===0&&d.push(v),p=v,s=He(v.next)}if(t.outrogroups!==null){for(const it of t.outrogroups)it.pending.size===0&&(Mn(t,Qe(it.done)),t.outrogroups?.delete(it));t.outrogroups.size===0&&(t.outrogroups=null)}if(s!==null||m!==void 0){var V=[];if(m!==void 0)for(v of m)(v.f&ft)===0&&V.push(v);for(;s!==null;)(s.f&ft)===0&&s!==t.fallback&&V.push(s),s=He(s.next);var Bt=V.length;if(Bt>0){var dt=(r&Fn)!==0&&l===0?n:null;if(i){for(j=0;j<Bt;j+=1)V[j].nodes?.a?.measure();for(j=0;j<Bt;j+=1)V[j].nodes?.a?.fix()}$i(t,V,dt)}}i&&ke(()=>{if(g!==void 0)for(v of g)v.nodes?.a?.apply()})}function Ei(t,e,n,r,o,i,l,a){var s=(l&no)!==0?(l&io)===0?wr(n,!1,!1):ue(n):null,m=(l&ro)!==0?ue(o):null;return{v:s,i:m,e:wt(()=>(i(e,s??n,m??o,a),()=>{t.delete(r)}))}}function Ye(t,e,n){if(t.nodes)for(var r=t.nodes.start,o=t.nodes.end,i=e&&(e.f&Pt)===0?e.nodes.start:n;r!==null;){var l=yt(r);if(i.before(r),r===o)return;r=l}}function de(t,e,n){e===null?t.effect.first=n:e.next=n,n===null?t.effect.last=e:n.prev=e}function Ve(t,e,n,r,o){E&&Pe();var i=e.$$slots?.[n],l=!1;i===!0&&(i=e[n==="default"?"children":n],l=!0),i===void 0?o!==null&&o(t):i(t,l?()=>r:r)}function Ai(t,e){let n=null,r=E;var o;if(E){n=N;for(var i=se(document.head);i!==null&&(i.nodeType!==Re||i.data!==t);)i=yt(i);if(i===null)bt(!1);else{var l=yt(i);i.remove(),X(l)}}E||(o=document.head.appendChild(nt()));try{dn(()=>e(o),Qn|re)}finally{r&&(bt(!0),X(n))}}function Si(t,e){ai(()=>{var n=t.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+e.hash)){const o=Rn("style");o.id=e.hash,o.textContent=e.code,r.appendChild(o)}})}function Ni(t,e,n){var r=t==null?"":""+t;return e&&(r=r?r+" "+e:e),r===""?null:r}function J(t,e,n,r,o,i){var l=t.__className;if(E||l!==n||l===void 0){var a=Ni(n,r);(!E||a!==t.getAttribute("class"))&&(a==null?t.removeAttribute("class"):t.className=a),t.__className=n}return i}const Ri=Symbol("is custom element"),Ti=Symbol("is html"),zi=wo?"link":"LINK";function cn(t,e,n,r){var o=Oi(t);E&&(o[e]=t.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&t.nodeName===zi)||o[e]!==(o[e]=n)&&(e==="loading"&&(t[yo]=n),n==null?t.removeAttribute(e):typeof n!="string"&&Zr(t).includes(e)?t[e]=n:t.setAttribute(e,n))}function ot(t,e,n){var r=$,o=A;let i=E;E&&bt(!1),mt(null),_t(null);try{e!=="style"&&(Gn.has(t.getAttribute("is")||t.nodeName)||!customElements||customElements.get(t.getAttribute("is")||t.nodeName.toLowerCase())?Zr(t).includes(e):n&&typeof n=="object")?t[e]=n:cn(t,e,n==null?n:String(n))}finally{mt(r),_t(o),i&&bt(!0)}}function Oi(t){return t.__attributes??={[Ri]:t.nodeName.includes("-"),[Ti]:t.namespaceURI===qn}}var Gn=new Map;function Zr(t){var e=t.getAttribute("is")||t.nodeName,n=Gn.get(e);if(n)return n;Gn.set(e,n=[]);for(var r,o=t,i=Element.prototype;i!==o;){r=fo(o);for(var l in r)r[l].set&&n.push(l);o=Yn(o)}return n}function Vt(t,e,n,r){var o=(n&so)!==0,i=(n&mo)!==0,l=r,a=!0,s=()=>(a&&(a=!1,l=i?qr(r):r),l);let m;if(o){var p=rn in t||tr in t;m=ce(t,e)?.set??(p&&e in t?z=>t[e]=z:void 0)}var g,d=!1;o?[g,d]=Lo(()=>t[e]):g=t[e],g===void 0&&r!==void 0&&(g=s(),m&&(Ro(),m(g)));var c;if(c=()=>{var z=t[e];return z===void 0?s():(a=!0,z)},(n&ao)===0)return c;if(m){var f=t.$$legacy;return(function(z,T){return arguments.length>0?((!T||f||d)&&m(T?c():z),z):c()})}var y=!1,v=((n&lo)!==0?En:ur)(()=>(y=!1,c()));o&&x(v);var j=A;return(function(z,T){if(arguments.length>0){const b=T?x(v):o?Ce(z):z;return Tt(v,b),y=!0,l!==void 0&&(l=b),z}return me&&y||(j.f&ht)!==0?v.v:x(v)})}function Ci(t){return new Bi(t)}class Bi{#t;#n;constructor(e){var n=new Map,r=(i,l)=>{var a=wr(l,!1,!1);return n.set(i,a),a};const o=new Proxy({...e.props||{},$$events:{}},{get(i,l){return x(n.get(l)??r(l,Reflect.get(i,l)))},has(i,l){return l===tr?!0:(x(n.get(l)??r(l,Reflect.get(i,l))),Reflect.has(i,l))},set(i,l,a){return Tt(n.get(l)??r(l,a),a),Reflect.set(i,l,a)}});this.#n=(e.hydrate?yi:Kr)(e.component,{target:e.target,anchor:e.anchor,props:o,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),(!e?.props?.$$host||e.sync===!1)&&Dt(),this.#t=o.$$events;for(const i of Object.keys(this.#n))i==="$set"||i==="$destroy"||i==="$on"||en(this,i,{get(){return this.#n[i]},set(l){this.#n[i]=l},enumerable:!0});this.#n.$set=i=>{Object.assign(o,i)},this.#n.$destroy=()=>{wi(this.#n)}}$set(e){this.#n.$set(e)}$on(e,n){this.#t[e]=this.#t[e]||[];const r=(...o)=>n.call(this,...o);return this.#t[e].push(r),()=>{this.#t[e]=this.#t[e].filter(o=>o!==r)}}$destroy(){this.#n.$destroy()}}let Qr;typeof HTMLElement=="function"&&(Qr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(t,e,n){super(),this.$$ctor=t,this.$$s=e,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(t,e,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(e),this.$$c){const r=this.$$c.$on(t,e);this.$$l_u.set(e,r)}super.addEventListener(t,e,n)}removeEventListener(t,e,n){if(super.removeEventListener(t,e,n),this.$$c){const r=this.$$l_u.get(e);r&&(r(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(r){return o=>{const i=Rn("slot");r!=="default"&&(i.name=r),h(o,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},n=Ii(this);for(const r of this.$$s)r in n&&(r==="default"&&!this.$$d.children?(this.$$d.children=t(r),e.default=!0):e[r]=t(r));for(const r of this.attributes){const o=this.$$g_p(r.name);o in this.$$d||(this.$$d[o]=fn(o,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=Ci({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=ii(()=>{zr(()=>{this.$$r=!0;for(const r of tn(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const o=fn(r,this.$$d[r],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,o)}this.$$r=!1})});for(const r in this.$$l)for(const o of this.$$l[r]){const i=this.$$c.$on(r,o);this.$$l_u.set(o,i)}this.$$l={}}}attributeChangedCallback(t,e,n){this.$$r||(t=this.$$g_p(t),this.$$d[t]=fn(t,n,this.$$p_d,"toProp"),this.$$c?.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(t){return tn(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function fn(t,e,n,r){const o=n[t]?.type;if(e=o==="Boolean"&&typeof e!="boolean"?e!=null:e,!r||!n[t])return e;if(r==="toAttribute")switch(o){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e??null;default:return e}else switch(o){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function Ii(t){const e={};return t.childNodes.forEach(n=>{e[n.slot||"default"]=!0}),e}function Mi(t,e,n,r,o,i){let l=class extends Qr{constructor(){super(t,n,o),this.$$p_d=e}static get observedAttributes(){return tn(e).map(a=>(e[a].attribute||a).toLowerCase())}};return tn(e).forEach(a=>{en(l.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(s){s=fn(a,s,e),this.$$d[a]=s;var m=this.$$c;if(m){var p=ce(m,a)?.get;p?m[a]=s:m.$set({[a]:s})}}})}),r.forEach(a=>{en(l.prototype,a,{get(){return this.$$c?.[a]}})}),t.element=l,l}const Gi={version:"0.66.5"};function Pi(t){const e=t?.repoName.split("/")?.[1]||t?.repoName;if(!e)throw new Error("wrong componentPath "+t?.repoName);if(!t?.version)throw new Error("wrong version "+t?.version);const n=t?.iifePath||"main.iife.js";if(!document.getElementById(e+"-script"))try{const r=document.createElement("script");if(r.id=e+"-script",r.src=`https://cdn.jsdelivr.net/npm/${t.repoName}@${t.version}/${n}`,t?.local)r.src=`${t.local}`;else if(location.href.includes("localhost:6006")){const o=e.split("-")[0];r.src=`http://localhost:6006/webcomponents/${e.replace(o+"-","")}/${n}`}document.head.appendChild(r)}catch(r){console.warn(r)}}var Di=R('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-1tntk73"/>'),Li=R('<div class="expand_from_small_footer svelte-1tntk73"><i class="bi bi-arrow-up-square-fill svelte-1tntk73"></i></div>'),Fi=R('<span class="svelte-1tntk73"><img style="height: 100%;" alt="" class="svelte-1tntk73"/></span>'),Ji=R('<div style="max-height:40px;height:40px;margin:10px auto 5px auto" class="svelte-1tntk73"><!> </div>'),Ui=R('<div class="container-fluid svelte-1tntk73"><div class="container svelte-1tntk73" style="position:relative"><!> <div id="footer_small_content" class="svelte-1tntk73"><!></div></div></div>'),qi=R('<div class="container-fluid svelte-1tntk73"><div class="container svelte-1tntk73" style="position:relative"><div style="margin-top:10px;" class="expand_from_small_footer svelte-1tntk73"><i class="bi bi-arrow-down-square-fill svelte-1tntk73"></i></div></div></div>'),Hi=R('<span class="svelte-1tntk73"><img style="height: 40px" alt="" class="svelte-1tntk73"/></span>'),Yi=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Vi=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Ki=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Wi=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Xi=R('<div style="padding:20px 20px"><h5 style="margin-bottom:20px" class="svelte-1tntk73">Contatti</h5> <ul class="list-unstyled svelte-1tntk73"><!> <!> <!> <!></ul></div>'),Zi=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Qi=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),tl=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),el=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),nl=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),rl=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),ol=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),il=R('<div style="padding:20px 20px"><h5 style="margin-bottom:20px" class="svelte-1tntk73">Social</h5> <ul class="list-unstyled svelte-1tntk73"><!> <!> <!> <!> <!> <!> <!></ul></div>'),ll=R('<li class="svelte-1tntk73"><button part="column-cell-button-content" style="padding:0px" class="btn text-small svelte-1tntk73"> </button></li>'),al=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),sl=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),ml=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),pl=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),dl=R('<li class="svelte-1tntk73"><button part="column-cell-button-content" style="padding:0px" class="btn text-small svelte-1tntk73"> </button></li>'),vl=R('<div style="padding:20px 20px"><h5 style="margin-bottom:20px" class="svelte-1tntk73"> </h5> <ul class="list-unstyled svelte-1tntk73"></ul></div>'),gl=R('<div class="row svelte-1tntk73"><div style="padding:20px 20px"><div class="row svelte-1tntk73"><div class="col svelte-1tntk73"><!> </div></div> <div id="description" style="margin:20px auto 10px auto" class="svelte-1tntk73"> </div> <div id="company" style="margin:20px auto 10px auto" class="svelte-1tntk73"> </div> <div id="fiscal" style="margin:20px auto 10px auto" class="svelte-1tntk73"> </div></div> <!> <!> <!></div>'),cl=R('<a target="_blank" class="btn btn-link svelte-1tntk73"> </a>'),fl=R('<button class="btn btn-link svelte-1tntk73"> </button>'),bl=R('<div class="col svelte-1tntk73" style="margin:20px auto 20px auto;max-height:20px;text-align:center;font-size:0.9rem;"><!></div>'),kl=R('<div class="col svelte-1tntk73" style="max-height:20px;text-align:center;font-size:0.8rem;margin:10px auto 5px auto"> </div>'),ul=R('<!> <div class="container svelte-1tntk73"><!> <!> <div class="row svelte-1tntk73"><!></div> <div class="row svelte-1tntk73"><!></div></div>',1),hl=R('<footer class="svelte-1tntk73"><!></footer>');const xl={hash:"svelte-1tntk73",code:`@charset "UTF-8";
1
+ (function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),typeof window<`u`&&((window.__svelte??={}).v??=new Set).add(`5`);var t={},n=Symbol(),r=`http://www.w3.org/1999/xhtml`,i=Array.isArray,a=Array.prototype.indexOf,o=Array.prototype.includes,s=Array.from,c=Object.keys,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyDescriptors,f=Object.prototype,p=Array.prototype,m=Object.getPrototypeOf,h=Object.isExtensible,g=()=>{};function _(e){for(var t=0;t<e.length;t++)e[t]()}function v(){var e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}var y=1024,b=2048,x=4096,S=8192,ee=16384,te=32768,ne=1<<25,re=65536,ie=1<<18,ae=1<<19,oe=1<<20,se=1<<25,ce=65536,le=1<<21,ue=1<<22,de=1<<23,fe=Symbol(`$state`),pe=Symbol(`legacy props`),me=Symbol(``),he=new class extends Error{name=`StaleReactionError`;message="The reaction that called `getAbortSignal()` was re-run or destroyed"},ge=!!globalThis.document?.contentType&&globalThis.document.contentType.includes(`xml`);function _e(){throw Error(`https://svelte.dev/e/async_derived_orphan`)}function ve(e,t,n){throw Error(`https://svelte.dev/e/each_key_duplicate`)}function ye(e){throw Error(`https://svelte.dev/e/effect_in_teardown`)}function be(){throw Error(`https://svelte.dev/e/effect_in_unowned_derived`)}function xe(e){throw Error(`https://svelte.dev/e/effect_orphan`)}function Se(){throw Error(`https://svelte.dev/e/effect_update_depth_exceeded`)}function Ce(){throw Error(`https://svelte.dev/e/hydration_failed`)}function we(e){throw Error(`https://svelte.dev/e/props_invalid_value`)}function Te(){throw Error(`https://svelte.dev/e/state_descriptors_fixed`)}function Ee(){throw Error(`https://svelte.dev/e/state_prototype_fixed`)}function De(){throw Error(`https://svelte.dev/e/state_unsafe_mutation`)}function Oe(){throw Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`)}function ke(e){console.warn(`https://svelte.dev/e/hydration_mismatch`)}function Ae(){console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`)}var C=!1;function w(e){C=e}var T;function E(e){if(e===null)throw ke(),t;return T=e}function je(){return E(N(T))}function D(e){if(C){if(N(T)!==null)throw ke(),t;T=e}}function Me(e=1){if(C){for(var t=e,n=T;t--;)n=N(n);T=n}}function Ne(e=!0){for(var t=0,n=T;;){if(n.nodeType===8){var r=n.data;if(r===`]`){if(t===0)return n;--t}else (r===`[`||r===`[!`||r[0]===`[`&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=N(n);e&&n.remove(),n=i}}function Pe(e){if(!e||e.nodeType!==8)throw ke(),t;return e.data}function Fe(e){return e===this.v}function Ie(e,t){return e==e?e!==t||typeof e==`object`&&!!e||typeof e==`function`:t==t}function Le(e){return!Ie(e,this.v)}var Re=!1,ze=!1,O=null;function Be(e){O=e}function Ve(e,t=!1,n){O={p:O,i:!1,c:null,e:null,s:e,x:null,r:H,l:ze&&!t?{s:null,u:null,$:[]}:null}}function He(e){var t=O,n=t.e;if(n!==null){t.e=null;for(var r of n)mn(r)}return e!==void 0&&(t.x=e),t.i=!0,O=t.p,e??{}}function Ue(){return!ze||O!==null&&O.l===null}var We=[];function Ge(){var e=We;We=[],_(e)}function Ke(e){if(We.length===0&&!at){var t=We;queueMicrotask(()=>{t===We&&Ge()})}We.push(e)}function qe(){for(;We.length>0;)Ge()}function Je(e){var t=H;if(t===null)return B.f|=de,e;if(!(t.f&32768)&&!(t.f&4))throw e;Ye(e,t)}function Ye(e,t){for(;t!==null;){if(t.f&128){if(!(t.f&32768))throw e;try{t.b.error(e);return}catch(t){e=t}}t=t.parent}throw e}var Xe=~(b|x|y);function k(e,t){e.f=e.f&Xe|t}function Ze(e){e.f&512||e.deps===null?k(e,y):k(e,x)}function Qe(e){if(e!==null)for(let t of e)!(t.f&2)||!(t.f&65536)||(t.f^=ce,Qe(t.deps))}function $e(e,t,n){e.f&2048?t.add(e):e.f&4096&&n.add(e),Qe(e.deps),k(e,y)}var et=!1,tt=!1;function nt(e){var t=tt;try{return tt=!1,[e(),tt]}finally{tt=t}}var rt=new Set,A=null,j=null,it=null,at=!1,ot=!1,st=null,ct=null,lt=0,ut=1,dt=class e{id=ut++;current=new Map;previous=new Map;#e=new Set;#t=new Set;#n=new Map;#r=new Map;#i=null;#a=[];#o=new Set;#s=new Set;#c=new Map;is_fork=!1;#l=!1;#u=new Set;#d(){return this.is_fork||this.#r.size>0}#f(){for(let n of this.#u)for(let r of n.#r.keys()){for(var e=!1,t=r;t.parent!==null;){if(this.#c.has(t)){e=!0;break}t=t.parent}if(!e)return!0}return!1}skip_effect(e){this.#c.has(e)||this.#c.set(e,{d:[],m:[]})}unskip_effect(e){var t=this.#c.get(e);if(t){this.#c.delete(e);for(var n of t.d)k(n,b),this.schedule(n);for(n of t.m)k(n,x),this.schedule(n)}}#p(){if(lt++>1e3&&(rt.delete(this),pt()),!this.#d()){for(let e of this.#o)this.#s.delete(e),k(e,b),this.schedule(e);for(let e of this.#s)k(e,x),this.schedule(e)}let t=this.#a;this.#a=[],this.apply();var n=st=[],r=[],i=ct=[];for(let e of t)try{this.#m(e,n,r)}catch(t){throw bt(e),t}if(A=null,i.length>0){var a=e.ensure();for(let e of i)a.schedule(e)}if(st=null,ct=null,this.#d()||this.#f()){this.#h(r),this.#h(n);for(let[e,t]of this.#c)yt(e,t)}else{this.#n.size===0&&rt.delete(this),this.#o.clear(),this.#s.clear();for(let e of this.#e)e(this);this.#e.clear(),ht(r),ht(n),this.#i?.resolve()}var o=A;if(this.#a.length>0){let e=o??=this;e.#a.push(...this.#a.filter(t=>!e.#a.includes(t)))}o!==null&&(rt.add(o),o.#p()),rt.has(this)||this.#g()}#m(e,t,n){e.f^=y;for(var r=e.first;r!==null;){var i=r.f,a=(i&96)!=0;if(!(a&&i&1024||i&8192||this.#c.has(r))&&r.fn!==null){a?r.f^=y:i&4?t.push(r):Re&&i&16777224?n.push(r):Un(r)&&(i&16&&this.#s.add(r),Jn(r));var o=r.first;if(o!==null){r=o;continue}}for(;r!==null;){var s=r.next;if(s!==null){r=s;break}r=r.parent}}}#h(e){for(var t=0;t<e.length;t+=1)$e(e[t],this.#o,this.#s)}capture(e,t,r=!1){t!==n&&!this.previous.has(e)&&this.previous.set(e,t),e.f&8388608||(this.current.set(e,[e.v,r]),j?.set(e,e.v))}activate(){A=this}deactivate(){A=null,j=null}flush(){try{ot=!0,A=this,this.#p()}finally{lt=0,it=null,st=null,ct=null,ot=!1,A=null,j=null,zt.clear()}}discard(){for(let e of this.#t)e(this);this.#t.clear(),rt.delete(this)}#g(){for(let c of rt){var e=c.id<this.id,t=[];for(let[r,[i,a]]of this.current){if(c.current.has(r)){var n=c.current.get(r)[0];if(e&&i!==n)c.current.set(r,[i,a]);else continue}t.push(r)}var r=[...c.current.keys()].filter(e=>!this.current.has(e));if(r.length===0)e&&c.discard();else if(t.length>0){c.activate();var i=new Set,a=new Map;for(var o of t)gt(o,r,i,a);if(c.#a.length>0){c.apply();for(var s of c.#a)c.#m(s,[],[]);c.#a=[]}c.deactivate()}}for(let e of rt)e.#u.has(this)&&(e.#u.delete(this),e.#u.size===0&&!e.#d()&&(e.activate(),e.#p()))}increment(e,t){let n=this.#n.get(t)??0;if(this.#n.set(t,n+1),e){let e=this.#r.get(t)??0;this.#r.set(t,e+1)}}decrement(e,t,n){let r=this.#n.get(t)??0;if(r===1?this.#n.delete(t):this.#n.set(t,r-1),e){let e=this.#r.get(t)??0;e===1?this.#r.delete(t):this.#r.set(t,e-1)}this.#l||n||(this.#l=!0,Ke(()=>{this.#l=!1,this.flush()}))}transfer_effects(e,t){for(let t of e)this.#o.add(t);for(let e of t)this.#s.add(e);e.clear(),t.clear()}oncommit(e){this.#e.add(e)}ondiscard(e){this.#t.add(e)}settled(){return(this.#i??=v()).promise}static ensure(){if(A===null){let t=A=new e;ot||(rt.add(A),at||Ke(()=>{A===t&&t.flush()}))}return A}apply(){if(!Re||!this.is_fork&&rt.size===1){j=null;return}j=new Map;for(let[e,[t]]of this.current)j.set(e,t);for(let n of rt)if(!(n===this||n.is_fork)){var e=!1,t=!1;if(n.id<this.id)for(let[r,[,i]]of n.current)i||(e||=this.current.has(r),t||=!this.current.has(r));if(e&&t)this.#u.add(n);else for(let[e,t]of n.previous)j.has(e)||j.set(e,t)}}schedule(e){if(it=e,e.b?.is_pending&&e.f&16777228&&!(e.f&32768)){e.b.defer_effect(e);return}for(var t=e;t.parent!==null;){t=t.parent;var n=t.f;if(st!==null&&t===H&&(Re||(B===null||!(B.f&2))&&!et))return;if(n&96){if(!(n&1024))return;t.f^=y}}this.#a.push(t)}};function ft(e){var t=at;at=!0;try{var n;for(e&&(A!==null&&!A.is_fork&&A.flush(),n=e());;){if(qe(),A===null)return n;A.flush()}}finally{at=t}}function pt(){try{Se()}catch(e){Ye(e,it)}}var mt=null;function ht(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if(!(r.f&24576)&&Un(r)&&(mt=new Set,Jn(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&Tn(r),mt?.size>0)){zt.clear();for(let e of mt){if(e.f&24576)continue;let t=[e],n=e.parent;for(;n!==null;)mt.has(n)&&(mt.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){let n=t[e];n.f&24576||Jn(n)}}mt.clear()}}mt=null}}function gt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(let i of e.reactions){let e=i.f;e&2?gt(i,t,n,r):e&4194320&&!(e&2048)&&_t(i,t,r)&&(k(i,b),vt(i))}}function _t(e,t,n){let r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(let r of e.deps){if(o.call(t,r))return!0;if(r.f&2&&_t(r,t,n))return n.set(r,!0),!0}return n.set(e,!1),!1}function vt(e){A.schedule(e)}function yt(e,t){if(!(e.f&32&&e.f&1024)){e.f&2048?t.d.push(e):e.f&4096&&t.m.push(e),k(e,y);for(var n=e.first;n!==null;)yt(n,t),n=n.next}}function bt(e){k(e,y);for(var t=e.first;t!==null;)bt(t),t=t.next}function xt(e){let t=0,n=Vt(0),r;return()=>{dn()&&(J(n),yn(()=>(t===0&&(r=Zn(()=>e(()=>qt(n)))),t+=1,()=>{Ke(()=>{--t,t===0&&(r?.(),r=void 0,qt(n))})})))}}var St=re|ae;function Ct(e,t,n,r){new wt(e,t,n,r)}var wt=class{parent;is_pending=!1;transform_error;#e;#t=C?T:null;#n;#r;#i;#a=null;#o=null;#s=null;#c=null;#l=0;#u=0;#d=!1;#f=new Set;#p=new Set;#m=null;#h=xt(()=>(this.#m=Vt(this.#l),()=>{this.#m=null}));constructor(e,t,n,r){this.#e=e,this.#n=t,this.#r=e=>{var t=H;t.b=this,t.f|=128,n(e)},this.parent=H.b,this.transform_error=r??this.parent?.transform_error??(e=>e),this.#i=bn(()=>{if(C){let e=this.#t;je();let t=e.data===`[!`;if(e.data.startsWith(`[?`)){let t=JSON.parse(e.data.slice(2));this.#_(t)}else t?this.#v():this.#g()}else this.#y()},St),C&&(this.#e=T)}#g(){try{this.#a=R(()=>this.#r(this.#e))}catch(e){this.error(e)}}#_(e){let t=this.#n.failed;t&&(this.#s=R(()=>{t(this.#e,()=>e,()=>()=>{})}))}#v(){let e=this.#n.pending;e&&(this.is_pending=!0,this.#o=R(()=>e(this.#e)),Ke(()=>{var e=this.#c=document.createDocumentFragment(),t=M();e.append(t),this.#a=this.#x(()=>R(()=>this.#r(t))),this.#u===0&&(this.#e.before(e),this.#c=null,En(this.#o,()=>{this.#o=null}),this.#b(A))}))}#y(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#l=0,this.#a=R(()=>{this.#r(this.#e)}),this.#u>0){var e=this.#c=document.createDocumentFragment();An(this.#a,e);let t=this.#n.pending;this.#o=R(()=>t(this.#e))}else this.#b(A)}catch(e){this.error(e)}}#b(e){this.is_pending=!1,e.transfer_effects(this.#f,this.#p)}defer_effect(e){$e(e,this.#f,this.#p)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#n.pending}#x(e){var t=H,n=B,r=O;U(this.#i),V(this.#i),Be(this.#i.ctx);try{return dt.ensure(),e()}catch(e){return Je(e),null}finally{U(t),V(n),Be(r)}}#S(e,t){if(!this.has_pending_snippet()){this.parent&&this.parent.#S(e,t);return}this.#u+=e,this.#u===0&&(this.#b(t),this.#o&&En(this.#o,()=>{this.#o=null}),this.#c&&=(this.#e.before(this.#c),null))}update_pending_count(e,t){this.#S(e,t),this.#l+=e,!(!this.#m||this.#d)&&(this.#d=!0,Ke(()=>{this.#d=!1,this.#m&&Gt(this.#m,this.#l)}))}get_effect_pending(){return this.#h(),J(this.#m)}error(e){var t=this.#n.onerror;let n=this.#n.failed;if(!t&&!n)throw e;this.#a&&=(z(this.#a),null),this.#o&&=(z(this.#o),null),this.#s&&=(z(this.#s),null),C&&(E(this.#t),Me(),E(Ne()));var r=!1,i=!1;let a=()=>{if(r){Ae();return}r=!0,i&&Oe(),this.#s!==null&&En(this.#s,()=>{this.#s=null}),this.#x(()=>{this.#y()})},o=e=>{try{i=!0,t?.(e,a),i=!1}catch(e){Ye(e,this.#i&&this.#i.parent)}n&&(this.#s=this.#x(()=>{try{return R(()=>{var t=H;t.b=this,t.f|=128,n(this.#e,()=>e,()=>a)})}catch(e){return Ye(e,this.#i.parent),null}}))};Ke(()=>{var t;try{t=this.transform_error(e)}catch(e){Ye(e,this.#i&&this.#i.parent);return}typeof t==`object`&&t&&typeof t.then==`function`?t.then(o,e=>Ye(e,this.#i&&this.#i.parent)):o(t)})}};function Tt(e,t,n,r){let i=Ue()?kt:jt;var a=e.filter(e=>!e.settled);if(n.length===0&&a.length===0){r(t.map(i));return}var o=H,s=Et(),c=a.length===1?a[0].promise:a.length>1?Promise.all(a.map(e=>e.promise)):null;function l(e){s();try{r(e)}catch(e){o.f&16384||Ye(e,o)}Dt()}if(n.length===0){c.then(()=>l(t.map(i)));return}var u=Ot();function d(){Promise.all(n.map(e=>At(e))).then(e=>l([...t.map(i),...e])).catch(e=>Ye(e,o)).finally(()=>u())}c?c.then(()=>{s(),d(),Dt()}):d()}function Et(){var e=H,t=B,n=O,r=A;return function(i=!0){U(e),V(t),Be(n),i&&!(e.f&16384)&&(r?.activate(),r?.apply())}}function Dt(e=!0){U(null),V(null),Be(null),e&&A?.deactivate()}function Ot(){var e=H,t=e.b,n=A,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 kt(e){var t=2|b,r=B!==null&&B.f&2?B:null;return H!==null&&(H.f|=ae),{ctx:O,deps:null,effects:null,equals:Fe,f:t,fn:e,reactions:null,rv:0,v:n,wv:0,parent:r??H,ac:null}}function At(e,t,r){let i=H;i===null&&_e();var a=void 0,o=Vt(n),s=!B,c=new Map;return vn(()=>{var t=H,n=v();a=n.promise;try{Promise.resolve(e()).then(n.resolve,n.reject).finally(Dt)}catch(e){n.reject(e),Dt()}var r=A;if(s){if(t.f&32768)var l=Ot();if(i.b.is_rendered())c.get(r)?.reject(he),c.delete(r);else{for(let e of c.values())e.reject(he);c.clear()}c.set(r,n)}let u=(e,n=void 0)=>{if(l&&l(n===he),!(n===he||t.f&16384)){if(r.activate(),n)o.f|=de,Gt(o,n);else{o.f&8388608&&(o.f^=de),Gt(o,e);for(let[e,t]of c){if(c.delete(e),e===r)break;t.reject(he)}}r.deactivate()}};n.promise.then(u,e=>u(null,e||`unknown`))}),fn(()=>{for(let e of c.values())e.reject(he)}),new Promise(e=>{function t(n){function r(){n===a?e(o):t(a)}n.then(r,r)}t(a)})}function jt(e){let t=kt(e);return t.equals=Le,t}function Mt(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)z(t[n])}}function Nt(e){for(var t=e.parent;t!==null;){if(!(t.f&2))return t.f&16384?null:t;t=t.parent}return null}function Pt(e){var t,n=H;U(Nt(e));try{e.f&=~ce,Mt(e),t=Gn(e)}finally{U(n)}return t}function Ft(e){var t=e.v,n=Pt(e);if(!e.equals(n)&&(e.wv=Hn(),(!A?.is_fork||e.deps===null)&&(e.v=n,A?.capture(e,t,!0),e.deps===null))){k(e,y);return}Nn||(j===null?Ze(e):(dn()||A?.is_fork)&&j.set(e,n))}function It(e){if(e.effects!==null)for(let t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(he),t.teardown=g,t.ac=null,qn(t,0),Sn(t))}function Lt(e){if(e.effects!==null)for(let t of e.effects)t.teardown&&Jn(t)}var Rt=new Set,zt=new Map,Bt=!1;function Vt(e,t){return{f:0,v:e,reactions:null,equals:Fe,rv:0,wv:0}}function Ht(e,t){let n=Vt(e,t);return In(n),n}function Ut(e,t=!1,n=!0){let r=Vt(e);return t||(r.equals=Le),ze&&n&&O!==null&&O.l!==null&&(O.l.s??=[]).push(r),r}function Wt(e,t,n=!1){return B!==null&&(!Fn||B.f&131072)&&Ue()&&B.f&4325394&&(W===null||!o.call(W,e))&&De(),Gt(e,n?Yt(t):t,ct)}function Gt(e,t,n=null){if(!e.equals(t)){var r=e.v;Nn?zt.set(e,t):zt.set(e,r),e.v=t;var i=dt.ensure();if(i.capture(e,r),e.f&2){let t=e;e.f&2048&&Pt(t),j===null&&Ze(t)}e.wv=Hn(),Jt(e,b,n),Ue()&&H!==null&&H.f&1024&&!(H.f&96)&&(q===null?Ln([e]):q.push(e)),!i.is_fork&&Rt.size>0&&!Bt&&Kt()}return t}function Kt(){Bt=!1;for(let e of Rt)e.f&1024&&k(e,x),Un(e)&&Jn(e);Rt.clear()}function qt(e){Wt(e,e.v+1)}function Jt(e,t,n){var r=e.reactions;if(r!==null)for(var i=Ue(),a=r.length,o=0;o<a;o++){var s=r[o],c=s.f;if(!(!i&&s===H)){var l=(c&b)===0;if(l&&k(s,t),c&2){var u=s;j?.delete(u),c&65536||(c&512&&(s.f|=ce),Jt(u,x,n))}else if(l){var d=s;c&16&&mt!==null&&mt.add(d),n===null?vt(d):n.push(d)}}}}function Yt(e){if(typeof e!=`object`||!e||fe in e)return e;let t=m(e);if(t!==f&&t!==p)return e;var r=new Map,a=i(e),o=Ht(0),s=null,c=Bn,l=e=>{if(Bn===c)return e();var t=B,n=Bn;V(null),Vn(c);var r=e();return V(t),Vn(n),r};return a&&r.set(`length`,Ht(e.length,s)),new Proxy(e,{defineProperty(e,t,n){(!(`value`in n)||n.configurable===!1||n.enumerable===!1||n.writable===!1)&&Te();var i=r.get(t);return i===void 0?l(()=>{var e=Ht(n.value,s);return r.set(t,e),e}):Wt(i,n.value,!0),!0},deleteProperty(e,t){var i=r.get(t);if(i===void 0){if(t in e){let e=l(()=>Ht(n,s));r.set(t,e),qt(o)}}else Wt(i,n),qt(o);return!0},get(t,i,a){if(i===fe)return e;var o=r.get(i),c=i in t;if(o===void 0&&(!c||u(t,i)?.writable)&&(o=l(()=>Ht(Yt(c?t[i]:n),s)),r.set(i,o)),o!==void 0){var d=J(o);return d===n?void 0:d}return Reflect.get(t,i,a)},getOwnPropertyDescriptor(e,t){var i=Reflect.getOwnPropertyDescriptor(e,t);if(i&&`value`in i){var a=r.get(t);a&&(i.value=J(a))}else if(i===void 0){var o=r.get(t),s=o?.v;if(o!==void 0&&s!==n)return{enumerable:!0,configurable:!0,value:s,writable:!0}}return i},has(e,t){if(t===fe)return!0;var i=r.get(t),a=i!==void 0&&i.v!==n||Reflect.has(e,t);return(i!==void 0||H!==null&&(!a||u(e,t)?.writable))&&(i===void 0&&(i=l(()=>Ht(a?Yt(e[t]):n,s)),r.set(t,i)),J(i)===n)?!1:a},set(e,t,i,c){var d=r.get(t),f=t in e;if(a&&t===`length`)for(var p=i;p<d.v;p+=1){var m=r.get(p+``);m===void 0?p in e&&(m=l(()=>Ht(n,s)),r.set(p+``,m)):Wt(m,n)}if(d===void 0)(!f||u(e,t)?.writable)&&(d=l(()=>Ht(void 0,s)),Wt(d,Yt(i)),r.set(t,d));else{f=d.v!==n;var h=l(()=>Yt(i));Wt(d,h)}var g=Reflect.getOwnPropertyDescriptor(e,t);if(g?.set&&g.set.call(c,i),!f){if(a&&typeof t==`string`){var _=r.get(`length`),v=Number(t);Number.isInteger(v)&&v>=_.v&&Wt(_,v+1)}qt(o)}return!0},ownKeys(e){J(o);var t=Reflect.ownKeys(e).filter(e=>{var t=r.get(e);return t===void 0||t.v!==n});for(var[i,a]of r)a.v!==n&&!(i in e)&&t.push(i);return t},setPrototypeOf(){Ee()}})}var Xt,Zt,Qt,$t;function en(){if(Xt===void 0){Xt=window,Zt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Qt=u(t,`firstChild`).get,$t=u(t,`nextSibling`).get,h(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),h(n)&&(n.__t=void 0)}}function M(e=``){return document.createTextNode(e)}function tn(e){return Qt.call(e)}function N(e){return $t.call(e)}function P(e,t){if(!C)return tn(e);var n=tn(T);if(n===null)n=T.appendChild(M());else if(t&&n.nodeType!==3){var r=M();return n?.before(r),E(r),r}return t&&on(n),E(n),n}function F(e,t=!1){if(!C){var n=tn(e);return n instanceof Comment&&n.data===``?N(n):n}if(t){if(T?.nodeType!==3){var r=M();return T?.before(r),E(r),r}on(T)}return T}function I(e,t=1,n=!1){let r=C?T:e;for(var i;t--;)i=r,r=N(r);if(!C)return r;if(n){if(r?.nodeType!==3){var a=M();return r===null?i?.after(a):r.before(a),E(a),a}on(r)}return E(r),r}function nn(e){e.textContent=``}function rn(){return!Re||mt!==null?!1:(H.f&te)!==0}function an(e,t,n){let r=n?{is:n}:void 0;return document.createElementNS(t??`http://www.w3.org/1999/xhtml`,e,r)}function on(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===3;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function sn(e){var t=B,n=H;V(null),U(null);try{return e()}finally{V(t),U(n)}}function cn(e){H===null&&(B===null&&xe(e),be()),Nn&&ye(e)}function ln(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function un(e,t){var n=H;n!==null&&n.f&8192&&(e|=S);var r={ctx:O,deps:null,nodes:null,f:e|b|512,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&4)st===null?dt.ensure().schedule(r):st.push(r);else if(t!==null){try{Jn(r)}catch(e){throw z(r),e}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&!(i.f&524288)&&(i=i.first,e&16&&e&65536&&i!==null&&(i.f|=re))}if(i!==null&&(i.parent=n,n!==null&&ln(i,n),B!==null&&B.f&2&&!(e&64))){var a=B;(a.effects??=[]).push(i)}return r}function dn(){return B!==null&&!Fn}function fn(e){let t=un(8,null);return k(t,y),t.teardown=e,t}function pn(e){cn(`$effect`);var t=H.f;if(!B&&t&32&&!(t&32768)){var n=O;(n.e??=[]).push(e)}else return mn(e)}function mn(e){return un(4|oe,e)}function hn(e){dt.ensure();let t=un(64|ae,e);return()=>{z(t)}}function gn(e){dt.ensure();let t=un(64|ae,e);return(e={})=>new Promise(n=>{e.outro?En(t,()=>{z(t),n(void 0)}):(z(t),n(void 0))})}function _n(e){return un(4,e)}function vn(e){return un(ue|ae,e)}function yn(e,t=0){return un(8|t,e)}function L(e,t=[],n=[],r=[]){Tt(r,t,n,t=>{un(8,()=>e(...t.map(J)))})}function bn(e,t=0){return un(16|t,e)}function R(e){return un(32|ae,e)}function xn(e){var t=e.teardown;if(t!==null){let e=Nn,n=B;Pn(!0),V(null);try{t.call(null)}finally{Pn(e),V(n)}}}function Sn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){let e=n.ac;e!==null&&sn(()=>{e.abort(he)});var r=n.next;n.f&64?n.parent=null:z(n,t),n=r}}function Cn(e){for(var t=e.first;t!==null;){var n=t.next;t.f&32||z(t),t=n}}function z(e,t=!0){var n=!1;(t||e.f&262144)&&e.nodes!==null&&e.nodes.end!==null&&(wn(e.nodes.start,e.nodes.end),n=!0),k(e,ne),Sn(e,t&&!n),qn(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)e.stop();xn(e),e.f^=ne,e.f|=ee;var i=e.parent;i!==null&&i.first!==null&&Tn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function wn(e,t){for(;e!==null;){var n=e===t?null:N(e);e.remove(),e=n}}function Tn(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 En(e,t,n=!0){var r=[];Dn(e,r,!0);var i=()=>{n&&z(e),t&&t()},a=r.length;if(a>0){var o=()=>--a||i();for(var s of r)s.out(o)}else i()}function Dn(e,t,n){if(!(e.f&8192)){e.f^=S;var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)(e.is_global||n)&&t.push(e);for(var i=e.first;i!==null;){var a=i.next,o=(i.f&65536)!=0||(i.f&32)!=0&&(e.f&16)!=0;Dn(i,t,o?n:!1),i=a}}}function On(e){kn(e,!0)}function kn(e,t){if(e.f&8192){e.f^=S,e.f&1024||(k(e,b),dt.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&65536)!=0||(n.f&32)!=0;kn(n,i?t:!1),n=r}var a=e.nodes&&e.nodes.t;if(a!==null)for(let e of a)(e.is_global||t)&&e.in()}}function An(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:N(n);t.append(n),n=i}}var jn=null,Mn=!1,Nn=!1;function Pn(e){Nn=e}var B=null,Fn=!1;function V(e){B=e}var H=null;function U(e){H=e}var W=null;function In(e){B!==null&&(!Re||B.f&2)&&(W===null?W=[e]:W.push(e))}var G=null,K=0,q=null;function Ln(e){q=e}var Rn=1,zn=0,Bn=zn;function Vn(e){Bn=e}function Hn(){return++Rn}function Un(e){var t=e.f;if(t&2048)return!0;if(t&2&&(e.f&=~ce),t&4096){for(var n=e.deps,r=n.length,i=0;i<r;i++){var a=n[i];if(Un(a)&&Ft(a),a.wv>e.wv)return!0}t&512&&j===null&&k(e,y)}return!1}function Wn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(!Re&&W!==null&&o.call(W,e)))for(var i=0;i<r.length;i++){var a=r[i];a.f&2?Wn(a,t,!1):t===a&&(n?k(a,b):a.f&1024&&k(a,x),vt(a))}}function Gn(e){var t=G,n=K,r=q,i=B,a=W,o=O,s=Fn,c=Bn,l=e.f;G=null,K=0,q=null,B=l&96?null:e,W=null,Be(e.ctx),Fn=!1,Bn=++zn,e.ac!==null&&(sn(()=>{e.ac.abort(he)}),e.ac=null);try{e.f|=le;var u=e.fn,d=u();e.f|=te;var f=e.deps,p=A?.is_fork;if(G!==null){var m;if(p||qn(e,K),f!==null&&K>0)for(f.length=K+G.length,m=0;m<G.length;m++)f[K+m]=G[m];else e.deps=f=G;if(dn()&&e.f&512)for(m=K;m<f.length;m++)(f[m].reactions??=[]).push(e)}else !p&&f!==null&&K<f.length&&(qn(e,K),f.length=K);if(Ue()&&q!==null&&!Fn&&f!==null&&!(e.f&6146))for(m=0;m<q.length;m++)Wn(q[m],e);if(i!==null&&i!==e){if(zn++,i.deps!==null)for(let e=0;e<n;e+=1)i.deps[e].rv=zn;if(t!==null)for(let e of t)e.rv=zn;q!==null&&(r===null?r=q:r.push(...q))}return e.f&8388608&&(e.f^=de),d}catch(e){return Je(e)}finally{e.f^=le,G=t,K=n,q=r,B=i,W=a,Be(o),Fn=s,Bn=c}}function Kn(e,t){let n=t.reactions;if(n!==null){var r=a.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&2&&(G===null||!o.call(G,t))){var s=t;s.f&512&&(s.f^=512,s.f&=~ce),Ze(s),It(s),qn(s,0)}}function qn(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Kn(e,n[r])}function Jn(e){var t=e.f;if(!(t&16384)){k(e,y);var n=H,r=Mn;H=e,Mn=!0;try{t&16777232?Cn(e):Sn(e),xn(e);var i=Gn(e);e.teardown=typeof i==`function`?i:null,e.wv=Rn}finally{Mn=r,H=n}}}function J(e){var t=(e.f&2)!=0;if(jn?.add(e),B!==null&&!Fn&&!(H!==null&&H.f&16384)&&(W===null||!o.call(W,e))){var n=B.deps;if(B.f&2097152)e.rv<zn&&(e.rv=zn,G===null&&n!==null&&n[K]===e?K++:G===null?G=[e]:G.push(e));else{(B.deps??=[]).push(e);var r=e.reactions;r===null?e.reactions=[B]:o.call(r,B)||r.push(B)}}if(Nn&&zt.has(e))return zt.get(e);if(t){var i=e;if(Nn){var a=i.v;return(!(i.f&1024)&&i.reactions!==null||Xn(i))&&(a=Pt(i)),zt.set(i,a),a}var s=(i.f&512)==0&&!Fn&&B!==null&&(Mn||(B.f&512)!=0),c=(i.f&te)===0;Un(i)&&(s&&(i.f|=512),Ft(i)),s&&!c&&(Lt(i),Yn(i))}if(j?.has(e))return j.get(e);if(e.f&8388608)throw e.v;return e.v}function Yn(e){if(e.f|=512,e.deps!==null)for(let t of e.deps)(t.reactions??=[]).push(e),t.f&2&&!(t.f&512)&&(Lt(t),Yn(t))}function Xn(e){if(e.v===n)return!0;if(e.deps===null)return!1;for(let t of e.deps)if(zt.has(t)||t.f&2&&Xn(t))return!0;return!1}function Zn(e){var t=Fn;try{return Fn=!0,e()}finally{Fn=t}}var Qn=Symbol(`events`),$n=new Set,er=new Set;function tr(e,t,n){(t[Qn]??={})[e]=n}function nr(e){for(var t=0;t<e.length;t++)$n.add(e[t]);for(var n of er)n(e)}var rr=null;function ir(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],a=i[0]||e.target;rr=e;var o=0,s=rr===e&&e[Qn];if(s){var c=i.indexOf(s);if(c!==-1&&(t===document||t===window)){e[Qn]=t;return}var u=i.indexOf(t);if(u===-1)return;c<=u&&(o=c)}if(a=i[o]||e.target,a!==t){l(e,`currentTarget`,{configurable:!0,get(){return a||n}});var d=B,f=H;V(null),U(null);try{for(var p,m=[];a!==null;){var h=a.assignedSlot||a.parentNode||a.host||null;try{var g=a[Qn]?.[r];g!=null&&(!a.disabled||e.target===a)&&g.call(a,e)}catch(e){p?m.push(e):p=e}if(e.cancelBubble||h===t||h===null)break;a=h}if(p){for(let e of m)queueMicrotask(()=>{throw e});throw p}}finally{e[Qn]=t,delete e.currentTarget,V(d),U(f)}}}var ar=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy(`svelte-trusted-html`,{createHTML:e=>e});function or(e){return ar?.createHTML(e)??e}function sr(e){var t=an(`template`);return t.innerHTML=or(e.replaceAll(`<!>`,`<!---->`)),t.content}function cr(e,t){var n=H;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function Y(e,t){var n=(t&1)!=0,r=(t&2)!=0,i,a=!e.startsWith(`<!>`);return()=>{if(C)return cr(T,null),T;i===void 0&&(i=sr(a?e:`<!>`+e),n||(i=tn(i)));var t=r||Zt?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=tn(t),s=t.lastChild;cr(o,s)}else cr(t,t);return t}}function lr(e=``){if(!C){var t=M(e+``);return cr(t,t),t}var n=T;return n.nodeType===3?on(n):(n.before(n=M()),E(n)),cr(n,n),n}function ur(){if(C)return cr(T,null),T;var e=document.createDocumentFragment(),t=document.createComment(``),n=M();return e.append(t,n),cr(t,n),e}function X(e,t){if(C){var n=H;(!(n.f&32768)||n.nodes.end===null)&&(n.nodes.end=T),je();return}e!==null&&e.before(t)}[...`allowfullscreen.async.autofocus.autoplay.checked.controls.default.disabled.formnovalidate.indeterminate.inert.ismap.loop.multiple.muted.nomodule.novalidate.open.playsinline.readonly.required.reversed.seamless.selected.webkitdirectory.defer.disablepictureinpicture.disableremoteplayback`.split(`.`)];var dr=[`touchstart`,`touchmove`];function fr(e){return dr.includes(e)}function pr(e,t){var n=t==null?``:typeof t==`object`?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function mr(e,t){return _r(e,t)}function hr(e,n){en(),n.intro=n.intro??!1;let r=n.target,i=C,a=T;try{for(var o=tn(r);o&&(o.nodeType!==8||o.data!==`[`);)o=N(o);if(!o)throw t;w(!0),E(o);let i=_r(e,{...n,anchor:o});return w(!1),i}catch(i){if(i instanceof Error&&i.message.split(`
2
+ `).some(e=>e.startsWith(`https://svelte.dev/e/`)))throw i;return i!==t&&console.warn(`Failed to hydrate: `,i),n.recover===!1&&Ce(),en(),nn(r),w(!1),mr(e,n)}finally{w(i),E(a)}}var gr=new Map;function _r(e,{target:n,anchor:r,props:i={},events:a,context:o,intro:c=!0,transformError:l}){en();var u=void 0,d=gn(()=>{var c=r??n.appendChild(M());Ct(c,{pending:()=>{}},n=>{Ve({});var r=O;if(o&&(r.c=o),a&&(i.$$events=a),C&&cr(n,null),u=e(n,i)||{},C&&(H.nodes.end=T,T===null||T.nodeType!==8||T.data!==`]`))throw ke(),t;He()},l);var d=new Set,f=e=>{for(var t=0;t<e.length;t++){var r=e[t];if(!d.has(r)){d.add(r);var i=fr(r);for(let e of[n,document]){var a=gr.get(e);a===void 0&&(a=new Map,gr.set(e,a));var o=a.get(r);o===void 0?(e.addEventListener(r,ir,{passive:i}),a.set(r,1)):a.set(r,o+1)}}}};return f(s($n)),er.add(f),()=>{for(var e of d)for(let r of[n,document]){var t=gr.get(r),i=t.get(e);--i==0?(r.removeEventListener(e,ir),t.delete(e),t.size===0&&gr.delete(r)):t.set(e,i)}er.delete(f),c!==r&&c.parentNode?.removeChild(c)}});return vr.set(u,d),u}var vr=new WeakMap;function yr(e,t){let n=vr.get(e);return n?(vr.delete(e),n(t)):Promise.resolve()}var br=class{anchor;#e=new Map;#t=new Map;#n=new Map;#r=new Set;#i=!0;constructor(e,t=!0){this.anchor=e,this.#i=t}#a=e=>{if(this.#e.has(e)){var t=this.#e.get(e),n=this.#t.get(t);if(n)On(n),this.#r.delete(t);else{var r=this.#n.get(t);r&&(this.#t.set(t,r.effect),this.#n.delete(t),r.fragment.lastChild.remove(),this.anchor.before(r.fragment),n=r.effect)}for(let[t,n]of this.#e){if(this.#e.delete(t),t===e)break;let r=this.#n.get(n);r&&(z(r.effect),this.#n.delete(n))}for(let[e,r]of this.#t){if(e===t||this.#r.has(e))continue;let i=()=>{if(Array.from(this.#e.values()).includes(e)){var t=document.createDocumentFragment();An(r,t),t.append(M()),this.#n.set(e,{effect:r,fragment:t})}else z(r);this.#r.delete(e),this.#t.delete(e)};this.#i||!n?(this.#r.add(e),En(r,i,!1)):i()}}};#o=e=>{this.#e.delete(e);let t=Array.from(this.#e.values());for(let[e,n]of this.#n)t.includes(e)||(z(n.effect),this.#n.delete(e))};ensure(e,t){var n=A,r=rn();if(t&&!this.#t.has(e)&&!this.#n.has(e))if(r){var i=document.createDocumentFragment(),a=M();i.append(a),this.#n.set(e,{effect:R(()=>t(a)),fragment:i})}else this.#t.set(e,R(()=>t(this.anchor)));if(this.#e.set(n,e),r){for(let[t,r]of this.#t)t===e?n.unskip_effect(r):n.skip_effect(r);for(let[t,r]of this.#n)t===e?n.unskip_effect(r.effect):n.skip_effect(r.effect);n.oncommit(this.#a),n.ondiscard(this.#o)}else C&&(this.anchor=T),this.#a(n)}};function Z(e,t,n=!1){var r;C&&(r=T,je());var i=new br(e),a=n?re:0;function o(e,t){if(C){var n=Pe(r);if(e!==parseInt(n.substring(1))){var a=Ne();E(a),i.anchor=a,w(!1),i.ensure(e,t),w(!0);return}}i.ensure(e,t)}bn(()=>{var e=!1;t((t,n=0)=>{e=!0,o(n,t)}),e||o(-1,null)},a)}function xr(e,t,n){for(var r=[],i=t.length,a,o=t.length,c=0;c<i;c++){let n=t[c];En(n,()=>{if(a){if(a.pending.delete(n),a.done.add(n),a.pending.size===0){var t=e.outrogroups;Sr(e,s(a.done)),t.delete(a),t.size===0&&(e.outrogroups=null)}}else --o},!1)}if(o===0){var l=r.length===0&&n!==null;if(l){var u=n,d=u.parentNode;nn(d),d.append(u),e.items.clear()}Sr(e,t,!l)}else a={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(a)}function Sr(e,t,n=!0){var r;if(e.pending.size>0){r=new Set;for(let t of e.pending.values())for(let n of t)r.add(e.items.get(n).e)}for(var i=0;i<t.length;i++){var a=t[i];r?.has(a)?(a.f|=se,An(a,document.createDocumentFragment())):z(t[i],n)}}var Cr;function wr(e,t,n,r,a,o=null){var c=e,l=new Map;if(t&4){var u=e;c=C?E(tn(u)):u.appendChild(M())}C&&je();var d=null,f=jt(()=>{var e=n();return i(e)?e:e==null?[]:s(e)}),p,m=new Map,h=!0;function g(e){v.effect.f&16384||(v.pending.delete(e),v.fallback=d,Er(v,p,c,t,r),d!==null&&(p.length===0?d.f&33554432?(d.f^=se,Or(d,null,c)):On(d):En(d,()=>{d=null})))}function _(e){v.pending.delete(e)}var v={effect:bn(()=>{p=J(f);var e=p.length;let i=!1;C&&Pe(c)===`[!`!=(e===0)&&(c=Ne(),E(c),w(!1),i=!0);for(var s=new Set,u=A,v=rn(),y=0;y<e;y+=1){C&&T.nodeType===8&&T.data===`]`&&(c=T,i=!0,w(!1));var b=p[y],x=r(b,y),S=h?null:l.get(x);S?(S.v&&Gt(S.v,b),S.i&&Gt(S.i,y),v&&u.unskip_effect(S.e)):(S=Dr(l,h?c:Cr??=M(),b,x,y,a,t,n),h||(S.e.f|=se),l.set(x,S)),s.add(x)}if(e===0&&o&&!d&&(h?d=R(()=>o(c)):(d=R(()=>o(Cr??=M())),d.f|=se)),e>s.size&&ve(``,``,``),C&&e>0&&E(Ne()),!h)if(m.set(u,s),v){for(let[e,t]of l)s.has(e)||u.skip_effect(t.e);u.oncommit(g),u.ondiscard(_)}else g(u);i&&w(!0),J(f)}),flags:t,items:l,pending:m,outrogroups:null,fallback:d};h=!1,C&&(c=T)}function Tr(e){for(;e!==null&&!(e.f&32);)e=e.next;return e}function Er(e,t,n,r,i){var a=(r&8)!=0,o=t.length,c=e.items,l=Tr(e.effect.first),u,d=null,f,p=[],m=[],h,g,_,v;if(a)for(v=0;v<o;v+=1)h=t[v],g=i(h,v),_=c.get(g).e,_.f&33554432||(_.nodes?.a?.measure(),(f??=new Set).add(_));for(v=0;v<o;v+=1){if(h=t[v],g=i(h,v),_=c.get(g).e,e.outrogroups!==null)for(let t of e.outrogroups)t.pending.delete(_),t.done.delete(_);if(_.f&8192&&(On(_),a&&(_.nodes?.a?.unfix(),(f??=new Set).delete(_))),_.f&33554432)if(_.f^=se,_===l)Or(_,null,n);else{var y=d?d.next:l;_===e.effect.last&&(e.effect.last=_.prev),_.prev&&(_.prev.next=_.next),_.next&&(_.next.prev=_.prev),kr(e,d,_),kr(e,_,y),Or(_,y,n),d=_,p=[],m=[],l=Tr(d.next);continue}if(_!==l){if(u!==void 0&&u.has(_)){if(p.length<m.length){var b=m[0],x;d=b.prev;var S=p[0],ee=p[p.length-1];for(x=0;x<p.length;x+=1)Or(p[x],b,n);for(x=0;x<m.length;x+=1)u.delete(m[x]);kr(e,S.prev,ee.next),kr(e,d,S),kr(e,ee,b),l=b,d=ee,--v,p=[],m=[]}else u.delete(_),Or(_,l,n),kr(e,_.prev,_.next),kr(e,_,d===null?e.effect.first:d.next),kr(e,d,_),d=_;continue}for(p=[],m=[];l!==null&&l!==_;)(u??=new Set).add(l),m.push(l),l=Tr(l.next);if(l===null)continue}_.f&33554432||p.push(_),d=_,l=Tr(_.next)}if(e.outrogroups!==null){for(let t of e.outrogroups)t.pending.size===0&&(Sr(e,s(t.done)),e.outrogroups?.delete(t));e.outrogroups.size===0&&(e.outrogroups=null)}if(l!==null||u!==void 0){var te=[];if(u!==void 0)for(_ of u)_.f&8192||te.push(_);for(;l!==null;)!(l.f&8192)&&l!==e.fallback&&te.push(l),l=Tr(l.next);var ne=te.length;if(ne>0){var re=r&4&&o===0?n:null;if(a){for(v=0;v<ne;v+=1)te[v].nodes?.a?.measure();for(v=0;v<ne;v+=1)te[v].nodes?.a?.fix()}xr(e,te,re)}}a&&Ke(()=>{if(f!==void 0)for(_ of f)_.nodes?.a?.apply()})}function Dr(e,t,n,r,i,a,o,s){var c=o&1?o&16?Vt(n):Ut(n,!1,!1):null,l=o&2?Vt(i):null;return{v:c,i:l,e:R(()=>(a(t,c??n,l??i,s),()=>{e.delete(r)}))}}function Or(e,t,n){if(e.nodes)for(var r=e.nodes.start,i=e.nodes.end,a=t&&!(t.f&33554432)?t.nodes.start:n;r!==null;){var o=N(r);if(a.before(r),r===i)return;r=o}}function kr(e,t,n){t===null?e.effect.first=n:t.next=n,n===null?e.effect.last=t:n.prev=t}function Ar(e,t,n,r,i){C&&je();var a=t.$$slots?.[n],o=!1;a===!0&&(a=t[n===`default`?`children`:n],o=!0),a===void 0?i!==null&&i(e):a(e,o?()=>r:r)}function jr(e,t){let n=null,r=C;var i;if(C){n=T;for(var a=tn(document.head);a!==null&&(a.nodeType!==8||a.data!==e);)a=N(a);if(a===null)w(!1);else{var o=N(a);a.remove(),E(o)}}C||(i=document.head.appendChild(M()));try{bn(()=>t(i),ie|ae)}finally{r&&(w(!0),E(n))}}function Mr(e,t){_n(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector(`#`+t.hash)){let e=an(`style`);e.id=t.hash,e.textContent=t.code,r.appendChild(e)}})}var Nr=[...`
3
+ \r\f\xA0\v`];function Pr(e,t,n){var r=e==null?``:``+e;if(t&&(r=r?r+` `+t:t),n){for(var i of Object.keys(n))if(n[i])r=r?r+` `+i:i;else if(r.length)for(var a=i.length,o=0;(o=r.indexOf(i,o))>=0;){var s=o+a;(o===0||Nr.includes(r[o-1]))&&(s===r.length||Nr.includes(r[s]))?r=(o===0?``:r.substring(0,o))+r.substring(s+1):o=s}}return r===``?null:r}function Q(e,t,n,r,i,a){var o=e.__className;if(C||o!==n||o===void 0){var s=Pr(n,r,a);(!C||s!==e.getAttribute(`class`))&&(s==null?e.removeAttribute(`class`):t?e.className=s:e.setAttribute(`class`,s)),e.__className=n}else if(a&&i!==a)for(var c in a){var l=!!a[c];(i==null||l!==!!i[c])&&e.classList.toggle(c,l)}return a}var Fr=Symbol(`is custom element`),Ir=Symbol(`is html`),Lr=ge?`link`:`LINK`;function Rr(e,t,n,r){var i=zr(e);C&&(i[t]=e.getAttribute(t),t===`src`||t===`srcset`||t===`href`&&e.nodeName===Lr)||i[t]!==(i[t]=n)&&(t===`loading`&&(e[me]=n),n==null?e.removeAttribute(t):typeof n!=`string`&&Vr(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function $(e,t,n){var r=B,i=H;let a=C;C&&w(!1),V(null),U(null);try{t!==`style`&&(Br.has(e.getAttribute(`is`)||e.nodeName)||!customElements||customElements.get(e.getAttribute(`is`)||e.nodeName.toLowerCase())?Vr(e).includes(t):n&&typeof n==`object`)?e[t]=n:Rr(e,t,n==null?n:String(n))}finally{V(r),U(i),a&&w(!0)}}function zr(e){return e.__attributes??={[Fr]:e.nodeName.includes(`-`),[Ir]:e.namespaceURI===r}}var Br=new Map;function Vr(e){var t=e.getAttribute(`is`)||e.nodeName,n=Br.get(t);if(n)return n;Br.set(t,n=[]);for(var r,i=e,a=Element.prototype;a!==i;){for(var o in r=d(i),r)r[o].set&&n.push(o);i=m(i)}return n}function Hr(e,t,n,r){var i=!ze||(n&2)!=0,a=(n&8)!=0,o=(n&16)!=0,s=r,c=!0,l=()=>(c&&(c=!1,s=o?Zn(r):r),s);let d;if(a){var f=fe in e||pe in e;d=u(e,t)?.set??(f&&t in e?n=>e[t]=n:void 0)}var p,m=!1;a?[p,m]=nt(()=>e[t]):p=e[t],p===void 0&&r!==void 0&&(p=l(),d&&(i&&we(t),d(p)));var h=i?()=>{var n=e[t];return n===void 0?l():(c=!0,n)}:()=>{var n=e[t];return n!==void 0&&(s=void 0),n===void 0?s:n};if(i&&!(n&4))return h;if(d){var g=e.$$legacy;return(function(e,t){return arguments.length>0?((!i||!t||g||m)&&d(t?h():e),e):h()})}var _=!1,v=(n&1?kt:jt)(()=>(_=!1,h()));a&&J(v);var y=H;return(function(e,t){if(arguments.length>0){let n=t?J(v):i&&a?Yt(e):e;return Wt(v,n),_=!0,s!==void 0&&(s=n),e}return Nn&&_||y.f&16384?v.v:J(v)})}function Ur(e){return new Wr(e)}var Wr=class{#e;#t;constructor(e){var t=new Map,n=(e,n)=>{var r=Ut(n,!1,!1);return t.set(e,r),r};let r=new Proxy({...e.props||{},$$events:{}},{get(e,r){return J(t.get(r)??n(r,Reflect.get(e,r)))},has(e,r){return r===pe?!0:(J(t.get(r)??n(r,Reflect.get(e,r))),Reflect.has(e,r))},set(e,r,i){return Wt(t.get(r)??n(r,i),i),Reflect.set(e,r,i)}});this.#t=(e.hydrate?hr:mr)(e.component,{target:e.target,anchor:e.anchor,props:r,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),!Re&&(!e?.props?.$$host||e.sync===!1)&&ft(),this.#e=r.$$events;for(let e of Object.keys(this.#t))e===`$set`||e===`$destroy`||e===`$on`||l(this,e,{get(){return this.#t[e]},set(t){this.#t[e]=t},enumerable:!0});this.#t.$set=e=>{Object.assign(r,e)},this.#t.$destroy=()=>{yr(this.#t)}}$set(e){this.#t.$set(e)}$on(e,t){this.#e[e]=this.#e[e]||[];let n=(...e)=>t.call(this,...e);return this.#e[e].push(n),()=>{this.#e[e]=this.#e[e].filter(e=>e!==n)}}$destroy(){this.#t.$destroy()}},Gr;typeof HTMLElement==`function`&&(Gr=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){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){let e=this.$$l_u.get(t);e&&(e(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){if(await Promise.resolve(),!this.$$cn||this.$$c)return;function e(e){return t=>{let n=an(`slot`);e!==`default`&&(n.name=e),X(t,n)}}let t={},n=qr(this);for(let 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(let e of this.attributes){let t=this.$$g_p(e.name);t in this.$$d||(this.$$d[t]=Kr(t,e.value,this.$$p_d,`toProp`))}for(let e in this.$$p_d)!(e in this.$$d)&&this[e]!==void 0&&(this.$$d[e]=this[e],delete this[e]);this.$$c=Ur({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=hn(()=>{yn(()=>{this.$$r=!0;for(let e of c(this.$$c)){if(!this.$$p_d[e]?.reflect)continue;this.$$d[e]=this.$$c[e];let t=Kr(e,this.$$d[e],this.$$p_d,`toAttribute`);t==null?this.removeAttribute(this.$$p_d[e].attribute||e):this.setAttribute(this.$$p_d[e].attribute||e,t)}this.$$r=!1})});for(let e in this.$$l)for(let t of this.$$l[e]){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Kr(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 c(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Kr(e,t,n,r){let 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 qr(e){let t={};return e.childNodes.forEach(e=>{t[e.slot||`default`]=!0}),t}function Jr(e,t,n,r,i,a){let o=class extends Gr{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return c(t).map(e=>(t[e].attribute||e).toLowerCase())}};return c(t).forEach(e=>{l(o.prototype,e,{get(){return this.$$c&&e in this.$$c?this.$$c[e]:this.$$d[e]},set(n){n=Kr(e,n,t),this.$$d[e]=n;var r=this.$$c;r&&(u(r,e)?.get?r[e]=n:r.$set({[e]:n}))}})}),r.forEach(e=>{l(o.prototype,e,{get(){return this.$$c?.[e]}})}),a&&(o=a(o)),e.element=o,o}var Yr={name:`@htmlbricks/svelte-webcomponent`,private:!0,version:`0.66.7`,type:`module`,scripts:{dev:`vite --open`,build:`vite build`,"publish:wc":`node publish.ts`,"build:wc":`node build.ts`,"watch:wc":`node watch.ts`,preview:`vite preview`,check:`svelte-check --tsconfig ./tsconfig.app.json && tsc -p tsconfig.node.json`,"release:patch":`npm version patch && git push && git push --tags && npm run build:wc && npm run publish:wc`,"release:minor":`npm version minor && git push && git push --tags && npm run build:wc && npm run publish:wc`,"release:major":`npm version major && git push && git push --tags && npm run build:wc && npm run publish:wc`},devDependencies:{"@google-pay/button-element":`^3.2.1`,"@paypal/paypal-js":`^9.5.0`,"@sveltejs/vite-plugin-svelte":`^7.0.0`,"@tsconfig/svelte":`^5.0.8`,"@types/debounce":`^1.2.4`,"@types/node":`^24.10.1`,"@types/rgb-hex":`^3.0.0`,"chart.js":`^4.5.1`,"date-holidays":`^3.26.12`,dayjs:`^1.11.20`,"hls.js":`^1.6.15`,"html5-joystick-new":`^0.0.6`,ol:`^10.8.0`,"perfect-freehand":`^1.2.3`,prettier:`^3.8.1`,"rollup-plugin-terser":`^7.0.2`,"sass-embedded":`^1.98.0`,"simple-serverless-auth-client":`^0.0.6`,"simple-webrtc-element":`^0.0.1`,"simple-webrtc-element-whep":`^0.2.3`,"style-to-object":`^1.0.14`,svelte:`^5.55.0`,"svelte-check":`^4.4.5`,terser:`^5.46.1`,"ts-json-schema-generator":`^2.9.0`,typescript:`^6.0.2`,vite:`^8.0.3`},dependencies:{"@floating-ui/dom":`^1.7.6`,"@popperjs/core":`^2.11.8`,bootstrap:`^5.3.8`,debounce:`^3.0.0`,"html-colors":`^0.0.6`,marked:`^17.0.5`,raphael:`^2.3.0`,"rgb-hex":`^4.1.0`,"wc-js-utils":`^0.4.7`}};function Xr(e){let t=e?.repoName.split(`/`)?.[1]||e?.repoName;if(!t)throw Error(`wrong componentPath `+e?.repoName);if(!e?.version)throw Error(`wrong version `+e?.version);let n=e?.iifePath||`main.iife.js`;if(!document.getElementById(t+`-script`))try{let r=document.createElement(`script`);if(r.id=t+`-script`,r.src=`https://cdn.jsdelivr.net/npm/${e.repoName}@${e.version}/${n}`,e?.local)r.src=`${e.local}`;else if(location.href.includes(`localhost:6006`)){let e=t.split(`-`)[0];r.src=`http://localhost:6006/webcomponents/${t.replace(e+`-`,``)}/${n}`}document.head.appendChild(r)}catch(e){console.warn(e)}}var Zr=Y(`<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-1tntk73"/>`),Qr=Y(`<div class="expand_from_small_footer svelte-1tntk73"><i class="bi bi-arrow-up-square-fill svelte-1tntk73"></i></div>`),$r=Y(`<span class="svelte-1tntk73"><img style="height: 100%;" alt="" class="svelte-1tntk73"/></span>`),ei=Y(`<div style="max-height:40px;height:40px;margin:10px auto 5px auto" class="svelte-1tntk73"><!> </div>`),ti=Y(`<div class="container-fluid svelte-1tntk73"><div class="container svelte-1tntk73" style="position:relative"><!> <div id="footer_small_content" class="svelte-1tntk73"><!></div></div></div>`),ni=Y(`<div class="container-fluid svelte-1tntk73"><div class="container svelte-1tntk73" style="position:relative"><div style="margin-top:10px;" class="expand_from_small_footer svelte-1tntk73"><i class="bi bi-arrow-down-square-fill svelte-1tntk73"></i></div></div></div>`),ri=Y(`<span class="svelte-1tntk73"><img style="height: 40px" alt="" class="svelte-1tntk73"/></span>`),ii=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),ai=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),oi=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),si=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),ci=Y(`<div style="padding:20px 20px"><h5 style="margin-bottom:20px" class="svelte-1tntk73">Contatti</h5> <ul class="list-unstyled svelte-1tntk73"><!> <!> <!> <!></ul></div>`),li=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),ui=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),di=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),fi=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),pi=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),mi=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),hi=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),gi=Y(`<div style="padding:20px 20px"><h5 style="margin-bottom:20px" class="svelte-1tntk73">Social</h5> <ul class="list-unstyled svelte-1tntk73"><!> <!> <!> <!> <!> <!> <!></ul></div>`),_i=Y(`<li class="svelte-1tntk73"><button part="column-cell-button-content" style="padding:0px" class="btn text-small svelte-1tntk73"> </button></li>`),vi=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),yi=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),bi=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),xi=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),Si=Y(`<li class="svelte-1tntk73"><button part="column-cell-button-content" style="padding:0px" class="btn text-small svelte-1tntk73"> </button></li>`),Ci=Y(`<div style="padding:20px 20px"><h5 style="margin-bottom:20px" class="svelte-1tntk73"> </h5> <ul class="list-unstyled svelte-1tntk73"></ul></div>`),wi=Y(`<div class="row svelte-1tntk73"><div style="padding:20px 20px"><div class="row svelte-1tntk73"><div class="col svelte-1tntk73"><!> </div></div> <div id="description" style="margin:20px auto 10px auto" class="svelte-1tntk73"> </div> <div id="company" style="margin:20px auto 10px auto" class="svelte-1tntk73"> </div> <div id="fiscal" style="margin:20px auto 10px auto" class="svelte-1tntk73"> </div></div> <!> <!> <!></div>`),Ti=Y(`<a target="_blank" class="btn btn-link svelte-1tntk73"> </a>`),Ei=Y(`<button class="btn btn-link svelte-1tntk73"> </button>`),Di=Y(`<div class="col svelte-1tntk73" style="margin:20px auto 20px auto;max-height:20px;text-align:center;font-size:0.9rem;"><!></div>`),Oi=Y(`<div class="col svelte-1tntk73" style="max-height:20px;text-align:center;font-size:0.8rem;margin:10px auto 5px auto"> </div>`),ki=Y(`<!> <div class="container svelte-1tntk73"><!> <!> <div class="row svelte-1tntk73"><!></div> <div class="row svelte-1tntk73"><!></div></div>`,1),Ai=Y(`<footer class="svelte-1tntk73"><!></footer>`),ji={hash:`svelte-1tntk73`,code:`@charset "UTF-8";
3
4
  @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
5
  @import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");
5
6
  /*!
@@ -50,7 +51,7 @@ button.svelte-1tntk73 {margin:0;font-family:inherit;font-size:inherit;line-heigh
50
51
  @media (min-width: 1200px) {.display-5.svelte-1tntk73 {font-size:3rem;}
51
52
  }.display-6.svelte-1tntk73 {font-weight:300;line-height:1.2;font-size:calc(1.375rem + 1.5vw);}
52
53
  @media (min-width: 1200px) {.display-6.svelte-1tntk73 {font-size:2.5rem;}
53
- }.list-unstyled.svelte-1tntk73 {padding-left:0;list-style:none;}.list-inline.svelte-1tntk73 {padding-left:0;list-style:none;}.list-inline-item.svelte-1tntk73 {display:inline-block;}.list-inline-item.svelte-1tntk73:not(:last-child) {margin-right:0.5rem;}.initialism.svelte-1tntk73 {font-size:0.875em;text-transform:uppercase;}.blockquote.svelte-1tntk73 {margin-bottom:1rem;font-size:1.25rem;}.blockquote.svelte-1tntk73 > :where(.svelte-1tntk73):last-child {margin-bottom:0;}.blockquote-footer.svelte-1tntk73 {margin-top:-1rem;margin-bottom:1rem;font-size:0.875em;color:#6c757d;}.blockquote-footer.svelte-1tntk73::before {content:"— ";}.container.svelte-1tntk73,
54
+ }.list-unstyled.svelte-1tntk73 {padding-left:0;list-style:none;}.list-inline.svelte-1tntk73 {padding-left:0;list-style:none;}.list-inline-item.svelte-1tntk73 {display:inline-block;}.list-inline-item.svelte-1tntk73:not(:last-child) {margin-right:0.5rem;}.initialism.svelte-1tntk73 {font-size:0.875em;text-transform:uppercase;}.blockquote.svelte-1tntk73 {margin-bottom:1rem;font-size:1.25rem;}.blockquote.svelte-1tntk73 > :where(.svelte-1tntk73):last-child {margin-bottom:0;}.blockquote-footer.svelte-1tntk73 {margin-top:-1rem;margin-bottom:1rem;font-size:0.875em;color:#6c757d;}.blockquote-footer.svelte-1tntk73::before {content:"—\xA0";}.container.svelte-1tntk73,
54
55
  .container-fluid.svelte-1tntk73,
55
56
  .container-xxl.svelte-1tntk73,
56
57
  .container-xl.svelte-1tntk73,
@@ -181,5 +182,5 @@ button.svelte-1tntk73 {margin:0;font-family:inherit;font-size:inherit;line-heigh
181
182
  @media (min-width: 1200px) {.fs-1.svelte-1tntk73 {font-size:2.5rem !important;}.fs-2.svelte-1tntk73 {font-size:2rem !important;}.fs-3.svelte-1tntk73 {font-size:1.75rem !important;}.fs-4.svelte-1tntk73 {font-size:1.5rem !important;}
182
183
  }
183
184
  @media print {.d-print-inline.svelte-1tntk73 {display:inline !important;}.d-print-inline-block.svelte-1tntk73 {display:inline-block !important;}.d-print-block.svelte-1tntk73 {display:block !important;}.d-print-grid.svelte-1tntk73 {display:grid !important;}.d-print-inline-grid.svelte-1tntk73 {display:inline-grid !important;}.d-print-table.svelte-1tntk73 {display:table !important;}.d-print-table-row.svelte-1tntk73 {display:table-row !important;}.d-print-table-cell.svelte-1tntk73 {display:table-cell !important;}.d-print-flex.svelte-1tntk73 {display:flex !important;}.d-print-inline-flex.svelte-1tntk73 {display:inline-flex !important;}.d-print-none.svelte-1tntk73 {display:none !important;}
184
- }:host {font-family:"Roboto", sans-serif;padding-top:80px;background-color:inherit;}.expand_from_small_footer.svelte-1tntk73 {position:absolute;top:0px;right:0px;cursor:pointer;width:25px;text-align:center;}#footer_small_content.svelte-1tntk73 {height:50px;}hb-contact-item.svelte-1tntk73 {display:block;margin-bottom:20px;}`};function to(t,e){or(e,!0),Si(t,xl);let n=Vt(e,"id",7,""),r=Vt(e,"type",7,"regular"),o=Vt(e,"company",7),i=Vt(e,"brandandcontacts",7,void 0),l=Vt(e,"columns",23,()=>[]),a=Vt(e,"disable_expanding_small",7,!1),s=Vt(e,"socials",7,void 0),m=Vt(e,"contacts",7,void 0),p=Vt(e,"policies",7,void 0),g=Yt(!1);oi(()=>{if(r()!=="small"&&r()!=="regular"&&r()!=="large"&&r("regular"),typeof a()=="string"&&(a()==="yes"||a()==="true"?a(!0):a(!1)),!o())console.warn("no company provided!");else if(typeof o()=="string")try{o(JSON.parse(o()))}catch{console.warn("company is not a valid JSON")}if(typeof l()=="string")try{l(JSON.parse(l()))}catch{console.warn("columns is not a valid JSON")}let b=0;for(const S of l())S._id||(S._id="ccc_"+b.toString()),b++;if(typeof i()=="string")try{i(JSON.parse(i()))}catch{}if(typeof s()=="string")try{s(JSON.parse(s()))}catch{console.warn("socials is not a valid JSON")}if(typeof m()=="string")try{m(JSON.parse(m()));let S=0;if(m().phones?.length)for(const B of m().phones)S++,B._id||(B._id=S.toString());if(m().emails?.length)for(const B of m().emails)S++,B._id||(B._id=S.toString());if(m().addresses?.length)for(const B of m().addresses)S++,B._id||(B._id=S.toString());if(m().sites?.length)for(const B of m().sites)S++,B._id||(B._id=S.toString())}catch{}if(typeof p()=="string")try{p(JSON.parse(p()))}catch{}});function d(b,S){e.$$host.dispatchEvent(new CustomEvent(b,{detail:S}))}function c(b){d("footerClick",{elClick:b})}Pi({repoName:"@htmlbricks/hb-contact-item",version:Gi.version});var f={get id(){return n()},set id(b=""){n(b),Dt()},get type(){return r()},set type(b="regular"){r(b),Dt()},get company(){return o()},set company(b){o(b),Dt()},get brandandcontacts(){return i()},set brandandcontacts(b=void 0){i(b),Dt()},get columns(){return l()},set columns(b=[]){l(b),Dt()},get disable_expanding_small(){return a()},set disable_expanding_small(b=!1){a(b),Dt()},get socials(){return s()},set socials(b=void 0){s(b),Dt()},get contacts(){return m()},set contacts(b=void 0){m(b),Dt()},get policies(){return p()},set policies(b=void 0){p(b),Dt()}},y=hl();Ai("1tntk73",b=>{var S=Di();h(b,S)});var v=u(y);{var j=b=>{var S=Ui(),B=u(S),V=u(B);{var Bt=vt=>{var Z=Li();qe("click",Z,()=>{Tt(g,!0)}),h(vt,Z)};M(V,vt=>{a()||vt(Bt)})}var dt=I(V,2),it=u(dt);Ve(it,e,"footer_small",{},vt=>{var Z=Ft(),Ie=zt(Z);{var Ke=gt=>{var Q=Ji(),ct=u(Q);{var It=lt=>{var Kt=Fi(),Wt=u(Kt);k(Kt),P(()=>cn(Wt,"src",o().logoUri)),h(lt,Kt)};M(ct,lt=>{o().logoUri&&lt(It)})}var Et=I(ct);k(Q),P(lt=>Ct(Et,` ${lt??""}`),[()=>new Date().getFullYear().toString()+" "+(o()?.companyName?" - "+(o()?.companyName||""):"")]),h(gt,Q)};M(Ie,gt=>{o()?.siteName&&gt(Ke)})}h(vt,Z)}),k(dt),k(B),k(S),h(b,S)},z=b=>{var S=ul(),B=zt(S);{var V=gt=>{var Q=qi(),ct=u(Q),It=u(ct);k(ct),k(Q),qe("click",It,()=>{Tt(g,!1)}),h(gt,Q)};M(B,gt=>{x(g)&&gt(V)})}var Bt=I(B,2),dt=u(Bt);Ve(dt,e,"footerheader",{class:"row"},gt=>{});var it=I(dt,2);Ve(it,e,"footercontent",{},gt=>{var Q=gl(),ct=u(Q),It=u(ct),Et=u(It),lt=u(Et);{var Kt=at=>{var et=Hi(),Zt=u(et);k(et),P(()=>cn(Zt,"src",o().logoUri)),h(at,et)};M(lt,at=>{o()?.logoUri&&at(Kt)})}var Wt=I(lt);k(Et),k(It);var Xt=I(It,2),We=u(Xt,!0);k(Xt);var Xe=I(Xt,2),Pn=u(Xe,!0);k(Xe);var bn=I(Xe,2),ve=u(bn,!0);k(bn),k(ct);var At=I(ct,2);{var Ze=at=>{var et=Xi(),Zt=I(u(et),2),Qt=u(Zt);{var _e=D=>{var st=Ft(),St=zt(st);we(St,17,()=>m().phones,U=>U._id,(U,Mt)=>{var q=Yi(),w=u(q);P(()=>ot(w,"phone",JSON.stringify(x(Mt)))),J(w,1,"svelte-1tntk73"),k(q),h(U,q)}),h(D,st)};M(Qt,D=>{m().phones?.length&&D(_e)})}var Jt=I(Qt,2);{var $e=D=>{var st=Ft(),St=zt(st);we(St,17,()=>m().addresses,U=>U._id,(U,Mt)=>{var q=Vi(),w=u(q);P(()=>ot(w,"address",JSON.stringify(x(Mt)))),J(w,1,"svelte-1tntk73"),k(q),h(U,q)}),h(D,st)};M(Jt,D=>{m().addresses?.length&&D($e)})}var je=I(Jt,2);{var Me=D=>{var st=Ft(),St=zt(st);we(St,17,()=>m().emails,U=>U._id,(U,Mt)=>{var q=Ki(),w=u(q);P(()=>ot(w,"email",JSON.stringify(x(Mt)))),J(w,1,"svelte-1tntk73"),k(q),h(U,q)}),h(D,st)};M(je,D=>{m().emails?.length&&D(Me)})}var ge=I(je,2);{var K=D=>{var st=Ft(),St=zt(st);we(St,17,()=>m().sites,U=>U._id,(U,Mt)=>{var q=Wi(),w=u(q);P(()=>ot(w,"site",JSON.stringify(x(Mt)))),J(w,1,"svelte-1tntk73"),k(q),h(U,q)}),h(D,st)};M(ge,D=>{m().sites?.length&&D(K)})}k(Zt),k(et),P(()=>J(et,1,`col-md-${12/(1+(m()?1:0)+(s()?1:0)+(l()?.length?l().length:0))}`,"svelte-1tntk73")),h(at,et)};M(At,at=>{m()&&at(Ze)})}var eo=I(At,2);{var yl=at=>{var et=il(),Zt=I(u(et),2),Qt=u(Zt);{var _e=w=>{var O=Zi(),_=u(O);ot(_,"social",JSON.stringify({name:"facebook",label:"pagina facebook",pageUri:"https://facebook.com"})),J(_,1,"svelte-1tntk73"),k(O),h(w,O)};M(Qt,w=>{s().facebook&&w(_e)})}var Jt=I(Qt,2);{var $e=w=>{var O=Qi(),_=u(O);ot(_,"social",JSON.stringify({name:"gmail",label:"pagina gmail",pageUri:"https://gmail.com"})),J(_,1,"svelte-1tntk73"),k(O),h(w,O)};M(Jt,w=>{s()?.gmail&&w($e)})}var je=I(Jt,2);{var Me=w=>{var O=tl(),_=u(O);ot(_,"social",JSON.stringify({name:"twitter",label:"pagina twitter",pageUri:"https://twitter.com"})),J(_,1,"svelte-1tntk73"),k(O),h(w,O)};M(je,w=>{s()?.twitter&&w(Me)})}var ge=I(je,2);{var K=w=>{var O=el(),_=u(O);P(()=>ot(_,"social",JSON.stringify({name:"github",label:"pagina github",pageUri:s().github}))),J(_,1,"svelte-1tntk73"),k(O),h(w,O)};M(ge,w=>{s()?.github&&w(K)})}var D=I(ge,2);{var st=w=>{var O=nl(),_=u(O);ot(_,"social",JSON.stringify({name:"twitch",label:"pagina twitch",pageUri:"https://twitch.com"})),J(_,1,"svelte-1tntk73"),k(O),h(w,O)};M(D,w=>{s()?.twitch&&w(st)})}var St=I(D,2);{var U=w=>{var O=rl(),_=u(O);ot(_,"social",JSON.stringify({name:"youtube",label:"pagina youtube",pageUri:"https://youtube.com"})),J(_,1,"svelte-1tntk73"),k(O),h(w,O)};M(St,w=>{s()?.youtube&&w(U)})}var Mt=I(St,2);{var q=w=>{var O=ol(),_=u(O);ot(_,"social",JSON.stringify({name:"discord",label:"pagina discord",pageUri:"https://discord.com"})),J(_,1,"svelte-1tntk73"),k(O),h(w,O)};M(Mt,w=>{s()?.discord&&w(q)})}k(Zt),k(et),P(()=>J(et,1,`col-md-${12/(1+(m()?1:0)+(s()?1:0)+(l()?.length?l().length:0))}`,"svelte-1tntk73")),h(at,et)};M(eo,at=>{s()&&at(yl)})}var wl=I(eo,2);{var _l=at=>{var et=Ft(),Zt=zt(et);we(Zt,17,l,Qt=>Qt._id,(Qt,_e)=>{var Jt=vl(),$e=u(Jt),je=u($e,!0);k($e);var Me=I($e,2);we(Me,21,()=>x(_e).cells,ge=>ge._id,(ge,K)=>{var D=Ft(),st=zt(D);{var St=_=>{var G=ll(),H=u(G),Dn=u(H,!0);k(H),k(G),P(()=>Ct(Dn,x(K).label)),qe("click",H,()=>c(x(K)._id)),h(_,G)},U=_=>{var G=al(),H=u(G);P(()=>ot(H,"phone",JSON.stringify(x(K).phone))),J(H,1,"svelte-1tntk73"),k(G),h(_,G)},Mt=_=>{var G=sl(),H=u(G);P(()=>ot(H,"address",JSON.stringify(x(K).address))),J(H,1,"svelte-1tntk73"),k(G),h(_,G)},q=_=>{var G=ml(),H=u(G);P(()=>ot(H,"email",JSON.stringify(x(K).email))),J(H,1,"svelte-1tntk73"),k(G),h(_,G)},w=_=>{var G=pl(),H=u(G);P(()=>ot(H,"site",JSON.stringify(x(K).site))),J(H,1,"svelte-1tntk73"),k(G),h(_,G)},O=_=>{var G=dl(),H=u(G),Dn=u(H,!0);k(H),k(G),P(()=>Ct(Dn,x(K).label)),qe("click",H,()=>c(x(K)._id)),h(_,G)};M(st,_=>{x(K).label?_(St):x(K).phone?_(U,1):x(K).address?_(Mt,2):x(K).email?_(q,3):x(K).site?_(w,4):x(K).label&&_(O,5)})}h(ge,D)}),k(Me),k(Jt),P(()=>{J(Jt,1,`col-md-${12/(1+(m()?1:0)+(s()?1:0)+(l()?.length?l().length:0))}`,"svelte-1tntk73"),Ct(je,x(_e).title?x(_e).title:"")}),h(Qt,Jt)}),h(at,et)};M(wl,at=>{l()?.length&&at(_l)})}k(Q),P(()=>{J(ct,1,`col-md-${12/(1+(m()?1:0)+(s()?1:0)+(l()?.length?l().length:0))}`,"svelte-1tntk73"),Ct(Wt,` ${(o()?.siteName||"")??""}`),Ct(We,o()?.description||""),Ct(Pn,o()?.companyName||""),Ct(ve,o()?.vatNumber||o()?.fiscalCode||"")}),h(gt,Q)});var vt=I(it,2),Z=u(vt);Ve(Z,e,"footerpolicy",{},gt=>{var Q=Ft(),ct=zt(Q);{var It=Et=>{var lt=Ft(),Kt=zt(lt);we(Kt,17,p,Wt=>Wt.key,(Wt,Xt)=>{var We=bl(),Xe=u(We);{var Pn=ve=>{var At=cl(),Ze=u(At,!0);k(At),P(()=>{cn(At,"href",x(Xt).link),Ct(Ze,x(Xt).label)}),h(ve,At)},bn=ve=>{var At=fl(),Ze=u(At,!0);k(At),P(()=>Ct(Ze,x(Xt).label)),qe("click",At,()=>c(x(Xt).key)),h(ve,At)};M(Xe,ve=>{x(Xt).link?ve(Pn):ve(bn,-1)})}k(We),h(Wt,We)}),h(Et,lt)};M(ct,Et=>{p()?.length&&Et(It)})}h(gt,Q)}),k(vt);var Ie=I(vt,2),Ke=u(Ie);Ve(Ke,e,"footerbottom",{},gt=>{var Q=Ft(),ct=zt(Q);{var It=Et=>{var lt=kl(),Kt=u(lt,!0);k(lt),P(Wt=>Ct(Kt,Wt),[()=>o()?.registration?.text||(o().since?`${o().since?.toString()} - `:"")+new Date().getFullYear().toString()+" "+(o()?.companyName?" - "+(o()?.companyName||""):"")]),h(Et,lt)};M(ct,Et=>{o()?.siteName&&Et(It)})}h(gt,Q)}),k(Ie),k(Bt),h(b,S)},T=b=>{var S=ui("large");h(b,S)};M(v,b=>{r()==="small"&&!x(g)?b(j):r()==="regular"||r()==="small"&&x(g)?b(z,1):r()==="large"&&b(T,2)})}return k(y),h(t,y),ir(f)}ci(["click"]),customElements.define("hb-footer",Mi(to,{id:{},type:{},company:{},brandandcontacts:{},columns:{},disable_expanding_small:{},socials:{},contacts:{},policies:{}},["footer_small","footerheader","footercontent","footerpolicy","footerbottom"],[],{mode:"open"})),Ln.Component=to,Object.defineProperty(Ln,Symbol.toStringTag,{value:"Module"})})(this.footer=this.footer||{});
185
- //# sourceMappingURL=main.iife.js.map
185
+ }:host {font-family:"Roboto", sans-serif;padding-top:80px;background-color:inherit;}.expand_from_small_footer.svelte-1tntk73 {position:absolute;top:0px;right:0px;cursor:pointer;width:25px;text-align:center;}#footer_small_content.svelte-1tntk73 {height:50px;}hb-contact-item.svelte-1tntk73 {display:block;margin-bottom:20px;}`};function Mi(e,t){Ve(t,!0),Mr(e,ji);let n=Hr(t,`id`,7,``),r=Hr(t,`type`,7,`regular`),i=Hr(t,`company`,7),a=Hr(t,`brandandcontacts`,7,void 0),o=Hr(t,`columns`,23,()=>[]),s=Hr(t,`disable_expanding_small`,7,!1),c=Hr(t,`socials`,7,void 0),l=Hr(t,`contacts`,7,void 0),u=Hr(t,`policies`,7,void 0),d=Ht(!1);pn(()=>{if(r()!==`small`&&r()!==`regular`&&r()!==`large`&&r(`regular`),typeof s()==`string`&&(s()===`yes`||s()===`true`?s(!0):s(!1)),!i())console.warn(`no company provided!`);else if(typeof i()==`string`)try{i(JSON.parse(i()))}catch{console.warn(`company is not a valid JSON`)}if(typeof o()==`string`)try{o(JSON.parse(o()))}catch{console.warn(`columns is not a valid JSON`)}let e=0;for(let t of o())t._id||=`ccc_`+e.toString(),e++;if(typeof a()==`string`)try{a(JSON.parse(a()))}catch{}if(typeof c()==`string`)try{c(JSON.parse(c()))}catch{console.warn(`socials is not a valid JSON`)}if(typeof l()==`string`)try{l(JSON.parse(l()));let e=0;if(l().phones?.length)for(let t of l().phones)e++,t._id||=e.toString();if(l().emails?.length)for(let t of l().emails)e++,t._id||=e.toString();if(l().addresses?.length)for(let t of l().addresses)e++,t._id||=e.toString();if(l().sites?.length)for(let t of l().sites)e++,t._id||=e.toString()}catch{}if(typeof u()==`string`)try{u(JSON.parse(u()))}catch{}});function f(e,n){t.$$host.dispatchEvent(new CustomEvent(e,{detail:n}))}function p(e){f(`footerClick`,{elClick:e})}Xr({repoName:`@htmlbricks/hb-contact-item`,version:Yr.version});var m={get id(){return n()},set id(e=``){n(e),ft()},get type(){return r()},set type(e=`regular`){r(e),ft()},get company(){return i()},set company(e){i(e),ft()},get brandandcontacts(){return a()},set brandandcontacts(e=void 0){a(e),ft()},get columns(){return o()},set columns(e=[]){o(e),ft()},get disable_expanding_small(){return s()},set disable_expanding_small(e=!1){s(e),ft()},get socials(){return c()},set socials(e=void 0){c(e),ft()},get contacts(){return l()},set contacts(e=void 0){l(e),ft()},get policies(){return u()},set policies(e=void 0){u(e),ft()}},h=Ai();jr(`1tntk73`,e=>{X(e,Zr())});var g=P(h),_=e=>{var n=ti(),r=P(n),a=P(r),o=e=>{var t=Qr();tr(`click`,t,()=>{Wt(d,!0)}),X(e,t)};Z(a,e=>{s()||e(o)});var c=I(a,2);Ar(P(c),t,`footer_small`,{},e=>{var t=ur(),n=F(t),r=e=>{var t=ei(),n=P(t),r=e=>{var t=$r(),n=P(t);D(t),L(()=>Rr(n,`src`,i().logoUri)),X(e,t)};Z(n,e=>{i().logoUri&&e(r)});var a=I(n);D(t),L(e=>pr(a,` ${e??``}`),[()=>new Date().getFullYear().toString()+` `+(i()?.companyName?` - `+(i()?.companyName||``):``)]),X(e,t)};Z(n,e=>{i()?.siteName&&e(r)}),X(e,t)}),D(c),D(r),D(n),X(e,n)},v=e=>{var n=ki(),r=F(n),a=e=>{var t=ni(),n=P(t),r=P(n);D(n),D(t),tr(`click`,r,()=>{Wt(d,!1)}),X(e,t)};Z(r,e=>{J(d)&&e(a)});var s=I(r,2),f=P(s);Ar(f,t,`footerheader`,{class:`row`},e=>{});var m=I(f,2);Ar(m,t,`footercontent`,{},e=>{var t=wi(),n=P(t),r=P(n),a=P(r),s=P(a),u=e=>{var t=ri(),n=P(t);D(t),L(()=>Rr(n,`src`,i().logoUri)),X(e,t)};Z(s,e=>{i()?.logoUri&&e(u)});var d=I(s);D(a),D(r);var f=I(r,2),m=P(f,!0);D(f);var h=I(f,2),g=P(h,!0);D(h);var _=I(h,2),v=P(_,!0);D(_),D(n);var y=I(n,2),b=e=>{var t=ci(),n=I(P(t),2),r=P(n),i=e=>{var t=ur();wr(F(t),17,()=>l().phones,e=>e._id,(e,t)=>{var n=ii(),r=P(n);L(()=>$(r,`phone`,JSON.stringify(J(t)))),Q(r,1,`svelte-1tntk73`),D(n),X(e,n)}),X(e,t)};Z(r,e=>{l().phones?.length&&e(i)});var a=I(r,2),s=e=>{var t=ur();wr(F(t),17,()=>l().addresses,e=>e._id,(e,t)=>{var n=ai(),r=P(n);L(()=>$(r,`address`,JSON.stringify(J(t)))),Q(r,1,`svelte-1tntk73`),D(n),X(e,n)}),X(e,t)};Z(a,e=>{l().addresses?.length&&e(s)});var u=I(a,2),d=e=>{var t=ur();wr(F(t),17,()=>l().emails,e=>e._id,(e,t)=>{var n=oi(),r=P(n);L(()=>$(r,`email`,JSON.stringify(J(t)))),Q(r,1,`svelte-1tntk73`),D(n),X(e,n)}),X(e,t)};Z(u,e=>{l().emails?.length&&e(d)});var f=I(u,2),p=e=>{var t=ur();wr(F(t),17,()=>l().sites,e=>e._id,(e,t)=>{var n=si(),r=P(n);L(()=>$(r,`site`,JSON.stringify(J(t)))),Q(r,1,`svelte-1tntk73`),D(n),X(e,n)}),X(e,t)};Z(f,e=>{l().sites?.length&&e(p)}),D(n),D(t),L(()=>Q(t,1,`col-md-${12/(1+(l()?1:0)+(c()?1:0)+(o()?.length?o().length:0))}`,`svelte-1tntk73`)),X(e,t)};Z(y,e=>{l()&&e(b)});var x=I(y,2),S=e=>{var t=gi(),n=I(P(t),2),r=P(n),i=e=>{var t=li(),n=P(t);$(n,`social`,JSON.stringify({name:`facebook`,label:`pagina facebook`,pageUri:`https://facebook.com`})),Q(n,1,`svelte-1tntk73`),D(t),X(e,t)};Z(r,e=>{c().facebook&&e(i)});var a=I(r,2),s=e=>{var t=ui(),n=P(t);$(n,`social`,JSON.stringify({name:`gmail`,label:`pagina gmail`,pageUri:`https://gmail.com`})),Q(n,1,`svelte-1tntk73`),D(t),X(e,t)};Z(a,e=>{c()?.gmail&&e(s)});var u=I(a,2),d=e=>{var t=di(),n=P(t);$(n,`social`,JSON.stringify({name:`twitter`,label:`pagina twitter`,pageUri:`https://twitter.com`})),Q(n,1,`svelte-1tntk73`),D(t),X(e,t)};Z(u,e=>{c()?.twitter&&e(d)});var f=I(u,2),p=e=>{var t=fi(),n=P(t);L(()=>$(n,`social`,JSON.stringify({name:`github`,label:`pagina github`,pageUri:c().github}))),Q(n,1,`svelte-1tntk73`),D(t),X(e,t)};Z(f,e=>{c()?.github&&e(p)});var m=I(f,2),h=e=>{var t=pi(),n=P(t);$(n,`social`,JSON.stringify({name:`twitch`,label:`pagina twitch`,pageUri:`https://twitch.com`})),Q(n,1,`svelte-1tntk73`),D(t),X(e,t)};Z(m,e=>{c()?.twitch&&e(h)});var g=I(m,2),_=e=>{var t=mi(),n=P(t);$(n,`social`,JSON.stringify({name:`youtube`,label:`pagina youtube`,pageUri:`https://youtube.com`})),Q(n,1,`svelte-1tntk73`),D(t),X(e,t)};Z(g,e=>{c()?.youtube&&e(_)});var v=I(g,2),y=e=>{var t=hi(),n=P(t);$(n,`social`,JSON.stringify({name:`discord`,label:`pagina discord`,pageUri:`https://discord.com`})),Q(n,1,`svelte-1tntk73`),D(t),X(e,t)};Z(v,e=>{c()?.discord&&e(y)}),D(n),D(t),L(()=>Q(t,1,`col-md-${12/(1+(l()?1:0)+(c()?1:0)+(o()?.length?o().length:0))}`,`svelte-1tntk73`)),X(e,t)};Z(x,e=>{c()&&e(S)});var ee=I(x,2),te=e=>{var t=ur();wr(F(t),17,o,e=>e._id,(e,t)=>{var n=Ci(),r=P(n),i=P(r,!0);D(r);var a=I(r,2);wr(a,21,()=>J(t).cells,e=>e._id,(e,t)=>{var n=ur(),r=F(n),i=e=>{var n=_i(),r=P(n),i=P(r,!0);D(r),D(n),L(()=>pr(i,J(t).label)),tr(`click`,r,()=>p(J(t)._id)),X(e,n)},a=e=>{var n=vi(),r=P(n);L(()=>$(r,`phone`,JSON.stringify(J(t).phone))),Q(r,1,`svelte-1tntk73`),D(n),X(e,n)},o=e=>{var n=yi(),r=P(n);L(()=>$(r,`address`,JSON.stringify(J(t).address))),Q(r,1,`svelte-1tntk73`),D(n),X(e,n)},s=e=>{var n=bi(),r=P(n);L(()=>$(r,`email`,JSON.stringify(J(t).email))),Q(r,1,`svelte-1tntk73`),D(n),X(e,n)},c=e=>{var n=xi(),r=P(n);L(()=>$(r,`site`,JSON.stringify(J(t).site))),Q(r,1,`svelte-1tntk73`),D(n),X(e,n)},l=e=>{var n=Si(),r=P(n),i=P(r,!0);D(r),D(n),L(()=>pr(i,J(t).label)),tr(`click`,r,()=>p(J(t)._id)),X(e,n)};Z(r,e=>{J(t).label?e(i):J(t).phone?e(a,1):J(t).address?e(o,2):J(t).email?e(s,3):J(t).site?e(c,4):J(t).label&&e(l,5)}),X(e,n)}),D(a),D(n),L(()=>{Q(n,1,`col-md-${12/(1+(l()?1:0)+(c()?1:0)+(o()?.length?o().length:0))}`,`svelte-1tntk73`),pr(i,J(t).title?J(t).title:``)}),X(e,n)}),X(e,t)};Z(ee,e=>{o()?.length&&e(te)}),D(t),L(()=>{Q(n,1,`col-md-${12/(1+(l()?1:0)+(c()?1:0)+(o()?.length?o().length:0))}`,`svelte-1tntk73`),pr(d,` ${(i()?.siteName||``)??``}`),pr(m,i()?.description||``),pr(g,i()?.companyName||``),pr(v,i()?.vatNumber||i()?.fiscalCode||``)}),X(e,t)});var h=I(m,2);Ar(P(h),t,`footerpolicy`,{},e=>{var t=ur(),n=F(t),r=e=>{var t=ur();wr(F(t),17,u,e=>e.key,(e,t)=>{var n=Di(),r=P(n),i=e=>{var n=Ti(),r=P(n,!0);D(n),L(()=>{Rr(n,`href`,J(t).link),pr(r,J(t).label)}),X(e,n)},a=e=>{var n=Ei(),r=P(n,!0);D(n),L(()=>pr(r,J(t).label)),tr(`click`,n,()=>p(J(t).key)),X(e,n)};Z(r,e=>{J(t).link?e(i):e(a,-1)}),D(n),X(e,n)}),X(e,t)};Z(n,e=>{u()?.length&&e(r)}),X(e,t)}),D(h);var g=I(h,2);Ar(P(g),t,`footerbottom`,{},e=>{var t=ur(),n=F(t),r=e=>{var t=Oi(),n=P(t,!0);D(t),L(e=>pr(n,e),[()=>i()?.registration?.text||(i().since?`${i().since?.toString()} - `:``)+new Date().getFullYear().toString()+` `+(i()?.companyName?` - `+(i()?.companyName||``):``)]),X(e,t)};Z(n,e=>{i()?.siteName&&e(r)}),X(e,t)}),D(g),D(s),X(e,n)},y=e=>{X(e,lr(`large`))};return Z(g,e=>{r()===`small`&&!J(d)?e(_):r()===`regular`||r()===`small`&&J(d)?e(v,1):r()===`large`&&e(y,2)}),D(h),X(e,h),He(m)}nr([`click`]),customElements.define(`hb-footer`,Jr(Mi,{id:{},type:{},company:{},brandandcontacts:{},columns:{},disable_expanding_small:{},socials:{},contacts:{},policies:{}},[`footer_small`,`footerheader`,`footercontent`,`footerpolicy`,`footerbottom`],[],{mode:`open`})),e.Component=Mi})(this.footer=this.footer||{});
186
+ //# sourceMappingURL=main.iife.js.map