@htmlbricks/hb-footer 0.66.2 → 0.66.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/main.iife.js +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
package/main.iife.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
(function(Fn){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const oo=1,io=2,Jn=4,lo=8,ao=16,so=1,mo=4,po=8,vo=16,go=1,co=2,Un="[",un="[!",qn="[?",hn="]",Ae={},K=Symbol(),Hn="http://www.w3.org/1999/xhtml",fo=!1;var Yn=Array.isArray,bo=Array.prototype.indexOf,Se=Array.prototype.includes,tn=Array.from,en=Object.keys,nn=Object.defineProperty,ce=Object.getOwnPropertyDescriptor,ko=Object.getOwnPropertyDescriptors,uo=Object.prototype,ho=Array.prototype,Vn=Object.getPrototypeOf,Wn=Object.isExtensible;const xo=()=>{};function yo(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,Ne=4,rn=8,Xn=1<<24,te=16,Nt=32,ee=64,xn=128,ut=512,F=1024,tt=2048,It=4096,ft=8192,ht=16384,ne=32768,Zn=1<<25,Re=65536,Qn=1<<17,tr=1<<18,re=1<<19,wo=1<<20,Lt=1<<25,fe=65536,yn=1<<21,wn=1<<22,oe=1<<23,on=Symbol("$state"),er=Symbol("legacy props"),_o=Symbol(""),Ut=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},$o=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml"),Le=3,Te=8;function jo(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Eo(t,e,n){throw new Error("https://svelte.dev/e/each_key_duplicate")}function Ao(t){throw new Error("https://svelte.dev/e/effect_in_teardown")}function So(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function No(t){throw new Error("https://svelte.dev/e/effect_orphan")}function Ro(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function To(){throw new Error("https://svelte.dev/e/hydration_failed")}function zo(t){throw new Error("https://svelte.dev/e/props_invalid_value")}function Oo(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Co(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Bo(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Do(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function ln(t){console.warn("https://svelte.dev/e/hydration_mismatch")}function Mo(){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 ln(),Ae;return N=t}function Pe(){return X(yt(N))}function k(t){if(E){if(yt(N)!==null)throw ln(),Ae;N=t}}function Io(t=1){if(E){for(var e=t,n=N;e--;)n=yt(n);N=n}}function an(t=!0){for(var e=0,n=N;;){if(n.nodeType===Te){var r=n.data;if(r===hn){if(e===0)return n;e-=1}else(r===Un||r===un||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(e+=1)}var o=yt(n);t&&n.remove(),n=o}}function nr(t){if(!t||t.nodeType!==Te)throw ln(),Ae;return t.data}function rr(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 or(t){return!Lo(t,this.v)}let Po=!1,xt=null;function ze(t){xt=t}function ir(t,e=!1,n){xt={p:xt,i:!1,c:null,e:null,s:t,x:null,r:A,l:null}}function lr(t){var e=xt,n=e.e;if(n!==null){e.e=null;for(var r of n)zr(r)}return t!==void 0&&(e.x=t),e.i=!0,xt=e.p,t??{}}function ar(){return!0}let be=[];function sr(){var t=be;be=[],yo(t)}function ke(t){if(be.length===0&&!Ge){var e=be;queueMicrotask(()=>{e===be&&sr()})}be.push(t)}function Go(){for(;be.length>0;)sr()}function mr(t){var e=A;if(e===null)return $.f|=oe,t;if((e.f&ne)===0&&(e.f&Ne)===0)throw t;ie(t,e)}function ie(t,e){for(;e!==null;){if((e.f&xn)!==0){if((e.f&ne)===0)throw t;try{e.b.error(t);return}catch(n){t=n}}e=e.parent}throw t}const Fo=-7169;function G(t,e){t.f=t.f&Fo|e}function _n(t){(t.f&ut)!==0||t.deps===null?G(t,F):G(t,It)}function pr(t){if(t!==null)for(const e of t)(e.f&Y)===0||(e.f&fe)===0||(e.f^=fe,pr(e.deps))}function dr(t,e,n){(t.f&tt)!==0?e.add(t):(t.f&It)!==0&&n.add(t),pr(t.deps),G(t,F)}let sn=!1;function Jo(t){var e=sn;try{return sn=!1,[t(),sn]}finally{sn=e}}const le=new Set;let C=null,Rt=null,$n=null,Ge=!1,jn=!1,Oe=null,mn=null;var vr=0;let Uo=1;class qt{id=Uo++;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)G(r,tt),this.schedule(r);for(r of n.m)G(r,It),this.schedule(r)}}#g(){if(vr++>1e3&&(le.delete(this),qo()),!this.#v()){for(const a of this.#l)this.#a.delete(a),G(a,tt),this.schedule(a);for(const a of this.#a)G(a,It),this.schedule(a)}const e=this.#r;this.#r=[],this.apply();var n=Oe=[],r=[],o=mn=[];for(const a of e)try{this.#p(a,n,r)}catch(s){throw kr(a),s}if(C=null,o.length>0){var i=qt.ensure();for(const a of o)i.schedule(a)}if(Oe=null,mn=null,this.#v()||this.#c()){this.#f(r),this.#f(n);for(const[a,s]of this.#s)br(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(),gr(r),gr(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&Ne)!==0?n.push(o):Je(o)&&((i&te)!==0&&this.#a.add(o),De(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)dr(e[n],this.#l,this.#a)}capture(e,n,r=!1){n!==K&&!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{jn=!0,C=this,this.#g()}finally{vr=0,$n=null,Oe=null,mn=null,jn=!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)cr(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;jn||(le.add(C),Ge||ke(()=>{C===e&&e.flush()}))}return C}apply(){{Rt=null;return}}schedule(e){if($n=e,e.b?.is_pending&&(e.f&(Ne|rn|Xn))!==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(Oe!==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 Pt(t){var e=Ge;Ge=!0;try{for(var n;;){if(Go(),C===null)return n;C.flush()}}finally{Ge=e}}function qo(){try{Ro()}catch(t){ie(t,$n)}}let Ht=null;function gr(t){var e=t.length;if(e!==0){for(var n=0;n<e;){var r=t[n++];if((r.f&(ht|ft))===0&&Je(r)&&(Ht=new Set,De(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&Br(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&&De(s)}}Ht.clear()}}Ht=null}}function cr(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?cr(o,e,n,r):(i&(wn|te))!==0&&(i&tt)===0&&fr(o,e,r)&&(G(o,tt),En(o))}}function fr(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(Se.call(e,o))return!0;if((o.f&Y)!==0&&fr(o,e,n))return n.set(o,!0),!0}return n.set(t,!1),!1}function En(t){C.schedule(t)}function br(t,e){if(!((t.f&Nt)!==0&&(t.f&F)!==0)){(t.f&tt)!==0?e.d.push(t):(t.f&It)!==0&&e.m.push(t),G(t,F);for(var n=t.first;n!==null;)br(n,e),n=n.next}}function kr(t){G(t,F);for(var e=t.first;e!==null;)kr(e),e=e.next}function Ho(t){let e=0,n=ue(0),r;return()=>{zn()&&(x(n),Or(()=>(e===0&&(r=Hr(()=>t(()=>Fe(n)))),e+=1,()=>{ke(()=>{e-=1,e===0&&(r?.(),r=void 0,Fe(n))})})))}}var Yo=Re|re;function Vo(t,e,n,r){new Wo(t,e,n,r)}class Wo{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=Ho(()=>(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|=xn,r(i)},this.parent=A.b,this.transform_error=o??this.parent?.transform_error??(i=>i),this.#i=vn(()=>{if(E){const i=this.#n;Pe();const l=i.data===un;if(i.data.startsWith(qn)){const s=JSON.parse(i.data.slice(qn.length));this.#y(s)}else l?this.#w():this.#b()}else this.#h()},Yo),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();Bn(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){dr(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),ze(this.#i.ctx);try{return qt.ensure(),e()}catch(i){return mr(i),null}finally{_t(n),mt(r),ze(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&&Ce(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(an()));var o=!1,i=!1;const l=()=>{if(o){Mo();return}o=!0,i&&Do(),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|=xn,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 Ko(t,e,n,r){const o=An;var i=t.filter(d=>!d.settled);if(n.length===0&&i.length===0){r(e.map(o));return}var l=A,a=Xo(),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)}pn()}if(n.length===0){s.then(()=>m(e.map(o)));return}var p=ur();function g(){Promise.all(n.map(d=>Zo(d))).then(d=>m([...e.map(o),...d])).catch(d=>ie(d,l)).finally(()=>p())}s?s.then(()=>{a(),g(),pn()}):g()}function Xo(){var t=A,e=$,n=xt,r=C;return function(i=!0){_t(t),mt(e),ze(n),i&&(t.f&ht)===0&&(r?.activate(),r?.apply())}}function pn(t=!0){_t(null),mt(null),ze(null),t&&C?.deactivate()}function ur(){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 An(t){var e=Y|tt,n=$!==null&&($.f&Y)!==0?$:null;return A!==null&&(A.f|=re),{ctx:xt,deps:null,effects:null,equals:rr,f:e,fn:t,reactions:null,rv:0,v:K,wv:0,parent:n??A,ac:null}}function Zo(t,e,n){let r=A;r===null&&jo();var o=void 0,i=ue(K),l=!$,a=new Map;return pi(()=>{var s=A,m=Kn();o=m.promise;try{Promise.resolve(t()).then(m.resolve,m.reject).finally(pn)}catch(c){m.reject(c),pn()}var p=C;if(l){if((s.f&ne)!==0)var g=ur();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,Ce(i,f);else{(i.f&oe)!==0&&(i.f^=oe),Ce(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"))}),ii(()=>{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 hr(t){const e=An(t);return e.equals=or,e}function Qo(t){var e=t.effects;if(e!==null){t.effects=null;for(var n=0;n<e.length;n+=1)rt(e[n])}}function ti(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 Sn(t){var e,n=A;_t(ti(t));try{t.f&=~fe,Qo(t),e=Jr(t)}finally{_t(n)}return e}function xr(t){var e=t.v,n=Sn(t);if(!t.equals(n)&&(t.wv=Gr(),(!C?.is_fork||t.deps===null)&&(t.v=n,C?.capture(t,e,!0),t.deps===null))){G(t,F);return}me||(Rt!==null?(zn()||C?.is_fork)&&Rt.set(t,n):_n(t))}function ei(t){if(t.effects!==null)for(const e of t.effects)(e.teardown||e.ac)&&(e.teardown?.(),e.ac?.abort(Ut),e.teardown=xo,e.ac=null,Ue(e,0),On(e))}function yr(t){if(t.effects!==null)for(const e of t.effects)e.teardown&&De(e)}let Nn=new Set;const ae=new Map;let wr=!1;function ue(t,e){var n={f:0,v:t,reactions:null,equals:rr,rv:0,wv:0};return n}function Yt(t,e){const n=ue(t);return gi(n),n}function _r(t,e=!1,n=!0){const r=ue(t);return e||(r.equals=or),r}function Tt(t,e,n=!1){$!==null&&(!Ot||($.f&Qn)!==0)&&ar()&&($.f&(Y|te|wn|Qn))!==0&&($t===null||!Se.call($t,t))&&Bo();let r=n?Be(e):e;return Ce(t,r,mn)}function Ce(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&&Sn(i),Rt===null&&_n(i)}t.wv=Gr(),$r(t,tt,n),A!==null&&(A.f&F)!==0&&(A.f&(Nt|ee))===0&&(jt===null?ci([t]):jt.push(t)),!o.is_fork&&Nn.size>0&&!wr&&ni()}return e}function ni(){wr=!1;for(const t of Nn)(t.f&F)!==0&&G(t,It),Je(t)&&De(t);Nn.clear()}function Fe(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&&G(l,e),(a&Y)!==0){var m=l;Rt?.delete(m),(a&fe)===0&&(a&ut&&(l.f|=fe),$r(m,It,n))}else if(s){var p=l;(a&te)!==0&&Ht!==null&&Ht.add(p),n!==null?n.push(p):En(p)}}}function Be(t){if(typeof t!="object"||t===null||on in t)return t;const e=Vn(t);if(e!==uo&&e!==ho)return t;var n=new Map,r=Yn(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)&&Oo();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(K));n.set(s,p),Fe(o)}}else Tt(m,K),Fe(o);return!0},get(a,s,m){if(s===on)return t;var p=n.get(s),g=s in a;if(p===void 0&&(!g||ce(a,s)?.writable)&&(p=l(()=>{var c=Be(g?a[s]:K),f=Yt(c);return f}),n.set(s,p)),p!==void 0){var d=x(p);return d===K?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!==K)return{enumerable:!0,configurable:!0,value:d,writable:!0}}return m},has(a,s){if(s===on)return!0;var m=n.get(s),p=m!==void 0&&m.v!==K||Reflect.has(a,s);if(m!==void 0||A!==null&&(!p||ce(a,s)?.writable)){m===void 0&&(m=l(()=>{var d=p?Be(a[s]):K,c=Yt(d);return c}),n.set(s,m));var g=x(m);if(g===K)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,K):c in a&&(f=l(()=>Yt(K)),n.set(c+"",f))}if(g===void 0)(!d||ce(a,s)?.writable)&&(g=l(()=>Yt(void 0)),Tt(g,Be(m)),n.set(s,g));else{d=g.v!==K;var y=l(()=>Be(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)}Fe(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!==K});for(var[m,p]of n)p.v!==K&&!(m in a)&&s.push(m);return s},setPrototypeOf(){Co()}})}var jr,Er,Ar,Sr;function Rn(){if(jr===void 0){jr=window,Er=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,n=Text.prototype;Ar=ce(e,"firstChild").get,Sr=ce(e,"nextSibling").get,Wn(t)&&(t.__click=void 0,t.__className=void 0,t.__attributes=null,t.__style=void 0,t.__e=void 0),Wn(n)&&(n.__t=void 0)}}function nt(t=""){return document.createTextNode(t)}function se(t){return Ar.call(t)}function yt(t){return Sr.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!==Le){var r=nt();return n?.before(r),X(r),r}return e&&dn(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!==Le){var r=nt();return N?.before(r),X(r),r}dn(N)}return N}function D(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!==Le){var i=nt();return r===null?o?.after(i):r.before(i),X(i),i}dn(r)}return X(r),r}function Nr(t){t.textContent=""}function Rr(){return!1}function Tn(t,e,n){return document.createElementNS(Hn,t,void 0)}function dn(t){if(t.nodeValue.length<65536)return;let e=t.nextSibling;for(;e!==null&&e.nodeType===Le;)e.remove(),t.nodeValue+=e.nodeValue,e=t.nextSibling}function Tr(t){var e=$,n=A;mt(null),_t(null);try{return t()}finally{mt(e),_t(n)}}function ri(t){A===null&&($===null&&No(),So()),me&&Ao()}function oi(t,e){var n=e.last;n===null?e.last=e.first=t:(n.next=t,t.prev=n,e.last=t)}function Gt(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&Ne)!==0)Oe!==null?Oe.push(r):qt.ensure().schedule(r);else if(e!==null){try{De(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&Re)!==0&&o!==null&&(o.f|=Re))}if(o!==null&&(o.parent=n,n!==null&&oi(o,n),$!==null&&($.f&Y)!==0&&(t&ee)===0)){var i=$;(i.effects??=[]).push(o)}return r}function zn(){return $!==null&&!Ot}function ii(t){const e=Gt(rn,null);return G(e,F),e.teardown=t,e}function li(t){ri();var e=A.f,n=!$&&(e&Nt)!==0&&(e&ne)===0;if(n){var r=xt;(r.e??=[]).push(t)}else return zr(t)}function zr(t){return Gt(Ne|wo,t)}function ai(t){qt.ensure();const e=Gt(ee|re,t);return()=>{rt(e)}}function si(t){qt.ensure();const e=Gt(ee|re,t);return(n={})=>new Promise(r=>{n.outro?he(e,()=>{rt(e),r(void 0)}):(rt(e),r(void 0))})}function mi(t){return Gt(Ne,t)}function pi(t){return Gt(wn|re,t)}function Or(t,e=0){return Gt(rn|e,t)}function L(t,e=[],n=[],r=[]){Ko(r,e,n,o=>{Gt(rn,()=>t(...o.map(x)))})}function vn(t,e=0){var n=Gt(te|e,t);return n}function wt(t){return Gt(Nt|re,t)}function Cr(t){var e=t.teardown;if(e!==null){const n=me,r=$;Ir(!0),mt(null);try{e.call(null)}finally{Ir(n),mt(r)}}}function On(t,e=!1){var n=t.first;for(t.first=t.last=null;n!==null;){const o=n.ac;o!==null&&Tr(()=>{o.abort(Ut)});var r=n.next;(n.f&ee)!==0?n.parent=null:rt(n,e),n=r}}function di(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&tr)!==0)&&t.nodes!==null&&t.nodes.end!==null&&(vi(t.nodes.start,t.nodes.end),n=!0),G(t,Zn),On(t,e&&!n),Ue(t,0);var r=t.nodes&&t.nodes.t;if(r!==null)for(const i of r)i.stop();Cr(t),t.f^=Zn,t.f|=ht;var o=t.parent;o!==null&&o.first!==null&&Br(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes=t.ac=t.b=null}function vi(t,e){for(;t!==null;){var n=t===e?null:yt(t);t.remove(),t=n}}function Br(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=[];Dr(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 Dr(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&Re)!==0||(o.f&Nt)!==0&&(t.f&te)!==0;Dr(o,e,l?n:!1),o=i}}}function Cn(t){Mr(t,!0)}function Mr(t,e){if((t.f&ft)!==0){t.f^=ft,(t.f&F)===0&&(G(t,tt),qt.ensure().schedule(t));for(var n=t.first;n!==null;){var r=n.next,o=(n.f&Re)!==0||(n.f&Nt)!==0;Mr(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 Bn(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 gn=!1,me=!1;function Ir(t){me=t}let $=null,Ot=!1;function mt(t){$=t}let A=null;function _t(t){A=t}let $t=null;function gi(t){$!==null&&($t===null?$t=[t]:$t.push(t))}let pt=null,kt=0,jt=null;function ci(t){jt=t}let Lr=1,xe=0,ye=xe;function Pr(t){ye=t}function Gr(){return++Lr}function Je(t){var e=t.f;if((e&tt)!==0)return!0;if(e&Y&&(t.f&=~fe),(e&It)!==0){for(var n=t.deps,r=n.length,o=0;o<r;o++){var i=n[o];if(Je(i)&&xr(i),i.wv>t.wv)return!0}(e&ut)!==0&&Rt===null&&G(t,F)}return!1}function Fr(t,e,n=!0){var r=t.reactions;if(r!==null&&!($t!==null&&Se.call($t,t)))for(var o=0;o<r.length;o++){var i=r[o];(i.f&Y)!==0?Fr(i,e,!1):e===i&&(n?G(i,tt):(i.f&F)!==0&&G(i,It),En(i))}}function Jr(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,ze(t.ctx),Ot=!1,ye=++xe,t.ac!==null&&(Tr(()=>{t.ac.abort(Ut)}),t.ac=null);try{t.f|=yn;var p=t.fn,g=p();t.f|=ne;var d=t.deps,c=C?.is_fork;if(pt!==null){var f;if(c||Ue(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(zn()&&(t.f&ut)!==0)for(f=kt;f<d.length;f++)(d[f].reactions??=[]).push(t)}else!c&&d!==null&&kt<d.length&&(Ue(t,kt),d.length=kt);if(ar()&&jt!==null&&!Ot&&d!==null&&(t.f&(Y|It|tt))===0)for(f=0;f<jt.length;f++)Fr(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 mr(y)}finally{t.f^=yn,pt=e,kt=n,jt=r,$=o,$t=i,ze(l),Ot=a,ye=s}}function fi(t,e){let n=e.reactions;if(n!==null){var r=bo.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||!Se.call(pt,e))){var i=e;(i.f&ut)!==0&&(i.f^=ut,i.f&=~fe),_n(i),ei(i),Ue(i,0)}}function Ue(t,e){var n=t.deps;if(n!==null)for(var r=e;r<n.length;r++)fi(t,n[r])}function De(t){var e=t.f;if((e&ht)===0){G(t,F);var n=A,r=gn;A=t,gn=!0;try{(e&(te|Xn))!==0?di(t):On(t),Cr(t);var o=Jr(t);t.teardown=typeof o=="function"?o:null,t.wv=Lr;var i;fo&&Po&&(t.f&tt)!==0&&t.deps}finally{gn=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||!Se.call($t,t))){var o=$.deps;if(($.f&yn)!==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=[$]:Se.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||qr(l))&&(a=Sn(l)),ae.set(l,a),a}var s=(l.f&ut)===0&&!Ot&&$!==null&&(gn||($.f&ut)!==0),m=(l.f&ne)===0;Je(l)&&(s&&(l.f|=ut),xr(l)),s&&!m&&(yr(l),Ur(l))}if(Rt?.has(t))return Rt.get(t);if((t.f&oe)!==0)throw t.v;return t.v}function Ur(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&&(yr(e),Ur(e))}function qr(t){if(t.v===K)return!0;if(t.deps===null)return!1;for(const e of t.deps)if(ae.has(e)||(e.f&Y)!==0&&qr(e))return!0;return!1}function Hr(t){var e=Ot;try{return Ot=!0,t()}finally{Ot=e}}const qe=Symbol("events"),Yr=new Set,Dn=new Set;function He(t,e,n){(e[qe]??={})[t]=n}function bi(t){for(var e=0;e<t.length;e++)Yr.add(t[e]);for(var n of Dn)n(t)}let Vr=null;function Wr(t){var e=this,n=e.ownerDocument,r=t.type,o=t.composedPath?.()||[],i=o[0]||t.target;Vr=t;var l=0,a=Vr===t&&t[qe];if(a){var s=o.indexOf(a);if(s!==-1&&(e===document||e===window)){t[qe]=e;return}var m=o.indexOf(e);if(m===-1)return;s<=m&&(l=s)}if(i=o[l]||t.target,i!==e){nn(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[qe]?.[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[qe]=e,delete t.currentTarget,mt(p),_t(g)}}}const ki=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:t=>t});function ui(t){return ki?.createHTML(t)??t}function hi(t){var e=Tn("template");return e.innerHTML=ui(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&go)!==0,r=(e&co)!==0,o,i=!t.startsWith("<!>");return()=>{if(E)return pe(N,null),N;o===void 0&&(o=hi(i?t:"<!>"+t),n||(o=se(o)));var l=r||Er?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 xi(t=""){if(!E){var e=nt(t+"");return pe(e,e),e}var n=N;return n.nodeType!==Le?(n.before(n=nt()),X(n)):dn(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 yi=["touchstart","touchmove"];function wi(t){return yi.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 Xr(t,e)}function _i(t,e){Rn(),e.intro=e.intro??!1;const n=e.target,r=E,o=N;try{for(var i=se(n);i&&(i.nodeType!==Te||i.data!==Un);)i=yt(i);if(!i)throw Ae;bt(!0),X(i);const l=Xr(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!==Ae&&console.warn("Failed to hydrate: ",l),e.recover===!1&&To(),Rn(),Nr(n),bt(!1),Kr(t,e)}finally{bt(r),X(o)}}const cn=new Map;function Xr(t,{target:e,anchor:n,props:r={},events:o,context:i,intro:l=!0,transformError:a}){Rn();var s=void 0,m=si(()=>{var p=n??e.appendChild(nt());Vo(p,{pending:()=>{}},c=>{ir({});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!==Te||N.data!==hn))throw ln(),Ae;lr()},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=wi(y);for(const T of[e,document]){var j=cn.get(T);j===void 0&&(j=new Map,cn.set(T,j));var z=j.get(y);z===void 0?(T.addEventListener(y,Wr,{passive:v}),j.set(y,1)):j.set(y,z+1)}}}};return d(tn(Yr)),Dn.add(d),()=>{for(var c of g)for(const v of[e,document]){var f=cn.get(v),y=f.get(c);--y==0?(v.removeEventListener(c,Wr),f.delete(c),f.size===0&&cn.delete(v)):f.set(c,y)}Dn.delete(d),p!==n&&p.parentNode?.removeChild(p)}});return Mn.set(s,m),s}let Mn=new WeakMap;function $i(t,e){const n=Mn.get(t);return n?(Mn.delete(t),n(e)):Promise.resolve()}class ji{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)Cn(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();Bn(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=Rr();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 ji(t),i=n?Re:0;function l(a,s){if(E){var m=nr(r);if(a!==parseInt(m.substring(1))){var p=an();X(p),o.anchor=p,bt(!1),o.ensure(a,s),bt(!0);return}}o.ensure(a,s)}vn(()=>{var a=!1;e((s,m=0)=>{a=!0,l(m,s)}),a||l(-1,null)},i)}function Ei(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;In(t,tn(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;Nr(p),p.append(m),t.items.clear()}In(t,e,!s)}else i={pending:new Set(e),done:new Set},(t.outrogroups??=new Set).add(i)}function In(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|=Lt;const l=document.createDocumentFragment();Bn(i,l)}else rt(e[o],n)}}var Zr;function we(t,e,n,r,o,i=null){var l=t,a=new Map,s=(e&Jn)!==0;if(s){var m=t;l=E?X(se(m)):m.appendChild(nt())}E&&Pe();var p=null,g=hr(()=>{var T=n();return Yn(T)?T:T==null?[]:tn(T)}),d,c=new Map,f=!0;function y(T){(z.effect.f&ht)===0&&(z.pending.delete(T),z.fallback=p,Ai(z,d,l,e,r),p!==null&&(d.length===0?(p.f&Lt)===0?Cn(p):(p.f^=Lt,Ve(p,null,l)):he(p,()=>{p=null})))}function v(T){z.pending.delete(T)}var j=vn(()=>{d=x(g);var T=d.length;let b=!1;if(E){var S=nr(l)===un;S!==(T===0)&&(l=an(),X(l),bt(!1),b=!0)}for(var B=new Set,V=C,Bt=Rr(),dt=0;dt<T;dt+=1){E&&N.nodeType===Te&&N.data===hn&&(l=N,b=!0,bt(!1));var it=d[dt],vt=r(it,dt),Z=f?null:a.get(vt);Z?(Z.v&&Ce(Z.v,it),Z.i&&Ce(Z.i,dt),Bt&&V.unskip_effect(Z.e)):(Z=Si(a,f?l:Zr??=nt(),it,vt,dt,o,e,n),f||(Z.e.f|=Lt),a.set(vt,Z)),B.add(vt)}if(T===0&&i&&!p&&(f?p=wt(()=>i(l)):(p=wt(()=>i(Zr??=nt())),p.f|=Lt)),T>B.size&&Eo(),E&&T>0&&X(an()),!f)if(c.set(V,B),Bt){for(const[Me,Ke]of a)B.has(Me)||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 Ye(t){for(;t!==null&&(t.f&Nt)===0;)t=t.next;return t}function Ai(t,e,n,r,o){var i=(r&lo)!==0,l=e.length,a=t.items,s=Ye(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&Lt)===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&&(Cn(v),i&&(v.nodes?.a?.unfix(),(g??=new Set).delete(v))),(v.f&Lt)!==0)if(v.f^=Lt,v===s)Ve(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),Ve(v,z,n),p=v,d=[],c=[],s=Ye(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)Ve(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),Ve(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=Ye(s.next);if(s===null)continue}(v.f&Lt)===0&&d.push(v),p=v,s=Ye(v.next)}if(t.outrogroups!==null){for(const it of t.outrogroups)it.pending.size===0&&(In(t,tn(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=Ye(s.next);var Bt=V.length;if(Bt>0){var dt=(r&Jn)!==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()}Ei(t,V,dt)}}i&&ke(()=>{if(g!==void 0)for(v of g)v.nodes?.a?.apply()})}function Si(t,e,n,r,o,i,l,a){var s=(l&oo)!==0?(l&ao)===0?_r(n,!1,!1):ue(n):null,m=(l&io)!==0?ue(o):null;return{v:s,i:m,e:wt(()=>(i(e,s??n,m??o,a),()=>{t.delete(r)}))}}function Ve(t,e,n){if(t.nodes)for(var r=t.nodes.start,o=t.nodes.end,i=e&&(e.f&Lt)===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 We(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 Ni(t,e){let n=null,r=E;var o;if(E){n=N;for(var i=se(document.head);i!==null&&(i.nodeType!==Te||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{vn(()=>e(o),tr|re)}finally{r&&(bt(!0),X(n))}}function Ri(t,e){mi(()=>{var n=t.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+e.hash)){const o=Tn("style");o.id=e.hash,o.textContent=e.code,r.appendChild(o)}})}function Ti(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=Ti(n,r);(!E||a!==t.getAttribute("class"))&&(a==null?t.removeAttribute("class"):t.className=a),t.__className=n}return i}const zi=Symbol("is custom element"),Oi=Symbol("is html"),Ci=$o?"link":"LINK";function fn(t,e,n,r){var o=Bi(t);E&&(o[e]=t.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&t.nodeName===Ci)||o[e]!==(o[e]=n)&&(e==="loading"&&(t[_o]=n),n==null?t.removeAttribute(e):typeof n!="string"&&Qr(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"&&(Ln.has(t.getAttribute("is")||t.nodeName)||!customElements||customElements.get(t.getAttribute("is")||t.nodeName.toLowerCase())?Qr(t).includes(e):n&&typeof n=="object")?t[e]=n:fn(t,e,n==null?n:String(n))}finally{mt(r),_t(o),i&&bt(!0)}}function Bi(t){return t.__attributes??={[zi]:t.nodeName.includes("-"),[Oi]:t.namespaceURI===Hn}}var Ln=new Map;function Qr(t){var e=t.getAttribute("is")||t.nodeName,n=Ln.get(e);if(n)return n;Ln.set(e,n=[]);for(var r,o=t,i=Element.prototype;i!==o;){r=ko(o);for(var l in r)r[l].set&&n.push(l);o=Vn(o)}return n}function Vt(t,e,n,r){var o=(n&po)!==0,i=(n&vo)!==0,l=r,a=!0,s=()=>(a&&(a=!1,l=i?Hr(r):r),l);let m;if(o){var p=on in t||er in t;m=ce(t,e)?.set??(p&&e in t?z=>t[e]=z:void 0)}var g,d=!1;o?[g,d]=Jo(()=>t[e]):g=t[e],g===void 0&&r!==void 0&&(g=s(),m&&(zo(),m(g)));var c;if(c=()=>{var z=t[e];return z===void 0?s():(a=!0,z)},(n&mo)===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&so)!==0?An:hr)(()=>(y=!1,c()));o&&x(v);var j=A;return(function(z,T){if(arguments.length>0){const b=T?x(v):o?Be(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 Di(t){return new Mi(t)}class Mi{#t;#n;constructor(e){var n=new Map,r=(i,l)=>{var a=_r(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===er?!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?_i: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)&&Pt(),this.#t=o.$$events;for(const i of Object.keys(this.#n))i==="$set"||i==="$destroy"||i==="$on"||nn(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=()=>{$i(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 to;typeof HTMLElement=="function"&&(to=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=Tn("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]=bn(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=Di({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=ai(()=>{Or(()=>{this.$$r=!0;for(const r of en(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const o=bn(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]=bn(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 en(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function bn(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 Li(t,e,n,r,o,i){let l=class extends to{constructor(){super(t,n,o),this.$$p_d=e}static get observedAttributes(){return en(e).map(a=>(e[a].attribute||a).toLowerCase())}};return en(e).forEach(a=>{nn(l.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(s){s=bn(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=>{nn(l.prototype,a,{get(){return this.$$c?.[a]}})}),t.element=l,l}const Pi={version:"0.66.2"};var _e={},eo;function Gi(){if(eo)return _e;eo=1,Object.defineProperty(_e,"__esModule",{value:!0}),_e.LanguageTranslator=void 0,_e.getChildStyleToPass=t,_e.addComponent=e;function t(r,o){var i,l,a="";try{if(r&&o?.length&&(!((i=Object.keys(r))===null||i===void 0)&&i.length)&&(!((l=o?.filter(function(d){return Object.keys(r).includes(d.name)}))===null||l===void 0)&&l.length))for(var s=function(d){var c=o?.filter(function(f){return f.name===d&&f.defaultValue!==r[d]});c&&(a+="".concat(d,":").concat(r[d],";"))},m=0,p=Object.keys(r);m<p.length;m++){var g=p[m];s(g)}}catch(d){console.error("error getting child style to pass",d)}finally{return a}}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 a=document.createElement("script");if(a.id=i+"-script",a.src="https://cdn.jsdelivr.net/npm/".concat(r.repoName,"@").concat(r.version,"/").concat(l),r?.local)a.src="".concat(r.local);else if(location.href.includes("localhost:6006")){var s=i.split("-")[0];a.src="http://localhost:6006/webcomponents/".concat(i.replace(s+"-",""),"/").concat(l)}document.head.appendChild(a)}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,a="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)&&(a=navigator.languages[0].split("-")[0].toLowerCase()),a},r.getDictionaryWord=function(o,i,l){var a;if(!o)throw new Error("no wordKey provided");if(!i)throw new Error("no dictionary provided");if(l&&(!((a=i[l])===null||a===void 0)&&a[o]))return i[l][o];var s="",m=r.getDefaultLang();if(!l||m!==l){var p=i?.[m];p?.[o]&&(s=p[o])}return s},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 a=new Intl.DateTimeFormat(l||r.getDefaultLang(),i);return a.format(o)},r})();return _e.LanguageTranslator=n,_e}var Fi=Gi(),Ji=R('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-1tntk73"/>'),Ui=R('<div class="expand_from_small_footer svelte-1tntk73"><i class="bi bi-arrow-up-square-fill svelte-1tntk73"></i></div>'),qi=R('<span class="svelte-1tntk73"><img style="height: 100%;" alt="" class="svelte-1tntk73"/></span>'),Hi=R('<div style="max-height:40px;height:40px;margin:10px auto 5px auto" class="svelte-1tntk73"><!> </div>'),Yi=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>'),Vi=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>'),Wi=R('<span class="svelte-1tntk73"><img style="height: 40px" alt="" class="svelte-1tntk73"/></span>'),Ki=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Xi=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),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('<div style="padding:20px 20px"><h5 style="margin-bottom:20px" class="svelte-1tntk73">Contatti</h5> <ul class="list-unstyled svelte-1tntk73"><!> <!> <!> <!></ul></div>'),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('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),ll=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),al=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),sl=R('<div style="padding:20px 20px"><h5 style="margin-bottom:20px" class="svelte-1tntk73">Social</h5> <ul class="list-unstyled svelte-1tntk73"><!> <!> <!> <!> <!> <!> <!></ul></div>'),ml=R('<li class="svelte-1tntk73"><button part="column-cell-button-content" style="padding:0px" class="btn text-small svelte-1tntk73"> </button></li>'),pl=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),dl=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),vl=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),gl=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),cl=R('<li class="svelte-1tntk73"><button part="column-cell-button-content" style="padding:0px" class="btn text-small svelte-1tntk73"> </button></li>'),fl=R('<div style="padding:20px 20px"><h5 style="margin-bottom:20px" class="svelte-1tntk73"> </h5> <ul class="list-unstyled svelte-1tntk73"></ul></div>'),bl=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>'),kl=R('<a target="_blank" class="btn btn-link svelte-1tntk73"> </a>'),ul=R('<button class="btn btn-link svelte-1tntk73"> </button>'),hl=R('<div class="col svelte-1tntk73" style="margin:20px auto 20px auto;max-height:20px;text-align:center;font-size:0.9rem;"><!></div>'),xl=R('<div class="col svelte-1tntk73" style="max-height:20px;text-align:center;font-size:0.8rem;margin:10px auto 5px auto"> </div>'),yl=R('<!> <div class="container svelte-1tntk73"><!> <!> <div class="row svelte-1tntk73"><!></div> <div class="row svelte-1tntk73"><!></div></div>',1),wl=R('<footer class="svelte-1tntk73"><!></footer>');const _l={hash:"svelte-1tntk73",code:`@charset "UTF-8";
|
|
2
|
+
`).some(a=>a.startsWith("https://svelte.dev/e/")))throw l;return l!==Ae&&console.warn("Failed to hydrate: ",l),e.recover===!1&&To(),Rn(),Nr(n),bt(!1),Kr(t,e)}finally{bt(r),X(o)}}const cn=new Map;function Xr(t,{target:e,anchor:n,props:r={},events:o,context:i,intro:l=!0,transformError:a}){Rn();var s=void 0,m=si(()=>{var p=n??e.appendChild(nt());Vo(p,{pending:()=>{}},c=>{ir({});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!==Te||N.data!==hn))throw ln(),Ae;lr()},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=wi(y);for(const T of[e,document]){var j=cn.get(T);j===void 0&&(j=new Map,cn.set(T,j));var z=j.get(y);z===void 0?(T.addEventListener(y,Wr,{passive:v}),j.set(y,1)):j.set(y,z+1)}}}};return d(tn(Yr)),Dn.add(d),()=>{for(var c of g)for(const v of[e,document]){var f=cn.get(v),y=f.get(c);--y==0?(v.removeEventListener(c,Wr),f.delete(c),f.size===0&&cn.delete(v)):f.set(c,y)}Dn.delete(d),p!==n&&p.parentNode?.removeChild(p)}});return Mn.set(s,m),s}let Mn=new WeakMap;function $i(t,e){const n=Mn.get(t);return n?(Mn.delete(t),n(e)):Promise.resolve()}class ji{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)Cn(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();Bn(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=Rr();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 ji(t),i=n?Re:0;function l(a,s){if(E){var m=nr(r);if(a!==parseInt(m.substring(1))){var p=an();X(p),o.anchor=p,bt(!1),o.ensure(a,s),bt(!0);return}}o.ensure(a,s)}vn(()=>{var a=!1;e((s,m=0)=>{a=!0,l(m,s)}),a||l(-1,null)},i)}function Ei(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;In(t,tn(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;Nr(p),p.append(m),t.items.clear()}In(t,e,!s)}else i={pending:new Set(e),done:new Set},(t.outrogroups??=new Set).add(i)}function In(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|=Lt;const l=document.createDocumentFragment();Bn(i,l)}else rt(e[o],n)}}var Zr;function we(t,e,n,r,o,i=null){var l=t,a=new Map,s=(e&Jn)!==0;if(s){var m=t;l=E?X(se(m)):m.appendChild(nt())}E&&Pe();var p=null,g=hr(()=>{var T=n();return Yn(T)?T:T==null?[]:tn(T)}),d,c=new Map,f=!0;function y(T){(z.effect.f&ht)===0&&(z.pending.delete(T),z.fallback=p,Ai(z,d,l,e,r),p!==null&&(d.length===0?(p.f&Lt)===0?Cn(p):(p.f^=Lt,Ve(p,null,l)):he(p,()=>{p=null})))}function v(T){z.pending.delete(T)}var j=vn(()=>{d=x(g);var T=d.length;let b=!1;if(E){var S=nr(l)===un;S!==(T===0)&&(l=an(),X(l),bt(!1),b=!0)}for(var B=new Set,V=C,Bt=Rr(),dt=0;dt<T;dt+=1){E&&N.nodeType===Te&&N.data===hn&&(l=N,b=!0,bt(!1));var it=d[dt],vt=r(it,dt),Z=f?null:a.get(vt);Z?(Z.v&&Ce(Z.v,it),Z.i&&Ce(Z.i,dt),Bt&&V.unskip_effect(Z.e)):(Z=Si(a,f?l:Zr??=nt(),it,vt,dt,o,e,n),f||(Z.e.f|=Lt),a.set(vt,Z)),B.add(vt)}if(T===0&&i&&!p&&(f?p=wt(()=>i(l)):(p=wt(()=>i(Zr??=nt())),p.f|=Lt)),T>B.size&&Eo(),E&&T>0&&X(an()),!f)if(c.set(V,B),Bt){for(const[Me,Ke]of a)B.has(Me)||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 Ye(t){for(;t!==null&&(t.f&Nt)===0;)t=t.next;return t}function Ai(t,e,n,r,o){var i=(r&lo)!==0,l=e.length,a=t.items,s=Ye(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&Lt)===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&&(Cn(v),i&&(v.nodes?.a?.unfix(),(g??=new Set).delete(v))),(v.f&Lt)!==0)if(v.f^=Lt,v===s)Ve(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),Ve(v,z,n),p=v,d=[],c=[],s=Ye(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)Ve(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),Ve(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=Ye(s.next);if(s===null)continue}(v.f&Lt)===0&&d.push(v),p=v,s=Ye(v.next)}if(t.outrogroups!==null){for(const it of t.outrogroups)it.pending.size===0&&(In(t,tn(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=Ye(s.next);var Bt=V.length;if(Bt>0){var dt=(r&Jn)!==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()}Ei(t,V,dt)}}i&&ke(()=>{if(g!==void 0)for(v of g)v.nodes?.a?.apply()})}function Si(t,e,n,r,o,i,l,a){var s=(l&oo)!==0?(l&ao)===0?_r(n,!1,!1):ue(n):null,m=(l&io)!==0?ue(o):null;return{v:s,i:m,e:wt(()=>(i(e,s??n,m??o,a),()=>{t.delete(r)}))}}function Ve(t,e,n){if(t.nodes)for(var r=t.nodes.start,o=t.nodes.end,i=e&&(e.f&Lt)===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 We(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 Ni(t,e){let n=null,r=E;var o;if(E){n=N;for(var i=se(document.head);i!==null&&(i.nodeType!==Te||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{vn(()=>e(o),tr|re)}finally{r&&(bt(!0),X(n))}}function Ri(t,e){mi(()=>{var n=t.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+e.hash)){const o=Tn("style");o.id=e.hash,o.textContent=e.code,r.appendChild(o)}})}function Ti(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=Ti(n,r);(!E||a!==t.getAttribute("class"))&&(a==null?t.removeAttribute("class"):t.className=a),t.__className=n}return i}const zi=Symbol("is custom element"),Oi=Symbol("is html"),Ci=$o?"link":"LINK";function fn(t,e,n,r){var o=Bi(t);E&&(o[e]=t.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&t.nodeName===Ci)||o[e]!==(o[e]=n)&&(e==="loading"&&(t[_o]=n),n==null?t.removeAttribute(e):typeof n!="string"&&Qr(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"&&(Ln.has(t.getAttribute("is")||t.nodeName)||!customElements||customElements.get(t.getAttribute("is")||t.nodeName.toLowerCase())?Qr(t).includes(e):n&&typeof n=="object")?t[e]=n:fn(t,e,n==null?n:String(n))}finally{mt(r),_t(o),i&&bt(!0)}}function Bi(t){return t.__attributes??={[zi]:t.nodeName.includes("-"),[Oi]:t.namespaceURI===Hn}}var Ln=new Map;function Qr(t){var e=t.getAttribute("is")||t.nodeName,n=Ln.get(e);if(n)return n;Ln.set(e,n=[]);for(var r,o=t,i=Element.prototype;i!==o;){r=ko(o);for(var l in r)r[l].set&&n.push(l);o=Vn(o)}return n}function Vt(t,e,n,r){var o=(n&po)!==0,i=(n&vo)!==0,l=r,a=!0,s=()=>(a&&(a=!1,l=i?Hr(r):r),l);let m;if(o){var p=on in t||er in t;m=ce(t,e)?.set??(p&&e in t?z=>t[e]=z:void 0)}var g,d=!1;o?[g,d]=Jo(()=>t[e]):g=t[e],g===void 0&&r!==void 0&&(g=s(),m&&(zo(),m(g)));var c;if(c=()=>{var z=t[e];return z===void 0?s():(a=!0,z)},(n&mo)===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&so)!==0?An:hr)(()=>(y=!1,c()));o&&x(v);var j=A;return(function(z,T){if(arguments.length>0){const b=T?x(v):o?Be(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 Di(t){return new Mi(t)}class Mi{#t;#n;constructor(e){var n=new Map,r=(i,l)=>{var a=_r(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===er?!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?_i: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)&&Pt(),this.#t=o.$$events;for(const i of Object.keys(this.#n))i==="$set"||i==="$destroy"||i==="$on"||nn(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=()=>{$i(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 to;typeof HTMLElement=="function"&&(to=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=Tn("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]=bn(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=Di({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=ai(()=>{Or(()=>{this.$$r=!0;for(const r of en(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const o=bn(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]=bn(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 en(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function bn(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 Li(t,e,n,r,o,i){let l=class extends to{constructor(){super(t,n,o),this.$$p_d=e}static get observedAttributes(){return en(e).map(a=>(e[a].attribute||a).toLowerCase())}};return en(e).forEach(a=>{nn(l.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(s){s=bn(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=>{nn(l.prototype,a,{get(){return this.$$c?.[a]}})}),t.element=l,l}const Pi={version:"0.66.3"};var _e={},eo;function Gi(){if(eo)return _e;eo=1,Object.defineProperty(_e,"__esModule",{value:!0}),_e.LanguageTranslator=void 0,_e.getChildStyleToPass=t,_e.addComponent=e;function t(r,o){var i,l,a="";try{if(r&&o?.length&&(!((i=Object.keys(r))===null||i===void 0)&&i.length)&&(!((l=o?.filter(function(d){return Object.keys(r).includes(d.name)}))===null||l===void 0)&&l.length))for(var s=function(d){var c=o?.filter(function(f){return f.name===d&&f.defaultValue!==r[d]});c&&(a+="".concat(d,":").concat(r[d],";"))},m=0,p=Object.keys(r);m<p.length;m++){var g=p[m];s(g)}}catch(d){console.error("error getting child style to pass",d)}finally{return a}}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 a=document.createElement("script");if(a.id=i+"-script",a.src="https://cdn.jsdelivr.net/npm/".concat(r.repoName,"@").concat(r.version,"/").concat(l),r?.local)a.src="".concat(r.local);else if(location.href.includes("localhost:6006")){var s=i.split("-")[0];a.src="http://localhost:6006/webcomponents/".concat(i.replace(s+"-",""),"/").concat(l)}document.head.appendChild(a)}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,a="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)&&(a=navigator.languages[0].split("-")[0].toLowerCase()),a},r.getDictionaryWord=function(o,i,l){var a;if(!o)throw new Error("no wordKey provided");if(!i)throw new Error("no dictionary provided");if(l&&(!((a=i[l])===null||a===void 0)&&a[o]))return i[l][o];var s="",m=r.getDefaultLang();if(!l||m!==l){var p=i?.[m];p?.[o]&&(s=p[o])}return s},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 a=new Intl.DateTimeFormat(l||r.getDefaultLang(),i);return a.format(o)},r})();return _e.LanguageTranslator=n,_e}var Fi=Gi(),Ji=R('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-1tntk73"/>'),Ui=R('<div class="expand_from_small_footer svelte-1tntk73"><i class="bi bi-arrow-up-square-fill svelte-1tntk73"></i></div>'),qi=R('<span class="svelte-1tntk73"><img style="height: 100%;" alt="" class="svelte-1tntk73"/></span>'),Hi=R('<div style="max-height:40px;height:40px;margin:10px auto 5px auto" class="svelte-1tntk73"><!> </div>'),Yi=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>'),Vi=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>'),Wi=R('<span class="svelte-1tntk73"><img style="height: 40px" alt="" class="svelte-1tntk73"/></span>'),Ki=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),Xi=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),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('<div style="padding:20px 20px"><h5 style="margin-bottom:20px" class="svelte-1tntk73">Contatti</h5> <ul class="list-unstyled svelte-1tntk73"><!> <!> <!> <!></ul></div>'),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('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),ll=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),al=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),sl=R('<div style="padding:20px 20px"><h5 style="margin-bottom:20px" class="svelte-1tntk73">Social</h5> <ul class="list-unstyled svelte-1tntk73"><!> <!> <!> <!> <!> <!> <!></ul></div>'),ml=R('<li class="svelte-1tntk73"><button part="column-cell-button-content" style="padding:0px" class="btn text-small svelte-1tntk73"> </button></li>'),pl=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),dl=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),vl=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),gl=R('<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>',2),cl=R('<li class="svelte-1tntk73"><button part="column-cell-button-content" style="padding:0px" class="btn text-small svelte-1tntk73"> </button></li>'),fl=R('<div style="padding:20px 20px"><h5 style="margin-bottom:20px" class="svelte-1tntk73"> </h5> <ul class="list-unstyled svelte-1tntk73"></ul></div>'),bl=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>'),kl=R('<a target="_blank" class="btn btn-link svelte-1tntk73"> </a>'),ul=R('<button class="btn btn-link svelte-1tntk73"> </button>'),hl=R('<div class="col svelte-1tntk73" style="margin:20px auto 20px auto;max-height:20px;text-align:center;font-size:0.9rem;"><!></div>'),xl=R('<div class="col svelte-1tntk73" style="max-height:20px;text-align:center;font-size:0.8rem;margin:10px auto 5px auto"> </div>'),yl=R('<!> <div class="container svelte-1tntk73"><!> <!> <div class="row svelte-1tntk73"><!></div> <div class="row svelte-1tntk73"><!></div></div>',1),wl=R('<footer class="svelte-1tntk73"><!></footer>');const _l={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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@htmlbricks/hb-footer",
|
|
3
|
-
"version": "0.66.
|
|
3
|
+
"version": "0.66.3",
|
|
4
4
|
"contributors": [],
|
|
5
5
|
"description": "Site footer in `small`, `regular`, or `large` layouts: company block, optional brand/contacts column, link columns, social icons, `hb-contact-item` rows, and policy links—all driven by JSON props. On small layouts the body can expand/collapse unless `disable_expanding_small` is set; slots `footerheader`, `footercontent`, and `footerbottom` wrap major regions.",
|
|
6
6
|
"licenses": [
|