@htmlbricks/hb-footer 0.61.39 → 0.61.41
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 +5 -5
- package/main.iife.js.map +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
package/main.iife.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
(function(Qn){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Qe=1,tn=2,ti=4,lr=8,sr=16,mr=1,ur=4,pr=8,dr=16,vr=1,br=2,fn="[",jn="[!",zn="]",fe={},Q=Symbol(),gr="http://www.w3.org/1999/xhtml",ei=!1;var xn=Array.isArray,cr=Array.prototype.indexOf,hn=Array.from,en=Object.keys,je=Object.defineProperty,ie=Object.getOwnPropertyDescriptor,fr=Object.getOwnPropertyDescriptors,jr=Object.prototype,zr=Array.prototype,ni=Object.getPrototypeOf,ii=Object.isExtensible;function ri(t){for(var e=0;e<t.length;e++)t[e]()}function xr(){var t,e,n=new Promise((i,r)=>{t=i,e=r});return{promise:n,resolve:t,reject:e}}const vt=2,yn=4,oi=8,ze=16,Lt=32,Xt=64,ai=128,zt=256,nn=512,ot=1024,xt=2048,Wt=4096,Et=8192,re=16384,wn=32768,_n=65536,li=1<<17,si=1<<18,xe=1<<19,hr=1<<20,kn=1<<21,En=1<<22,oe=1<<23,rn=Symbol("$state"),mi=Symbol("legacy props"),yr=Symbol(""),$n=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},An=3,he=8;function wr(){throw new Error("https://svelte.dev/e/await_outside_boundary")}function _r(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function kr(t){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Er(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function $r(t){throw new Error("https://svelte.dev/e/effect_orphan")}function Ar(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Sr(){throw new Error("https://svelte.dev/e/hydration_failed")}function Rr(t){throw new Error("https://svelte.dev/e/props_invalid_value")}function Nr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Tr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Or(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function on(t){console.warn("https://svelte.dev/e/hydration_mismatch")}let N=!1;function bt(t){N=t}let B;function dt(t){if(t===null)throw on(),fe;return B=t}function Ge(){return dt(Ot(B))}function w(t){if(N){if(Ot(B)!==null)throw on(),fe;B=t}}function Sn(){for(var t=0,e=B;;){if(e.nodeType===he){var n=e.data;if(n===zn){if(t===0)return e;t-=1}else(n===fn||n===jn)&&(t+=1)}var i=Ot(e);e.remove(),e=i}}function ui(t){if(!t||t.nodeType!==he)throw on(),fe;return t.data}function pi(t){return t===this.v}function Cr(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function di(t){return!Cr(t,this.v)}let Ir=!1,$t=null;function an(t){$t=t}function vi(t,e=!1,n){$t={p:$t,c:null,e:null,s:t,x:null,l:null}}function bi(t){var e=$t,n=e.e;if(n!==null){e.e=null;for(var i of n)Ii(i)}return t!==void 0&&(e.x=t),$t=e.p,t??{}}function gi(){return!0}const Pr=new WeakMap;function Br(t){var e=S;if(e===null)return T.f|=oe,t;if((e.f&wn)===0){if((e.f&ai)===0)throw!e.parent&&t instanceof Error&&ci(t),t;e.b.error(t)}else Rn(t,e)}function Rn(t,e){for(;e!==null;){if((e.f&ai)!==0)try{e.b.error(t);return}catch(n){t=n}e=e.parent}throw t instanceof Error&&ci(t),t}function ci(t){const e=Pr.get(t);e&&(je(t,"message",{value:e.message}),je(t,"stack",{value:e.stack}))}let Le=[],Nn=[];function fi(){var t=Le;Le=[],ri(t)}function Mr(){var t=Nn;Nn=[],ri(t)}function Gr(t){Le.length===0&&queueMicrotask(fi),Le.push(t)}function Lr(){Le.length>0&&fi(),Nn.length>0&&Mr()}function Dr(){const t=S.b;return t===null&&wr(),t}function Tn(t){var e=vt|xt,n=T!==null&&(T.f&vt)!==0?T:null;return S===null||n!==null&&(n.f&zt)!==0?e|=zt:S.f|=xe,{ctx:$t,deps:null,effects:null,equals:pi,f:e,fn:t,reactions:null,rv:0,v:Q,wv:0,parent:n??S,ac:null}}function Fr(t,e){let n=S;n===null&&_r();var i=n.b,r=void 0,o=De(Q),a=null,m=!T;return Qr(()=>{try{var l=t();a&&Promise.resolve(l).catch(()=>{})}catch(v){l=Promise.reject(v)}var s=()=>l;r=a?.then(s,s)??Promise.resolve(l),a=r;var u=X,d=i.is_pending();m&&(i.update_pending_count(1),d||u.increment());const g=(v,p=void 0)=>{a=null,d||u.activate(),p?p!==$n&&(o.f|=oe,Fe(o,p)):((o.f&oe)!==0&&(o.f^=oe),Fe(o,v)),m&&(i.update_pending_count(-1),d||u.decrement()),hi()};if(r.then(g,v=>g(null,v||"unknown")),u)return()=>{queueMicrotask(()=>u.neuter())}}),new Promise(l=>{function s(u){function d(){u===r?l(o):s(r)}u.then(d,d)}s(r)})}function ji(t){const e=Tn(t);return e.equals=di,e}function zi(t){var e=t.effects;if(e!==null){t.effects=null;for(var n=0;n<e.length;n+=1)Ct(e[n])}}function qr(t){for(var e=t.parent;e!==null;){if((e.f&vt)===0)return e;e=e.parent}return null}function On(t){var e,n=S;Pt(qr(t));try{zi(t),e=Hi(t)}finally{Pt(n)}return e}function xi(t){var e=On(t);if(t.equals(e)||(t.v=e,t.wv=Ji()),!ue){var n=(Qt||(t.f&zt)!==0)&&t.deps!==null?Wt:ot;ct(t,n)}}function Ur(t,e,n){const i=Tn;if(e.length===0){n(t.map(i));return}var r=X,o=S,a=Jr(),m=Dr();Promise.all(e.map(l=>Fr(l))).then(l=>{r?.activate(),a();try{n([...t.map(i),...l])}catch(s){(o.f&re)===0&&Rn(s,o)}r?.deactivate(),hi()}).catch(l=>{m.error(l)})}function Jr(){var t=S,e=T,n=$t,i=X;return function(){Pt(t),ht(e),an(n),i?.activate()}}function hi(){Pt(null),ht(null),an(null)}const Cn=new Set;let X=null,yi=new Set,ln=[];function wi(){const t=ln.shift();ln.length>0&&queueMicrotask(wi),t()}let ae=[],sn=null,In=!1,mn=!1;class le{current=new Map;#e=new Map;#t=new Set;#n=0;#m=null;#u=!1;#r=[];#a=[];#o=[];#i=[];#l=[];#p=[];#d=[];skipped_effects=new Set;process(e){ae=[];for(const r of e)this.#b(r);if(this.#r.length===0&&this.#n===0){this.#v();var n=this.#o,i=this.#i;this.#o=[],this.#i=[],this.#l=[],X=null,ki(n),ki(i),X===null?X=this:Cn.delete(this),this.#m?.resolve()}else this.#s(this.#o),this.#s(this.#i),this.#s(this.#l);for(const r of this.#r)ke(r);for(const r of this.#a)ke(r);this.#r=[],this.#a=[]}#b(e){e.f^=ot;for(var n=e.first;n!==null;){var i=n.f,r=(i&(Lt|Xt))!==0,o=r&&(i&ot)!==0,a=o||(i&Et)!==0||this.skipped_effects.has(n);if(!a&&n.fn!==null){if(r)n.f^=ot;else if((i&yn)!==0)this.#i.push(n);else if((i&ot)===0)if((i&En)!==0){var m=n.b?.is_pending()?this.#a:this.#r;m.push(n)}else un(n)&&((n.f&ze)!==0&&this.#l.push(n),ke(n));var l=n.first;if(l!==null){n=l;continue}}var s=n.parent;for(n=n.next;n===null&&s!==null;)n=s.next,s=s.parent}}#s(e){for(const n of e)((n.f&xt)!==0?this.#p:this.#d).push(n),ct(n,ot);e.length=0}capture(e,n){this.#e.has(e)||this.#e.set(e,n),this.current.set(e,e.v)}activate(){X=this}deactivate(){X=null;for(const e of yi)if(yi.delete(e),e(),X!==null)break}neuter(){this.#u=!0}flush(){ae.length>0?_i():this.#v(),X===this&&(this.#n===0&&Cn.delete(this),this.deactivate())}#v(){if(!this.#u)for(const e of this.#t)e();this.#t.clear()}increment(){this.#n+=1}decrement(){if(this.#n-=1,this.#n===0){for(const e of this.#p)ct(e,xt),ye(e);for(const e of this.#d)ct(e,Wt),ye(e);this.#o=[],this.#i=[],this.flush()}else this.deactivate()}add_callback(e){this.#t.add(e)}settled(){return(this.#m??=xr()).promise}static ensure(){if(X===null){const e=X=new le;Cn.add(X),mn||le.enqueue(()=>{X===e&&e.flush()})}return X}static enqueue(e){ln.length===0&&queueMicrotask(wi),ln.unshift(e)}}function Tt(t){var e=mn;mn=!0;try{for(var n;;){if(Lr(),ae.length===0&&(X?.flush(),ae.length===0))return sn=null,n;_i()}}finally{mn=e}}function _i(){var t=_e;In=!0;try{var e=0;for(Di(!0);ae.length>0;){var n=le.ensure();if(e++>1e3){var i,r;Yr()}n.process(ae),Kt.clear()}}finally{In=!1,Di(t),sn=null}}function Yr(){try{Ar()}catch(t){Rn(t,sn)}}let se=null;function ki(t){var e=t.length;if(e!==0){for(var n=0;n<e;){var i=t[n++];if((i.f&(re|Et))===0&&un(i)&&(se=[],ke(i),i.deps===null&&i.first===null&&i.nodes_start===null&&(i.teardown===null&&i.ac===null?Mi(i):i.fn=null),se?.length>0)){Kt.clear();for(const r of se)ke(r);se=[]}}se=null}}function ye(t){for(var e=sn=t;e.parent!==null;){e=e.parent;var n=e.f;if(In&&e===S&&(n&ze)!==0)return;if((n&(Xt|Lt))!==0){if((n&ot)===0)return;e.f^=ot}}ae.push(e)}const Kt=new Map;function De(t,e){var n={f:0,v:t,reactions:null,equals:pi,rv:0,wv:0};return n}function At(t,e){const n=De(t);return io(n),n}function Ei(t,e=!1,n=!0){const i=De(t);return e||(i.equals=di),i}function St(t,e,n=!1){T!==null&&(!It||(T.f&li)!==0)&&gi()&&(T.f&(vt|ze|En|li))!==0&&!Ft?.includes(t)&&Or();let i=n?me(e):e;return Fe(t,i)}function Fe(t,e){if(!t.equals(e)){var n=t.v;ue?Kt.set(t,e):Kt.set(t,n),t.v=e;var i=le.ensure();i.capture(t,n),(t.f&vt)!==0&&((t.f&xt)!==0&&On(t),ct(t,(t.f&zt)===0?ot:Wt)),t.wv=Ji(),$i(t,xt),S!==null&&(S.f&ot)!==0&&(S.f&(Lt|Xt))===0&&(yt===null?ro([t]):yt.push(t))}return e}function Pn(t){St(t,t.v+1)}function $i(t,e){var n=t.reactions;if(n!==null)for(var i=n.length,r=0;r<i;r++){var o=n[r],a=o.f,m=(a&xt)===0;m&&ct(o,e),(a&vt)!==0?$i(o,Wt):m&&((a&ze)!==0&&se!==null&&se.push(o),ye(o))}}function me(t){if(typeof t!="object"||t===null||rn in t)return t;const e=ni(t);if(e!==jr&&e!==zr)return t;var n=new Map,i=xn(t),r=At(0),o=pe,a=m=>{if(pe===o)return m();var l=T,s=pe;ht(null),Ui(o);var u=m();return ht(l),Ui(s),u};return i&&n.set("length",At(t.length)),new Proxy(t,{defineProperty(m,l,s){(!("value"in s)||s.configurable===!1||s.enumerable===!1||s.writable===!1)&&Nr();var u=n.get(l);return u===void 0?u=a(()=>{var d=At(s.value);return n.set(l,d),d}):St(u,s.value,!0),!0},deleteProperty(m,l){var s=n.get(l);if(s===void 0){if(l in m){const u=a(()=>At(Q));n.set(l,u),Pn(r)}}else St(s,Q),Pn(r);return!0},get(m,l,s){if(l===rn)return t;var u=n.get(l),d=l in m;if(u===void 0&&(!d||ie(m,l)?.writable)&&(u=a(()=>{var v=me(d?m[l]:Q),p=At(v);return p}),n.set(l,u)),u!==void 0){var g=f(u);return g===Q?void 0:g}return Reflect.get(m,l,s)},getOwnPropertyDescriptor(m,l){var s=Reflect.getOwnPropertyDescriptor(m,l);if(s&&"value"in s){var u=n.get(l);u&&(s.value=f(u))}else if(s===void 0){var d=n.get(l),g=d?.v;if(d!==void 0&&g!==Q)return{enumerable:!0,configurable:!0,value:g,writable:!0}}return s},has(m,l){if(l===rn)return!0;var s=n.get(l),u=s!==void 0&&s.v!==Q||Reflect.has(m,l);if(s!==void 0||S!==null&&(!u||ie(m,l)?.writable)){s===void 0&&(s=a(()=>{var g=u?me(m[l]):Q,v=At(g);return v}),n.set(l,s));var d=f(s);if(d===Q)return!1}return u},set(m,l,s,u){var d=n.get(l),g=l in m;if(i&&l==="length")for(var v=s;v<d.v;v+=1){var p=n.get(v+"");p!==void 0?St(p,Q):v in m&&(p=a(()=>At(Q)),n.set(v+"",p))}if(d===void 0)(!g||ie(m,l)?.writable)&&(d=a(()=>At(void 0)),St(d,me(s)),n.set(l,d));else{g=d.v!==Q;var b=a(()=>me(s));St(d,b)}var x=Reflect.getOwnPropertyDescriptor(m,l);if(x?.set&&x.set.call(u,s),!g){if(i&&typeof l=="string"){var R=n.get("length"),h=Number(l);Number.isInteger(h)&&h>=R.v&&St(R,h+1)}Pn(r)}return!0},ownKeys(m){f(r);var l=Reflect.ownKeys(m).filter(d=>{var g=n.get(d);return g===void 0||g.v!==Q});for(var[s,u]of n)u.v!==Q&&!(s in m)&&l.push(s);return l},setPrototypeOf(){Tr()}})}var Ai,Si,Ri,Ni;function Bn(){if(Ai===void 0){Ai=window,Si=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,n=Text.prototype;Ri=ie(e,"firstChild").get,Ni=ie(e,"nextSibling").get,ii(t)&&(t.__click=void 0,t.__className=void 0,t.__attributes=null,t.__style=void 0,t.__e=void 0),ii(n)&&(n.__t=void 0)}}function Rt(t=""){return document.createTextNode(t)}function Zt(t){return Ri.call(t)}function Ot(t){return Ni.call(t)}function k(t,e){if(!N)return Zt(t);var n=Zt(B);if(n===null)n=B.appendChild(Rt());else if(e&&n.nodeType!==An){var i=Rt();return n?.before(i),dt(i),i}return dt(n),n}function W(t,e){if(!N){var n=Zt(t);return n instanceof Comment&&n.data===""?Ot(n):n}return B}function M(t,e=1,n=!1){let i=N?B:t;for(var r;e--;)r=i,i=Ot(i);if(!N)return i;if(n&&i?.nodeType!==An){var o=Rt();return i===null?r?.after(o):i.before(o),dt(o),o}return dt(i),i}function Ti(t){t.textContent=""}function Oi(){return!1}function Ci(t){var e=T,n=S;ht(null),Pt(null);try{return t()}finally{ht(e),Pt(n)}}function Hr(t){S===null&&T===null&&$r(),T!==null&&(T.f&zt)!==0&&S===null&&Er(),ue&&kr()}function Vr(t,e){var n=e.last;n===null?e.last=e.first=t:(n.next=t,t.prev=n,e.last=t)}function Dt(t,e,n,i=!0){var r=S;r!==null&&(r.f&Et)!==0&&(t|=Et);var o={ctx:$t,deps:null,nodes_start:null,nodes_end:null,f:t|xt,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|=wn}catch(l){throw Ct(o),l}else e!==null&&ye(o);if(i){var a=o;if(n&&a.deps===null&&a.teardown===null&&a.nodes_start===null&&a.first===a.last&&(a.f&xe)===0&&(a=a.first),a!==null&&(a.parent=r,r!==null&&Vr(a,r),T!==null&&(T.f&vt)!==0&&(t&Xt)===0)){var m=T;(m.effects??=[]).push(a)}}return o}function Xr(t){Hr();var e=S.f,n=!T&&(e&Lt)!==0&&(e&wn)===0;if(n){var i=$t;(i.e??=[]).push(t)}else return Ii(t)}function Ii(t){return Dt(yn|hr,t,!1)}function Wr(t){le.ensure();const e=Dt(Xt|xe,t,!0);return()=>{Ct(e)}}function Kr(t){le.ensure();const e=Dt(Xt|xe,t,!0);return(n={})=>new Promise(i=>{n.outro?Gn(e,()=>{Ct(e),i(void 0)}):(Ct(e),i(void 0))})}function Zr(t){return Dt(yn,t,!1)}function Qr(t){return Dt(En|xe,t,!0)}function to(t,e=0){return Dt(oi|e,t,!0)}function U(t,e=[],n=[]){Ur(e,n,i=>{Dt(oi,()=>t(...i.map(f)),!0)})}function Mn(t,e=0){var n=Dt(ze|e,t,!0);return n}function we(t,e=!0){return Dt(Lt|xe,t,!0,e)}function Pi(t){var e=t.teardown;if(e!==null){const n=ue,i=T;Fi(!0),ht(null);try{e.call(null)}finally{Fi(n),ht(i)}}}function Bi(t,e=!1){var n=t.first;for(t.first=t.last=null;n!==null;){const r=n.ac;r!==null&&Ci(()=>{r.abort($n)});var i=n.next;(n.f&Xt)!==0?n.parent=null:Ct(n,e),n=i}}function eo(t){for(var e=t.first;e!==null;){var n=e.next;(e.f&Lt)===0&&Ct(e),e=n}}function Ct(t,e=!0){var n=!1;(e||(t.f&si)!==0)&&t.nodes_start!==null&&t.nodes_end!==null&&(no(t.nodes_start,t.nodes_end),n=!0),Bi(t,e&&!n),pn(t,0),ct(t,re);var i=t.transitions;if(i!==null)for(const o of i)o.stop();Pi(t);var r=t.parent;r!==null&&r.first!==null&&Mi(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes_start=t.nodes_end=t.ac=null}function no(t,e){for(;t!==null;){var n=t===e?null:Ot(t);t.remove(),t=n}}function Mi(t){var e=t.parent,n=t.prev,i=t.next;n!==null&&(n.next=i),i!==null&&(i.prev=n),e!==null&&(e.first===t&&(e.first=i),e.last===t&&(e.last=n))}function Gn(t,e){var n=[];Ln(t,n,!0),Gi(n,()=>{Ct(t),e&&e()})}function Gi(t,e){var n=t.length;if(n>0){var i=()=>--n||e();for(var r of t)r.out(i)}else e()}function Ln(t,e,n){if((t.f&Et)===0){if(t.f^=Et,t.transitions!==null)for(const a of t.transitions)(a.is_global||n)&&e.push(a);for(var i=t.first;i!==null;){var r=i.next,o=(i.f&_n)!==0||(i.f&Lt)!==0;Ln(i,e,o?n:!1),i=r}}}function Dn(t){Li(t,!0)}function Li(t,e){if((t.f&Et)!==0){t.f^=Et,(t.f&ot)===0&&(ct(t,xt),ye(t));for(var n=t.first;n!==null;){var i=n.next,r=(n.f&_n)!==0||(n.f&Lt)!==0;Li(n,r?e:!1),n=i}if(t.transitions!==null)for(const o of t.transitions)(o.is_global||e)&&o.in()}}let _e=!1;function Di(t){_e=t}let ue=!1;function Fi(t){ue=t}let T=null,It=!1;function ht(t){T=t}let S=null;function Pt(t){S=t}let Ft=null;function io(t){T!==null&&(Ft===null?Ft=[t]:Ft.push(t))}let at=null,gt=0,yt=null;function ro(t){yt=t}let qi=1,qe=0,pe=qe;function Ui(t){pe=t}let Qt=!1;function Ji(){return++qi}function un(t){var e=t.f;if((e&xt)!==0)return!0;if((e&Wt)!==0){var n=t.deps,i=(e&zt)!==0;if(n!==null){var r,o,a=(e&nn)!==0,m=i&&S!==null&&!Qt,l=n.length;if((a||m)&&(S===null||(S.f&re)===0)){var s=t,u=s.parent;for(r=0;r<l;r++)o=n[r],(a||!o?.reactions?.includes(s))&&(o.reactions??=[]).push(s);a&&(s.f^=nn),m&&u!==null&&(u.f&zt)===0&&(s.f^=zt)}for(r=0;r<l;r++)if(o=n[r],un(o)&&xi(o),o.wv>t.wv)return!0}(!i||S!==null&&!Qt)&&ct(t,ot)}return!1}function Yi(t,e,n=!0){var i=t.reactions;if(i!==null&&!Ft?.includes(t))for(var r=0;r<i.length;r++){var o=i[r];(o.f&vt)!==0?Yi(o,e,!1):e===o&&(n?ct(o,xt):(o.f&ot)!==0&&ct(o,Wt),ye(o))}}function Hi(t){var e=at,n=gt,i=yt,r=T,o=Qt,a=Ft,m=$t,l=It,s=pe,u=t.f;at=null,gt=0,yt=null,Qt=(u&zt)!==0&&(It||!_e||T===null),T=(u&(Lt|Xt))===0?t:null,Ft=null,an(t.ctx),It=!1,pe=++qe,t.ac!==null&&(Ci(()=>{t.ac.abort($n)}),t.ac=null);try{t.f|=kn;var d=t.fn,g=d(),v=t.deps;if(at!==null){var p;if(pn(t,gt),v!==null&>>0)for(v.length=gt+at.length,p=0;p<at.length;p++)v[gt+p]=at[p];else t.deps=v=at;if(!Qt||(u&vt)!==0&&t.reactions!==null)for(p=gt;p<v.length;p++)(v[p].reactions??=[]).push(t)}else v!==null&><v.length&&(pn(t,gt),v.length=gt);if(gi()&&yt!==null&&!It&&v!==null&&(t.f&(vt|Wt|xt))===0)for(p=0;p<yt.length;p++)Yi(yt[p],t);return r!==null&&r!==t&&(qe++,yt!==null&&(i===null?i=yt:i.push(...yt))),(t.f&oe)!==0&&(t.f^=oe),g}catch(b){return Br(b)}finally{t.f^=kn,at=e,gt=n,yt=i,T=r,Qt=o,Ft=a,an(m),It=l,pe=s}}function oo(t,e){let n=e.reactions;if(n!==null){var i=cr.call(n,t);if(i!==-1){var r=n.length-1;r===0?n=e.reactions=null:(n[i]=n[r],n.pop())}}n===null&&(e.f&vt)!==0&&(at===null||!at.includes(e))&&(ct(e,Wt),(e.f&(zt|nn))===0&&(e.f^=nn),zi(e),pn(e,0))}function pn(t,e){var n=t.deps;if(n!==null)for(var i=e;i<n.length;i++)oo(t,n[i])}function ke(t){var e=t.f;if((e&re)===0){ct(t,ot);var n=S,i=_e;S=t,_e=!0;try{(e&ze)!==0?eo(t):Bi(t),Pi(t);var r=Hi(t);t.teardown=typeof r=="function"?r:null,t.wv=qi;var o;ei&&Ir&&(t.f&xt)!==0&&t.deps}finally{_e=i,S=n}}}function f(t){var e=t.f,n=(e&vt)!==0;if(T!==null&&!It){var i=S!==null&&(S.f&re)!==0;if(!i&&!Ft?.includes(t)){var r=T.deps;if((T.f&kn)!==0)t.rv<qe&&(t.rv=qe,at===null&&r!==null&&r[gt]===t?gt++:at===null?at=[t]:(!Qt||!at.includes(t))&&at.push(t));else{(T.deps??=[]).push(t);var o=t.reactions;o===null?t.reactions=[T]:o.includes(T)||o.push(T)}}}else if(n&&t.deps===null&&t.effects===null){var a=t,m=a.parent;m!==null&&(m.f&zt)===0&&(a.f^=zt)}if(ue){if(Kt.has(t))return Kt.get(t);if(n){a=t;var l=a.v;return((a.f&ot)===0&&a.reactions!==null||Vi(a))&&(l=On(a)),Kt.set(a,l),l}}else n&&(a=t,un(a)&&xi(a));if((t.f&oe)!==0)throw t.v;return t.v}function Vi(t){if(t.v===Q)return!0;if(t.deps===null)return!1;for(const e of t.deps)if(Kt.has(e)||(e.f&vt)!==0&&Vi(e))return!0;return!1}function ao(t){var e=It;try{return It=!0,t()}finally{It=e}}const lo=-7169;function ct(t,e){t.f=t.f&lo|e}const Xi=new Set,Fn=new Set;function so(t){for(var e=0;e<t.length;e++)Xi.add(t[e]);for(var n of Fn)n(t)}let Wi=null;function dn(t){var e=this,n=e.ownerDocument,i=t.type,r=t.composedPath?.()||[],o=r[0]||t.target;Wi=t;var a=0,m=Wi===t&&t.__root;if(m){var l=r.indexOf(m);if(l!==-1&&(e===document||e===window)){t.__root=e;return}var s=r.indexOf(e);if(s===-1)return;l<=s&&(a=l)}if(o=r[a]||t.target,o!==e){je(t,"currentTarget",{configurable:!0,get(){return o||n}});var u=T,d=S;ht(null),Pt(null);try{for(var g,v=[];o!==null;){var p=o.assignedSlot||o.parentNode||o.host||null;try{var b=o["__"+i];if(b!=null&&(!o.disabled||t.target===o))if(xn(b)){var[x,...R]=b;x.apply(o,[t,...R])}else b.call(o,t)}catch(h){g?v.push(h):g=h}if(t.cancelBubble||p===e||p===null)break;o=p}if(g){for(let h of v)queueMicrotask(()=>{throw h});throw g}}finally{t.__root=e,delete t.currentTarget,ht(u),Pt(d)}}}let wt;function mo(){wt=void 0}function uo(t){let e=null,n=N;var i;if(N){for(e=B,wt===void 0&&(wt=Zt(document.head));wt!==null&&(wt.nodeType!==he||wt.data!==fn);)wt=Ot(wt);wt===null?bt(!1):wt=dt(Ot(wt))}N||(i=document.head.appendChild(Rt()));try{Mn(()=>t(i),si)}finally{n&&(bt(!0),wt=B,dt(e))}}function po(t){var e=document.createElement("template");return e.innerHTML=t.replaceAll("<!>","<!---->"),e.content}function te(t,e){var n=S;n.nodes_start===null&&(n.nodes_start=t,n.nodes_end=e)}function O(t,e){var n=(e&vr)!==0,i=(e&br)!==0,r,o=!t.startsWith("<!>");return()=>{if(N)return te(B,null),B;r===void 0&&(r=po(o?t:"<!>"+t),n||(r=Zt(r)));var a=i||Si?document.importNode(r,!0):r.cloneNode(!0);if(n){var m=Zt(a),l=a.lastChild;te(m,l)}else te(a,a);return a}}function vo(t=""){if(!N){var e=Rt(t+"");return te(e,e),e}var n=B;return n.nodeType!==An&&(n.before(n=Rt()),dt(n)),te(n,n),n}function tt(){if(N)return te(B,null),B;var t=document.createDocumentFragment(),e=document.createComment(""),n=Rt();return t.append(e,n),te(e,n),t}function j(t,e){if(N){S.nodes_end=B,Ge();return}t!==null&&t.before(e)}const bo=["touchstart","touchmove"];function go(t){return bo.includes(t)}function Nt(t,e){var n=e==null?"":typeof e=="object"?e+"":e;n!==(t.__t??=t.nodeValue)&&(t.__t=n,t.nodeValue=n+"")}function Ki(t,e){return Zi(t,e)}function co(t,e){Bn(),e.intro=e.intro??!1;const n=e.target,i=N,r=B;try{for(var o=Zt(n);o&&(o.nodeType!==he||o.data!==fn);)o=Ot(o);if(!o)throw fe;bt(!0),dt(o),Ge();const a=Zi(t,{...e,anchor:o});if(B===null||B.nodeType!==he||B.data!==zn)throw on(),fe;return bt(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
|
|
2
|
-
`).some(m=>m.startsWith("https://svelte.dev/e/")))throw a;return a!==fe&&console.warn("Failed to hydrate: ",a),e.recover===!1&&Sr(),Bn(),Ti(n),bt(!1),Ki(t,e)}finally{bt(i),dt(r),mo()}}const Ee=new Map;function Zi(t,{target:e,anchor:n,props:i={},events:r,context:o,intro:a=!0}){Bn();var m=new Set,l=d=>{for(var g=0;g<d.length;g++){var v=d[g];if(!m.has(v)){m.add(v);var p=go(v);e.addEventListener(v,dn,{passive:p});var b=Ee.get(v);b===void 0?(document.addEventListener(v,dn,{passive:p}),Ee.set(v,1)):Ee.set(v,b+1)}}};l(hn(Xi)),Fn.add(l);var s=void 0,u=Kr(()=>{var d=n??e.appendChild(Rt());return we(()=>{if(o){vi({});var g=$t;g.c=o}r&&(i.$$events=r),N&&te(d,null),s=t(d,i)||{},N&&(S.nodes_end=B),o&&bi()}),()=>{for(var g of m){e.removeEventListener(g,dn);var v=Ee.get(g);--v===0?(document.removeEventListener(g,dn),Ee.delete(g)):Ee.set(g,v)}Fn.delete(l),d!==n&&d.parentNode?.removeChild(d)}});return qn.set(s,u),s}let qn=new WeakMap;function fo(t,e){const n=qn.get(t);return n?(qn.delete(t),n(e)):Promise.resolve()}function C(t,e,n=!1){N&&Ge();var i=t,r=null,o=null,a=Q,m=n?_n:0,l=!1;const s=(v,p=!0)=>{l=!0,g(p,v)};var u=null;function d(){u!==null&&(u.lastChild.remove(),i.before(u),u=null);var v=a?r:o,p=a?o:r;v&&Dn(v),p&&Gn(p,()=>{a?o=null:r=null})}const g=(v,p)=>{if(a===(a=v))return;let b=!1;if(N){const y=ui(i)===jn;!!a===y&&(i=Sn(),dt(i),bt(!1),b=!0)}var x=Oi(),R=i;if(x&&(u=document.createDocumentFragment(),u.append(R=Rt())),a?r??=p&&we(()=>p(R)):o??=p&&we(()=>p(R)),x){var h=X,D=a?r:o,z=a?o:r;D&&h.skipped_effects.delete(D),z&&h.skipped_effects.add(z),h.add_callback(d)}else d();b&&bt(!0)};Mn(()=>{l=!1,e(s),l||g(null,null)},m),N&&(i=B)}function jo(t,e,n){for(var i=t.items,r=[],o=e.length,a=0;a<o;a++)Ln(e[a].e,r,!0);var m=o>0&&r.length===0&&n!==null;if(m){var l=n.parentNode;Ti(l),l.append(n),i.clear(),Bt(t,e[0].prev,e[o-1].next)}Gi(r,()=>{for(var s=0;s<o;s++){var u=e[s];m||(i.delete(u.k),Bt(t,u.prev,u.next)),Ct(u.e,!m)}})}function de(t,e,n,i,r,o=null){var a=t,m={flags:e,items:new Map,first:null},l=(e&ti)!==0;if(l){var s=t;a=N?dt(Zt(s)):s.appendChild(Rt())}N&&Ge();var u=null,d=!1,g=new Map,v=ji(()=>{var R=n();return xn(R)?R:R==null?[]:hn(R)}),p,b;function x(){zo(b,p,m,g,a,r,e,i,n),o!==null&&(p.length===0?u?Dn(u):u=we(()=>o(a)):u!==null&&Gn(u,()=>{u=null}))}Mn(()=>{b??=S,p=f(v);var R=p.length;if(d&&R===0)return;d=R===0;let h=!1;if(N){var D=ui(a)===jn;D!==(R===0)&&(a=Sn(),dt(a),bt(!1),h=!0)}if(N){for(var z=null,y,c=0;c<R;c++){if(B.nodeType===he&&B.data===zn){a=B,h=!0,bt(!1);break}var A=p[c],F=i(A,c);y=Un(B,m,z,null,A,F,c,r,e,n),m.items.set(F,y),z=y}R>0&&dt(Sn())}if(N)R===0&&o&&(u=we(()=>o(a)));else if(Oi()){var K=new Set,mt=X;for(c=0;c<R;c+=1){A=p[c],F=i(A,c);var Y=m.items.get(F)??g.get(F);Y?(e&(Qe|tn))!==0&&Qi(Y,A,c,e):(y=Un(null,m,null,null,A,F,c,r,e,n,!0),g.set(F,y)),K.add(F)}for(const[q,$]of m.items)K.has(q)||mt.skipped_effects.add($.e);mt.add_callback(x)}else x();h&&bt(!0),f(v)}),N&&(a=B)}function zo(t,e,n,i,r,o,a,m,l){var s=(a&lr)!==0,u=(a&(Qe|tn))!==0,d=e.length,g=n.items,v=n.first,p=v,b,x=null,R,h=[],D=[],z,y,c,A;if(s)for(A=0;A<d;A+=1)z=e[A],y=m(z,A),c=g.get(y),c!==void 0&&(c.a?.measure(),(R??=new Set).add(c));for(A=0;A<d;A+=1){if(z=e[A],y=m(z,A),c=g.get(y),c===void 0){var F=i.get(y);if(F!==void 0){i.delete(y),g.set(y,F);var K=x?x.next:p;Bt(n,x,F),Bt(n,F,K),Jn(F,K,r),x=F}else{var mt=p?p.e.nodes_start:r;x=Un(mt,n,x,x===null?n.first:x.next,z,y,A,o,a,l)}g.set(y,x),h=[],D=[],p=x.next;continue}if(u&&Qi(c,z,A,a),(c.e.f&Et)!==0&&(Dn(c.e),s&&(c.a?.unfix(),(R??=new Set).delete(c))),c!==p){if(b!==void 0&&b.has(c)){if(h.length<D.length){var Y=D[0],q;x=Y.prev;var $=h[0],E=h[h.length-1];for(q=0;q<h.length;q+=1)Jn(h[q],Y,r);for(q=0;q<D.length;q+=1)b.delete(D[q]);Bt(n,$.prev,E.next),Bt(n,x,$),Bt(n,E,Y),p=Y,x=E,A-=1,h=[],D=[]}else b.delete(c),Jn(c,p,r),Bt(n,c.prev,c.next),Bt(n,c,x===null?n.first:x.next),Bt(n,x,c),x=c;continue}for(h=[],D=[];p!==null&&p.k!==y;)(p.e.f&Et)===0&&(b??=new Set).add(p),D.push(p),p=p.next;if(p===null)continue;c=p}h.push(c),x=c,p=c.next}if(p!==null||b!==void 0){for(var G=b===void 0?[]:hn(b);p!==null;)(p.e.f&Et)===0&&G.push(p),p=p.next;var ft=G.length;if(ft>0){var Ae=(a&ti)!==0&&d===0?r:null;if(s){for(A=0;A<ft;A+=1)G[A].a?.measure();for(A=0;A<ft;A+=1)G[A].a?.fix()}jo(n,G,Ae)}}s&&Gr(()=>{if(R!==void 0)for(c of R)c.a?.apply()}),t.first=n.first&&n.first.e,t.last=x&&x.e;for(var Se of i.values())Ct(Se.e);i.clear()}function Qi(t,e,n,i){(i&Qe)!==0&&Fe(t.v,e),(i&tn)!==0?Fe(t.i,n):t.i=n}function Un(t,e,n,i,r,o,a,m,l,s,u){var d=(l&Qe)!==0,g=(l&sr)===0,v=d?g?Ei(r,!1,!1):De(r):r,p=(l&tn)===0?a:De(a),b={i:p,v,k:o,a:null,e:null,prev:n,next:i};try{if(t===null){var x=document.createDocumentFragment();x.append(t=Rt())}return b.e=we(()=>m(t,v,p,s),N),b.e.prev=n&&n.e,b.e.next=i&&i.e,n===null?u||(e.first=b):(n.next=b,n.e.next=b.e),i!==null&&(i.prev=b,i.e.prev=b.e),b}finally{}}function Jn(t,e,n){for(var i=t.next?t.next.e.nodes_start:n,r=e?e.e.nodes_start:n,o=t.e.nodes_start;o!==null&&o!==i;){var a=Ot(o);r.before(o),o=a}}function Bt(t,e,n){e===null?t.first=n:(e.next=n,e.e.next=n&&n.e),n!==null&&(n.prev=e,n.e.prev=e&&e.e)}function Ue(t,e,n,i,r){N&&Ge();var o=e.$$slots?.[n],a=!1;o===!0&&(o=e[n==="default"?"children":n],a=!0),o===void 0?r!==null&&r(t):o(t,a?()=>i:i)}function xo(t,e){Zr(()=>{var n=t.getRootNode(),i=n.host?n:n.head??n.ownerDocument.head;if(!i.querySelector("#"+e.hash)){const r=document.createElement("style");r.id=e.hash,r.textContent=e.code,i.appendChild(r)}})}function ho(t,e,n){var i=t==null?"":""+t;return e&&(i=i?i+" "+e:e),i===""?null:i}function yo(t,e){return t==null?null:String(t)}function H(t,e,n,i,r,o){var a=t.__className;if(N||a!==n||a===void 0){var m=ho(n,i);(!N||m!==t.getAttribute("class"))&&(m==null?t.removeAttribute("class"):t.className=m),t.__className=n}return o}function lt(t,e,n,i){var r=t.__style;if(N||r!==e){var o=yo(e);(!N||o!==t.getAttribute("style"))&&(o==null?t.removeAttribute("style"):t.style.cssText=o),t.__style=e}return i}const wo=Symbol("is custom element"),_o=Symbol("is html");function vn(t,e,n,i){var r=ko(t);N&&(r[e]=t.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&t.nodeName==="LINK")||r[e]!==(r[e]=n)&&(e==="loading"&&(t[yr]=n),n==null?t.removeAttribute(e):typeof n!="string"&&tr(t).includes(e)?t[e]=n:t.setAttribute(e,n))}function st(t,e,n){var i=T,r=S;let o=N;N&&bt(!1),ht(null),Pt(null);try{e!=="style"&&(Yn.has(t.getAttribute("is")||t.nodeName)||!customElements||customElements.get(t.getAttribute("is")||t.tagName.toLowerCase())?tr(t).includes(e):n&&typeof n=="object")?t[e]=n:vn(t,e,n==null?n:String(n))}finally{ht(i),Pt(r),o&&bt(!0)}}function ko(t){return t.__attributes??={[wo]:t.nodeName.includes("-"),[_o]:t.namespaceURI===gr}}var Yn=new Map;function tr(t){var e=t.getAttribute("is")||t.nodeName,n=Yn.get(e);if(n)return n;Yn.set(e,n=[]);for(var i,r=t,o=Element.prototype;o!==r;){i=fr(r);for(var a in i)i[a].set&&n.push(a);r=ni(r)}return n}let bn=!1;function Eo(t){var e=bn;try{return bn=!1,[t(),bn]}finally{bn=e}}function qt(t,e,n,i){var r=(n&pr)!==0,o=(n&dr)!==0,a=i,m=!0,l=()=>(m&&(m=!1,a=o?ao(i):i),a),s;if(r){var u=rn in t||mi in t;s=ie(t,e)?.set??(u&&e in t?h=>t[e]=h:void 0)}var d,g=!1;r?[d,g]=Eo(()=>t[e]):d=t[e],d===void 0&&i!==void 0&&(d=l(),s&&(Rr(),s(d)));var v;if(v=()=>{var h=t[e];return h===void 0?l():(m=!0,h)},(n&ur)===0)return v;if(s){var p=t.$$legacy;return(function(h,D){return arguments.length>0?((!D||p||g)&&s(D?v():h),h):v()})}var b=!1,x=((n&mr)!==0?Tn:ji)(()=>(b=!1,v()));r&&f(x);var R=S;return(function(h,D){if(arguments.length>0){const z=D?f(x):r?me(h):h;return St(x,z),b=!0,a!==void 0&&(a=z),h}return ue&&b||(R.f&re)!==0?x.v:f(x)})}function $o(t){return new Ao(t)}class Ao{#e;#t;constructor(e){var n=new Map,i=(o,a)=>{var m=Ei(a,!1,!1);return n.set(o,m),m};const r=new Proxy({...e.props||{},$$events:{}},{get(o,a){return f(n.get(a)??i(a,Reflect.get(o,a)))},has(o,a){return a===mi?!0:(f(n.get(a)??i(a,Reflect.get(o,a))),Reflect.has(o,a))},set(o,a,m){return St(n.get(a)??i(a,m),m),Reflect.set(o,a,m)}});this.#t=(e.hydrate?co:Ki)(e.component,{target:e.target,anchor:e.anchor,props:r,context:e.context,intro:e.intro??!1,recover:e.recover}),(!e?.props?.$$host||e.sync===!1)&&Tt(),this.#e=r.$$events;for(const o of Object.keys(this.#t))o==="$set"||o==="$destroy"||o==="$on"||je(this,o,{get(){return this.#t[o]},set(a){this.#t[o]=a},enumerable:!0});this.#t.$set=o=>{Object.assign(r,o)},this.#t.$destroy=()=>{fo(this.#t)}}$set(e){this.#t.$set(e)}$on(e,n){this.#e[e]=this.#e[e]||[];const i=(...r)=>n.call(this,...r);return this.#e[e].push(i),()=>{this.#e[e]=this.#e[e].filter(r=>r!==i)}}$destroy(){this.#t.$destroy()}}let er;typeof HTMLElement=="function"&&(er=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 i=this.$$c.$on(t,e);this.$$l_u.set(e,i)}super.addEventListener(t,e,n)}removeEventListener(t,e,n){if(super.removeEventListener(t,e,n),this.$$c){const i=this.$$l_u.get(e);i&&(i(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(i){return r=>{const o=document.createElement("slot");i!=="default"&&(o.name=i),j(r,o)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},n=So(this);for(const i of this.$$s)i in n&&(i==="default"&&!this.$$d.children?(this.$$d.children=t(i),e.default=!0):e[i]=t(i));for(const i of this.attributes){const r=this.$$g_p(i.name);r in this.$$d||(this.$$d[r]=gn(r,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=$o({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=Wr(()=>{to(()=>{this.$$r=!0;for(const i of en(this.$$c)){if(!this.$$p_d[i]?.reflect)continue;this.$$d[i]=this.$$c[i];const r=gn(i,this.$$d[i],this.$$p_d,"toAttribute");r==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,r)}this.$$r=!1})});for(const i in this.$$l)for(const r of this.$$l[i]){const o=this.$$c.$on(i,r);this.$$l_u.set(r,o)}this.$$l={}}}attributeChangedCallback(t,e,n){this.$$r||(t=this.$$g_p(t),this.$$d[t]=gn(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 gn(t,e,n,i){const r=n[t]?.type;if(e=r==="Boolean"&&typeof e!="boolean"?e!=null:e,!i||!n[t])return e;if(i==="toAttribute")switch(r){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(r){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function So(t){const e={};return t.childNodes.forEach(n=>{e[n.slot||"default"]=!0}),e}function Ro(t,e,n,i,r,o){let a=class extends er{constructor(){super(t,n,r),this.$$p_d=e}static get observedAttributes(){return en(e).map(m=>(e[m].attribute||m).toLowerCase())}};return en(e).forEach(m=>{je(a.prototype,m,{get(){return this.$$c&&m in this.$$c?this.$$c[m]:this.$$d[m]},set(l){l=gn(m,l,e),this.$$d[m]=l;var s=this.$$c;if(s){var u=ie(s,m)?.get;u?s[m]=l:s.$set({[m]:l})}}})}),i.forEach(m=>{je(a.prototype,m,{get(){return this.$$c?.[m]}})}),t.element=a,a}const No={version:"0.61.39"};function To(t){const e=t?.repoName.split("/")?.[1]||t?.repoName;if(!e)throw new Error("wrong componentPath "+t?.repoName);if(!t?.version)throw new Error("wrong version "+t?.version);const n=t?.iifePath||"main.iife.js";if(!document.getElementById(e+"-script"))try{const i=document.createElement("script");if(i.id=e+"-script",i.src=`https://cdn.jsdelivr.net/npm/${t.repoName}@${t.version}/${n}`,t?.local)i.src=`${t.local}`;else if(location.href.includes("localhost:6006")){const r=e.split("-")[0];i.src=`http://localhost:6006/webcomponents/${e.replace(r+"-","")}/${n}`}document.head.appendChild(i)}catch(i){console.warn(i)}}function Oo(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var $e={},Hn,nr;function Co(){if(nr)return Hn;nr=1;var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,e=/\n/g,n=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,r=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,m=/^\s+|\s+$/g,l=`
|
|
3
|
-
`,
|
|
1
|
+
(function(ti){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const tn=1,en=2,ei=4,mr=8,ur=16,dr=1,pr=4,vr=8,br=16,gr=1,cr=2,jn="[",zn="[!",xn="]",je={},Q=Symbol(),fr="http://www.w3.org/1999/xhtml",ni=!1;var hn=Array.isArray,jr=Array.prototype.indexOf,yn=Array.from,nn=Object.keys,ze=Object.defineProperty,ie=Object.getOwnPropertyDescriptor,zr=Object.getOwnPropertyDescriptors,xr=Object.prototype,hr=Array.prototype,ii=Object.getPrototypeOf,ri=Object.isExtensible;function oi(t){for(var e=0;e<t.length;e++)t[e]()}function yr(){var t,e,n=new Promise((i,r)=>{t=i,e=r});return{promise:n,resolve:t,reject:e}}const vt=2,wn=4,ai=8,xe=16,Dt=32,Wt=64,li=128,zt=256,rn=512,ot=1024,xt=2048,Xt=4096,Et=8192,re=16384,_n=32768,kn=65536,si=1<<17,mi=1<<18,he=1<<19,wr=1<<20,En=1<<21,$n=1<<22,oe=1<<23,on=Symbol("$state"),ui=Symbol("legacy props"),_r=Symbol(""),An=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Rn=3,ye=8;function kr(){throw new Error("https://svelte.dev/e/await_outside_boundary")}function Er(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function $r(t){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Ar(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Rr(t){throw new Error("https://svelte.dev/e/effect_orphan")}function Sr(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Nr(){throw new Error("https://svelte.dev/e/hydration_failed")}function Tr(t){throw new Error("https://svelte.dev/e/props_invalid_value")}function Or(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Cr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Pr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function an(t){console.warn("https://svelte.dev/e/hydration_mismatch")}let N=!1;function bt(t){N=t}let B;function pt(t){if(t===null)throw an(),je;return B=t}function De(){return pt(Ot(B))}function w(t){if(N){if(Ot(B)!==null)throw an(),je;B=t}}function Sn(){for(var t=0,e=B;;){if(e.nodeType===ye){var n=e.data;if(n===xn){if(t===0)return e;t-=1}else(n===jn||n===zn)&&(t+=1)}var i=Ot(e);e.remove(),e=i}}function di(t){if(!t||t.nodeType!==ye)throw an(),je;return t.data}function pi(t){return t===this.v}function Ir(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function vi(t){return!Ir(t,this.v)}let Br=!1,$t=null;function ln(t){$t=t}function bi(t,e=!1,n){$t={p:$t,c:null,e:null,s:t,x:null,l:null}}function gi(t){var e=$t,n=e.e;if(n!==null){e.e=null;for(var i of n)Ii(i)}return t!==void 0&&(e.x=t),$t=e.p,t??{}}function ci(){return!0}const Mr=new WeakMap;function Lr(t){var e=R;if(e===null)return T.f|=oe,t;if((e.f&_n)===0){if((e.f&li)===0)throw!e.parent&&t instanceof Error&&fi(t),t;e.b.error(t)}else Nn(t,e)}function Nn(t,e){for(;e!==null;){if((e.f&li)!==0)try{e.b.error(t);return}catch(n){t=n}e=e.parent}throw t instanceof Error&&fi(t),t}function fi(t){const e=Mr.get(t);e&&(ze(t,"message",{value:e.message}),ze(t,"stack",{value:e.stack}))}let Ge=[],Tn=[];function ji(){var t=Ge;Ge=[],oi(t)}function Dr(){var t=Tn;Tn=[],oi(t)}function Gr(t){Ge.length===0&&queueMicrotask(ji),Ge.push(t)}function Fr(){Ge.length>0&&ji(),Tn.length>0&&Dr()}function qr(){const t=R.b;return t===null&&kr(),t}function On(t){var e=vt|xt,n=T!==null&&(T.f&vt)!==0?T:null;return R===null||n!==null&&(n.f&zt)!==0?e|=zt:R.f|=he,{ctx:$t,deps:null,effects:null,equals:pi,f:e,fn:t,reactions:null,rv:0,v:Q,wv:0,parent:n??R,ac:null}}function Ur(t,e){let n=R;n===null&&Er();var i=n.b,r=void 0,o=Fe(Q),a=null,s=!T;return eo(()=>{try{var l=t();a&&Promise.resolve(l).catch(()=>{})}catch(b){l=Promise.reject(b)}var m=()=>l;r=a?.then(m,m)??Promise.resolve(l),a=r;var u=W,p=i.is_pending();s&&(i.update_pending_count(1),p||u.increment());const v=(b,d=void 0)=>{a=null,p||u.activate(),d?d!==An&&(o.f|=oe,qe(o,d)):((o.f&oe)!==0&&(o.f^=oe),qe(o,b)),s&&(i.update_pending_count(-1),p||u.decrement()),yi()};if(r.then(v,b=>v(null,b||"unknown")),u)return()=>{queueMicrotask(()=>u.neuter())}}),new Promise(l=>{function m(u){function p(){u===r?l(o):m(r)}u.then(p,p)}m(r)})}function zi(t){const e=On(t);return e.equals=vi,e}function xi(t){var e=t.effects;if(e!==null){t.effects=null;for(var n=0;n<e.length;n+=1)Ct(e[n])}}function Jr(t){for(var e=t.parent;e!==null;){if((e.f&vt)===0)return e;e=e.parent}return null}function Cn(t){var e,n=R;It(Jr(t));try{xi(t),e=Vi(t)}finally{It(n)}return e}function hi(t){var e=Cn(t);if(t.equals(e)||(t.v=e,t.wv=Yi()),!ue){var n=(Qt||(t.f&zt)!==0)&&t.deps!==null?Xt:ot;ct(t,n)}}function Yr(t,e,n){const i=On;if(e.length===0){n(t.map(i));return}var r=W,o=R,a=Hr(),s=qr();Promise.all(e.map(l=>Ur(l))).then(l=>{r?.activate(),a();try{n([...t.map(i),...l])}catch(m){(o.f&re)===0&&Nn(m,o)}r?.deactivate(),yi()}).catch(l=>{s.error(l)})}function Hr(){var t=R,e=T,n=$t,i=W;return function(){It(t),ht(e),ln(n),i?.activate()}}function yi(){It(null),ht(null),ln(null)}const Pn=new Set;let W=null,wi=new Set,sn=[];function _i(){const t=sn.shift();sn.length>0&&queueMicrotask(_i),t()}let ae=[],mn=null,In=!1,un=!1;class le{current=new Map;#e=new Map;#t=new Set;#n=0;#m=null;#u=!1;#r=[];#a=[];#o=[];#i=[];#l=[];#d=[];#p=[];skipped_effects=new Set;process(e){ae=[];for(const r of e)this.#b(r);if(this.#r.length===0&&this.#n===0){this.#v();var n=this.#o,i=this.#i;this.#o=[],this.#i=[],this.#l=[],W=null,Ei(n),Ei(i),W===null?W=this:Pn.delete(this),this.#m?.resolve()}else this.#s(this.#o),this.#s(this.#i),this.#s(this.#l);for(const r of this.#r)Ee(r);for(const r of this.#a)Ee(r);this.#r=[],this.#a=[]}#b(e){e.f^=ot;for(var n=e.first;n!==null;){var i=n.f,r=(i&(Dt|Wt))!==0,o=r&&(i&ot)!==0,a=o||(i&Et)!==0||this.skipped_effects.has(n);if(!a&&n.fn!==null){if(r)n.f^=ot;else if((i&wn)!==0)this.#i.push(n);else if((i&ot)===0)if((i&$n)!==0){var s=n.b?.is_pending()?this.#a:this.#r;s.push(n)}else dn(n)&&((n.f&xe)!==0&&this.#l.push(n),Ee(n));var l=n.first;if(l!==null){n=l;continue}}var m=n.parent;for(n=n.next;n===null&&m!==null;)n=m.next,m=m.parent}}#s(e){for(const n of e)((n.f&xt)!==0?this.#d:this.#p).push(n),ct(n,ot);e.length=0}capture(e,n){this.#e.has(e)||this.#e.set(e,n),this.current.set(e,e.v)}activate(){W=this}deactivate(){W=null;for(const e of wi)if(wi.delete(e),e(),W!==null)break}neuter(){this.#u=!0}flush(){ae.length>0?ki():this.#v(),W===this&&(this.#n===0&&Pn.delete(this),this.deactivate())}#v(){if(!this.#u)for(const e of this.#t)e();this.#t.clear()}increment(){this.#n+=1}decrement(){if(this.#n-=1,this.#n===0){for(const e of this.#d)ct(e,xt),we(e);for(const e of this.#p)ct(e,Xt),we(e);this.#o=[],this.#i=[],this.flush()}else this.deactivate()}add_callback(e){this.#t.add(e)}settled(){return(this.#m??=yr()).promise}static ensure(){if(W===null){const e=W=new le;Pn.add(W),un||le.enqueue(()=>{W===e&&e.flush()})}return W}static enqueue(e){sn.length===0&&queueMicrotask(_i),sn.unshift(e)}}function Tt(t){var e=un;un=!0;try{for(var n;;){if(Fr(),ae.length===0&&(W?.flush(),ae.length===0))return mn=null,n;ki()}}finally{un=e}}function ki(){var t=ke;In=!0;try{var e=0;for(Fi(!0);ae.length>0;){var n=le.ensure();if(e++>1e3){var i,r;Vr()}n.process(ae),Kt.clear()}}finally{In=!1,Fi(t),mn=null}}function Vr(){try{Sr()}catch(t){Nn(t,mn)}}let se=null;function Ei(t){var e=t.length;if(e!==0){for(var n=0;n<e;){var i=t[n++];if((i.f&(re|Et))===0&&dn(i)&&(se=[],Ee(i),i.deps===null&&i.first===null&&i.nodes_start===null&&(i.teardown===null&&i.ac===null?Li(i):i.fn=null),se?.length>0)){Kt.clear();for(const r of se)Ee(r);se=[]}}se=null}}function we(t){for(var e=mn=t;e.parent!==null;){e=e.parent;var n=e.f;if(In&&e===R&&(n&xe)!==0)return;if((n&(Wt|Dt))!==0){if((n&ot)===0)return;e.f^=ot}}ae.push(e)}const Kt=new Map;function Fe(t,e){var n={f:0,v:t,reactions:null,equals:pi,rv:0,wv:0};return n}function At(t,e){const n=Fe(t);return oo(n),n}function $i(t,e=!1,n=!0){const i=Fe(t);return e||(i.equals=vi),i}function Rt(t,e,n=!1){T!==null&&(!Pt||(T.f&si)!==0)&&ci()&&(T.f&(vt|xe|$n|si))!==0&&!Ft?.includes(t)&&Pr();let i=n?me(e):e;return qe(t,i)}function qe(t,e){if(!t.equals(e)){var n=t.v;ue?Kt.set(t,e):Kt.set(t,n),t.v=e;var i=le.ensure();i.capture(t,n),(t.f&vt)!==0&&((t.f&xt)!==0&&Cn(t),ct(t,(t.f&zt)===0?ot:Xt)),t.wv=Yi(),Ai(t,xt),R!==null&&(R.f&ot)!==0&&(R.f&(Dt|Wt))===0&&(yt===null?ao([t]):yt.push(t))}return e}function Bn(t){Rt(t,t.v+1)}function Ai(t,e){var n=t.reactions;if(n!==null)for(var i=n.length,r=0;r<i;r++){var o=n[r],a=o.f,s=(a&xt)===0;s&&ct(o,e),(a&vt)!==0?Ai(o,Xt):s&&((a&xe)!==0&&se!==null&&se.push(o),we(o))}}function me(t){if(typeof t!="object"||t===null||on in t)return t;const e=ii(t);if(e!==xr&&e!==hr)return t;var n=new Map,i=hn(t),r=At(0),o=de,a=s=>{if(de===o)return s();var l=T,m=de;ht(null),Ji(o);var u=s();return ht(l),Ji(m),u};return i&&n.set("length",At(t.length)),new Proxy(t,{defineProperty(s,l,m){(!("value"in m)||m.configurable===!1||m.enumerable===!1||m.writable===!1)&&Or();var u=n.get(l);return u===void 0?u=a(()=>{var p=At(m.value);return n.set(l,p),p}):Rt(u,m.value,!0),!0},deleteProperty(s,l){var m=n.get(l);if(m===void 0){if(l in s){const u=a(()=>At(Q));n.set(l,u),Bn(r)}}else Rt(m,Q),Bn(r);return!0},get(s,l,m){if(l===on)return t;var u=n.get(l),p=l in s;if(u===void 0&&(!p||ie(s,l)?.writable)&&(u=a(()=>{var b=me(p?s[l]:Q),d=At(b);return d}),n.set(l,u)),u!==void 0){var v=f(u);return v===Q?void 0:v}return Reflect.get(s,l,m)},getOwnPropertyDescriptor(s,l){var m=Reflect.getOwnPropertyDescriptor(s,l);if(m&&"value"in m){var u=n.get(l);u&&(m.value=f(u))}else if(m===void 0){var p=n.get(l),v=p?.v;if(p!==void 0&&v!==Q)return{enumerable:!0,configurable:!0,value:v,writable:!0}}return m},has(s,l){if(l===on)return!0;var m=n.get(l),u=m!==void 0&&m.v!==Q||Reflect.has(s,l);if(m!==void 0||R!==null&&(!u||ie(s,l)?.writable)){m===void 0&&(m=a(()=>{var v=u?me(s[l]):Q,b=At(v);return b}),n.set(l,m));var p=f(m);if(p===Q)return!1}return u},set(s,l,m,u){var p=n.get(l),v=l in s;if(i&&l==="length")for(var b=m;b<p.v;b+=1){var d=n.get(b+"");d!==void 0?Rt(d,Q):b in s&&(d=a(()=>At(Q)),n.set(b+"",d))}if(p===void 0)(!v||ie(s,l)?.writable)&&(p=a(()=>At(void 0)),Rt(p,me(m)),n.set(l,p));else{v=p.v!==Q;var g=a(()=>me(m));Rt(p,g)}var x=Reflect.getOwnPropertyDescriptor(s,l);if(x?.set&&x.set.call(u,m),!v){if(i&&typeof l=="string"){var S=n.get("length"),h=Number(l);Number.isInteger(h)&&h>=S.v&&Rt(S,h+1)}Bn(r)}return!0},ownKeys(s){f(r);var l=Reflect.ownKeys(s).filter(p=>{var v=n.get(p);return v===void 0||v.v!==Q});for(var[m,u]of n)u.v!==Q&&!(m in s)&&l.push(m);return l},setPrototypeOf(){Cr()}})}var Ri,Si,Ni,Ti;function Mn(){if(Ri===void 0){Ri=window,Si=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,n=Text.prototype;Ni=ie(e,"firstChild").get,Ti=ie(e,"nextSibling").get,ri(t)&&(t.__click=void 0,t.__className=void 0,t.__attributes=null,t.__style=void 0,t.__e=void 0),ri(n)&&(n.__t=void 0)}}function St(t=""){return document.createTextNode(t)}function Zt(t){return Ni.call(t)}function Ot(t){return Ti.call(t)}function k(t,e){if(!N)return Zt(t);var n=Zt(B);if(n===null)n=B.appendChild(St());else if(e&&n.nodeType!==Rn){var i=St();return n?.before(i),pt(i),i}return pt(n),n}function X(t,e){if(!N){var n=Zt(t);return n instanceof Comment&&n.data===""?Ot(n):n}return B}function M(t,e=1,n=!1){let i=N?B:t;for(var r;e--;)r=i,i=Ot(i);if(!N)return i;if(n&&i?.nodeType!==Rn){var o=St();return i===null?r?.after(o):i.before(o),pt(o),o}return pt(i),i}function Oi(t){t.textContent=""}function Ci(){return!1}function Pi(t){var e=T,n=R;ht(null),It(null);try{return t()}finally{ht(e),It(n)}}function Wr(t){R===null&&T===null&&Rr(),T!==null&&(T.f&zt)!==0&&R===null&&Ar(),ue&&$r()}function Xr(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,n,i=!0){var r=R;r!==null&&(r.f&Et)!==0&&(t|=Et);var o={ctx:$t,deps:null,nodes_start:null,nodes_end:null,f:t|xt,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{Ee(o),o.f|=_n}catch(l){throw Ct(o),l}else e!==null&&we(o);if(i){var a=o;if(n&&a.deps===null&&a.teardown===null&&a.nodes_start===null&&a.first===a.last&&(a.f&he)===0&&(a=a.first),a!==null&&(a.parent=r,r!==null&&Xr(a,r),T!==null&&(T.f&vt)!==0&&(t&Wt)===0)){var s=T;(s.effects??=[]).push(a)}}return o}function Kr(t){Wr();var e=R.f,n=!T&&(e&Dt)!==0&&(e&_n)===0;if(n){var i=$t;(i.e??=[]).push(t)}else return Ii(t)}function Ii(t){return Gt(wn|wr,t,!1)}function Zr(t){le.ensure();const e=Gt(Wt|he,t,!0);return()=>{Ct(e)}}function Qr(t){le.ensure();const e=Gt(Wt|he,t,!0);return(n={})=>new Promise(i=>{n.outro?Dn(e,()=>{Ct(e),i(void 0)}):(Ct(e),i(void 0))})}function to(t){return Gt(wn,t,!1)}function eo(t){return Gt($n|he,t,!0)}function no(t,e=0){return Gt(ai|e,t,!0)}function U(t,e=[],n=[]){Yr(e,n,i=>{Gt(ai,()=>t(...i.map(f)),!0)})}function Ln(t,e=0){var n=Gt(xe|e,t,!0);return n}function _e(t,e=!0){return Gt(Dt|he,t,!0,e)}function Bi(t){var e=t.teardown;if(e!==null){const n=ue,i=T;qi(!0),ht(null);try{e.call(null)}finally{qi(n),ht(i)}}}function Mi(t,e=!1){var n=t.first;for(t.first=t.last=null;n!==null;){const r=n.ac;r!==null&&Pi(()=>{r.abort(An)});var i=n.next;(n.f&Wt)!==0?n.parent=null:Ct(n,e),n=i}}function io(t){for(var e=t.first;e!==null;){var n=e.next;(e.f&Dt)===0&&Ct(e),e=n}}function Ct(t,e=!0){var n=!1;(e||(t.f&mi)!==0)&&t.nodes_start!==null&&t.nodes_end!==null&&(ro(t.nodes_start,t.nodes_end),n=!0),Mi(t,e&&!n),pn(t,0),ct(t,re);var i=t.transitions;if(i!==null)for(const o of i)o.stop();Bi(t);var r=t.parent;r!==null&&r.first!==null&&Li(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes_start=t.nodes_end=t.ac=null}function ro(t,e){for(;t!==null;){var n=t===e?null:Ot(t);t.remove(),t=n}}function Li(t){var e=t.parent,n=t.prev,i=t.next;n!==null&&(n.next=i),i!==null&&(i.prev=n),e!==null&&(e.first===t&&(e.first=i),e.last===t&&(e.last=n))}function Dn(t,e){var n=[];Gn(t,n,!0),Di(n,()=>{Ct(t),e&&e()})}function Di(t,e){var n=t.length;if(n>0){var i=()=>--n||e();for(var r of t)r.out(i)}else e()}function Gn(t,e,n){if((t.f&Et)===0){if(t.f^=Et,t.transitions!==null)for(const a of t.transitions)(a.is_global||n)&&e.push(a);for(var i=t.first;i!==null;){var r=i.next,o=(i.f&kn)!==0||(i.f&Dt)!==0;Gn(i,e,o?n:!1),i=r}}}function Fn(t){Gi(t,!0)}function Gi(t,e){if((t.f&Et)!==0){t.f^=Et,(t.f&ot)===0&&(ct(t,xt),we(t));for(var n=t.first;n!==null;){var i=n.next,r=(n.f&kn)!==0||(n.f&Dt)!==0;Gi(n,r?e:!1),n=i}if(t.transitions!==null)for(const o of t.transitions)(o.is_global||e)&&o.in()}}let ke=!1;function Fi(t){ke=t}let ue=!1;function qi(t){ue=t}let T=null,Pt=!1;function ht(t){T=t}let R=null;function It(t){R=t}let Ft=null;function oo(t){T!==null&&(Ft===null?Ft=[t]:Ft.push(t))}let at=null,gt=0,yt=null;function ao(t){yt=t}let Ui=1,Ue=0,de=Ue;function Ji(t){de=t}let Qt=!1;function Yi(){return++Ui}function dn(t){var e=t.f;if((e&xt)!==0)return!0;if((e&Xt)!==0){var n=t.deps,i=(e&zt)!==0;if(n!==null){var r,o,a=(e&rn)!==0,s=i&&R!==null&&!Qt,l=n.length;if((a||s)&&(R===null||(R.f&re)===0)){var m=t,u=m.parent;for(r=0;r<l;r++)o=n[r],(a||!o?.reactions?.includes(m))&&(o.reactions??=[]).push(m);a&&(m.f^=rn),s&&u!==null&&(u.f&zt)===0&&(m.f^=zt)}for(r=0;r<l;r++)if(o=n[r],dn(o)&&hi(o),o.wv>t.wv)return!0}(!i||R!==null&&!Qt)&&ct(t,ot)}return!1}function Hi(t,e,n=!0){var i=t.reactions;if(i!==null&&!Ft?.includes(t))for(var r=0;r<i.length;r++){var o=i[r];(o.f&vt)!==0?Hi(o,e,!1):e===o&&(n?ct(o,xt):(o.f&ot)!==0&&ct(o,Xt),we(o))}}function Vi(t){var e=at,n=gt,i=yt,r=T,o=Qt,a=Ft,s=$t,l=Pt,m=de,u=t.f;at=null,gt=0,yt=null,Qt=(u&zt)!==0&&(Pt||!ke||T===null),T=(u&(Dt|Wt))===0?t:null,Ft=null,ln(t.ctx),Pt=!1,de=++Ue,t.ac!==null&&(Pi(()=>{t.ac.abort(An)}),t.ac=null);try{t.f|=En;var p=t.fn,v=p(),b=t.deps;if(at!==null){var d;if(pn(t,gt),b!==null&>>0)for(b.length=gt+at.length,d=0;d<at.length;d++)b[gt+d]=at[d];else t.deps=b=at;if(!Qt||(u&vt)!==0&&t.reactions!==null)for(d=gt;d<b.length;d++)(b[d].reactions??=[]).push(t)}else b!==null&><b.length&&(pn(t,gt),b.length=gt);if(ci()&&yt!==null&&!Pt&&b!==null&&(t.f&(vt|Xt|xt))===0)for(d=0;d<yt.length;d++)Hi(yt[d],t);return r!==null&&r!==t&&(Ue++,yt!==null&&(i===null?i=yt:i.push(...yt))),(t.f&oe)!==0&&(t.f^=oe),v}catch(g){return Lr(g)}finally{t.f^=En,at=e,gt=n,yt=i,T=r,Qt=o,Ft=a,ln(s),Pt=l,de=m}}function lo(t,e){let n=e.reactions;if(n!==null){var i=jr.call(n,t);if(i!==-1){var r=n.length-1;r===0?n=e.reactions=null:(n[i]=n[r],n.pop())}}n===null&&(e.f&vt)!==0&&(at===null||!at.includes(e))&&(ct(e,Xt),(e.f&(zt|rn))===0&&(e.f^=rn),xi(e),pn(e,0))}function pn(t,e){var n=t.deps;if(n!==null)for(var i=e;i<n.length;i++)lo(t,n[i])}function Ee(t){var e=t.f;if((e&re)===0){ct(t,ot);var n=R,i=ke;R=t,ke=!0;try{(e&xe)!==0?io(t):Mi(t),Bi(t);var r=Vi(t);t.teardown=typeof r=="function"?r:null,t.wv=Ui;var o;ni&&Br&&(t.f&xt)!==0&&t.deps}finally{ke=i,R=n}}}function f(t){var e=t.f,n=(e&vt)!==0;if(T!==null&&!Pt){var i=R!==null&&(R.f&re)!==0;if(!i&&!Ft?.includes(t)){var r=T.deps;if((T.f&En)!==0)t.rv<Ue&&(t.rv=Ue,at===null&&r!==null&&r[gt]===t?gt++:at===null?at=[t]:(!Qt||!at.includes(t))&&at.push(t));else{(T.deps??=[]).push(t);var o=t.reactions;o===null?t.reactions=[T]:o.includes(T)||o.push(T)}}}else if(n&&t.deps===null&&t.effects===null){var a=t,s=a.parent;s!==null&&(s.f&zt)===0&&(a.f^=zt)}if(ue){if(Kt.has(t))return Kt.get(t);if(n){a=t;var l=a.v;return((a.f&ot)===0&&a.reactions!==null||Wi(a))&&(l=Cn(a)),Kt.set(a,l),l}}else n&&(a=t,dn(a)&&hi(a));if((t.f&oe)!==0)throw t.v;return t.v}function Wi(t){if(t.v===Q)return!0;if(t.deps===null)return!1;for(const e of t.deps)if(Kt.has(e)||(e.f&vt)!==0&&Wi(e))return!0;return!1}function so(t){var e=Pt;try{return Pt=!0,t()}finally{Pt=e}}const mo=-7169;function ct(t,e){t.f=t.f&mo|e}const Xi=new Set,qn=new Set;function uo(t){for(var e=0;e<t.length;e++)Xi.add(t[e]);for(var n of qn)n(t)}let Ki=null;function vn(t){var e=this,n=e.ownerDocument,i=t.type,r=t.composedPath?.()||[],o=r[0]||t.target;Ki=t;var a=0,s=Ki===t&&t.__root;if(s){var l=r.indexOf(s);if(l!==-1&&(e===document||e===window)){t.__root=e;return}var m=r.indexOf(e);if(m===-1)return;l<=m&&(a=l)}if(o=r[a]||t.target,o!==e){ze(t,"currentTarget",{configurable:!0,get(){return o||n}});var u=T,p=R;ht(null),It(null);try{for(var v,b=[];o!==null;){var d=o.assignedSlot||o.parentNode||o.host||null;try{var g=o["__"+i];if(g!=null&&(!o.disabled||t.target===o))if(hn(g)){var[x,...S]=g;x.apply(o,[t,...S])}else g.call(o,t)}catch(h){v?b.push(h):v=h}if(t.cancelBubble||d===e||d===null)break;o=d}if(v){for(let h of b)queueMicrotask(()=>{throw h});throw v}}finally{t.__root=e,delete t.currentTarget,ht(u),It(p)}}}let wt;function po(){wt=void 0}function vo(t){let e=null,n=N;var i;if(N){for(e=B,wt===void 0&&(wt=Zt(document.head));wt!==null&&(wt.nodeType!==ye||wt.data!==jn);)wt=Ot(wt);wt===null?bt(!1):wt=pt(Ot(wt))}N||(i=document.head.appendChild(St()));try{Ln(()=>t(i),mi)}finally{n&&(bt(!0),wt=B,pt(e))}}function bo(t){var e=document.createElement("template");return e.innerHTML=t.replaceAll("<!>","<!---->"),e.content}function te(t,e){var n=R;n.nodes_start===null&&(n.nodes_start=t,n.nodes_end=e)}function O(t,e){var n=(e&gr)!==0,i=(e&cr)!==0,r,o=!t.startsWith("<!>");return()=>{if(N)return te(B,null),B;r===void 0&&(r=bo(o?t:"<!>"+t),n||(r=Zt(r)));var a=i||Si?document.importNode(r,!0):r.cloneNode(!0);if(n){var s=Zt(a),l=a.lastChild;te(s,l)}else te(a,a);return a}}function go(t=""){if(!N){var e=St(t+"");return te(e,e),e}var n=B;return n.nodeType!==Rn&&(n.before(n=St()),pt(n)),te(n,n),n}function tt(){if(N)return te(B,null),B;var t=document.createDocumentFragment(),e=document.createComment(""),n=St();return t.append(e,n),te(e,n),t}function j(t,e){if(N){R.nodes_end=B,De();return}t!==null&&t.before(e)}const co=["touchstart","touchmove"];function fo(t){return co.includes(t)}function Nt(t,e){var n=e==null?"":typeof e=="object"?e+"":e;n!==(t.__t??=t.nodeValue)&&(t.__t=n,t.nodeValue=n+"")}function Zi(t,e){return Qi(t,e)}function jo(t,e){Mn(),e.intro=e.intro??!1;const n=e.target,i=N,r=B;try{for(var o=Zt(n);o&&(o.nodeType!==ye||o.data!==jn);)o=Ot(o);if(!o)throw je;bt(!0),pt(o),De();const a=Qi(t,{...e,anchor:o});if(B===null||B.nodeType!==ye||B.data!==xn)throw an(),je;return bt(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
|
|
2
|
+
`).some(s=>s.startsWith("https://svelte.dev/e/")))throw a;return a!==je&&console.warn("Failed to hydrate: ",a),e.recover===!1&&Nr(),Mn(),Oi(n),bt(!1),Zi(t,e)}finally{bt(i),pt(r),po()}}const $e=new Map;function Qi(t,{target:e,anchor:n,props:i={},events:r,context:o,intro:a=!0}){Mn();var s=new Set,l=p=>{for(var v=0;v<p.length;v++){var b=p[v];if(!s.has(b)){s.add(b);var d=fo(b);e.addEventListener(b,vn,{passive:d});var g=$e.get(b);g===void 0?(document.addEventListener(b,vn,{passive:d}),$e.set(b,1)):$e.set(b,g+1)}}};l(yn(Xi)),qn.add(l);var m=void 0,u=Qr(()=>{var p=n??e.appendChild(St());return _e(()=>{if(o){bi({});var v=$t;v.c=o}r&&(i.$$events=r),N&&te(p,null),m=t(p,i)||{},N&&(R.nodes_end=B),o&&gi()}),()=>{for(var v of s){e.removeEventListener(v,vn);var b=$e.get(v);--b===0?(document.removeEventListener(v,vn),$e.delete(v)):$e.set(v,b)}qn.delete(l),p!==n&&p.parentNode?.removeChild(p)}});return Un.set(m,u),m}let Un=new WeakMap;function zo(t,e){const n=Un.get(t);return n?(Un.delete(t),n(e)):Promise.resolve()}function C(t,e,n=!1){N&&De();var i=t,r=null,o=null,a=Q,s=n?kn:0,l=!1;const m=(b,d=!0)=>{l=!0,v(d,b)};var u=null;function p(){u!==null&&(u.lastChild.remove(),i.before(u),u=null);var b=a?r:o,d=a?o:r;b&&Fn(b),d&&Dn(d,()=>{a?o=null:r=null})}const v=(b,d)=>{if(a===(a=b))return;let g=!1;if(N){const y=di(i)===zn;!!a===y&&(i=Sn(),pt(i),bt(!1),g=!0)}var x=Ci(),S=i;if(x&&(u=document.createDocumentFragment(),u.append(S=St())),a?r??=d&&_e(()=>d(S)):o??=d&&_e(()=>d(S)),x){var h=W,G=a?r:o,z=a?o:r;G&&h.skipped_effects.delete(G),z&&h.skipped_effects.add(z),h.add_callback(p)}else p();g&&bt(!0)};Ln(()=>{l=!1,e(m),l||v(null,null)},s),N&&(i=B)}function xo(t,e,n){for(var i=t.items,r=[],o=e.length,a=0;a<o;a++)Gn(e[a].e,r,!0);var s=o>0&&r.length===0&&n!==null;if(s){var l=n.parentNode;Oi(l),l.append(n),i.clear(),Bt(t,e[0].prev,e[o-1].next)}Di(r,()=>{for(var m=0;m<o;m++){var u=e[m];s||(i.delete(u.k),Bt(t,u.prev,u.next)),Ct(u.e,!s)}})}function pe(t,e,n,i,r,o=null){var a=t,s={flags:e,items:new Map,first:null},l=(e&ei)!==0;if(l){var m=t;a=N?pt(Zt(m)):m.appendChild(St())}N&&De();var u=null,p=!1,v=new Map,b=zi(()=>{var S=n();return hn(S)?S:S==null?[]:yn(S)}),d,g;function x(){ho(g,d,s,v,a,r,e,i,n),o!==null&&(d.length===0?u?Fn(u):u=_e(()=>o(a)):u!==null&&Dn(u,()=>{u=null}))}Ln(()=>{g??=R,d=f(b);var S=d.length;if(p&&S===0)return;p=S===0;let h=!1;if(N){var G=di(a)===zn;G!==(S===0)&&(a=Sn(),pt(a),bt(!1),h=!0)}if(N){for(var z=null,y,c=0;c<S;c++){if(B.nodeType===ye&&B.data===xn){a=B,h=!0,bt(!1);break}var A=d[c],F=i(A,c);y=Jn(B,s,z,null,A,F,c,r,e,n),s.items.set(F,y),z=y}S>0&&pt(Sn())}if(N)S===0&&o&&(u=_e(()=>o(a)));else if(Ci()){var K=new Set,mt=W;for(c=0;c<S;c+=1){A=d[c],F=i(A,c);var Y=s.items.get(F)??v.get(F);Y?(e&(tn|en))!==0&&tr(Y,A,c,e):(y=Jn(null,s,null,null,A,F,c,r,e,n,!0),v.set(F,y)),K.add(F)}for(const[q,$]of s.items)K.has(q)||mt.skipped_effects.add($.e);mt.add_callback(x)}else x();h&&bt(!0),f(b)}),N&&(a=B)}function ho(t,e,n,i,r,o,a,s,l){var m=(a&mr)!==0,u=(a&(tn|en))!==0,p=e.length,v=n.items,b=n.first,d=b,g,x=null,S,h=[],G=[],z,y,c,A;if(m)for(A=0;A<p;A+=1)z=e[A],y=s(z,A),c=v.get(y),c!==void 0&&(c.a?.measure(),(S??=new Set).add(c));for(A=0;A<p;A+=1){if(z=e[A],y=s(z,A),c=v.get(y),c===void 0){var F=i.get(y);if(F!==void 0){i.delete(y),v.set(y,F);var K=x?x.next:d;Bt(n,x,F),Bt(n,F,K),Yn(F,K,r),x=F}else{var mt=d?d.e.nodes_start:r;x=Jn(mt,n,x,x===null?n.first:x.next,z,y,A,o,a,l)}v.set(y,x),h=[],G=[],d=x.next;continue}if(u&&tr(c,z,A,a),(c.e.f&Et)!==0&&(Fn(c.e),m&&(c.a?.unfix(),(S??=new Set).delete(c))),c!==d){if(g!==void 0&&g.has(c)){if(h.length<G.length){var Y=G[0],q;x=Y.prev;var $=h[0],E=h[h.length-1];for(q=0;q<h.length;q+=1)Yn(h[q],Y,r);for(q=0;q<G.length;q+=1)g.delete(G[q]);Bt(n,$.prev,E.next),Bt(n,x,$),Bt(n,E,Y),d=Y,x=E,A-=1,h=[],G=[]}else g.delete(c),Yn(c,d,r),Bt(n,c.prev,c.next),Bt(n,c,x===null?n.first:x.next),Bt(n,x,c),x=c;continue}for(h=[],G=[];d!==null&&d.k!==y;)(d.e.f&Et)===0&&(g??=new Set).add(d),G.push(d),d=d.next;if(d===null)continue;c=d}h.push(c),x=c,d=c.next}if(d!==null||g!==void 0){for(var L=g===void 0?[]:yn(g);d!==null;)(d.e.f&Et)===0&&L.push(d),d=d.next;var ft=L.length;if(ft>0){var Re=(a&ei)!==0&&p===0?r:null;if(m){for(A=0;A<ft;A+=1)L[A].a?.measure();for(A=0;A<ft;A+=1)L[A].a?.fix()}xo(n,L,Re)}}m&&Gr(()=>{if(S!==void 0)for(c of S)c.a?.apply()}),t.first=n.first&&n.first.e,t.last=x&&x.e;for(var Se of i.values())Ct(Se.e);i.clear()}function tr(t,e,n,i){(i&tn)!==0&&qe(t.v,e),(i&en)!==0?qe(t.i,n):t.i=n}function Jn(t,e,n,i,r,o,a,s,l,m,u){var p=(l&tn)!==0,v=(l&ur)===0,b=p?v?$i(r,!1,!1):Fe(r):r,d=(l&en)===0?a:Fe(a),g={i:d,v:b,k:o,a:null,e:null,prev:n,next:i};try{if(t===null){var x=document.createDocumentFragment();x.append(t=St())}return g.e=_e(()=>s(t,b,d,m),N),g.e.prev=n&&n.e,g.e.next=i&&i.e,n===null?u||(e.first=g):(n.next=g,n.e.next=g.e),i!==null&&(i.prev=g,i.e.prev=g.e),g}finally{}}function Yn(t,e,n){for(var i=t.next?t.next.e.nodes_start:n,r=e?e.e.nodes_start:n,o=t.e.nodes_start;o!==null&&o!==i;){var a=Ot(o);r.before(o),o=a}}function Bt(t,e,n){e===null?t.first=n:(e.next=n,e.e.next=n&&n.e),n!==null&&(n.prev=e,n.e.prev=e&&e.e)}function Je(t,e,n,i,r){N&&De();var o=e.$$slots?.[n],a=!1;o===!0&&(o=e[n==="default"?"children":n],a=!0),o===void 0?r!==null&&r(t):o(t,a?()=>i:i)}function yo(t,e){to(()=>{var n=t.getRootNode(),i=n.host?n:n.head??n.ownerDocument.head;if(!i.querySelector("#"+e.hash)){const r=document.createElement("style");r.id=e.hash,r.textContent=e.code,i.appendChild(r)}})}function wo(t,e,n){var i=t==null?"":""+t;return e&&(i=i?i+" "+e:e),i===""?null:i}function _o(t,e){return t==null?null:String(t)}function H(t,e,n,i,r,o){var a=t.__className;if(N||a!==n||a===void 0){var s=wo(n,i);(!N||s!==t.getAttribute("class"))&&(s==null?t.removeAttribute("class"):t.className=s),t.__className=n}return o}function lt(t,e,n,i){var r=t.__style;if(N||r!==e){var o=_o(e);(!N||o!==t.getAttribute("style"))&&(o==null?t.removeAttribute("style"):t.style.cssText=o),t.__style=e}return i}const ko=Symbol("is custom element"),Eo=Symbol("is html");function bn(t,e,n,i){var r=$o(t);N&&(r[e]=t.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&t.nodeName==="LINK")||r[e]!==(r[e]=n)&&(e==="loading"&&(t[_r]=n),n==null?t.removeAttribute(e):typeof n!="string"&&er(t).includes(e)?t[e]=n:t.setAttribute(e,n))}function st(t,e,n){var i=T,r=R;let o=N;N&&bt(!1),ht(null),It(null);try{e!=="style"&&(Hn.has(t.getAttribute("is")||t.nodeName)||!customElements||customElements.get(t.getAttribute("is")||t.tagName.toLowerCase())?er(t).includes(e):n&&typeof n=="object")?t[e]=n:bn(t,e,n==null?n:String(n))}finally{ht(i),It(r),o&&bt(!0)}}function $o(t){return t.__attributes??={[ko]:t.nodeName.includes("-"),[Eo]:t.namespaceURI===fr}}var Hn=new Map;function er(t){var e=t.getAttribute("is")||t.nodeName,n=Hn.get(e);if(n)return n;Hn.set(e,n=[]);for(var i,r=t,o=Element.prototype;o!==r;){i=zr(r);for(var a in i)i[a].set&&n.push(a);r=ii(r)}return n}let gn=!1;function Ao(t){var e=gn;try{return gn=!1,[t(),gn]}finally{gn=e}}function qt(t,e,n,i){var r=(n&vr)!==0,o=(n&br)!==0,a=i,s=!0,l=()=>(s&&(s=!1,a=o?so(i):i),a),m;if(r){var u=on in t||ui in t;m=ie(t,e)?.set??(u&&e in t?h=>t[e]=h:void 0)}var p,v=!1;r?[p,v]=Ao(()=>t[e]):p=t[e],p===void 0&&i!==void 0&&(p=l(),m&&(Tr(),m(p)));var b;if(b=()=>{var h=t[e];return h===void 0?l():(s=!0,h)},(n&pr)===0)return b;if(m){var d=t.$$legacy;return(function(h,G){return arguments.length>0?((!G||d||v)&&m(G?b():h),h):b()})}var g=!1,x=((n&dr)!==0?On:zi)(()=>(g=!1,b()));r&&f(x);var S=R;return(function(h,G){if(arguments.length>0){const z=G?f(x):r?me(h):h;return Rt(x,z),g=!0,a!==void 0&&(a=z),h}return ue&&g||(S.f&re)!==0?x.v:f(x)})}function Ro(t){return new So(t)}class So{#e;#t;constructor(e){var n=new Map,i=(o,a)=>{var s=$i(a,!1,!1);return n.set(o,s),s};const r=new Proxy({...e.props||{},$$events:{}},{get(o,a){return f(n.get(a)??i(a,Reflect.get(o,a)))},has(o,a){return a===ui?!0:(f(n.get(a)??i(a,Reflect.get(o,a))),Reflect.has(o,a))},set(o,a,s){return Rt(n.get(a)??i(a,s),s),Reflect.set(o,a,s)}});this.#t=(e.hydrate?jo:Zi)(e.component,{target:e.target,anchor:e.anchor,props:r,context:e.context,intro:e.intro??!1,recover:e.recover}),(!e?.props?.$$host||e.sync===!1)&&Tt(),this.#e=r.$$events;for(const o of Object.keys(this.#t))o==="$set"||o==="$destroy"||o==="$on"||ze(this,o,{get(){return this.#t[o]},set(a){this.#t[o]=a},enumerable:!0});this.#t.$set=o=>{Object.assign(r,o)},this.#t.$destroy=()=>{zo(this.#t)}}$set(e){this.#t.$set(e)}$on(e,n){this.#e[e]=this.#e[e]||[];const i=(...r)=>n.call(this,...r);return this.#e[e].push(i),()=>{this.#e[e]=this.#e[e].filter(r=>r!==i)}}$destroy(){this.#t.$destroy()}}let nr;typeof HTMLElement=="function"&&(nr=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 i=this.$$c.$on(t,e);this.$$l_u.set(e,i)}super.addEventListener(t,e,n)}removeEventListener(t,e,n){if(super.removeEventListener(t,e,n),this.$$c){const i=this.$$l_u.get(e);i&&(i(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(i){return r=>{const o=document.createElement("slot");i!=="default"&&(o.name=i),j(r,o)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const e={},n=No(this);for(const i of this.$$s)i in n&&(i==="default"&&!this.$$d.children?(this.$$d.children=t(i),e.default=!0):e[i]=t(i));for(const i of this.attributes){const r=this.$$g_p(i.name);r in this.$$d||(this.$$d[r]=cn(r,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=Ro({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$host:this}}),this.$$me=Zr(()=>{no(()=>{this.$$r=!0;for(const i of nn(this.$$c)){if(!this.$$p_d[i]?.reflect)continue;this.$$d[i]=this.$$c[i];const r=cn(i,this.$$d[i],this.$$p_d,"toAttribute");r==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,r)}this.$$r=!1})});for(const i in this.$$l)for(const r of this.$$l[i]){const o=this.$$c.$on(i,r);this.$$l_u.set(r,o)}this.$$l={}}}attributeChangedCallback(t,e,n){this.$$r||(t=this.$$g_p(t),this.$$d[t]=cn(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 nn(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function cn(t,e,n,i){const r=n[t]?.type;if(e=r==="Boolean"&&typeof e!="boolean"?e!=null:e,!i||!n[t])return e;if(i==="toAttribute")switch(r){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(r){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function No(t){const e={};return t.childNodes.forEach(n=>{e[n.slot||"default"]=!0}),e}function To(t,e,n,i,r,o){let a=class extends nr{constructor(){super(t,n,r),this.$$p_d=e}static get observedAttributes(){return nn(e).map(s=>(e[s].attribute||s).toLowerCase())}};return nn(e).forEach(s=>{ze(a.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(l){l=cn(s,l,e),this.$$d[s]=l;var m=this.$$c;if(m){var u=ie(m,s)?.get;u?m[s]=l:m.$set({[s]:l})}}})}),i.forEach(s=>{ze(a.prototype,s,{get(){return this.$$c?.[s]}})}),t.element=a,a}const Oo={version:"0.61.41"};function Co(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var ve={},ir;function Po(){if(ir)return ve;ir=1,Object.defineProperty(ve,"__esModule",{value:!0}),ve.LanguageTranslator=void 0,ve.getChildStyleToPass=t,ve.addComponent=e;function t(i,r){var o,a,s="";try{if(i&&r?.length&&(!((o=Object.keys(i))===null||o===void 0)&&o.length)&&(!((a=r?.filter(function(v){return Object.keys(i).includes(v.name)}))===null||a===void 0)&&a.length))for(var l=function(v){var b=r?.filter(function(d){return d.name===v&&d.defaultValue!==i[v]});b&&(s+="".concat(v,":").concat(i[v],";"))},m=0,u=Object.keys(i);m<u.length;m++){var p=u[m];l(p)}}catch(v){console.error("error getting child style to pass",v)}finally{return s}}function e(i){var r,o=((r=i?.repoName.split("/"))===null||r===void 0?void 0:r[1])||i?.repoName;if(!o)throw new Error("wrong componentPath "+i?.repoName);if(!i?.version)throw new Error("wrong version "+i?.version);var a=i?.iifePath||"main.iife.js";if(!document.getElementById(o+"-script"))try{var s=document.createElement("script");if(s.id=o+"-script",s.src="https://cdn.jsdelivr.net/npm/".concat(i.repoName,"@").concat(i.version,"/").concat(a),i?.local)s.src="".concat(i.local);else if(location.href.includes("localhost:6006")){var l=o.split("-")[0];s.src="http://localhost:6006/webcomponents/".concat(o.replace(l+"-",""),"/").concat(a)}document.head.appendChild(s)}catch(m){console.warn(m)}}var n=(function(){function i(r){if(this.lang="",!r?.dictionary)throw new Error("no dictionary provided");this.dictionary=r.dictionary,this.setLang(r?.lang)}return i.prototype.setLang=function(r){r||(r=i.getDefaultLang()),this.lang=r},i.prototype.translateWord=function(r,o){return i.getDictionaryWord(r,this.dictionary,o||this.lang)},i.prototype.translateDate=function(r,o,a){return i.formatDate(r,o,a||this.lang)},i.getDefaultLang=function(){var r,o,a,s,l,m="en";return navigator?.languages&&(!((a=(o=(r=navigator.languages[0])===null||r===void 0?void 0:r.split("-")[0])===null||o===void 0?void 0:o.toLowerCase())===null||a===void 0)&&a.length)&&(m=(l=(s=navigator.languages[0])===null||s===void 0?void 0:s.split("-")[0])===null||l===void 0?void 0:l.toLowerCase()),m},i.getDictionaryWord=function(r,o,a){var s;if(!r)throw new Error("no wordKey provided");if(!o)throw new Error("no dictionary provided");if(a&&(!((s=o[a])===null||s===void 0)&&s[r]))return o[a][r];var l="",m=i.getDefaultLang();if(!a||m!==a){var u=o?.[m];u?.[r]&&(l=u[r])}return l},i.formatDate=function(r,o,a){if(!r)throw new Error("no date provided");if(typeof r.getMonth!="function")throw new Error("wrong date format");var s=new Intl.DateTimeFormat(a||i.getDefaultLang(),o);return s.format(r)},i})();return ve.LanguageTranslator=n,ve}var Io=Po(),Ae={},Vn,rr;function Bo(){if(rr)return Vn;rr=1;var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,e=/\n/g,n=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,r=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,s=/^\s+|\s+$/g,l=`
|
|
3
|
+
`,m="/",u="*",p="",v="comment",b="declaration";Vn=function(g,x){if(typeof g!="string")throw new TypeError("First argument must be a string");if(!g)return[];x=x||{};var S=1,h=1;function G($){var E=$.match(e);E&&(S+=E.length);var L=$.lastIndexOf(l);h=~L?$.length-L:h+$.length}function z(){var $={line:S,column:h};return function(E){return E.position=new y($),F(),E}}function y($){this.start=$,this.end={line:S,column:h},this.source=x.source}y.prototype.content=g;function c($){var E=new Error(x.source+":"+S+":"+h+": "+$);if(E.reason=$,E.filename=x.source,E.line=S,E.column=h,E.source=g,!x.silent)throw E}function A($){var E=$.exec(g);if(E){var L=E[0];return G(L),g=g.slice(L.length),E}}function F(){A(n)}function K($){var E;for($=$||[];E=mt();)E!==!1&&$.push(E);return $}function mt(){var $=z();if(!(m!=g.charAt(0)||u!=g.charAt(1))){for(var E=2;p!=g.charAt(E)&&(u!=g.charAt(E)||m!=g.charAt(E+1));)++E;if(E+=2,p===g.charAt(E-1))return c("End of comment missing");var L=g.slice(2,E-2);return h+=2,G(L),g=g.slice(E),h+=2,$({type:v,comment:L})}}function Y(){var $=z(),E=A(i);if(E){if(mt(),!A(r))return c("property missing ':'");var L=A(o),ft=$({type:b,property:d(E[0].replace(t,p)),value:L?d(L[0].replace(t,p)):p});return A(a),ft}}function q(){var $=[];K($);for(var E;E=Y();)E!==!1&&($.push(E),K($));return $}return F(),q()};function d(g){return g?g.replace(s,p):p}return Vn}var or;function Mo(){if(or)return Ae;or=1;var t=Ae&&Ae.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(Ae,"__esModule",{value:!0}),Ae.default=n;var e=t(Bo());function n(i,r){var o=null;if(!i||typeof i!="string")return o;var a=(0,e.default)(i),s=typeof r=="function";return a.forEach(function(l){if(l.type==="declaration"){var m=l.property,u=l.value;s?r(m,u,l):u&&(o=o||{},o[m]=u)}}),o}return Ae}var Lo=Mo();const ar=Co(Lo);ar.default;var Do=O('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-iujzn7"/>'),Go=(t,e)=>{Rt(e,!0)},Fo=O('<div class="expand_from_small_footer svelte-iujzn7"><i class="bi bi-arrow-up-square-fill svelte-iujzn7"></i></div>'),qo=O('<span class="svelte-iujzn7"><img style="height: 100%;" alt="" class="svelte-iujzn7"/></span>'),Uo=O('<div style="max-height:40px;height:40px;margin:10px auto 5px auto" class="svelte-iujzn7"><!> </div>'),Jo=O('<div class="container-fluid svelte-iujzn7"><div class="container svelte-iujzn7" style="position:relative"><!> <div id="footer_small_content" class="svelte-iujzn7"><!></div></div></div>'),Yo=(t,e)=>{Rt(e,!1)},Ho=O('<div class="container-fluid svelte-iujzn7"><div class="container svelte-iujzn7" style="position:relative"><div style="margin-top:10px;" class="expand_from_small_footer svelte-iujzn7"><i class="bi bi-arrow-down-square-fill svelte-iujzn7"></i></div></div></div>'),Vo=O('<span class="svelte-iujzn7"><img style="height: 40px" alt="" class="svelte-iujzn7"/></span>'),Wo=O('<li class="svelte-iujzn7"><hb-contact-item></hb-contact-item></li>',2),Xo=O('<li class="svelte-iujzn7"><hb-contact-item></hb-contact-item></li>',2),Ko=O('<li class="svelte-iujzn7"><hb-contact-item></hb-contact-item></li>',2),Zo=O('<li class="svelte-iujzn7"><hb-contact-item></hb-contact-item></li>',2),Qo=O('<div style="padding:20px 20px"><h5 style="margin-bottom:20px" class="svelte-iujzn7">Contatti</h5> <ul class="list-unstyled svelte-iujzn7"><!> <!> <!> <!></ul></div>'),ta=O('<li class="svelte-iujzn7"><hb-contact-item></hb-contact-item></li>',2),ea=O('<li class="svelte-iujzn7"><hb-contact-item></hb-contact-item></li>',2),na=O('<li class="svelte-iujzn7"><hb-contact-item></hb-contact-item></li>',2),ia=O('<li class="svelte-iujzn7"><hb-contact-item></hb-contact-item></li>',2),ra=O('<li class="svelte-iujzn7"><hb-contact-item></hb-contact-item></li>',2),oa=O('<li class="svelte-iujzn7"><hb-contact-item></hb-contact-item></li>',2),aa=O('<li class="svelte-iujzn7"><hb-contact-item></hb-contact-item></li>',2),la=O('<div style="padding:20px 20px"><h5 style="margin-bottom:20px" class="svelte-iujzn7">Social</h5> <ul class="list-unstyled svelte-iujzn7"><!> <!> <!> <!> <!> <!> <!></ul></div>'),sa=(t,e,n)=>e(f(n)._id),ma=O('<li class="svelte-iujzn7"><button part="column-cell-button-content" style="padding:0px" class="btn text-small svelte-iujzn7"> </button></li>'),ua=O('<li class="svelte-iujzn7"><hb-contact-item></hb-contact-item></li>',2),da=O('<li class="svelte-iujzn7"><hb-contact-item></hb-contact-item></li>',2),pa=O('<li class="svelte-iujzn7"><hb-contact-item></hb-contact-item></li>',2),va=O('<li class="svelte-iujzn7"><hb-contact-item></hb-contact-item></li>',2),ba=(t,e,n)=>e(f(n)._id),ga=O('<li class="svelte-iujzn7"><button part="column-cell-button-content" style="padding:0px" class="btn text-small svelte-iujzn7"> </button></li>'),ca=O('<div style="padding:20px 20px"><h5 style="margin-bottom:20px" class="svelte-iujzn7"> </h5> <ul class="list-unstyled svelte-iujzn7"></ul></div>'),fa=O('<div class="row svelte-iujzn7"><div style="padding:20px 20px"><div class="row svelte-iujzn7"><div class="col svelte-iujzn7"><!> </div></div> <div id="description" style="margin:20px auto 10px auto" class="svelte-iujzn7"> </div> <div id="company" style="margin:20px auto 10px auto" class="svelte-iujzn7"> </div> <div id="fiscal" style="margin:20px auto 10px auto" class="svelte-iujzn7"> </div></div> <!> <!> <!></div>'),ja=O('<a target="_blank" class="btn btn-link svelte-iujzn7"> </a>'),za=(t,e,n)=>e(f(n).key),xa=O('<button class="btn btn-link svelte-iujzn7"> </button>'),ha=O('<div class="col svelte-iujzn7" style="margin:20px auto 20px auto;max-height:20px;text-align:center;font-size:0.9rem;"><!></div>'),ya=O('<div class="col svelte-iujzn7" style="max-height:20px;text-align:center;font-size:0.8rem;margin:10px auto 5px auto"> </div>'),wa=O('<!> <div class="container svelte-iujzn7"><!> <!> <div class="row svelte-iujzn7"><!></div> <div class="row svelte-iujzn7"><!></div></div>',1),_a=O('<footer class="svelte-iujzn7"><!></footer>');const ka={hash:"svelte-iujzn7",code:`@charset "UTF-8";
|
|
4
4
|
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
|
|
5
5
|
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");
|
|
6
6
|
/*!
|
|
@@ -182,7 +182,7 @@ button.svelte-iujzn7 {margin:0;font-family:inherit;font-size:inherit;line-height
|
|
|
182
182
|
@media (min-width: 1200px) {.fs-1.svelte-iujzn7 {font-size:2.5rem !important;}.fs-2.svelte-iujzn7 {font-size:2rem !important;}.fs-3.svelte-iujzn7 {font-size:1.75rem !important;}.fs-4.svelte-iujzn7 {font-size:1.5rem !important;}
|
|
183
183
|
}
|
|
184
184
|
@media print {.d-print-inline.svelte-iujzn7 {display:inline !important;}.d-print-inline-block.svelte-iujzn7 {display:inline-block !important;}.d-print-block.svelte-iujzn7 {display:block !important;}.d-print-grid.svelte-iujzn7 {display:grid !important;}.d-print-inline-grid.svelte-iujzn7 {display:inline-grid !important;}.d-print-table.svelte-iujzn7 {display:table !important;}.d-print-table-row.svelte-iujzn7 {display:table-row !important;}.d-print-table-cell.svelte-iujzn7 {display:table-cell !important;}.d-print-flex.svelte-iujzn7 {display:flex !important;}.d-print-inline-flex.svelte-iujzn7 {display:inline-flex !important;}.d-print-none.svelte-iujzn7 {display:none !important;}
|
|
185
|
-
}:host {font-family:"Roboto", sans-serif;padding-top:80px;background-color:inherit;}.expand_from_small_footer.svelte-iujzn7 {position:absolute;top:0px;right:0px;cursor:pointer;width:25px;text-align:center;}#footer_small_content.svelte-iujzn7 {height:50px;}hb-contact-item.svelte-iujzn7 {display:block;margin-bottom:20px;}`};function
|
|
185
|
+
}:host {font-family:"Roboto", sans-serif;padding-top:80px;background-color:inherit;}.expand_from_small_footer.svelte-iujzn7 {position:absolute;top:0px;right:0px;cursor:pointer;width:25px;text-align:center;}#footer_small_content.svelte-iujzn7 {height:50px;}hb-contact-item.svelte-iujzn7 {display:block;margin-bottom:20px;}`};function lr(t,e){bi(e,!0),yo(t,ka);/**
|
|
186
186
|
* Svelte Video Gallery WebComponent
|
|
187
187
|
* =====================
|
|
188
188
|
*
|
|
@@ -190,5 +190,5 @@ button.svelte-iujzn7 {margin:0;font-family:inherit;font-size:inherit;line-height
|
|
|
190
190
|
*
|
|
191
191
|
* @license: MIT License
|
|
192
192
|
*
|
|
193
|
-
*/me({});let n=qt(e,"id",7,""),i=qt(e,"type",7,"regular"),r=qt(e,"company",7),o=qt(e,"brandandcontacts",7,void 0),a=qt(e,"columns",23,()=>[]),
|
|
193
|
+
*/me({});let n=qt(e,"id",7,""),i=qt(e,"type",7,"regular"),r=qt(e,"company",7),o=qt(e,"brandandcontacts",7,void 0),a=qt(e,"columns",23,()=>[]),s=qt(e,"disable_expanding_small",7,!1),l=qt(e,"socials",7,void 0),m=qt(e,"contacts",7,void 0),u=qt(e,"policies",7,void 0),p=At(""),v=At(!1);Kr(()=>{if(i()!=="small"&&i()!=="regular"&&i()!=="large"&&i("regular"),typeof s()=="string"&&(s()==="yes"||s()==="true"?s(!0):s(!1)),!r())console.warn("no company provided!");else if(typeof r()=="string")try{r(JSON.parse(r()))}catch{console.warn("company is not a valid JSON")}if(typeof a()=="string")try{a(JSON.parse(a()))}catch{console.warn("columns is not a valid JSON")}let z=0;for(const y of a())y._id||(y._id="ccc_"+z.toString()),z++;if(typeof o()=="string")try{o(JSON.parse(o()))}catch{}if(typeof l()=="string")try{l(JSON.parse(l()))}catch{console.warn("socials is not a valid JSON")}if(typeof m()=="string")try{m(JSON.parse(m()));let y=0;if(m().phones?.length)for(const c of m().phones)y++,c._id||(c._id=y.toString());if(m().emails?.length)for(const c of m().emails)y++,c._id||(c._id=y.toString());if(m().addresses?.length)for(const c of m().addresses)y++,c._id||(c._id=y.toString());if(m().sites?.length)for(const c of m().sites)y++,c._id||(c._id=y.toString())}catch{}if(typeof u()=="string")try{u(JSON.parse(u()))}catch{}});function b(z,y){e.$$host.dispatchEvent(new CustomEvent(z,{detail:y}))}function d(z){b("footerClick",{elClick:z})}Io.addComponent({repoName:"@htmlbricks/hb-contact-item",version:Oo.version});var g={get id(){return n()},set id(z=""){n(z),Tt()},get type(){return i()},set type(z="regular"){i(z),Tt()},get company(){return r()},set company(z){r(z),Tt()},get brandandcontacts(){return o()},set brandandcontacts(z=void 0){o(z),Tt()},get columns(){return a()},set columns(z=[]){a(z),Tt()},get disable_expanding_small(){return s()},set disable_expanding_small(z=!1){s(z),Tt()},get socials(){return l()},set socials(z=void 0){l(z),Tt()},get contacts(){return m()},set contacts(z=void 0){m(z),Tt()},get policies(){return u()},set policies(z=void 0){u(z),Tt()}},x=_a();vo(z=>{var y=Do();j(z,y)});var S=k(x);{var h=z=>{var y=Jo(),c=k(y),A=k(c);{var F=Y=>{var q=Fo();q.__click=[Go,v],j(Y,q)};C(A,Y=>{s()||Y(F)})}var K=M(A,2),mt=k(K);Je(mt,e,"footer_small",{},Y=>{var q=tt(),$=X(q);{var E=L=>{var ft=Uo(),Re=k(ft);{var Se=nt=>{var et=qo(),jt=k(et);w(et),U(()=>bn(jt,"src",r().logoUri)),j(nt,et)};C(Re,nt=>{r().logoUri&&nt(Se)})}var Wn=M(Re);w(ft),U(nt=>Nt(Wn,` ${nt??""}`),[()=>new Date().getFullYear().toString()+" "+(r()?.companyName?" - "+(r()?.companyName||""):"")]),j(L,ft)};C($,L=>{r()?.siteName&&L(E)})}j(Y,q)}),w(K),w(c),w(y),j(z,y)},G=z=>{var y=tt(),c=X(y);{var A=K=>{var mt=wa(),Y=X(mt);{var q=nt=>{var et=Ho(),jt=k(et),Ut=k(jt);Ut.__click=[Yo,v],w(jt),w(et),j(nt,et)};C(Y,nt=>{f(v)&&nt(q)})}var $=M(Y,2),E=k($);Je(E,e,"footerheader",{class:"row"},nt=>{});var L=M(E,2);Je(L,e,"footercontent",{},nt=>{var et=fa(),jt=k(et),Ut=k(jt),Mt=k(Ut),Jt=k(Mt);{var Ye=ut=>{var it=Vo(),Ht=k(it);w(it),U(()=>bn(Ht,"src",r().logoUri)),j(ut,it)};C(Jt,ut=>{r()?.logoUri&&ut(Ye)})}var be=M(Jt);w(Mt),w(Ut);var Yt=M(Ut,2),He=k(Yt,!0);w(Yt);var Ve=M(Yt,2),Xn=k(Ve,!0);w(Ve);var fn=M(Ve,2),ee=k(fn,!0);w(fn),w(jt);var _t=M(jt,2);{var We=ut=>{var it=Qo(),Ht=M(k(it),2),Vt=k(Ht);{var ge=J=>{var dt=tt(),kt=X(dt);pe(kt,17,()=>m().phones,V=>V._id,(V,rt)=>{var D=Wo(),_=k(D);lt(_,f(p)),U(()=>st(_,"phone",JSON.stringify(f(rt)))),H(_,1,"svelte-iujzn7"),w(D),j(V,D)}),j(J,dt)};C(Vt,J=>{m().phones?.length&&J(ge)})}var Lt=M(Vt,2);{var ce=J=>{var dt=tt(),kt=X(dt);pe(kt,17,()=>m().addresses,V=>V._id,(V,rt)=>{var D=Xo(),_=k(D);lt(_,f(p)),U(()=>st(_,"address",JSON.stringify(f(rt)))),H(_,1,"svelte-iujzn7"),w(D),j(V,D)}),j(J,dt)};C(Lt,J=>{m().addresses?.length&&J(ce)})}var fe=M(Lt,2);{var Ne=J=>{var dt=tt(),kt=X(dt);pe(kt,17,()=>m().emails,V=>V._id,(V,rt)=>{var D=Ko(),_=k(D);lt(_,f(p)),U(()=>st(_,"email",JSON.stringify(f(rt)))),H(_,1,"svelte-iujzn7"),w(D),j(V,D)}),j(J,dt)};C(fe,J=>{m().emails?.length&&J(Ne)})}var ne=M(fe,2);{var Z=J=>{var dt=tt(),kt=X(dt);pe(kt,17,()=>m().sites,V=>V._id,(V,rt)=>{var D=Zo(),_=k(D);lt(_,f(p)),U(()=>st(_,"site",JSON.stringify(f(rt)))),H(_,1,"svelte-iujzn7"),w(D),j(V,D)}),j(J,dt)};C(ne,J=>{m().sites?.length&&J(Z)})}w(Ht),w(it),U(()=>H(it,1,`col-md-${12/(1+(m()?1:0)+(l()?1:0)+(a()?.length?a().length:0))}`,"svelte-iujzn7")),j(ut,it)};C(_t,ut=>{m()&&ut(We)})}var sr=M(_t,2);{var Ea=ut=>{var it=la(),Ht=M(k(it),2),Vt=k(Ht);{var ge=_=>{var P=ta(),I=k(P);lt(I,f(p)),st(I,"social",JSON.stringify({name:"facebook",label:"pagina facebook",pageUri:"https://facebook.com"})),H(I,1,"svelte-iujzn7"),w(P),j(_,P)};C(Vt,_=>{l().facebook&&_(ge)})}var Lt=M(Vt,2);{var ce=_=>{var P=ea(),I=k(P);lt(I,f(p)),st(I,"social",JSON.stringify({name:"gmail",label:"pagina gmail",pageUri:"https://gmail.com"})),H(I,1,"svelte-iujzn7"),w(P),j(_,P)};C(Lt,_=>{l()?.gmail&&_(ce)})}var fe=M(Lt,2);{var Ne=_=>{var P=na(),I=k(P);lt(I,f(p)),st(I,"social",JSON.stringify({name:"twitter",label:"pagina twitter",pageUri:"https://twitter.com"})),H(I,1,"svelte-iujzn7"),w(P),j(_,P)};C(fe,_=>{l()?.twitter&&_(Ne)})}var ne=M(fe,2);{var Z=_=>{var P=ia(),I=k(P);lt(I,f(p)),U(()=>st(I,"social",JSON.stringify({name:"github",label:"pagina github",pageUri:l().github}))),H(I,1,"svelte-iujzn7"),w(P),j(_,P)};C(ne,_=>{l()?.github&&_(Z)})}var J=M(ne,2);{var dt=_=>{var P=ra(),I=k(P);lt(I,f(p)),st(I,"social",JSON.stringify({name:"twitch",label:"pagina twitch",pageUri:"https://twitch.com"})),H(I,1,"svelte-iujzn7"),w(P),j(_,P)};C(J,_=>{l()?.twitch&&_(dt)})}var kt=M(J,2);{var V=_=>{var P=oa(),I=k(P);lt(I,f(p)),st(I,"social",JSON.stringify({name:"youtube",label:"pagina youtube",pageUri:"https://youtube.com"})),H(I,1,"svelte-iujzn7"),w(P),j(_,P)};C(kt,_=>{l()?.youtube&&_(V)})}var rt=M(kt,2);{var D=_=>{var P=aa(),I=k(P);lt(I,f(p)),st(I,"social",JSON.stringify({name:"discord",label:"pagina discord",pageUri:"https://discord.com"})),H(I,1,"svelte-iujzn7"),w(P),j(_,P)};C(rt,_=>{l()?.discord&&_(D)})}w(Ht),w(it),U(()=>H(it,1,`col-md-${12/(1+(m()?1:0)+(l()?1:0)+(a()?.length?a().length:0))}`,"svelte-iujzn7")),j(ut,it)};C(sr,ut=>{l()&&ut(Ea)})}var $a=M(sr,2);{var Aa=ut=>{var it=tt(),Ht=X(it);pe(Ht,17,a,Vt=>Vt._id,(Vt,ge)=>{var Lt=ca(),ce=k(Lt),fe=k(ce,!0);w(ce);var Ne=M(ce,2);pe(Ne,21,()=>f(ge).cells,ne=>ne._id,(ne,Z)=>{var J=tt(),dt=X(J);{var kt=rt=>{var D=ma(),_=k(D);_.__click=[sa,d,Z];var P=k(_,!0);w(_),w(D),U(()=>Nt(P,f(Z).label)),j(rt,D)},V=rt=>{var D=tt(),_=X(D);{var P=Te=>{var Oe=ua(),Xe=k(Oe);lt(Xe,f(p)),U(()=>st(Xe,"phone",JSON.stringify(f(Z).phone))),H(Xe,1,"svelte-iujzn7"),w(Oe),j(Te,Oe)},I=Te=>{var Oe=tt(),Xe=X(Oe);{var Ra=Ce=>{var Pe=da(),Ke=k(Pe);lt(Ke,f(p)),U(()=>st(Ke,"address",JSON.stringify(f(Z).address))),H(Ke,1,"svelte-iujzn7"),w(Pe),j(Ce,Pe)},Sa=Ce=>{var Pe=tt(),Ke=X(Pe);{var Na=Ie=>{var Be=pa(),Ze=k(Be);lt(Ze,f(p)),U(()=>st(Ze,"email",JSON.stringify(f(Z).email))),H(Ze,1,"svelte-iujzn7"),w(Be),j(Ie,Be)},Ta=Ie=>{var Be=tt(),Ze=X(Be);{var Oa=Me=>{var Le=va(),Qe=k(Le);lt(Qe,f(p)),U(()=>st(Qe,"site",JSON.stringify(f(Z).site))),H(Qe,1,"svelte-iujzn7"),w(Le),j(Me,Le)},Ca=Me=>{var Le=tt(),Qe=X(Le);{var Pa=Kn=>{var Zn=ga(),Qn=k(Zn);Qn.__click=[ba,d,Z];var Ia=k(Qn,!0);w(Qn),w(Zn),U(()=>Nt(Ia,f(Z).label)),j(Kn,Zn)};C(Qe,Kn=>{f(Z).label&&Kn(Pa)},!0)}j(Me,Le)};C(Ze,Me=>{f(Z).site?Me(Oa):Me(Ca,!1)},!0)}j(Ie,Be)};C(Ke,Ie=>{f(Z).email?Ie(Na):Ie(Ta,!1)},!0)}j(Ce,Pe)};C(Xe,Ce=>{f(Z).address?Ce(Ra):Ce(Sa,!1)},!0)}j(Te,Oe)};C(_,Te=>{f(Z).phone?Te(P):Te(I,!1)},!0)}j(rt,D)};C(dt,rt=>{f(Z).label?rt(kt):rt(V,!1)})}j(ne,J)}),w(Ne),w(Lt),U(()=>{H(Lt,1,`col-md-${12/(1+(m()?1:0)+(l()?1:0)+(a()?.length?a().length:0))}`,"svelte-iujzn7"),Nt(fe,f(ge).title?f(ge).title:"")}),j(Vt,Lt)}),j(ut,it)};C($a,ut=>{a()?.length&&ut(Aa)})}w(et),U(()=>{H(jt,1,`col-md-${12/(1+(m()?1:0)+(l()?1:0)+(a()?.length?a().length:0))}`,"svelte-iujzn7"),Nt(be,` ${(r()?.siteName||"")??""}`),Nt(He,r()?.description||""),Nt(Xn,r()?.companyName||""),Nt(ee,r()?.vatNumber||r()?.fiscalCode||"")}),j(nt,et)});var ft=M(L,2),Re=k(ft);Je(Re,e,"footerpolicy",{},nt=>{var et=tt(),jt=X(et);{var Ut=Mt=>{var Jt=tt(),Ye=X(Jt);pe(Ye,17,u,be=>be.key,(be,Yt)=>{var He=ha(),Ve=k(He);{var Xn=ee=>{var _t=ja(),We=k(_t,!0);w(_t),U(()=>{bn(_t,"href",f(Yt).link),Nt(We,f(Yt).label)}),j(ee,_t)},fn=ee=>{var _t=xa();_t.__click=[za,d,Yt];var We=k(_t,!0);w(_t),U(()=>Nt(We,f(Yt).label)),j(ee,_t)};C(Ve,ee=>{f(Yt).link?ee(Xn):ee(fn,!1)})}w(He),j(be,He)}),j(Mt,Jt)};C(jt,Mt=>{u()?.length&&Mt(Ut)})}j(nt,et)}),w(ft);var Se=M(ft,2),Wn=k(Se);Je(Wn,e,"footerbottom",{},nt=>{var et=tt(),jt=X(et);{var Ut=Mt=>{var Jt=ya(),Ye=k(Jt,!0);w(Jt),U(be=>Nt(Ye,be),[()=>r()?.registration?.text||(r().since?`${r().since?.toString()} - `:"")+new Date().getFullYear().toString()+" "+(r()?.companyName?" - "+(r()?.companyName||""):"")]),j(Mt,Jt)};C(jt,Mt=>{r()?.siteName&&Mt(Ut)})}j(nt,et)}),w(Se),w($),j(K,mt)},F=K=>{var mt=tt(),Y=X(mt);{var q=$=>{var E=go("large");j($,E)};C(Y,$=>{i()==="large"&&$(q)},!0)}j(K,mt)};C(c,K=>{i()==="regular"||i()==="small"&&f(v)?K(A):K(F,!1)},!0)}j(z,y)};C(S,z=>{i()==="small"&&!f(v)?z(h):z(G,!1)})}return w(x),j(t,x),gi(g)}uo(["click"]),customElements.define("hb-footer",To(lr,{id:{},type:{},company:{},brandandcontacts:{},columns:{},disable_expanding_small:{},socials:{},contacts:{},policies:{}},["footer_small","footerheader","footercontent","footerpolicy","footerbottom"],[],!0)),ti.Component=lr,Object.defineProperty(ti,Symbol.toStringTag,{value:"Module"})})(this.footer=this.footer||{});
|
|
194
194
|
//# sourceMappingURL=main.iife.js.map
|