@htmlbricks/hb-footer 0.65.16 → 0.65.17

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,5 @@
1
1
  (function(Qn){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const tr=1,er=2,nr=4,ao=8,so=16,mo=1,po=4,vo=8,bo=16,go=1,co=2,rr="[",an="[!",Rn="]",Ee={},K=Symbol(),fo="http://www.w3.org/1999/xhtml",Nn=!1;var or=Array.isArray,ko=Array.prototype.indexOf,Tn=Array.from,sn=Object.keys,mn=Object.defineProperty,de=Object.getOwnPropertyDescriptor,uo=Object.getOwnPropertyDescriptors,ho=Object.prototype,xo=Array.prototype,ir=Object.getPrototypeOf,lr=Object.isExtensible;function yo(t){for(var e=0;e<t.length;e++)t[e]()}function ar(){var t,e,n=new Promise((r,o)=>{t=r,e=o});return{promise:n,resolve:t,reject:e}}const H=2,zn=4,On=8,Ut=16,Jt=32,ne=64,dn=128,Nt=512,X=1024,pt=2048,qt=4096,vt=8192,Ht=16384,pn=32768,Ae=65536,sr=1<<17,Cn=1<<18,pe=1<<19,wo=1<<20,ve=32768,Bn=1<<21,Dn=1<<22,re=1<<23,vn=Symbol("$state"),mr=Symbol("legacy props"),_o=Symbol(""),Se=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},bn=3,be=8;function jo(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function $o(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 Ro(){throw new Error("https://svelte.dev/e/hydration_failed")}function No(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 gn(t){console.warn("https://svelte.dev/e/hydration_mismatch")}function Bo(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let y=!1;function bt(t){y=t}let E;function Y(t){if(t===null)throw gn(),Ee;return E=t}function qe(){return Y(_t(E))}function u(t){if(y){if(_t(E)!==null)throw gn(),Ee;E=t}}function Do(t=1){if(y){for(var e=t,n=E;e--;)n=_t(n);E=n}}function cn(t=!0){for(var e=0,n=E;;){if(n.nodeType===be){var r=n.data;if(r===Rn){if(e===0)return n;e-=1}else(r===rr||r===an)&&(e+=1)}var o=_t(n);t&&n.remove(),n=o}}function dr(t){if(!t||t.nodeType!==be)throw gn(),Ee;return t.data}function pr(t){return t===this.v}function Lo(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function vr(t){return!Lo(t,this.v)}let Mo=!1,xt=null;function Re(t){xt=t}function br(t,e=!1,n){xt={p:xt,i:!1,c:null,e:null,s:t,x:null,l:null}}function gr(t){var e=xt,n=e.e;if(n!==null){e.e=null;for(var r of n)Br(r)}return t!==void 0&&(e.x=t),e.i=!0,xt=e.p,t??{}}function cr(){return!0}let ge=[];function fr(){var t=ge;ge=[],yo(t)}function fn(t){if(ge.length===0&&!He){var e=ge;queueMicrotask(()=>{e===ge&&fr()})}ge.push(t)}function Io(){for(;ge.length>0;)fr()}function kr(t){var e=A;if(e===null)return j.f|=re,t;if((e.f&pn)===0){if((e.f&dn)===0)throw t;e.b.error(t)}else Ne(t,e)}function Ne(t,e){for(;e!==null;){if((e.f&dn)!==0)try{e.b.error(t);return}catch(n){t=n}e=e.parent}throw t}const kn=new Set;let D=null,yt=null,wt=[],un=null,Ln=!1,He=!1;class Tt{committed=!1;current=new Map;previous=new Map;#e=new Set;#t=new Set;#n=0;#r=0;#s=null;#i=[];#o=[];skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#r>0}process(e){wt=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of e)this.#l(r,n);this.is_fork||this.#d(),this.is_deferred()?(this.#a(n.effects),this.#a(n.render_effects),this.#a(n.block_effects)):(D=null,hr(n.render_effects),hr(n.effects),this.#s?.resolve()),yt=null}#l(e,n){e.f^=X;for(var r=e.first;r!==null;){var o=r.f,i=(o&(Jt|ne))!==0,l=i&&(o&X)!==0,s=l||(o&vt)!==0||this.skipped_effects.has(r);if((r.f&dn)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!s&&r.fn!==null){i?r.f^=X:(o&zn)!==0?n.effects.push(r):We(r)&&((r.f&Ut)!==0&&n.block_effects.push(r),Ke(r));var a=r.first;if(a!==null){r=a;continue}}var m=r.parent;for(r=r.next;r===null&&m!==null;)m===n.effect&&(this.#a(n.effects),this.#a(n.render_effects),this.#a(n.block_effects),n=n.parent),r=m.next,m=m.parent}}#a(e){for(const n of e)((n.f&pt)!==0?this.#i:this.#o).push(n),this.#m(n.deps),Q(n,X)}#m(e){if(e!==null)for(const n of e)(n.f&H)===0||(n.f&ve)===0||(n.f^=ve,this.#m(n.deps))}capture(e,n){this.previous.has(e)||this.previous.set(e,n),(e.f&re)===0&&(this.current.set(e,e.v),yt?.set(e,e.v))}activate(){D=this,this.apply()}deactivate(){D===this&&(D=null,yt=null)}flush(){if(this.activate(),wt.length>0){if(ur(),D!==null&&D!==this)return}else this.#n===0&&this.process([]);this.deactivate()}discard(){for(const e of this.#t)e(this);this.#t.clear()}#d(){if(this.#r===0){for(const e of this.#e)e();this.#e.clear()}this.#n===0&&this.#p()}#p(){if(kn.size>1){this.previous.clear();var e=yt,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const i of kn){if(i===this){n=!1;continue}const l=[];for(const[a,m]of this.current){if(i.current.has(a))if(n&&m!==i.current.get(a))i.current.set(a,m);else continue;l.push(a)}if(l.length===0)continue;const s=[...i.current.keys()].filter(a=>!this.current.has(a));if(s.length>0){var o=wt;wt=[];const a=new Set,m=new Map;for(const d of l)xr(d,s,a,m);if(wt.length>0){D=i,i.apply();for(const d of wt)i.#l(d,r);i.deactivate()}wt=o}}D=null,yt=e}this.committed=!0,kn.delete(this)}increment(e){this.#n+=1,e&&(this.#r+=1)}decrement(e){this.#n-=1,e&&(this.#r-=1),this.revive()}revive(){for(const e of this.#i)Q(e,pt),ce(e);for(const e of this.#o)Q(e,qt),ce(e);this.#i=[],this.#o=[],this.flush()}oncommit(e){this.#e.add(e)}ondiscard(e){this.#t.add(e)}settled(){return(this.#s??=ar()).promise}static ensure(){if(D===null){const e=D=new Tt;kn.add(D),He||Tt.enqueue(()=>{D===e&&e.flush()})}return D}static enqueue(e){fn(e)}apply(){}}function Bt(t){var e=He;He=!0;try{for(var n;;){if(Io(),wt.length===0&&(D?.flush(),wt.length===0))return un=null,n;ur()}}finally{He=e}}function ur(){var t=le;Ln=!0;var e=null;try{var n=0;for(wn(!0);wt.length>0;){var r=Tt.ensure();if(n++>1e3){var o,i;Po()}r.process(wt),oe.clear()}}finally{Ln=!1,wn(t),un=null}}function Po(){try{So()}catch(t){Ne(t,un)}}let Yt=null;function hr(t){var e=t.length;if(e!==0){for(var n=0;n<e;){var r=t[n++];if((r.f&(Ht|vt))===0&&We(r)&&(Yt=new Set,Ke(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?Ir(r):r.fn=null),Yt?.size>0)){oe.clear();for(const o of Yt){if((o.f&(Ht|vt))!==0)continue;const i=[o];let l=o.parent;for(;l!==null;)Yt.has(l)&&(Yt.delete(l),i.push(l)),l=l.parent;for(let s=i.length-1;s>=0;s--){const a=i[s];(a.f&(Ht|vt))===0&&Ke(a)}}Yt.clear()}}Yt=null}}function xr(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&H)!==0?xr(o,e,n,r):(i&(Dn|Ut))!==0&&(i&pt)===0&&yr(o,e,r)&&(Q(o,pt),ce(o))}}function yr(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(e.includes(o))return!0;if((o.f&H)!==0&&yr(o,e,n))return n.set(o,!0),!0}return n.set(t,!1),!1}function ce(t){for(var e=un=t;e.parent!==null;){e=e.parent;var n=e.f;if(Ln&&e===A&&(n&Ut)!==0&&(n&Cn)===0)return;if((n&(ne|Jt))!==0){if((n&X)===0)return;e.f^=X}}wt.push(e)}function Go(t){let e=0,n=ke(0),r;return()=>{xn()&&(g(n),Dr(()=>(e===0&&(r=Xr(()=>t(()=>Ye(n)))),e+=1,()=>{fn(()=>{e-=1,e===0&&(r?.(),r=void 0,Ye(n))})})))}}var Fo=Ae|pe|dn;function Uo(t,e,n){new Jo(t,e,n)}class Jo{parent;#e=!1;#t;#n=y?E:null;#r;#s;#i;#o=null;#l=null;#a=null;#m=null;#d=null;#p=0;#v=0;#g=!1;#b=null;#h=Go(()=>(this.#b=ke(this.#p),()=>{this.#b=null}));constructor(e,n,r){this.#t=e,this.#r=n,this.#s=r,this.parent=A.b,this.#e=!!this.#r.pending,this.#i=yn(()=>{if(A.b=this,y){const i=this.#n;qe(),i.nodeType===be&&i.data===an?this.#y():this.#x()}else{var o=this.#k();try{this.#o=jt(()=>r(o))}catch(i){this.error(i)}this.#v>0?this.#f():this.#e=!1}return()=>{this.#d?.remove()}},Fo),y&&(this.#t=E)}#x(){try{this.#o=jt(()=>this.#s(this.#t))}catch(e){this.error(e)}this.#e=!1}#y(){const e=this.#r.pending;e&&(this.#l=jt(()=>e(this.#t)),Tt.enqueue(()=>{var n=this.#k();this.#o=this.#c(()=>(Tt.ensure(),jt(()=>this.#s(n)))),this.#v>0?this.#f():(ze(this.#l,()=>{this.#l=null}),this.#e=!1)}))}#k(){var e=this.#t;return this.#e&&(this.#d=ot(),this.#t.before(this.#d),e=this.#d),e}is_pending(){return this.#e||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#r.pending}#c(e){var n=A,r=j,o=xt;$t(this.#i),Z(this.#i),Re(this.#i.ctx);try{return e()}catch(i){return kr(i),null}finally{$t(n),Z(r),Re(o)}}#f(){const e=this.#r.pending;this.#o!==null&&(this.#m=document.createDocumentFragment(),this.#m.append(this.#d),Fr(this.#o,this.#m)),this.#l===null&&(this.#l=jt(()=>e(this.#t)))}#u(e){if(!this.has_pending_snippet()){this.parent&&this.parent.#u(e);return}this.#v+=e,this.#v===0&&(this.#e=!1,this.#l&&ze(this.#l,()=>{this.#l=null}),this.#m&&(this.#t.before(this.#m),this.#m=null))}update_pending_count(e){this.#u(e),this.#p+=e,this.#b&&Te(this.#b,this.#p)}get_effect_pending(){return this.#h(),g(this.#b)}error(e){var n=this.#r.onerror;let r=this.#r.failed;if(this.#g||!n&&!r)throw e;this.#o&&(it(this.#o),this.#o=null),this.#l&&(it(this.#l),this.#l=null),this.#a&&(it(this.#a),this.#a=null),y&&(Y(this.#n),Do(),Y(cn()));var o=!1,i=!1;const l=()=>{if(o){Bo();return}o=!0,i&&Co(),Tt.ensure(),this.#p=0,this.#a!==null&&ze(this.#a,()=>{this.#a=null}),this.#e=this.has_pending_snippet(),this.#o=this.#c(()=>(this.#g=!1,jt(()=>this.#s(this.#t)))),this.#v>0?this.#f():this.#e=!1};var s=j;try{Z(null),i=!0,n?.(e,l),i=!1}catch(a){Ne(a,this.#i&&this.#i.parent)}finally{Z(s)}r&&fn(()=>{this.#a=this.#c(()=>{Tt.ensure(),this.#g=!0;try{return jt(()=>{r(this.#t,()=>e,()=>l)})}catch(a){return Ne(a,this.#i.parent),null}finally{this.#g=!1}})})}}function qo(t,e,n){for(var r=[],o=e.length,i=0;i<o;i++)Un(e[i].e,r,!0);Pr(r,()=>{var l=r.length===0&&n!==null;if(l){var s=n,a=s.parentNode;zr(a),a.append(s),t.items.clear(),Dt(t,e[0].prev,e[o-1].next)}for(var m=0;m<o;m++){var d=e[m];l||(t.items.delete(d.k),Dt(t,d.prev,d.next)),it(d.e,!l)}t.first===e[0]&&(t.first=e[0].prev)})}function fe(t,e,n,r,o,i=null){var l=t,s=new Map,a=null,m=(e&nr)!==0,d=(e&tr)!==0,b=(e&er)!==0;if(m){var p=t;l=y?Y(ie(p)):p.appendChild(ot())}y&&qe();var v=null,w=wr(()=>{var f=n();return or(f)?f:f==null?[]:Tn(f)}),z,c=!0;function N(){Ho(ct,z,l,e,r),v!==null&&(z.length===0?(v.fragment?(l.before(v.fragment),v.fragment=null):Jn(v.effect),B.first=v.effect):ze(v.effect,()=>{v=null}))}var B=yn(()=>{z=g(w);var f=z.length;let _=!1;if(y){var L=dr(l)===an;L!==(f===0)&&(l=cn(),Y(l),bt(!1),_=!0)}for(var ft=new Set,At=D,tt=null,It=Or(),U=0;U<f;U+=1){y&&E.nodeType===be&&E.data===Rn&&(l=E,_=!0,bt(!1));var kt=z[U],ut=r(kt,U),J=c?null:s.get(ut);J?(d&&Te(J.v,kt),b?Te(J.i,U):J.i=U,It&&At.skipped_effects.delete(J.e)):(J=Yo(c?l:null,tt,kt,ut,U,o,e,n),c&&(J.o=!0,tt===null?a=J:tt.next=J,tt=J),s.set(ut,J)),ft.add(ut)}if(f===0&&i&&!v)if(c)v={fragment:null,effect:jt(()=>i(l))};else{var Kt=document.createDocumentFragment(),Pt=ot();Kt.append(Pt),v={fragment:Kt,effect:jt(()=>i(Pt))}}if(y&&f>0&&Y(cn()),!c)if(It){for(const[Ce,Be]of s)ft.has(Ce)||At.skipped_effects.add(Be.e);At.oncommit(N),At.ondiscard(()=>{})}else N();_&&bt(!0),g(w)}),ct={effect:B,items:s,first:a};c=!1,y&&(l=E)}function Ho(t,e,n,r,o){var i=(r&ao)!==0,l=e.length,s=t.items,a=t.first,m,d=null,b,p=[],v=[],w,z,c,N;if(i)for(N=0;N<l;N+=1)w=e[N],z=o(w,N),c=s.get(z),c.a?.measure(),(b??=new Set).add(c);for(N=0;N<l;N+=1){if(w=e[N],z=o(w,N),c=s.get(z),t.first??=c,!c.o){c.o=!0;var B=d?d.next:a;Dt(t,d,c),Dt(t,c,B),Mn(c,B,n),d=c,p=[],v=[],a=d.next;continue}if((c.e.f&vt)!==0&&(Jn(c.e),i&&(c.a?.unfix(),(b??=new Set).delete(c))),c!==a){if(m!==void 0&&m.has(c)){if(p.length<v.length){var ct=v[0],f;d=ct.prev;var _=p[0],L=p[p.length-1];for(f=0;f<p.length;f+=1)Mn(p[f],ct,n);for(f=0;f<v.length;f+=1)m.delete(v[f]);Dt(t,_.prev,L.next),Dt(t,d,_),Dt(t,L,ct),a=ct,d=L,N-=1,p=[],v=[]}else m.delete(c),Mn(c,a,n),Dt(t,c.prev,c.next),Dt(t,c,d===null?t.first:d.next),Dt(t,d,c),d=c;continue}for(p=[],v=[];a!==null&&a.k!==z;)(a.e.f&vt)===0&&(m??=new Set).add(a),v.push(a),a=a.next;if(a===null)continue;c=a}p.push(c),d=c,a=c.next}if(a!==null||m!==void 0){for(var ft=m===void 0?[]:Tn(m);a!==null;)(a.e.f&vt)===0&&ft.push(a),a=a.next;var At=ft.length;if(At>0){var tt=(r&nr)!==0&&l===0?n:null;if(i){for(N=0;N<At;N+=1)ft[N].a?.measure();for(N=0;N<At;N+=1)ft[N].a?.fix()}qo(t,ft,tt)}}i&&fn(()=>{if(b!==void 0)for(c of b)c.a?.apply()})}function Yo(t,e,n,r,o,i,l,s){var a=(l&tr)!==0,m=(l&so)===0,d=a?m?Er(n,!1,!1):ke(n):n,b=(l&er)===0?o:ke(o),p={i:b,v:d,k:r,a:null,e:null,o:!1,prev:e,next:null};try{if(t===null){var v=document.createDocumentFragment();v.append(t=ot())}return p.e=jt(()=>i(t,d,b,s)),e!==null&&(e.next=p),p}finally{}}function Mn(t,e,n){for(var r=t.next?t.next.e.nodes_start:n,o=e?e.e.nodes_start:n,i=t.e.nodes_start;i!==null&&i!==r;){var l=_t(i);o.before(i),i=l}}function Dt(t,e,n){e===null?(t.first=n,t.effect.first=n&&n.e):(e.e.next&&(e.e.next.prev=null),e.next=n,e.e.next=n&&n.e),n===null?t.effect.last=e&&e.e:(n.e.prev&&(n.e.prev.next=null),n.prev=e,n.e.prev=e&&e.e)}function Vo(t,e,n,r){const o=In;if(n.length===0&&t.length===0){r(e.map(o));return}var i=D,l=A,s=Wo();function a(){Promise.all(n.map(m=>Ko(m))).then(m=>{s();try{r([...e.map(o),...m])}catch(d){(l.f&Ht)===0&&Ne(d,l)}i?.deactivate(),hn()}).catch(m=>{Ne(m,l)})}t.length>0?Promise.all(t).then(()=>{s();try{return a()}finally{i?.deactivate(),hn()}}):a()}function Wo(){var t=A,e=j,n=xt,r=D;return function(i=!0){$t(t),Z(e),Re(n),i&&r?.activate()}}function hn(){$t(null),Z(null),Re(null)}function In(t){var e=H|pt,n=j!==null&&(j.f&H)!==0?j:null;return A!==null&&(A.f|=pe),{ctx:xt,deps:null,effects:null,equals:pr,f:e,fn:t,reactions:null,rv:0,v:K,wv:0,parent:n??A,ac:null}}function Ko(t,e){let n=A;n===null&&jo();var r=n.b,o=void 0,i=ke(K),l=!j,s=new Map;return li(()=>{var a=ar();o=a.promise;try{Promise.resolve(t()).then(a.resolve,a.reject).then(()=>{m===D&&m.committed&&m.deactivate(),hn()})}catch(p){a.reject(p),hn()}var m=D;if(l){var d=!r.is_pending();r.update_pending_count(1),m.increment(d),s.get(m)?.reject(Se),s.delete(m),s.set(m,a)}const b=(p,v=void 0)=>{if(m.activate(),v)v!==Se&&(i.f|=re,Te(i,v));else{(i.f&re)!==0&&(i.f^=re),Te(i,p);for(const[w,z]of s){if(s.delete(w),w===m)break;z.reject(Se)}}l&&(r.update_pending_count(-1),m.decrement(d))};a.promise.then(b,p=>b(null,p||"unknown"))}),ei(()=>{for(const a of s.values())a.reject(Se)}),new Promise(a=>{function m(d){function b(){d===o?a(i):m(o)}d.then(b,b)}m(o)})}function wr(t){const e=In(t);return e.equals=vr,e}function _r(t){var e=t.effects;if(e!==null){t.effects=null;for(var n=0;n<e.length;n+=1)it(e[n])}}function Xo(t){for(var e=t.parent;e!==null;){if((e.f&H)===0)return(e.f&Ht)===0?e:null;e=e.parent}return null}function Pn(t){var e,n=A;$t(Xo(t));try{t.f&=~ve,_r(t),e=Vr(t)}finally{$t(n)}return e}function jr(t){var e=Pn(t);if(t.equals(e)||(D?.is_fork||(t.v=e),t.wv=Hr()),!he)if(yt!==null)xn()&&yt.set(t,e);else{var n=(t.f&Nt)===0?qt:X;Q(t,n)}}let Gn=new Set;const oe=new Map;let $r=!1;function ke(t,e){var n={f:0,v:t,reactions:null,equals:pr,rv:0,wv:0};return n}function zt(t,e){const n=ke(t);return mi(n),n}function Er(t,e=!1,n=!0){const r=ke(t);return e||(r.equals=vr),r}function Ot(t,e,n=!1){j!==null&&(!Mt||(j.f&sr)!==0)&&cr()&&(j.f&(H|Ut|Dn|sr))!==0&&!Vt?.includes(t)&&Oo();let r=n?ue(e):e;return Te(t,r)}function Te(t,e){if(!t.equals(e)){var n=t.v;he?oe.set(t,e):oe.set(t,n),t.v=e;var r=Tt.ensure();r.capture(t,n),(t.f&H)!==0&&((t.f&pt)!==0&&Pn(t),Q(t,(t.f&Nt)!==0?X:qt)),t.wv=Hr(),Ar(t,pt),A!==null&&(A.f&X)!==0&&(A.f&(Jt|ne))===0&&(Et===null?di([t]):Et.push(t)),!r.is_fork&&Gn.size>0&&!$r&&Zo()}return e}function Zo(){$r=!1;var t=le;wn(!0);const e=Array.from(Gn);try{for(const n of e)(n.f&X)!==0&&Q(n,qt),We(n)&&Ke(n)}finally{wn(t)}Gn.clear()}function Ye(t){Ot(t,t.v+1)}function Ar(t,e){var n=t.reactions;if(n!==null)for(var r=n.length,o=0;o<r;o++){var i=n[o],l=i.f,s=(l&pt)===0;if(s&&Q(i,e),(l&H)!==0){var a=i;yt?.delete(a),(l&ve)===0&&(l&Nt&&(i.f|=ve),Ar(a,qt))}else s&&((l&Ut)!==0&&Yt!==null&&Yt.add(i),ce(i))}}function ue(t){if(typeof t!="object"||t===null||vn in t)return t;const e=ir(t);if(e!==ho&&e!==xo)return t;var n=new Map,r=or(t),o=zt(0),i=xe,l=s=>{if(xe===i)return s();var a=j,m=xe;Z(null),qr(i);var d=s();return Z(a),qr(m),d};return r&&n.set("length",zt(t.length)),new Proxy(t,{defineProperty(s,a,m){(!("value"in m)||m.configurable===!1||m.enumerable===!1||m.writable===!1)&&To();var d=n.get(a);return d===void 0?d=l(()=>{var b=zt(m.value);return n.set(a,b),b}):Ot(d,m.value,!0),!0},deleteProperty(s,a){var m=n.get(a);if(m===void 0){if(a in s){const d=l(()=>zt(K));n.set(a,d),Ye(o)}}else Ot(m,K),Ye(o);return!0},get(s,a,m){if(a===vn)return t;var d=n.get(a),b=a in s;if(d===void 0&&(!b||de(s,a)?.writable)&&(d=l(()=>{var v=ue(b?s[a]:K),w=zt(v);return w}),n.set(a,d)),d!==void 0){var p=g(d);return p===K?void 0:p}return Reflect.get(s,a,m)},getOwnPropertyDescriptor(s,a){var m=Reflect.getOwnPropertyDescriptor(s,a);if(m&&"value"in m){var d=n.get(a);d&&(m.value=g(d))}else if(m===void 0){var b=n.get(a),p=b?.v;if(b!==void 0&&p!==K)return{enumerable:!0,configurable:!0,value:p,writable:!0}}return m},has(s,a){if(a===vn)return!0;var m=n.get(a),d=m!==void 0&&m.v!==K||Reflect.has(s,a);if(m!==void 0||A!==null&&(!d||de(s,a)?.writable)){m===void 0&&(m=l(()=>{var p=d?ue(s[a]):K,v=zt(p);return v}),n.set(a,m));var b=g(m);if(b===K)return!1}return d},set(s,a,m,d){var b=n.get(a),p=a in s;if(r&&a==="length")for(var v=m;v<b.v;v+=1){var w=n.get(v+"");w!==void 0?Ot(w,K):v in s&&(w=l(()=>zt(K)),n.set(v+"",w))}if(b===void 0)(!p||de(s,a)?.writable)&&(b=l(()=>zt(void 0)),Ot(b,ue(m)),n.set(a,b));else{p=b.v!==K;var z=l(()=>ue(m));Ot(b,z)}var c=Reflect.getOwnPropertyDescriptor(s,a);if(c?.set&&c.set.call(d,m),!p){if(r&&typeof a=="string"){var N=n.get("length"),B=Number(a);Number.isInteger(B)&&B>=N.v&&Ot(N,B+1)}Ye(o)}return!0},ownKeys(s){g(o);var a=Reflect.ownKeys(s).filter(b=>{var p=n.get(b);return p===void 0||p.v!==K});for(var[m,d]of n)d.v!==K&&!(m in s)&&a.push(m);return a},setPrototypeOf(){zo()}})}var Sr,Rr,Nr,Tr;function Fn(){if(Sr===void 0){Sr=window,Rr=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,n=Text.prototype;Nr=de(e,"firstChild").get,Tr=de(e,"nextSibling").get,lr(t)&&(t.__click=void 0,t.__className=void 0,t.__attributes=null,t.__style=void 0,t.__e=void 0),lr(n)&&(n.__t=void 0)}}function ot(t=""){return document.createTextNode(t)}function ie(t){return Nr.call(t)}function _t(t){return Tr.call(t)}function x(t,e){if(!y)return ie(t);var n=ie(E);if(n===null)n=E.appendChild(ot());else if(e&&n.nodeType!==bn){var r=ot();return n?.before(r),Y(r),r}return Y(n),n}function F(t,e=!1){if(!y){var n=ie(t);return n instanceof Comment&&n.data===""?_t(n):n}if(e&&E?.nodeType!==bn){var r=ot();return E?.before(r),Y(r),r}return E}function O(t,e=1,n=!1){let r=y?E:t;for(var o;e--;)o=r,r=_t(r);if(!y)return r;if(n&&r?.nodeType!==bn){var i=ot();return r===null?o?.after(i):r.before(i),Y(i),i}return Y(r),r}function zr(t){t.textContent=""}function Or(){return!1}function Cr(t){var e=j,n=A;Z(null),$t(null);try{return t()}finally{Z(e),$t(n)}}function Qo(t){A===null&&(j===null&&Ao(),Eo()),he&&$o()}function ti(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,n){var r=A;r!==null&&(r.f&vt)!==0&&(t|=vt);var o={ctx:xt,deps:null,nodes_start:null,nodes_end:null,f:t|pt|Nt,first:null,fn:e,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{Ke(o),o.f|=pn}catch(s){throw it(o),s}else e!==null&&ce(o);var i=o;if(n&&i.deps===null&&i.teardown===null&&i.nodes_start===null&&i.first===i.last&&(i.f&pe)===0&&(i=i.first,(t&Ut)!==0&&(t&Ae)!==0&&i!==null&&(i.f|=Ae)),i!==null&&(i.parent=r,r!==null&&ti(i,r),j!==null&&(j.f&H)!==0&&(t&ne)===0)){var l=j;(l.effects??=[]).push(i)}return o}function xn(){return j!==null&&!Mt}function ei(t){const e=Lt(On,null,!1);return Q(e,X),e.teardown=t,e}function ni(t){Qo();var e=A.f,n=!j&&(e&Jt)!==0&&(e&pn)===0;if(n){var r=xt;(r.e??=[]).push(t)}else return Br(t)}function Br(t){return Lt(zn|wo,t,!1)}function ri(t){Tt.ensure();const e=Lt(ne|pe,t,!0);return()=>{it(e)}}function oi(t){Tt.ensure();const e=Lt(ne|pe,t,!0);return(n={})=>new Promise(r=>{n.outro?ze(e,()=>{it(e),r(void 0)}):(it(e),r(void 0))})}function ii(t){return Lt(zn,t,!1)}function li(t){return Lt(Dn|pe,t,!0)}function Dr(t,e=0){return Lt(On|e,t,!0)}function M(t,e=[],n=[],r=[]){Vo(r,e,n,o=>{Lt(On,()=>t(...o.map(g)),!0)})}function yn(t,e=0){var n=Lt(Ut|e,t,!0);return n}function jt(t){return Lt(Jt|pe,t,!0)}function Lr(t){var e=t.teardown;if(e!==null){const n=he,r=j;Ur(!0),Z(null);try{e.call(null)}finally{Ur(n),Z(r)}}}function Mr(t,e=!1){var n=t.first;for(t.first=t.last=null;n!==null;){const o=n.ac;o!==null&&Cr(()=>{o.abort(Se)});var r=n.next;(n.f&ne)!==0?n.parent=null:it(n,e),n=r}}function ai(t){for(var e=t.first;e!==null;){var n=e.next;(e.f&Jt)===0&&it(e),e=n}}function it(t,e=!0){var n=!1;(e||(t.f&Cn)!==0)&&t.nodes_start!==null&&t.nodes_end!==null&&(si(t.nodes_start,t.nodes_end),n=!0),Mr(t,e&&!n),_n(t,0),Q(t,Ht);var r=t.transitions;if(r!==null)for(const i of r)i.stop();Lr(t);var o=t.parent;o!==null&&o.first!==null&&Ir(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes_start=t.nodes_end=t.ac=null}function si(t,e){for(;t!==null;){var n=t===e?null:_t(t);t.remove(),t=n}}function Ir(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 ze(t,e,n=!0){var r=[];Un(t,r,!0),Pr(r,()=>{n&&it(t),e&&e()})}function Pr(t,e){var n=t.length;if(n>0){var r=()=>--n||e();for(var o of t)o.out(r)}else e()}function Un(t,e,n){if((t.f&vt)===0){if(t.f^=vt,t.transitions!==null)for(const l of t.transitions)(l.is_global||n)&&e.push(l);for(var r=t.first;r!==null;){var o=r.next,i=(r.f&Ae)!==0||(r.f&Jt)!==0&&(t.f&Ut)!==0;Un(r,e,i?n:!1),r=o}}}function Jn(t){Gr(t,!0)}function Gr(t,e){if((t.f&vt)!==0){t.f^=vt,(t.f&X)===0&&(Q(t,pt),ce(t));for(var n=t.first;n!==null;){var r=n.next,o=(n.f&Ae)!==0||(n.f&Jt)!==0;Gr(n,o?e:!1),n=r}if(t.transitions!==null)for(const i of t.transitions)(i.is_global||e)&&i.in()}}function Fr(t,e){for(var n=t.nodes_start,r=t.nodes_end;n!==null;){var o=n===r?null:_t(n);e.append(n),n=o}}let le=!1;function wn(t){le=t}let he=!1;function Ur(t){he=t}let j=null,Mt=!1;function Z(t){j=t}let A=null;function $t(t){A=t}let Vt=null;function mi(t){j!==null&&(Vt===null?Vt=[t]:Vt.push(t))}let lt=null,gt=0,Et=null;function di(t){Et=t}let Jr=1,Ve=0,xe=Ve;function qr(t){xe=t}function Hr(){return++Jr}function We(t){var e=t.f;if((e&pt)!==0)return!0;if(e&H&&(t.f&=~ve),(e&qt)!==0){var n=t.deps;if(n!==null)for(var r=n.length,o=0;o<r;o++){var i=n[o];if(We(i)&&jr(i),i.wv>t.wv)return!0}(e&Nt)!==0&&yt===null&&Q(t,X)}return!1}function Yr(t,e,n=!0){var r=t.reactions;if(r!==null&&!Vt?.includes(t))for(var o=0;o<r.length;o++){var i=r[o];(i.f&H)!==0?Yr(i,e,!1):e===i&&(n?Q(i,pt):(i.f&X)!==0&&Q(i,qt),ce(i))}}function Vr(t){var e=lt,n=gt,r=Et,o=j,i=Vt,l=xt,s=Mt,a=xe,m=t.f;lt=null,gt=0,Et=null,j=(m&(Jt|ne))===0?t:null,Vt=null,Re(t.ctx),Mt=!1,xe=++Ve,t.ac!==null&&(Cr(()=>{t.ac.abort(Se)}),t.ac=null);try{t.f|=Bn;var d=t.fn,b=d(),p=t.deps;if(lt!==null){var v;if(_n(t,gt),p!==null&&gt>0)for(p.length=gt+lt.length,v=0;v<lt.length;v++)p[gt+v]=lt[v];else t.deps=p=lt;if(le&&xn()&&(t.f&Nt)!==0)for(v=gt;v<p.length;v++)(p[v].reactions??=[]).push(t)}else p!==null&&gt<p.length&&(_n(t,gt),p.length=gt);if(cr()&&Et!==null&&!Mt&&p!==null&&(t.f&(H|qt|pt))===0)for(v=0;v<Et.length;v++)Yr(Et[v],t);return o!==null&&o!==t&&(Ve++,Et!==null&&(r===null?r=Et:r.push(...Et))),(t.f&re)!==0&&(t.f^=re),b}catch(w){return kr(w)}finally{t.f^=Bn,lt=e,gt=n,Et=r,j=o,Vt=i,Re(l),Mt=s,xe=a}}function pi(t,e){let n=e.reactions;if(n!==null){var r=ko.call(n,t);if(r!==-1){var o=n.length-1;o===0?n=e.reactions=null:(n[r]=n[o],n.pop())}}n===null&&(e.f&H)!==0&&(lt===null||!lt.includes(e))&&(Q(e,qt),(e.f&Nt)!==0&&(e.f^=Nt,e.f&=~ve),_r(e),_n(e,0))}function _n(t,e){var n=t.deps;if(n!==null)for(var r=e;r<n.length;r++)pi(t,n[r])}function Ke(t){var e=t.f;if((e&Ht)===0){Q(t,X);var n=A,r=le;A=t,le=!0;try{(e&Ut)!==0?ai(t):Mr(t),Lr(t);var o=Vr(t);t.teardown=typeof o=="function"?o:null,t.wv=Jr;var i;Nn&&Mo&&(t.f&pt)!==0&&t.deps}finally{le=r,A=n}}}function g(t){var e=t.f,n=(e&H)!==0;if(j!==null&&!Mt){var r=A!==null&&(A.f&Ht)!==0;if(!r&&!Vt?.includes(t)){var o=j.deps;if((j.f&Bn)!==0)t.rv<Ve&&(t.rv=Ve,lt===null&&o!==null&&o[gt]===t?gt++:lt===null?lt=[t]:lt.includes(t)||lt.push(t));else{(j.deps??=[]).push(t);var i=t.reactions;i===null?t.reactions=[j]:i.includes(j)||i.push(j)}}}if(he){if(oe.has(t))return oe.get(t);if(n){var l=t,s=l.v;return((l.f&X)===0&&l.reactions!==null||Kr(l))&&(s=Pn(l)),oe.set(l,s),s}}else n&&!yt?.has(t)&&(l=t,We(l)&&jr(l),le&&xn()&&(l.f&Nt)===0&&Wr(l));if(yt?.has(t))return yt.get(t);if((t.f&re)!==0)throw t.v;return t.v}function Wr(t){if(t.deps!==null){t.f^=Nt;for(const e of t.deps)(e.reactions??=[]).push(t),(e.f&H)!==0&&(e.f&Nt)===0&&Wr(e)}}function Kr(t){if(t.v===K)return!0;if(t.deps===null)return!1;for(const e of t.deps)if(oe.has(e)||(e.f&H)!==0&&Kr(e))return!0;return!1}function Xr(t){var e=Mt;try{return Mt=!0,t()}finally{Mt=e}}const vi=-7169;function Q(t,e){t.f=t.f&vi|e}const Zr=new Set,qn=new Set;function bi(t){for(var e=0;e<t.length;e++)Zr.add(t[e]);for(var n of qn)n(t)}let Qr=null;function jn(t){var e=this,n=e.ownerDocument,r=t.type,o=t.composedPath?.()||[],i=o[0]||t.target;Qr=t;var l=0,s=Qr===t&&t.__root;if(s){var a=o.indexOf(s);if(a!==-1&&(e===document||e===window)){t.__root=e;return}var m=o.indexOf(e);if(m===-1)return;a<=m&&(l=a)}if(i=o[l]||t.target,i!==e){mn(t,"currentTarget",{configurable:!0,get(){return i||n}});var d=j,b=A;Z(null),$t(null);try{for(var p,v=[];i!==null;){var w=i.assignedSlot||i.parentNode||i.host||null;try{var z=i["__"+r];z!=null&&(!i.disabled||t.target===i)&&z.call(i,t)}catch(c){p?v.push(c):p=c}if(t.cancelBubble||w===e||w===null)break;i=w}if(p){for(let c of v)queueMicrotask(()=>{throw c});throw p}}finally{t.__root=e,delete t.currentTarget,Z(d),$t(b)}}}function gi(t){var e=document.createElement("template");return e.innerHTML=t.replaceAll("<!>","<!---->"),e.content}function ae(t,e){var n=A;n.nodes_start===null&&(n.nodes_start=t,n.nodes_end=e)}function $(t,e){var n=(e&go)!==0,r=(e&co)!==0,o,i=!t.startsWith("<!>");return()=>{if(y)return ae(E,null),E;o===void 0&&(o=gi(i?t:"<!>"+t),n||(o=ie(o)));var l=r||Rr?document.importNode(o,!0):o.cloneNode(!0);if(n){var s=ie(l),a=l.lastChild;ae(s,a)}else ae(l,l);return l}}function ci(t=""){if(!y){var e=ot(t+"");return ae(e,e),e}var n=E;return n.nodeType!==bn&&(n.before(n=ot()),Y(n)),ae(n,n),n}function V(){if(y)return ae(E,null),E;var t=document.createDocumentFragment(),e=document.createComment(""),n=ot();return t.append(e,n),ae(e,n),t}function k(t,e){if(y){var n=A;((n.f&pn)===0||n.nodes_end===null)&&(n.nodes_end=E),qe();return}t!==null&&t.before(e)}const fi=["touchstart","touchmove"];function ki(t){return fi.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 to(t,e){return eo(t,e)}function ui(t,e){Fn(),e.intro=e.intro??!1;const n=e.target,r=y,o=E;try{for(var i=ie(n);i&&(i.nodeType!==be||i.data!==rr);)i=_t(i);if(!i)throw Ee;bt(!0),Y(i);const l=eo(t,{...e,anchor:i});return bt(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
2
- `).some(s=>s.startsWith("https://svelte.dev/e/")))throw l;return l!==Ee&&console.warn("Failed to hydrate: ",l),e.recover===!1&&Ro(),Fn(),zr(n),bt(!1),to(t,e)}finally{bt(r),Y(o)}}const Oe=new Map;function eo(t,{target:e,anchor:n,props:r={},events:o,context:i,intro:l=!0}){Fn();var s=new Set,a=b=>{for(var p=0;p<b.length;p++){var v=b[p];if(!s.has(v)){s.add(v);var w=ki(v);e.addEventListener(v,jn,{passive:w});var z=Oe.get(v);z===void 0?(document.addEventListener(v,jn,{passive:w}),Oe.set(v,1)):Oe.set(v,z+1)}}};a(Tn(Zr)),qn.add(a);var m=void 0,d=oi(()=>{var b=n??e.appendChild(ot());return Uo(b,{pending:()=>{}},p=>{if(i){br({});var v=xt;v.c=i}if(o&&(r.$$events=o),y&&ae(p,null),m=t(p,r)||{},y&&(A.nodes_end=E,E===null||E.nodeType!==be||E.data!==Rn))throw gn(),Ee;i&&gr()}),()=>{for(var p of s){e.removeEventListener(p,jn);var v=Oe.get(p);--v===0?(document.removeEventListener(p,jn),Oe.delete(p)):Oe.set(p,v)}qn.delete(a),b!==n&&b.parentNode?.removeChild(b)}});return Hn.set(m,d),m}let Hn=new WeakMap;function hi(t,e){const n=Hn.get(t);return n?(Hn.delete(t),n(e)):Promise.resolve()}class xi{anchor;#e=new Map;#t=new Map;#n=new Map;#r=new Set;#s=!0;constructor(e,n=!0){this.anchor=e,this.#s=n}#i=()=>{var e=D;if(this.#e.has(e)){var n=this.#e.get(e),r=this.#t.get(n);if(r)Jn(r),this.#r.delete(n);else{var o=this.#n.get(n);o&&(this.#t.set(n,o.effect),this.#n.delete(n),o.fragment.lastChild.remove(),this.anchor.before(o.fragment),r=o.effect)}for(const[i,l]of this.#e){if(this.#e.delete(i),i===e)break;const s=this.#n.get(l);s&&(it(s.effect),this.#n.delete(l))}for(const[i,l]of this.#t){if(i===n||this.#r.has(i))continue;const s=()=>{if(Array.from(this.#e.values()).includes(i)){var m=document.createDocumentFragment();Fr(l,m),m.append(ot()),this.#n.set(i,{effect:l,fragment:m})}else it(l);this.#r.delete(i),this.#t.delete(i)};this.#s||!r?(this.#r.add(i),ze(l,s,!1)):s()}}};#o=e=>{this.#e.delete(e);const n=Array.from(this.#e.values());for(const[r,o]of this.#n)n.includes(r)||(it(o.effect),this.#n.delete(r))};ensure(e,n){var r=D,o=Or();if(n&&!this.#t.has(e)&&!this.#n.has(e))if(o){var i=document.createDocumentFragment(),l=ot();i.append(l),this.#n.set(e,{effect:jt(()=>n(l)),fragment:i})}else this.#t.set(e,jt(()=>n(this.anchor)));if(this.#e.set(r,e),o){for(const[s,a]of this.#t)s===e?r.skipped_effects.delete(a):r.skipped_effects.add(a);for(const[s,a]of this.#n)s===e?r.skipped_effects.delete(a.effect):r.skipped_effects.add(a.effect);r.oncommit(this.#i),r.ondiscard(this.#o)}else y&&(this.anchor=E),this.#i()}}function S(t,e,n=!1){y&&qe();var r=new xi(t),o=n?Ae:0;function i(l,s){if(y){const m=dr(t)===an;if(l===m){var a=cn();Y(a),r.anchor=a,bt(!1),r.ensure(l,s),bt(!0);return}}r.ensure(l,s)}yn(()=>{var l=!1;e((s,a=!0)=>{l=!0,i(a,s)}),l||i(!1,null)},o)}function Xe(t,e,n,r,o){y&&qe();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 yi(t,e){let n=null,r=y;var o;if(y){n=E;for(var i=ie(document.head);i!==null&&(i.nodeType!==be||i.data!==t);)i=_t(i);if(i===null)bt(!1);else{var l=_t(i);i.remove(),Y(l)}}y||(o=document.head.appendChild(ot()));try{yn(()=>e(o),Cn)}finally{r&&(bt(!0),Y(n))}}function wi(t,e){ii(()=>{var n=t.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+e.hash)){const o=document.createElement("style");o.id=e.hash,o.textContent=e.code,r.appendChild(o)}})}function _i(t,e,n){var r=t==null?"":""+t;return e&&(r=r?r+" "+e:e),r===""?null:r}function ji(t,e){return t==null?null:String(t)}function P(t,e,n,r,o,i){var l=t.__className;if(y||l!==n||l===void 0){var s=_i(n,r);(!y||s!==t.getAttribute("class"))&&(s==null?t.removeAttribute("class"):t.className=s),t.__className=n}return i}function at(t,e,n,r){var o=t.__style;if(y||o!==e){var i=ji(e);(!y||i!==t.getAttribute("style"))&&(i==null?t.removeAttribute("style"):t.style.cssText=i),t.__style=e}return r}const $i=Symbol("is custom element"),Ei=Symbol("is html");function $n(t,e,n,r){var o=Ai(t);y&&(o[e]=t.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&t.nodeName==="LINK")||o[e]!==(o[e]=n)&&(e==="loading"&&(t[_o]=n),n==null?t.removeAttribute(e):typeof n!="string"&&no(t).includes(e)?t[e]=n:t.setAttribute(e,n))}function st(t,e,n){var r=j,o=A;let i=y;y&&bt(!1),Z(null),$t(null);try{e!=="style"&&(Yn.has(t.getAttribute("is")||t.nodeName)||!customElements||customElements.get(t.getAttribute("is")||t.tagName.toLowerCase())?no(t).includes(e):n&&typeof n=="object")?t[e]=n:$n(t,e,n==null?n:String(n))}finally{Z(r),$t(o),i&&bt(!0)}}function Ai(t){return t.__attributes??={[$i]:t.nodeName.includes("-"),[Ei]:t.namespaceURI===fo}}var Yn=new Map;function no(t){var e=t.getAttribute("is")||t.nodeName,n=Yn.get(e);if(n)return n;Yn.set(e,n=[]);for(var r,o=t,i=Element.prototype;i!==o;){r=uo(o);for(var l in r)r[l].set&&n.push(l);o=ir(o)}return n}let En=!1;function Si(t){var e=En;try{return En=!1,[t(),En]}finally{En=e}}function Wt(t,e,n,r){var o=(n&vo)!==0,i=(n&bo)!==0,l=r,s=!0,a=()=>(s&&(s=!1,l=i?Xr(r):r),l),m;if(o){var d=vn in t||mr in t;m=de(t,e)?.set??(d&&e in t?B=>t[e]=B:void 0)}var b,p=!1;o?[b,p]=Si(()=>t[e]):b=t[e],b===void 0&&r!==void 0&&(b=a(),m&&(No(),m(b)));var v;if(v=()=>{var B=t[e];return B===void 0?a():(s=!0,B)},(n&po)===0)return v;if(m){var w=t.$$legacy;return(function(B,ct){return arguments.length>0?((!ct||w||p)&&m(ct?v():B),B):v()})}var z=!1,c=((n&mo)!==0?In:wr)(()=>(z=!1,v()));o&&g(c);var N=A;return(function(B,ct){if(arguments.length>0){const f=ct?g(c):o?ue(B):B;return Ot(c,f),z=!0,l!==void 0&&(l=f),B}return he&&z||(N.f&Ht)!==0?c.v:g(c)})}function Ri(t){return new Ni(t)}class Ni{#e;#t;constructor(e){var n=new Map,r=(i,l)=>{var s=Er(l,!1,!1);return n.set(i,s),s};const o=new Proxy({...e.props||{},$$events:{}},{get(i,l){return g(n.get(l)??r(l,Reflect.get(i,l)))},has(i,l){return l===mr?!0:(g(n.get(l)??r(l,Reflect.get(i,l))),Reflect.has(i,l))},set(i,l,s){return Ot(n.get(l)??r(l,s),s),Reflect.set(i,l,s)}});this.#t=(e.hydrate?ui:to)(e.component,{target:e.target,anchor:e.anchor,props:o,context:e.context,intro:e.intro??!1,recover:e.recover}),(!e?.props?.$$host||e.sync===!1)&&Bt(),this.#e=o.$$events;for(const i of Object.keys(this.#t))i==="$set"||i==="$destroy"||i==="$on"||mn(this,i,{get(){return this.#t[i]},set(l){this.#t[i]=l},enumerable:!0});this.#t.$set=i=>{Object.assign(o,i)},this.#t.$destroy=()=>{hi(this.#t)}}$set(e){this.#t.$set(e)}$on(e,n){this.#e[e]=this.#e[e]||[];const r=(...o)=>n.call(this,...o);return this.#e[e].push(r),()=>{this.#e[e]=this.#e[e].filter(o=>o!==r)}}$destroy(){this.#t.$destroy()}}let ro;typeof HTMLElement=="function"&&(ro=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(t,e,n){super(),this.$$ctor=t,this.$$s=e,n&&this.attachShadow({mode:"open"})}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=document.createElement("slot");r!=="default"&&(i.name=r),k(o,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},n=Ti(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]=An(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=Ri({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=ri(()=>{Dr(()=>{this.$$r=!0;for(const r of sn(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const o=An(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]=An(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 sn(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function An(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 Ti(t){const e={};return t.childNodes.forEach(n=>{e[n.slot||"default"]=!0}),e}function zi(t,e,n,r,o,i){let l=class extends ro{constructor(){super(t,n,o),this.$$p_d=e}static get observedAttributes(){return sn(e).map(s=>(e[s].attribute||s).toLowerCase())}};return sn(e).forEach(s=>{mn(l.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(a){a=An(s,a,e),this.$$d[s]=a;var m=this.$$c;if(m){var d=de(m,s)?.get;d?m[s]=a:m.$set({[s]:a})}}})}),r.forEach(s=>{mn(l.prototype,s,{get(){return this.$$c?.[s]}})}),t.element=l,l}const Oi={version:"0.65.16"};var ye={},oo;function Ci(){if(oo)return ye;oo=1,Object.defineProperty(ye,"__esModule",{value:!0}),ye.LanguageTranslator=void 0,ye.getChildStyleToPass=t,ye.addComponent=e;function t(r,o){var i,l,s="";try{if(r&&o?.length&&(!((i=Object.keys(r))===null||i===void 0)&&i.length)&&(!((l=o?.filter(function(p){return Object.keys(r).includes(p.name)}))===null||l===void 0)&&l.length))for(var a=function(p){var v=o?.filter(function(w){return w.name===p&&w.defaultValue!==r[p]});v&&(s+="".concat(p,":").concat(r[p],";"))},m=0,d=Object.keys(r);m<d.length;m++){var b=d[m];a(b)}}catch(p){console.error("error getting child style to pass",p)}finally{return s}}function e(r){var o,i=((o=r?.repoName.split("/"))===null||o===void 0?void 0:o[1])||r?.repoName;if(!i)throw new Error("wrong componentPath "+r?.repoName);if(!r?.version)throw new Error("wrong version "+r?.version);var l=r?.iifePath||"main.iife.js";if(!document.getElementById(i+"-script"))try{var s=document.createElement("script");if(s.id=i+"-script",s.src="https://cdn.jsdelivr.net/npm/".concat(r.repoName,"@").concat(r.version,"/").concat(l),r?.local)s.src="".concat(r.local);else if(location.href.includes("localhost:6006")){var a=i.split("-")[0];s.src="http://localhost:6006/webcomponents/".concat(i.replace(a+"-",""),"/").concat(l)}document.head.appendChild(s)}catch(m){console.warn(m)}}var n=(function(){function r(o){if(this.lang="",!o?.dictionary)throw new Error("no dictionary provided");this.dictionary=o.dictionary,this.setLang(o?.lang)}return r.prototype.setLang=function(o){o||(o=r.getDefaultLang()),this.lang=o},r.prototype.translateWord=function(o,i){return r.getDictionaryWord(o,this.dictionary,i||this.lang)},r.prototype.translateDate=function(o,i,l){return r.formatDate(o,i,l||this.lang)},r.getDefaultLang=function(){var o,i,l,s="en";return navigator?.languages&&(!((l=(i=(o=navigator.languages[0])===null||o===void 0?void 0:o.split("-")[0])===null||i===void 0?void 0:i.toLowerCase())===null||l===void 0)&&l.length)&&(s=navigator.languages[0].split("-")[0].toLowerCase()),s},r.getDictionaryWord=function(o,i,l){var s;if(!o)throw new Error("no wordKey provided");if(!i)throw new Error("no dictionary provided");if(l&&(!((s=i[l])===null||s===void 0)&&s[o]))return i[l][o];var a="",m=r.getDefaultLang();if(!l||m!==l){var d=i?.[m];d?.[o]&&(a=d[o])}return a},r.formatDate=function(o,i,l){if(!o)throw new Error("no date provided");if(typeof o.getMonth!="function")throw new Error("wrong date format");var s=new Intl.DateTimeFormat(l||r.getDefaultLang(),i);return s.format(o)},r})();return ye.LanguageTranslator=n,ye}var Bi=Ci(),Di=$('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-1tntk73"/>'),Li=$('<div class="expand_from_small_footer svelte-1tntk73"><i class="bi bi-arrow-up-square-fill svelte-1tntk73"></i></div>'),Mi=$('<span class="svelte-1tntk73"><img style="height: 100%;" alt="" class="svelte-1tntk73"/></span>'),Ii=$('<div style="max-height:40px;height:40px;margin:10px auto 5px auto" class="svelte-1tntk73"><!> </div>'),Pi=$('<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>'),Gi=$('<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>'),Fi=$('<span class="svelte-1tntk73"><img style="height: 40px" alt="" class="svelte-1tntk73"/></span>'),Ui=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Ji=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),qi=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Hi=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Yi=$('<div style="padding:20px 20px"><h5 style="margin-bottom:20px" class="svelte-1tntk73">Contatti</h5> <ul class="list-unstyled svelte-1tntk73"><!> <!> <!> <!></ul></div>'),Vi=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Wi=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Ki=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Xi=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Zi=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Qi=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),tl=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),el=$('<div style="padding:20px 20px"><h5 style="margin-bottom:20px" class="svelte-1tntk73">Social</h5> <ul class="list-unstyled svelte-1tntk73"><!> <!> <!> <!> <!> <!> <!></ul></div>'),nl=$('<li class="svelte-1tntk73"><button part="column-cell-button-content" style="padding:0px" class="btn text-small svelte-1tntk73"> </button></li>'),rl=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),ol=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),il=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),ll=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),al=$('<li class="svelte-1tntk73"><button part="column-cell-button-content" style="padding:0px" class="btn text-small svelte-1tntk73"> </button></li>'),sl=$('<div style="padding:20px 20px"><h5 style="margin-bottom:20px" class="svelte-1tntk73"> </h5> <ul class="list-unstyled svelte-1tntk73"></ul></div>'),ml=$('<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>'),dl=$('<a target="_blank" class="btn btn-link svelte-1tntk73"> </a>'),pl=$('<button class="btn btn-link svelte-1tntk73"> </button>'),vl=$('<div class="col svelte-1tntk73" style="margin:20px auto 20px auto;max-height:20px;text-align:center;font-size:0.9rem;"><!></div>'),bl=$('<div class="col svelte-1tntk73" style="max-height:20px;text-align:center;font-size:0.8rem;margin:10px auto 5px auto"> </div>'),gl=$('<!> <div class="container svelte-1tntk73"><!> <!> <div class="row svelte-1tntk73"><!></div> <div class="row svelte-1tntk73"><!></div></div>',1),cl=$('<footer class="svelte-1tntk73"><!></footer>');const fl={hash:"svelte-1tntk73",code:`@charset "UTF-8";
2
+ `).some(s=>s.startsWith("https://svelte.dev/e/")))throw l;return l!==Ee&&console.warn("Failed to hydrate: ",l),e.recover===!1&&Ro(),Fn(),zr(n),bt(!1),to(t,e)}finally{bt(r),Y(o)}}const Oe=new Map;function eo(t,{target:e,anchor:n,props:r={},events:o,context:i,intro:l=!0}){Fn();var s=new Set,a=b=>{for(var p=0;p<b.length;p++){var v=b[p];if(!s.has(v)){s.add(v);var w=ki(v);e.addEventListener(v,jn,{passive:w});var z=Oe.get(v);z===void 0?(document.addEventListener(v,jn,{passive:w}),Oe.set(v,1)):Oe.set(v,z+1)}}};a(Tn(Zr)),qn.add(a);var m=void 0,d=oi(()=>{var b=n??e.appendChild(ot());return Uo(b,{pending:()=>{}},p=>{if(i){br({});var v=xt;v.c=i}if(o&&(r.$$events=o),y&&ae(p,null),m=t(p,r)||{},y&&(A.nodes_end=E,E===null||E.nodeType!==be||E.data!==Rn))throw gn(),Ee;i&&gr()}),()=>{for(var p of s){e.removeEventListener(p,jn);var v=Oe.get(p);--v===0?(document.removeEventListener(p,jn),Oe.delete(p)):Oe.set(p,v)}qn.delete(a),b!==n&&b.parentNode?.removeChild(b)}});return Hn.set(m,d),m}let Hn=new WeakMap;function hi(t,e){const n=Hn.get(t);return n?(Hn.delete(t),n(e)):Promise.resolve()}class xi{anchor;#e=new Map;#t=new Map;#n=new Map;#r=new Set;#s=!0;constructor(e,n=!0){this.anchor=e,this.#s=n}#i=()=>{var e=D;if(this.#e.has(e)){var n=this.#e.get(e),r=this.#t.get(n);if(r)Jn(r),this.#r.delete(n);else{var o=this.#n.get(n);o&&(this.#t.set(n,o.effect),this.#n.delete(n),o.fragment.lastChild.remove(),this.anchor.before(o.fragment),r=o.effect)}for(const[i,l]of this.#e){if(this.#e.delete(i),i===e)break;const s=this.#n.get(l);s&&(it(s.effect),this.#n.delete(l))}for(const[i,l]of this.#t){if(i===n||this.#r.has(i))continue;const s=()=>{if(Array.from(this.#e.values()).includes(i)){var m=document.createDocumentFragment();Fr(l,m),m.append(ot()),this.#n.set(i,{effect:l,fragment:m})}else it(l);this.#r.delete(i),this.#t.delete(i)};this.#s||!r?(this.#r.add(i),ze(l,s,!1)):s()}}};#o=e=>{this.#e.delete(e);const n=Array.from(this.#e.values());for(const[r,o]of this.#n)n.includes(r)||(it(o.effect),this.#n.delete(r))};ensure(e,n){var r=D,o=Or();if(n&&!this.#t.has(e)&&!this.#n.has(e))if(o){var i=document.createDocumentFragment(),l=ot();i.append(l),this.#n.set(e,{effect:jt(()=>n(l)),fragment:i})}else this.#t.set(e,jt(()=>n(this.anchor)));if(this.#e.set(r,e),o){for(const[s,a]of this.#t)s===e?r.skipped_effects.delete(a):r.skipped_effects.add(a);for(const[s,a]of this.#n)s===e?r.skipped_effects.delete(a.effect):r.skipped_effects.add(a.effect);r.oncommit(this.#i),r.ondiscard(this.#o)}else y&&(this.anchor=E),this.#i()}}function S(t,e,n=!1){y&&qe();var r=new xi(t),o=n?Ae:0;function i(l,s){if(y){const m=dr(t)===an;if(l===m){var a=cn();Y(a),r.anchor=a,bt(!1),r.ensure(l,s),bt(!0);return}}r.ensure(l,s)}yn(()=>{var l=!1;e((s,a=!0)=>{l=!0,i(a,s)}),l||i(!1,null)},o)}function Xe(t,e,n,r,o){y&&qe();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 yi(t,e){let n=null,r=y;var o;if(y){n=E;for(var i=ie(document.head);i!==null&&(i.nodeType!==be||i.data!==t);)i=_t(i);if(i===null)bt(!1);else{var l=_t(i);i.remove(),Y(l)}}y||(o=document.head.appendChild(ot()));try{yn(()=>e(o),Cn)}finally{r&&(bt(!0),Y(n))}}function wi(t,e){ii(()=>{var n=t.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+e.hash)){const o=document.createElement("style");o.id=e.hash,o.textContent=e.code,r.appendChild(o)}})}function _i(t,e,n){var r=t==null?"":""+t;return e&&(r=r?r+" "+e:e),r===""?null:r}function ji(t,e){return t==null?null:String(t)}function P(t,e,n,r,o,i){var l=t.__className;if(y||l!==n||l===void 0){var s=_i(n,r);(!y||s!==t.getAttribute("class"))&&(s==null?t.removeAttribute("class"):t.className=s),t.__className=n}return i}function at(t,e,n,r){var o=t.__style;if(y||o!==e){var i=ji(e);(!y||i!==t.getAttribute("style"))&&(i==null?t.removeAttribute("style"):t.style.cssText=i),t.__style=e}return r}const $i=Symbol("is custom element"),Ei=Symbol("is html");function $n(t,e,n,r){var o=Ai(t);y&&(o[e]=t.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&t.nodeName==="LINK")||o[e]!==(o[e]=n)&&(e==="loading"&&(t[_o]=n),n==null?t.removeAttribute(e):typeof n!="string"&&no(t).includes(e)?t[e]=n:t.setAttribute(e,n))}function st(t,e,n){var r=j,o=A;let i=y;y&&bt(!1),Z(null),$t(null);try{e!=="style"&&(Yn.has(t.getAttribute("is")||t.nodeName)||!customElements||customElements.get(t.getAttribute("is")||t.tagName.toLowerCase())?no(t).includes(e):n&&typeof n=="object")?t[e]=n:$n(t,e,n==null?n:String(n))}finally{Z(r),$t(o),i&&bt(!0)}}function Ai(t){return t.__attributes??={[$i]:t.nodeName.includes("-"),[Ei]:t.namespaceURI===fo}}var Yn=new Map;function no(t){var e=t.getAttribute("is")||t.nodeName,n=Yn.get(e);if(n)return n;Yn.set(e,n=[]);for(var r,o=t,i=Element.prototype;i!==o;){r=uo(o);for(var l in r)r[l].set&&n.push(l);o=ir(o)}return n}let En=!1;function Si(t){var e=En;try{return En=!1,[t(),En]}finally{En=e}}function Wt(t,e,n,r){var o=(n&vo)!==0,i=(n&bo)!==0,l=r,s=!0,a=()=>(s&&(s=!1,l=i?Xr(r):r),l),m;if(o){var d=vn in t||mr in t;m=de(t,e)?.set??(d&&e in t?B=>t[e]=B:void 0)}var b,p=!1;o?[b,p]=Si(()=>t[e]):b=t[e],b===void 0&&r!==void 0&&(b=a(),m&&(No(),m(b)));var v;if(v=()=>{var B=t[e];return B===void 0?a():(s=!0,B)},(n&po)===0)return v;if(m){var w=t.$$legacy;return(function(B,ct){return arguments.length>0?((!ct||w||p)&&m(ct?v():B),B):v()})}var z=!1,c=((n&mo)!==0?In:wr)(()=>(z=!1,v()));o&&g(c);var N=A;return(function(B,ct){if(arguments.length>0){const f=ct?g(c):o?ue(B):B;return Ot(c,f),z=!0,l!==void 0&&(l=f),B}return he&&z||(N.f&Ht)!==0?c.v:g(c)})}function Ri(t){return new Ni(t)}class Ni{#e;#t;constructor(e){var n=new Map,r=(i,l)=>{var s=Er(l,!1,!1);return n.set(i,s),s};const o=new Proxy({...e.props||{},$$events:{}},{get(i,l){return g(n.get(l)??r(l,Reflect.get(i,l)))},has(i,l){return l===mr?!0:(g(n.get(l)??r(l,Reflect.get(i,l))),Reflect.has(i,l))},set(i,l,s){return Ot(n.get(l)??r(l,s),s),Reflect.set(i,l,s)}});this.#t=(e.hydrate?ui:to)(e.component,{target:e.target,anchor:e.anchor,props:o,context:e.context,intro:e.intro??!1,recover:e.recover}),(!e?.props?.$$host||e.sync===!1)&&Bt(),this.#e=o.$$events;for(const i of Object.keys(this.#t))i==="$set"||i==="$destroy"||i==="$on"||mn(this,i,{get(){return this.#t[i]},set(l){this.#t[i]=l},enumerable:!0});this.#t.$set=i=>{Object.assign(o,i)},this.#t.$destroy=()=>{hi(this.#t)}}$set(e){this.#t.$set(e)}$on(e,n){this.#e[e]=this.#e[e]||[];const r=(...o)=>n.call(this,...o);return this.#e[e].push(r),()=>{this.#e[e]=this.#e[e].filter(o=>o!==r)}}$destroy(){this.#t.$destroy()}}let ro;typeof HTMLElement=="function"&&(ro=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(t,e,n){super(),this.$$ctor=t,this.$$s=e,n&&this.attachShadow({mode:"open"})}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=document.createElement("slot");r!=="default"&&(i.name=r),k(o,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},n=Ti(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]=An(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=Ri({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=ri(()=>{Dr(()=>{this.$$r=!0;for(const r of sn(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const o=An(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]=An(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 sn(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function An(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 Ti(t){const e={};return t.childNodes.forEach(n=>{e[n.slot||"default"]=!0}),e}function zi(t,e,n,r,o,i){let l=class extends ro{constructor(){super(t,n,o),this.$$p_d=e}static get observedAttributes(){return sn(e).map(s=>(e[s].attribute||s).toLowerCase())}};return sn(e).forEach(s=>{mn(l.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(a){a=An(s,a,e),this.$$d[s]=a;var m=this.$$c;if(m){var d=de(m,s)?.get;d?m[s]=a:m.$set({[s]:a})}}})}),r.forEach(s=>{mn(l.prototype,s,{get(){return this.$$c?.[s]}})}),t.element=l,l}const Oi={version:"0.65.17"};var ye={},oo;function Ci(){if(oo)return ye;oo=1,Object.defineProperty(ye,"__esModule",{value:!0}),ye.LanguageTranslator=void 0,ye.getChildStyleToPass=t,ye.addComponent=e;function t(r,o){var i,l,s="";try{if(r&&o?.length&&(!((i=Object.keys(r))===null||i===void 0)&&i.length)&&(!((l=o?.filter(function(p){return Object.keys(r).includes(p.name)}))===null||l===void 0)&&l.length))for(var a=function(p){var v=o?.filter(function(w){return w.name===p&&w.defaultValue!==r[p]});v&&(s+="".concat(p,":").concat(r[p],";"))},m=0,d=Object.keys(r);m<d.length;m++){var b=d[m];a(b)}}catch(p){console.error("error getting child style to pass",p)}finally{return s}}function e(r){var o,i=((o=r?.repoName.split("/"))===null||o===void 0?void 0:o[1])||r?.repoName;if(!i)throw new Error("wrong componentPath "+r?.repoName);if(!r?.version)throw new Error("wrong version "+r?.version);var l=r?.iifePath||"main.iife.js";if(!document.getElementById(i+"-script"))try{var s=document.createElement("script");if(s.id=i+"-script",s.src="https://cdn.jsdelivr.net/npm/".concat(r.repoName,"@").concat(r.version,"/").concat(l),r?.local)s.src="".concat(r.local);else if(location.href.includes("localhost:6006")){var a=i.split("-")[0];s.src="http://localhost:6006/webcomponents/".concat(i.replace(a+"-",""),"/").concat(l)}document.head.appendChild(s)}catch(m){console.warn(m)}}var n=(function(){function r(o){if(this.lang="",!o?.dictionary)throw new Error("no dictionary provided");this.dictionary=o.dictionary,this.setLang(o?.lang)}return r.prototype.setLang=function(o){o||(o=r.getDefaultLang()),this.lang=o},r.prototype.translateWord=function(o,i){return r.getDictionaryWord(o,this.dictionary,i||this.lang)},r.prototype.translateDate=function(o,i,l){return r.formatDate(o,i,l||this.lang)},r.getDefaultLang=function(){var o,i,l,s="en";return navigator?.languages&&(!((l=(i=(o=navigator.languages[0])===null||o===void 0?void 0:o.split("-")[0])===null||i===void 0?void 0:i.toLowerCase())===null||l===void 0)&&l.length)&&(s=navigator.languages[0].split("-")[0].toLowerCase()),s},r.getDictionaryWord=function(o,i,l){var s;if(!o)throw new Error("no wordKey provided");if(!i)throw new Error("no dictionary provided");if(l&&(!((s=i[l])===null||s===void 0)&&s[o]))return i[l][o];var a="",m=r.getDefaultLang();if(!l||m!==l){var d=i?.[m];d?.[o]&&(a=d[o])}return a},r.formatDate=function(o,i,l){if(!o)throw new Error("no date provided");if(typeof o.getMonth!="function")throw new Error("wrong date format");var s=new Intl.DateTimeFormat(l||r.getDefaultLang(),i);return s.format(o)},r})();return ye.LanguageTranslator=n,ye}var Bi=Ci(),Di=$('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-1tntk73"/>'),Li=$('<div class="expand_from_small_footer svelte-1tntk73"><i class="bi bi-arrow-up-square-fill svelte-1tntk73"></i></div>'),Mi=$('<span class="svelte-1tntk73"><img style="height: 100%;" alt="" class="svelte-1tntk73"/></span>'),Ii=$('<div style="max-height:40px;height:40px;margin:10px auto 5px auto" class="svelte-1tntk73"><!> </div>'),Pi=$('<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>'),Gi=$('<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>'),Fi=$('<span class="svelte-1tntk73"><img style="height: 40px" alt="" class="svelte-1tntk73"/></span>'),Ui=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Ji=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),qi=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Hi=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Yi=$('<div style="padding:20px 20px"><h5 style="margin-bottom:20px" class="svelte-1tntk73">Contatti</h5> <ul class="list-unstyled svelte-1tntk73"><!> <!> <!> <!></ul></div>'),Vi=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Wi=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Ki=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Xi=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Zi=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Qi=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),tl=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),el=$('<div style="padding:20px 20px"><h5 style="margin-bottom:20px" class="svelte-1tntk73">Social</h5> <ul class="list-unstyled svelte-1tntk73"><!> <!> <!> <!> <!> <!> <!></ul></div>'),nl=$('<li class="svelte-1tntk73"><button part="column-cell-button-content" style="padding:0px" class="btn text-small svelte-1tntk73"> </button></li>'),rl=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),ol=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),il=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),ll=$('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),al=$('<li class="svelte-1tntk73"><button part="column-cell-button-content" style="padding:0px" class="btn text-small svelte-1tntk73"> </button></li>'),sl=$('<div style="padding:20px 20px"><h5 style="margin-bottom:20px" class="svelte-1tntk73"> </h5> <ul class="list-unstyled svelte-1tntk73"></ul></div>'),ml=$('<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>'),dl=$('<a target="_blank" class="btn btn-link svelte-1tntk73"> </a>'),pl=$('<button class="btn btn-link svelte-1tntk73"> </button>'),vl=$('<div class="col svelte-1tntk73" style="margin:20px auto 20px auto;max-height:20px;text-align:center;font-size:0.9rem;"><!></div>'),bl=$('<div class="col svelte-1tntk73" style="max-height:20px;text-align:center;font-size:0.8rem;margin:10px auto 5px auto"> </div>'),gl=$('<!> <div class="container svelte-1tntk73"><!> <!> <div class="row svelte-1tntk73"><!></div> <div class="row svelte-1tntk73"><!></div></div>',1),cl=$('<footer class="svelte-1tntk73"><!></footer>');const fl={hash:"svelte-1tntk73",code:`@charset "UTF-8";
3
3
  @import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
4
4
  @import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");
5
5
  /*!
package/manifest.json CHANGED
@@ -518,5 +518,5 @@
518
518
  },
519
519
  "iifePath": "main.iife.js",
520
520
  "repoName": "@htmlbricks/hb-footer",
521
- "version": "0.65.16"
521
+ "version": "0.65.17"
522
522
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-footer",
3
- "version": "0.65.16",
3
+ "version": "0.65.17",
4
4
  "contributors": [],
5
5
  "description": "",
6
6
  "licenses": [