@htmlbricks/hb-footer 0.71.25 → 0.71.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/main.iife.js CHANGED
@@ -1,6 +1,6 @@
1
1
  (function(e){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),typeof window<`u`&&((window.__svelte??={}).v??=new Set).add(`5`);var t={},n=Symbol(),r=`http://www.w3.org/1999/xhtml`,i=Array.isArray,a=Array.prototype.indexOf,o=Array.prototype.includes,s=Array.from,c=Object.keys,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyDescriptors,f=Object.prototype,p=Array.prototype,m=Object.getPrototypeOf,h=Object.isExtensible,g=()=>{};function _(e){for(var t=0;t<e.length;t++)e[t]()}function v(){var e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}var y=1024,b=2048,x=4096,S=8192,ee=16384,te=32768,ne=1<<25,re=65536,ie=1<<18,ae=1<<19,oe=1<<20,se=1<<25,ce=65536,le=1<<21,ue=1<<22,de=1<<23,fe=Symbol(`$state`),pe=Symbol(`legacy props`),me=Symbol(``),he=new class extends Error{name=`StaleReactionError`;message="The reaction that called `getAbortSignal()` was re-run or destroyed"},ge=!!globalThis.document?.contentType&&globalThis.document.contentType.includes(`xml`);function _e(){throw Error(`https://svelte.dev/e/async_derived_orphan`)}function ve(e,t,n){throw Error(`https://svelte.dev/e/each_key_duplicate`)}function ye(e){throw Error(`https://svelte.dev/e/effect_in_teardown`)}function be(){throw Error(`https://svelte.dev/e/effect_in_unowned_derived`)}function xe(e){throw Error(`https://svelte.dev/e/effect_orphan`)}function Se(){throw Error(`https://svelte.dev/e/effect_update_depth_exceeded`)}function Ce(){throw Error(`https://svelte.dev/e/hydration_failed`)}function we(e){throw Error(`https://svelte.dev/e/props_invalid_value`)}function Te(){throw Error(`https://svelte.dev/e/state_descriptors_fixed`)}function Ee(){throw Error(`https://svelte.dev/e/state_prototype_fixed`)}function De(){throw Error(`https://svelte.dev/e/state_unsafe_mutation`)}function Oe(){throw Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`)}function ke(e){console.warn(`https://svelte.dev/e/hydration_mismatch`)}function Ae(){console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`)}var C=!1;function w(e){C=e}var T;function E(e){if(e===null)throw ke(),t;return T=e}function je(){return E(P(T))}function D(e){if(C){if(P(T)!==null)throw ke(),t;T=e}}function Me(e=1){if(C){for(var t=e,n=T;t--;)n=P(n);T=n}}function Ne(e=!0){for(var t=0,n=T;;){if(n.nodeType===8){var r=n.data;if(r===`]`){if(t===0)return n;--t}else (r===`[`||r===`[!`||r[0]===`[`&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=P(n);e&&n.remove(),n=i}}function Pe(e){if(!e||e.nodeType!==8)throw ke(),t;return e.data}function Fe(e){return e===this.v}function Ie(e,t){return e==e?e!==t||typeof e==`object`&&!!e||typeof e==`function`:t==t}function Le(e){return!Ie(e,this.v)}var Re=!1,ze=!1,O=null;function Be(e){O=e}function Ve(e,t=!1,n){O={p:O,i:!1,c:null,e:null,s:e,x:null,r:H,l:ze&&!t?{s:null,u:null,$:[]}:null}}function He(e){var t=O,n=t.e;if(n!==null){t.e=null;for(var r of n)hn(r)}return e!==void 0&&(t.x=e),t.i=!0,O=t.p,e??{}}function Ue(){return!ze||O!==null&&O.l===null}var We=[];function Ge(){var e=We;We=[],_(e)}function Ke(e){if(We.length===0&&!at){var t=We;queueMicrotask(()=>{t===We&&Ge()})}We.push(e)}function qe(){for(;We.length>0;)Ge()}function Je(e){var t=H;if(t===null)return B.f|=de,e;if(!(t.f&32768)&&!(t.f&4))throw e;Ye(e,t)}function Ye(e,t){for(;t!==null;){if(t.f&128){if(!(t.f&32768))throw e;try{t.b.error(e);return}catch(t){e=t}}t=t.parent}throw e}var Xe=~(b|x|y);function k(e,t){e.f=e.f&Xe|t}function Ze(e){e.f&512||e.deps===null?k(e,y):k(e,x)}function Qe(e){if(e!==null)for(let t of e)!(t.f&2)||!(t.f&65536)||(t.f^=ce,Qe(t.deps))}function $e(e,t,n){e.f&2048?t.add(e):e.f&4096&&n.add(e),Qe(e.deps),k(e,y)}var et=!1,tt=!1;function nt(e){var t=tt;try{return tt=!1,[e(),tt]}finally{tt=t}}var rt=new Set,A=null,j=null,it=null,at=!1,ot=!1,st=null,ct=null,lt=0,ut=1,dt=class e{id=ut++;current=new Map;previous=new Map;#e=new Set;#t=new Set;#n=new Map;#r=new Map;#i=null;#a=[];#o=new Set;#s=new Set;#c=new Map;is_fork=!1;#l=!1;#u=new Set;#d(){return this.is_fork||this.#r.size>0}#f(){for(let n of this.#u)for(let r of n.#r.keys()){for(var e=!1,t=r;t.parent!==null;){if(this.#c.has(t)){e=!0;break}t=t.parent}if(!e)return!0}return!1}skip_effect(e){this.#c.has(e)||this.#c.set(e,{d:[],m:[]})}unskip_effect(e){var t=this.#c.get(e);if(t){this.#c.delete(e);for(var n of t.d)k(n,b),this.schedule(n);for(n of t.m)k(n,x),this.schedule(n)}}#p(){if(lt++>1e3&&(rt.delete(this),pt()),!this.#d()){for(let e of this.#o)this.#s.delete(e),k(e,b),this.schedule(e);for(let e of this.#s)k(e,x),this.schedule(e)}let t=this.#a;this.#a=[],this.apply();var n=st=[],r=[],i=ct=[];for(let e of t)try{this.#m(e,n,r)}catch(t){throw bt(e),t}if(A=null,i.length>0){var a=e.ensure();for(let e of i)a.schedule(e)}if(st=null,ct=null,this.#d()||this.#f()){this.#h(r),this.#h(n);for(let[e,t]of this.#c)yt(e,t)}else{this.#n.size===0&&rt.delete(this),this.#o.clear(),this.#s.clear();for(let e of this.#e)e(this);this.#e.clear(),ht(r),ht(n),this.#i?.resolve()}var o=A;if(this.#a.length>0){let e=o??=this;e.#a.push(...this.#a.filter(t=>!e.#a.includes(t)))}o!==null&&(rt.add(o),o.#p()),rt.has(this)||this.#g()}#m(e,t,n){e.f^=y;for(var r=e.first;r!==null;){var i=r.f,a=(i&96)!=0;if(!(a&&i&1024||i&8192||this.#c.has(r))&&r.fn!==null){a?r.f^=y:i&4?t.push(r):Re&&i&16777224?n.push(r):Wn(r)&&(i&16&&this.#s.add(r),Yn(r));var o=r.first;if(o!==null){r=o;continue}}for(;r!==null;){var s=r.next;if(s!==null){r=s;break}r=r.parent}}}#h(e){for(var t=0;t<e.length;t+=1)$e(e[t],this.#o,this.#s)}capture(e,t,r=!1){t!==n&&!this.previous.has(e)&&this.previous.set(e,t),e.f&8388608||(this.current.set(e,[e.v,r]),j?.set(e,e.v))}activate(){A=this}deactivate(){A=null,j=null}flush(){try{ot=!0,A=this,this.#p()}finally{lt=0,it=null,st=null,ct=null,ot=!1,A=null,j=null,Bt.clear()}}discard(){for(let e of this.#t)e(this);this.#t.clear(),rt.delete(this)}#g(){for(let c of rt){var e=c.id<this.id,t=[];for(let[r,[i,a]]of this.current){if(c.current.has(r)){var n=c.current.get(r)[0];if(e&&i!==n)c.current.set(r,[i,a]);else continue}t.push(r)}var r=[...c.current.keys()].filter(e=>!this.current.has(e));if(r.length===0)e&&c.discard();else if(t.length>0){c.activate();var i=new Set,a=new Map;for(var o of t)gt(o,r,i,a);if(c.#a.length>0){c.apply();for(var s of c.#a)c.#m(s,[],[]);c.#a=[]}c.deactivate()}}for(let e of rt)e.#u.has(this)&&(e.#u.delete(this),e.#u.size===0&&!e.#d()&&(e.activate(),e.#p()))}increment(e,t){let n=this.#n.get(t)??0;if(this.#n.set(t,n+1),e){let e=this.#r.get(t)??0;this.#r.set(t,e+1)}}decrement(e,t,n){let r=this.#n.get(t)??0;if(r===1?this.#n.delete(t):this.#n.set(t,r-1),e){let e=this.#r.get(t)??0;e===1?this.#r.delete(t):this.#r.set(t,e-1)}this.#l||n||(this.#l=!0,Ke(()=>{this.#l=!1,this.flush()}))}transfer_effects(e,t){for(let t of e)this.#o.add(t);for(let e of t)this.#s.add(e);e.clear(),t.clear()}oncommit(e){this.#e.add(e)}ondiscard(e){this.#t.add(e)}settled(){return(this.#i??=v()).promise}static ensure(){if(A===null){let t=A=new e;ot||(rt.add(A),at||Ke(()=>{A===t&&t.flush()}))}return A}apply(){if(!Re||!this.is_fork&&rt.size===1){j=null;return}j=new Map;for(let[e,[t]]of this.current)j.set(e,t);for(let n of rt)if(!(n===this||n.is_fork)){var e=!1,t=!1;if(n.id<this.id)for(let[r,[,i]]of n.current)i||(e||=this.current.has(r),t||=!this.current.has(r));if(e&&t)this.#u.add(n);else for(let[e,t]of n.previous)j.has(e)||j.set(e,t)}}schedule(e){if(it=e,e.b?.is_pending&&e.f&16777228&&!(e.f&32768)){e.b.defer_effect(e);return}for(var t=e;t.parent!==null;){t=t.parent;var n=t.f;if(st!==null&&t===H&&(Re||(B===null||!(B.f&2))&&!et))return;if(n&96){if(!(n&1024))return;t.f^=y}}this.#a.push(t)}};function ft(e){var t=at;at=!0;try{var n;for(e&&(A!==null&&!A.is_fork&&A.flush(),n=e());;){if(qe(),A===null)return n;A.flush()}}finally{at=t}}function pt(){try{Se()}catch(e){Ye(e,it)}}var mt=null;function ht(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if(!(r.f&24576)&&Wn(r)&&(mt=new Set,Yn(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&En(r),mt?.size>0)){Bt.clear();for(let e of mt){if(e.f&24576)continue;let t=[e],n=e.parent;for(;n!==null;)mt.has(n)&&(mt.delete(n),t.push(n)),n=n.parent;for(let e=t.length-1;e>=0;e--){let n=t[e];n.f&24576||Yn(n)}}mt.clear()}}mt=null}}function gt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(let i of e.reactions){let e=i.f;e&2?gt(i,t,n,r):e&4194320&&!(e&2048)&&_t(i,t,r)&&(k(i,b),vt(i))}}function _t(e,t,n){let r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(let r of e.deps){if(o.call(t,r))return!0;if(r.f&2&&_t(r,t,n))return n.set(r,!0),!0}return n.set(e,!1),!1}function vt(e){A.schedule(e)}function yt(e,t){if(!(e.f&32&&e.f&1024)){e.f&2048?t.d.push(e):e.f&4096&&t.m.push(e),k(e,y);for(var n=e.first;n!==null;)yt(n,t),n=n.next}}function bt(e){k(e,y);for(var t=e.first;t!==null;)bt(t),t=t.next}function xt(e){let t=0,n=Ht(0),r;return()=>{fn()&&(J(n),bn(()=>(t===0&&(r=Qn(()=>e(()=>qt(n)))),t+=1,()=>{Ke(()=>{--t,t===0&&(r?.(),r=void 0,qt(n))})})))}}var St=re|ae;function Ct(e,t,n,r){new wt(e,t,n,r)}var wt=class{parent;is_pending=!1;transform_error;#e;#t=C?T:null;#n;#r;#i;#a=null;#o=null;#s=null;#c=null;#l=0;#u=0;#d=!1;#f=new Set;#p=new Set;#m=null;#h=xt(()=>(this.#m=Ht(this.#l),()=>{this.#m=null}));constructor(e,t,n,r){this.#e=e,this.#n=t,this.#r=e=>{var t=H;t.b=this,t.f|=128,n(e)},this.parent=H.b,this.transform_error=r??this.parent?.transform_error??(e=>e),this.#i=xn(()=>{if(C){let e=this.#t;je();let t=e.data===`[!`;if(e.data.startsWith(`[?`)){let t=JSON.parse(e.data.slice(2));this.#_(t)}else t?this.#v():this.#g()}else this.#y()},St),C&&(this.#e=T)}#g(){try{this.#a=R(()=>this.#r(this.#e))}catch(e){this.error(e)}}#_(e){let t=this.#n.failed;t&&(this.#s=R(()=>{t(this.#e,()=>e,()=>()=>{})}))}#v(){let e=this.#n.pending;e&&(this.is_pending=!0,this.#o=R(()=>e(this.#e)),Ke(()=>{var e=this.#c=document.createDocumentFragment(),t=N();e.append(t),this.#a=this.#x(()=>R(()=>this.#r(t))),this.#u===0&&(this.#e.before(e),this.#c=null,Dn(this.#o,()=>{this.#o=null}),this.#b(A))}))}#y(){try{if(this.is_pending=this.has_pending_snippet(),this.#u=0,this.#l=0,this.#a=R(()=>{this.#r(this.#e)}),this.#u>0){var e=this.#c=document.createDocumentFragment();jn(this.#a,e);let t=this.#n.pending;this.#o=R(()=>t(this.#e))}else this.#b(A)}catch(e){this.error(e)}}#b(e){this.is_pending=!1,e.transfer_effects(this.#f,this.#p)}defer_effect(e){$e(e,this.#f,this.#p)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#n.pending}#x(e){var t=H,n=B,r=O;U(this.#i),V(this.#i),Be(this.#i.ctx);try{return dt.ensure(),e()}catch(e){return Je(e),null}finally{U(t),V(n),Be(r)}}#S(e,t){if(!this.has_pending_snippet()){this.parent&&this.parent.#S(e,t);return}this.#u+=e,this.#u===0&&(this.#b(t),this.#o&&Dn(this.#o,()=>{this.#o=null}),this.#c&&=(this.#e.before(this.#c),null))}update_pending_count(e,t){this.#S(e,t),this.#l+=e,!(!this.#m||this.#d)&&(this.#d=!0,Ke(()=>{this.#d=!1,this.#m&&Gt(this.#m,this.#l)}))}get_effect_pending(){return this.#h(),J(this.#m)}error(e){var t=this.#n.onerror;let n=this.#n.failed;if(!t&&!n)throw e;this.#a&&=(z(this.#a),null),this.#o&&=(z(this.#o),null),this.#s&&=(z(this.#s),null),C&&(E(this.#t),Me(),E(Ne()));var r=!1,i=!1;let a=()=>{if(r){Ae();return}r=!0,i&&Oe(),this.#s!==null&&Dn(this.#s,()=>{this.#s=null}),this.#x(()=>{this.#y()})},o=e=>{try{i=!0,t?.(e,a),i=!1}catch(e){Ye(e,this.#i&&this.#i.parent)}n&&(this.#s=this.#x(()=>{try{return R(()=>{var t=H;t.b=this,t.f|=128,n(this.#e,()=>e,()=>a)})}catch(e){return Ye(e,this.#i.parent),null}}))};Ke(()=>{var t;try{t=this.transform_error(e)}catch(e){Ye(e,this.#i&&this.#i.parent);return}typeof t==`object`&&t&&typeof t.then==`function`?t.then(o,e=>Ye(e,this.#i&&this.#i.parent)):o(t)})}};function Tt(e,t,n,r){let i=Ue()?kt:Mt;var a=e.filter(e=>!e.settled);if(n.length===0&&a.length===0){r(t.map(i));return}var o=H,s=Et(),c=a.length===1?a[0].promise:a.length>1?Promise.all(a.map(e=>e.promise)):null;function l(e){s();try{r(e)}catch(e){o.f&16384||Ye(e,o)}Dt()}if(n.length===0){c.then(()=>l(t.map(i)));return}var u=Ot();function d(){Promise.all(n.map(e=>At(e))).then(e=>l([...t.map(i),...e])).catch(e=>Ye(e,o)).finally(()=>u())}c?c.then(()=>{s(),d(),Dt()}):d()}function Et(){var e=H,t=B,n=O,r=A;return function(i=!0){U(e),V(t),Be(n),i&&!(e.f&16384)&&(r?.activate(),r?.apply())}}function Dt(e=!0){U(null),V(null),Be(null),e&&A?.deactivate()}function Ot(){var e=H,t=e.b,n=A,r=t.is_rendered();return t.update_pending_count(1,n),n.increment(r,e),(i=!1)=>{t.update_pending_count(-1,n),n.decrement(r,e,i)}}function kt(e){var t=2|b,r=B!==null&&B.f&2?B:null;return H!==null&&(H.f|=ae),{ctx:O,deps:null,effects:null,equals:Fe,f:t,fn:e,reactions:null,rv:0,v:n,wv:0,parent:r??H,ac:null}}function At(e,t,r){let i=H;i===null&&_e();var a=void 0,o=Ht(n),s=!B,c=new Map;return yn(()=>{var t=H,n=v();a=n.promise;try{Promise.resolve(e()).then(n.resolve,n.reject).finally(Dt)}catch(e){n.reject(e),Dt()}var r=A;if(s){if(t.f&32768)var l=Ot();if(i.b.is_rendered())c.get(r)?.reject(he),c.delete(r);else{for(let e of c.values())e.reject(he);c.clear()}c.set(r,n)}let u=(e,n=void 0)=>{if(l&&l(n===he),!(n===he||t.f&16384)){if(r.activate(),n)o.f|=de,Gt(o,n);else{o.f&8388608&&(o.f^=de),Gt(o,e);for(let[e,t]of c){if(c.delete(e),e===r)break;t.reject(he)}}r.deactivate()}};n.promise.then(u,e=>u(null,e||`unknown`))}),pn(()=>{for(let e of c.values())e.reject(he)}),new Promise(e=>{function t(n){function r(){n===a?e(o):t(a)}n.then(r,r)}t(a)})}function jt(e){let t=kt(e);return Re||Ln(t),t}function Mt(e){let t=kt(e);return t.equals=Le,t}function Nt(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)z(t[n])}}function Pt(e){for(var t=e.parent;t!==null;){if(!(t.f&2))return t.f&16384?null:t;t=t.parent}return null}function Ft(e){var t,n=H;U(Pt(e));try{e.f&=~ce,Nt(e),t=Kn(e)}finally{U(n)}return t}function It(e){var t=e.v,n=Ft(e);if(!e.equals(n)&&(e.wv=Un(),(!A?.is_fork||e.deps===null)&&(e.v=n,A?.capture(e,t,!0),e.deps===null))){k(e,y);return}Pn||(j===null?Ze(e):(fn()||A?.is_fork)&&j.set(e,n))}function Lt(e){if(e.effects!==null)for(let t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(he),t.teardown=g,t.ac=null,Jn(t,0),Cn(t))}function Rt(e){if(e.effects!==null)for(let t of e.effects)t.teardown&&Yn(t)}var zt=new Set,Bt=new Map,Vt=!1;function Ht(e,t){return{f:0,v:e,reactions:null,equals:Fe,rv:0,wv:0}}function Ut(e,t){let n=Ht(e,t);return Ln(n),n}function Wt(e,t=!1,n=!0){let r=Ht(e);return t||(r.equals=Le),ze&&n&&O!==null&&O.l!==null&&(O.l.s??=[]).push(r),r}function M(e,t,n=!1){return B!==null&&(!In||B.f&131072)&&Ue()&&B.f&4325394&&(W===null||!o.call(W,e))&&De(),Gt(e,n?Yt(t):t,ct)}function Gt(e,t,n=null){if(!e.equals(t)){var r=e.v;Pn?Bt.set(e,t):Bt.set(e,r),e.v=t;var i=dt.ensure();if(i.capture(e,r),e.f&2){let t=e;e.f&2048&&Ft(t),j===null&&Ze(t)}e.wv=Un(),Jt(e,b,n),Ue()&&H!==null&&H.f&1024&&!(H.f&96)&&(q===null?Rn([e]):q.push(e)),!i.is_fork&&zt.size>0&&!Vt&&Kt()}return t}function Kt(){Vt=!1;for(let e of zt)e.f&1024&&k(e,x),Wn(e)&&Yn(e);zt.clear()}function qt(e){M(e,e.v+1)}function Jt(e,t,n){var r=e.reactions;if(r!==null)for(var i=Ue(),a=r.length,o=0;o<a;o++){var s=r[o],c=s.f;if(!(!i&&s===H)){var l=(c&b)===0;if(l&&k(s,t),c&2){var u=s;j?.delete(u),c&65536||(c&512&&(s.f|=ce),Jt(u,x,n))}else if(l){var d=s;c&16&&mt!==null&&mt.add(d),n===null?vt(d):n.push(d)}}}}function Yt(e){if(typeof e!=`object`||!e||fe in e)return e;let t=m(e);if(t!==f&&t!==p)return e;var r=new Map,a=i(e),o=Ut(0),s=null,c=Vn,l=e=>{if(Vn===c)return e();var t=B,n=Vn;V(null),Hn(c);var r=e();return V(t),Hn(n),r};return a&&r.set(`length`,Ut(e.length,s)),new Proxy(e,{defineProperty(e,t,n){(!(`value`in n)||n.configurable===!1||n.enumerable===!1||n.writable===!1)&&Te();var i=r.get(t);return i===void 0?l(()=>{var e=Ut(n.value,s);return r.set(t,e),e}):M(i,n.value,!0),!0},deleteProperty(e,t){var i=r.get(t);if(i===void 0){if(t in e){let e=l(()=>Ut(n,s));r.set(t,e),qt(o)}}else M(i,n),qt(o);return!0},get(t,i,a){if(i===fe)return e;var o=r.get(i),c=i in t;if(o===void 0&&(!c||u(t,i)?.writable)&&(o=l(()=>Ut(Yt(c?t[i]:n),s)),r.set(i,o)),o!==void 0){var d=J(o);return d===n?void 0:d}return Reflect.get(t,i,a)},getOwnPropertyDescriptor(e,t){var i=Reflect.getOwnPropertyDescriptor(e,t);if(i&&`value`in i){var a=r.get(t);a&&(i.value=J(a))}else if(i===void 0){var o=r.get(t),s=o?.v;if(o!==void 0&&s!==n)return{enumerable:!0,configurable:!0,value:s,writable:!0}}return i},has(e,t){if(t===fe)return!0;var i=r.get(t),a=i!==void 0&&i.v!==n||Reflect.has(e,t);return(i!==void 0||H!==null&&(!a||u(e,t)?.writable))&&(i===void 0&&(i=l(()=>Ut(a?Yt(e[t]):n,s)),r.set(t,i)),J(i)===n)?!1:a},set(e,t,i,c){var d=r.get(t),f=t in e;if(a&&t===`length`)for(var p=i;p<d.v;p+=1){var m=r.get(p+``);m===void 0?p in e&&(m=l(()=>Ut(n,s)),r.set(p+``,m)):M(m,n)}if(d===void 0)(!f||u(e,t)?.writable)&&(d=l(()=>Ut(void 0,s)),M(d,Yt(i)),r.set(t,d));else{f=d.v!==n;var h=l(()=>Yt(i));M(d,h)}var g=Reflect.getOwnPropertyDescriptor(e,t);if(g?.set&&g.set.call(c,i),!f){if(a&&typeof t==`string`){var _=r.get(`length`),v=Number(t);Number.isInteger(v)&&v>=_.v&&M(_,v+1)}qt(o)}return!0},ownKeys(e){J(o);var t=Reflect.ownKeys(e).filter(e=>{var t=r.get(e);return t===void 0||t.v!==n});for(var[i,a]of r)a.v!==n&&!(i in e)&&t.push(i);return t},setPrototypeOf(){Ee()}})}var Xt,Zt,Qt,$t;function en(){if(Xt===void 0){Xt=window,Zt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Qt=u(t,`firstChild`).get,$t=u(t,`nextSibling`).get,h(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),h(n)&&(n.__t=void 0)}}function N(e=``){return document.createTextNode(e)}function tn(e){return Qt.call(e)}function P(e){return $t.call(e)}function F(e,t){if(!C)return tn(e);var n=tn(T);if(n===null)n=T.appendChild(N());else if(t&&n.nodeType!==3){var r=N();return n?.before(r),E(r),r}return t&&sn(n),E(n),n}function nn(e,t=!1){if(!C){var n=tn(e);return n instanceof Comment&&n.data===``?P(n):n}if(t){if(T?.nodeType!==3){var r=N();return T?.before(r),E(r),r}sn(T)}return T}function I(e,t=1,n=!1){let r=C?T:e;for(var i;t--;)i=r,r=P(r);if(!C)return r;if(n){if(r?.nodeType!==3){var a=N();return r===null?i?.after(a):r.before(a),E(a),a}sn(r)}return E(r),r}function rn(e){e.textContent=``}function an(){return!Re||mt!==null?!1:(H.f&te)!==0}function on(e,t,n){let r=n?{is:n}:void 0;return document.createElementNS(t??`http://www.w3.org/1999/xhtml`,e,r)}function sn(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===3;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function cn(e){var t=B,n=H;V(null),U(null);try{return e()}finally{V(t),U(n)}}function ln(e){H===null&&(B===null&&xe(e),be()),Pn&&ye(e)}function un(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function dn(e,t){var n=H;n!==null&&n.f&8192&&(e|=S);var r={ctx:O,deps:null,nodes:null,f:e|b|512,first:null,fn:t,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},i=r;if(e&4)st===null?dt.ensure().schedule(r):st.push(r);else if(t!==null){try{Yn(r)}catch(e){throw z(r),e}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&!(i.f&524288)&&(i=i.first,e&16&&e&65536&&i!==null&&(i.f|=re))}if(i!==null&&(i.parent=n,n!==null&&un(i,n),B!==null&&B.f&2&&!(e&64))){var a=B;(a.effects??=[]).push(i)}return r}function fn(){return B!==null&&!In}function pn(e){let t=dn(8,null);return k(t,y),t.teardown=e,t}function mn(e){ln(`$effect`);var t=H.f;if(!B&&t&32&&!(t&32768)){var n=O;(n.e??=[]).push(e)}else return hn(e)}function hn(e){return dn(4|oe,e)}function gn(e){dt.ensure();let t=dn(64|ae,e);return()=>{z(t)}}function _n(e){dt.ensure();let t=dn(64|ae,e);return(e={})=>new Promise(n=>{e.outro?Dn(t,()=>{z(t),n(void 0)}):(z(t),n(void 0))})}function vn(e){return dn(4,e)}function yn(e){return dn(ue|ae,e)}function bn(e,t=0){return dn(8|t,e)}function L(e,t=[],n=[],r=[]){Tt(r,t,n,t=>{dn(8,()=>e(...t.map(J)))})}function xn(e,t=0){return dn(16|t,e)}function R(e){return dn(32|ae,e)}function Sn(e){var t=e.teardown;if(t!==null){let e=Pn,n=B;Fn(!0),V(null);try{t.call(null)}finally{Fn(e),V(n)}}}function Cn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){let e=n.ac;e!==null&&cn(()=>{e.abort(he)});var r=n.next;n.f&64?n.parent=null:z(n,t),n=r}}function wn(e){for(var t=e.first;t!==null;){var n=t.next;t.f&32||z(t),t=n}}function z(e,t=!0){var n=!1;(t||e.f&262144)&&e.nodes!==null&&e.nodes.end!==null&&(Tn(e.nodes.start,e.nodes.end),n=!0),k(e,ne),Cn(e,t&&!n),Jn(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)e.stop();Sn(e),e.f^=ne,e.f|=ee;var i=e.parent;i!==null&&i.first!==null&&En(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function Tn(e,t){for(;e!==null;){var n=e===t?null:P(e);e.remove(),e=n}}function En(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function Dn(e,t,n=!0){var r=[];On(e,r,!0);var i=()=>{n&&z(e),t&&t()},a=r.length;if(a>0){var o=()=>--a||i();for(var s of r)s.out(o)}else i()}function On(e,t,n){if(!(e.f&8192)){e.f^=S;var r=e.nodes&&e.nodes.t;if(r!==null)for(let e of r)(e.is_global||n)&&t.push(e);for(var i=e.first;i!==null;){var a=i.next,o=(i.f&65536)!=0||(i.f&32)!=0&&(e.f&16)!=0;On(i,t,o?n:!1),i=a}}}function kn(e){An(e,!0)}function An(e,t){if(e.f&8192){e.f^=S,e.f&1024||(k(e,b),dt.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&65536)!=0||(n.f&32)!=0;An(n,i?t:!1),n=r}var a=e.nodes&&e.nodes.t;if(a!==null)for(let e of a)(e.is_global||t)&&e.in()}}function jn(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:P(n);t.append(n),n=i}}var Mn=null,Nn=!1,Pn=!1;function Fn(e){Pn=e}var B=null,In=!1;function V(e){B=e}var H=null;function U(e){H=e}var W=null;function Ln(e){B!==null&&(!Re||B.f&2)&&(W===null?W=[e]:W.push(e))}var G=null,K=0,q=null;function Rn(e){q=e}var zn=1,Bn=0,Vn=Bn;function Hn(e){Vn=e}function Un(){return++zn}function Wn(e){var t=e.f;if(t&2048)return!0;if(t&2&&(e.f&=~ce),t&4096){for(var n=e.deps,r=n.length,i=0;i<r;i++){var a=n[i];if(Wn(a)&&It(a),a.wv>e.wv)return!0}t&512&&j===null&&k(e,y)}return!1}function Gn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(!Re&&W!==null&&o.call(W,e)))for(var i=0;i<r.length;i++){var a=r[i];a.f&2?Gn(a,t,!1):t===a&&(n?k(a,b):a.f&1024&&k(a,x),vt(a))}}function Kn(e){var t=G,n=K,r=q,i=B,a=W,o=O,s=In,c=Vn,l=e.f;G=null,K=0,q=null,B=l&96?null:e,W=null,Be(e.ctx),In=!1,Vn=++Bn,e.ac!==null&&(cn(()=>{e.ac.abort(he)}),e.ac=null);try{e.f|=le;var u=e.fn,d=u();e.f|=te;var f=e.deps,p=A?.is_fork;if(G!==null){var m;if(p||Jn(e,K),f!==null&&K>0)for(f.length=K+G.length,m=0;m<G.length;m++)f[K+m]=G[m];else e.deps=f=G;if(fn()&&e.f&512)for(m=K;m<f.length;m++)(f[m].reactions??=[]).push(e)}else !p&&f!==null&&K<f.length&&(Jn(e,K),f.length=K);if(Ue()&&q!==null&&!In&&f!==null&&!(e.f&6146))for(m=0;m<q.length;m++)Gn(q[m],e);if(i!==null&&i!==e){if(Bn++,i.deps!==null)for(let e=0;e<n;e+=1)i.deps[e].rv=Bn;if(t!==null)for(let e of t)e.rv=Bn;q!==null&&(r===null?r=q:r.push(...q))}return e.f&8388608&&(e.f^=de),d}catch(e){return Je(e)}finally{e.f^=le,G=t,K=n,q=r,B=i,W=a,Be(o),In=s,Vn=c}}function qn(e,t){let n=t.reactions;if(n!==null){var r=a.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}if(n===null&&t.f&2&&(G===null||!o.call(G,t))){var s=t;s.f&512&&(s.f^=512,s.f&=~ce),Ze(s),Lt(s),Jn(s,0)}}function Jn(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)qn(e,n[r])}function Yn(e){var t=e.f;if(!(t&16384)){k(e,y);var n=H,r=Nn;H=e,Nn=!0;try{t&16777232?wn(e):Cn(e),Sn(e);var i=Kn(e);e.teardown=typeof i==`function`?i:null,e.wv=zn}finally{Nn=r,H=n}}}function J(e){var t=(e.f&2)!=0;if(Mn?.add(e),B!==null&&!In&&!(H!==null&&H.f&16384)&&(W===null||!o.call(W,e))){var n=B.deps;if(B.f&2097152)e.rv<Bn&&(e.rv=Bn,G===null&&n!==null&&n[K]===e?K++:G===null?G=[e]:G.push(e));else{(B.deps??=[]).push(e);var r=e.reactions;r===null?e.reactions=[B]:o.call(r,B)||r.push(B)}}if(Pn&&Bt.has(e))return Bt.get(e);if(t){var i=e;if(Pn){var a=i.v;return(!(i.f&1024)&&i.reactions!==null||Zn(i))&&(a=Ft(i)),Bt.set(i,a),a}var s=(i.f&512)==0&&!In&&B!==null&&(Nn||(B.f&512)!=0),c=(i.f&te)===0;Wn(i)&&(s&&(i.f|=512),It(i)),s&&!c&&(Rt(i),Xn(i))}if(j?.has(e))return j.get(e);if(e.f&8388608)throw e.v;return e.v}function Xn(e){if(e.f|=512,e.deps!==null)for(let t of e.deps)(t.reactions??=[]).push(e),t.f&2&&!(t.f&512)&&(Rt(t),Xn(t))}function Zn(e){if(e.v===n)return!0;if(e.deps===null)return!1;for(let t of e.deps)if(Bt.has(t)||t.f&2&&Zn(t))return!0;return!1}function Qn(e){var t=In;try{return In=!0,e()}finally{In=t}}var $n=Symbol(`events`),er=new Set,tr=new Set;function nr(e,t,n){(t[$n]??={})[e]=n}function rr(e){for(var t=0;t<e.length;t++)er.add(e[t]);for(var n of tr)n(e)}var ir=null;function ar(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],a=i[0]||e.target;ir=e;var o=0,s=ir===e&&e[$n];if(s){var c=i.indexOf(s);if(c!==-1&&(t===document||t===window)){e[$n]=t;return}var u=i.indexOf(t);if(u===-1)return;c<=u&&(o=c)}if(a=i[o]||e.target,a!==t){l(e,`currentTarget`,{configurable:!0,get(){return a||n}});var d=B,f=H;V(null),U(null);try{for(var p,m=[];a!==null;){var h=a.assignedSlot||a.parentNode||a.host||null;try{var g=a[$n]?.[r];g!=null&&(!a.disabled||e.target===a)&&g.call(a,e)}catch(e){p?m.push(e):p=e}if(e.cancelBubble||h===t||h===null)break;a=h}if(p){for(let e of m)queueMicrotask(()=>{throw e});throw p}}finally{e[$n]=t,delete e.currentTarget,V(d),U(f)}}}var or=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy(`svelte-trusted-html`,{createHTML:e=>e});function sr(e){return or?.createHTML(e)??e}function cr(e){var t=on(`template`);return t.innerHTML=sr(e.replaceAll(`<!>`,`<!---->`)),t.content}function lr(e,t){var n=H;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function Y(e,t){var n=(t&1)!=0,r=(t&2)!=0,i,a=!e.startsWith(`<!>`);return()=>{if(C)return lr(T,null),T;i===void 0&&(i=cr(a?e:`<!>`+e),n||(i=tn(i)));var t=r||Zt?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=tn(t),s=t.lastChild;lr(o,s)}else lr(t,t);return t}}function ur(e=``){if(!C){var t=N(e+``);return lr(t,t),t}var n=T;return n.nodeType===3?sn(n):(n.before(n=N()),E(n)),lr(n,n),n}function dr(){if(C)return lr(T,null),T;var e=document.createDocumentFragment(),t=document.createComment(``),n=N();return e.append(t,n),lr(t,n),e}function X(e,t){if(C){var n=H;(!(n.f&32768)||n.nodes.end===null)&&(n.nodes.end=T),je();return}e!==null&&e.before(t)}[...`allowfullscreen.async.autofocus.autoplay.checked.controls.default.disabled.formnovalidate.indeterminate.inert.ismap.loop.multiple.muted.nomodule.novalidate.open.playsinline.readonly.required.reversed.seamless.selected.webkitdirectory.defer.disablepictureinpicture.disableremoteplayback`.split(`.`)];var fr=[`touchstart`,`touchmove`];function pr(e){return fr.includes(e)}function mr(e,t){var n=t==null?``:typeof t==`object`?`${t}`:t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=`${n}`)}function hr(e,t){return vr(e,t)}function gr(e,n){en(),n.intro=n.intro??!1;let r=n.target,i=C,a=T;try{for(var o=tn(r);o&&(o.nodeType!==8||o.data!==`[`);)o=P(o);if(!o)throw t;w(!0),E(o);let i=vr(e,{...n,anchor:o});return w(!1),i}catch(i){if(i instanceof Error&&i.message.split(`
2
2
  `).some(e=>e.startsWith(`https://svelte.dev/e/`)))throw i;return i!==t&&console.warn(`Failed to hydrate: `,i),n.recover===!1&&Ce(),en(),rn(r),w(!1),hr(e,n)}finally{w(i),E(a)}}var _r=new Map;function vr(e,{target:n,anchor:r,props:i={},events:a,context:o,intro:c=!0,transformError:l}){en();var u=void 0,d=_n(()=>{var c=r??n.appendChild(N());Ct(c,{pending:()=>{}},n=>{Ve({});var r=O;if(o&&(r.c=o),a&&(i.$$events=a),C&&lr(n,null),u=e(n,i)||{},C&&(H.nodes.end=T,T===null||T.nodeType!==8||T.data!==`]`))throw ke(),t;He()},l);var d=new Set,f=e=>{for(var t=0;t<e.length;t++){var r=e[t];if(!d.has(r)){d.add(r);var i=pr(r);for(let e of[n,document]){var a=_r.get(e);a===void 0&&(a=new Map,_r.set(e,a));var o=a.get(r);o===void 0?(e.addEventListener(r,ar,{passive:i}),a.set(r,1)):a.set(r,o+1)}}}};return f(s(er)),tr.add(f),()=>{for(var e of d)for(let r of[n,document]){var t=_r.get(r),i=t.get(e);--i==0?(r.removeEventListener(e,ar),t.delete(e),t.size===0&&_r.delete(r)):t.set(e,i)}tr.delete(f),c!==r&&c.parentNode?.removeChild(c)}});return yr.set(u,d),u}var yr=new WeakMap;function br(e,t){let n=yr.get(e);return n?(yr.delete(e),n(t)):Promise.resolve()}var xr=class{anchor;#e=new Map;#t=new Map;#n=new Map;#r=new Set;#i=!0;constructor(e,t=!0){this.anchor=e,this.#i=t}#a=e=>{if(this.#e.has(e)){var t=this.#e.get(e),n=this.#t.get(t);if(n)kn(n),this.#r.delete(t);else{var r=this.#n.get(t);r&&(this.#t.set(t,r.effect),this.#n.delete(t),r.fragment.lastChild.remove(),this.anchor.before(r.fragment),n=r.effect)}for(let[t,n]of this.#e){if(this.#e.delete(t),t===e)break;let r=this.#n.get(n);r&&(z(r.effect),this.#n.delete(n))}for(let[e,r]of this.#t){if(e===t||this.#r.has(e))continue;let i=()=>{if(Array.from(this.#e.values()).includes(e)){var t=document.createDocumentFragment();jn(r,t),t.append(N()),this.#n.set(e,{effect:r,fragment:t})}else z(r);this.#r.delete(e),this.#t.delete(e)};this.#i||!n?(this.#r.add(e),Dn(r,i,!1)):i()}}};#o=e=>{this.#e.delete(e);let t=Array.from(this.#e.values());for(let[e,n]of this.#n)t.includes(e)||(z(n.effect),this.#n.delete(e))};ensure(e,t){var n=A,r=an();if(t&&!this.#t.has(e)&&!this.#n.has(e))if(r){var i=document.createDocumentFragment(),a=N();i.append(a),this.#n.set(e,{effect:R(()=>t(a)),fragment:i})}else this.#t.set(e,R(()=>t(this.anchor)));if(this.#e.set(n,e),r){for(let[t,r]of this.#t)t===e?n.unskip_effect(r):n.skip_effect(r);for(let[t,r]of this.#n)t===e?n.unskip_effect(r.effect):n.skip_effect(r.effect);n.oncommit(this.#a),n.ondiscard(this.#o)}else C&&(this.anchor=T),this.#a(n)}};function Z(e,t,n=!1){var r;C&&(r=T,je());var i=new xr(e),a=n?re:0;function o(e,t){if(C){var n=Pe(r);if(e!==parseInt(n.substring(1))){var a=Ne();E(a),i.anchor=a,w(!1),i.ensure(e,t),w(!0);return}}i.ensure(e,t)}xn(()=>{var e=!1;t((t,n=0)=>{e=!0,o(n,t)}),e||o(-1,null)},a)}function Sr(e,t,n){for(var r=[],i=t.length,a,o=t.length,c=0;c<i;c++){let n=t[c];Dn(n,()=>{if(a){if(a.pending.delete(n),a.done.add(n),a.pending.size===0){var t=e.outrogroups;Cr(e,s(a.done)),t.delete(a),t.size===0&&(e.outrogroups=null)}}else --o},!1)}if(o===0){var l=r.length===0&&n!==null;if(l){var u=n,d=u.parentNode;rn(d),d.append(u),e.items.clear()}Cr(e,t,!l)}else a={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(a)}function Cr(e,t,n=!0){var r;if(e.pending.size>0){r=new Set;for(let t of e.pending.values())for(let n of t)r.add(e.items.get(n).e)}for(var i=0;i<t.length;i++){var a=t[i];r?.has(a)?(a.f|=se,jn(a,document.createDocumentFragment())):z(t[i],n)}}var wr;function Tr(e,t,n,r,a,o=null){var c=e,l=new Map;if(t&4){var u=e;c=C?E(tn(u)):u.appendChild(N())}C&&je();var d=null,f=Mt(()=>{var e=n();return i(e)?e:e==null?[]:s(e)}),p,m=new Map,h=!0;function g(e){v.effect.f&16384||(v.pending.delete(e),v.fallback=d,Dr(v,p,c,t,r),d!==null&&(p.length===0?d.f&33554432?(d.f^=se,kr(d,null,c)):kn(d):Dn(d,()=>{d=null})))}function _(e){v.pending.delete(e)}var v={effect:xn(()=>{p=J(f);var e=p.length;let i=!1;C&&Pe(c)===`[!`!=(e===0)&&(c=Ne(),E(c),w(!1),i=!0);for(var s=new Set,u=A,v=an(),y=0;y<e;y+=1){C&&T.nodeType===8&&T.data===`]`&&(c=T,i=!0,w(!1));var b=p[y],x=r(b,y),S=h?null:l.get(x);S?(S.v&&Gt(S.v,b),S.i&&Gt(S.i,y),v&&u.unskip_effect(S.e)):(S=Or(l,h?c:wr??=N(),b,x,y,a,t,n),h||(S.e.f|=se),l.set(x,S)),s.add(x)}if(e===0&&o&&!d&&(h?d=R(()=>o(c)):(d=R(()=>o(wr??=N())),d.f|=se)),e>s.size&&ve(``,``,``),C&&e>0&&E(Ne()),!h)if(m.set(u,s),v){for(let[e,t]of l)s.has(e)||u.skip_effect(t.e);u.oncommit(g),u.ondiscard(_)}else g(u);i&&w(!0),J(f)}),flags:t,items:l,pending:m,outrogroups:null,fallback:d};h=!1,C&&(c=T)}function Er(e){for(;e!==null&&!(e.f&32);)e=e.next;return e}function Dr(e,t,n,r,i){var a=(r&8)!=0,o=t.length,c=e.items,l=Er(e.effect.first),u,d=null,f,p=[],m=[],h,g,_,v;if(a)for(v=0;v<o;v+=1)h=t[v],g=i(h,v),_=c.get(g).e,_.f&33554432||(_.nodes?.a?.measure(),(f??=new Set).add(_));for(v=0;v<o;v+=1){if(h=t[v],g=i(h,v),_=c.get(g).e,e.outrogroups!==null)for(let t of e.outrogroups)t.pending.delete(_),t.done.delete(_);if(_.f&8192&&(kn(_),a&&(_.nodes?.a?.unfix(),(f??=new Set).delete(_))),_.f&33554432)if(_.f^=se,_===l)kr(_,null,n);else{var y=d?d.next:l;_===e.effect.last&&(e.effect.last=_.prev),_.prev&&(_.prev.next=_.next),_.next&&(_.next.prev=_.prev),Ar(e,d,_),Ar(e,_,y),kr(_,y,n),d=_,p=[],m=[],l=Er(d.next);continue}if(_!==l){if(u!==void 0&&u.has(_)){if(p.length<m.length){var b=m[0],x;d=b.prev;var S=p[0],ee=p[p.length-1];for(x=0;x<p.length;x+=1)kr(p[x],b,n);for(x=0;x<m.length;x+=1)u.delete(m[x]);Ar(e,S.prev,ee.next),Ar(e,d,S),Ar(e,ee,b),l=b,d=ee,--v,p=[],m=[]}else u.delete(_),kr(_,l,n),Ar(e,_.prev,_.next),Ar(e,_,d===null?e.effect.first:d.next),Ar(e,d,_),d=_;continue}for(p=[],m=[];l!==null&&l!==_;)(u??=new Set).add(l),m.push(l),l=Er(l.next);if(l===null)continue}_.f&33554432||p.push(_),d=_,l=Er(_.next)}if(e.outrogroups!==null){for(let t of e.outrogroups)t.pending.size===0&&(Cr(e,s(t.done)),e.outrogroups?.delete(t));e.outrogroups.size===0&&(e.outrogroups=null)}if(l!==null||u!==void 0){var te=[];if(u!==void 0)for(_ of u)_.f&8192||te.push(_);for(;l!==null;)!(l.f&8192)&&l!==e.fallback&&te.push(l),l=Er(l.next);var ne=te.length;if(ne>0){var re=r&4&&o===0?n:null;if(a){for(v=0;v<ne;v+=1)te[v].nodes?.a?.measure();for(v=0;v<ne;v+=1)te[v].nodes?.a?.fix()}Sr(e,te,re)}}a&&Ke(()=>{if(f!==void 0)for(_ of f)_.nodes?.a?.apply()})}function Or(e,t,n,r,i,a,o,s){var c=o&1?o&16?Ht(n):Wt(n,!1,!1):null,l=o&2?Ht(i):null;return{v:c,i:l,e:R(()=>(a(t,c??n,l??i,s),()=>{e.delete(r)}))}}function kr(e,t,n){if(e.nodes)for(var r=e.nodes.start,i=e.nodes.end,a=t&&!(t.f&33554432)?t.nodes.start:n;r!==null;){var o=P(r);if(a.before(r),r===i)return;r=o}}function Ar(e,t,n){t===null?e.effect.first=n:t.next=n,n===null?e.effect.last=t:n.prev=t}function jr(e,t,n,r,i){C&&je();var a=t.$$slots?.[n],o=!1;a===!0&&(a=t[n===`default`?`children`:n],o=!0),a===void 0?i!==null&&i(e):a(e,o?()=>r:r)}function Mr(e,t){let n=null,r=C;var i;if(C){n=T;for(var a=tn(document.head);a!==null&&(a.nodeType!==8||a.data!==e);)a=P(a);if(a===null)w(!1);else{var o=P(a);a.remove(),E(o)}}C||(i=document.head.appendChild(N()));try{xn(()=>t(i),ie|ae)}finally{r&&(w(!0),E(n))}}function Nr(e,t){vn(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector(`#`+t.hash)){let e=on(`style`);e.id=t.hash,e.textContent=t.code,r.appendChild(e)}})}var Pr=[...`
3
- \r\f\xA0\v`];function Fr(e,t,n){var r=e==null?``:``+e;if(t&&(r=r?r+` `+t:t),n){for(var i of Object.keys(n))if(n[i])r=r?r+` `+i:i;else if(r.length)for(var a=i.length,o=0;(o=r.indexOf(i,o))>=0;){var s=o+a;(o===0||Pr.includes(r[o-1]))&&(s===r.length||Pr.includes(r[s]))?r=(o===0?``:r.substring(0,o))+r.substring(s+1):o=s}}return r===``?null:r}function Ir(e,t=!1){var n=t?` !important;`:`;`,r=``;for(var i of Object.keys(e)){var a=e[i];a!=null&&a!==``&&(r+=` `+i+`: `+a+n)}return r}function Lr(e){return e[0]!==`-`||e[1]!==`-`?e.toLowerCase():e}function Rr(e,t){if(t){var n=``,r,i;if(Array.isArray(t)?(r=t[0],i=t[1]):r=t,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,``).trim();var a=!1,o=0,s=!1,c=[];r&&c.push(...Object.keys(r).map(Lr)),i&&c.push(...Object.keys(i).map(Lr));var l=0,u=-1;let t=e.length;for(var d=0;d<t;d++){var f=e[d];if(s?f===`/`&&e[d-1]===`*`&&(s=!1):a?a===f&&(a=!1):f===`/`&&e[d+1]===`*`?s=!0:f===`"`||f===`'`?a=f:f===`(`?o++:f===`)`&&o--,!s&&a===!1&&o===0){if(f===`:`&&u===-1)u=d;else if(f===`;`||d===t-1){if(u!==-1){var p=Lr(e.substring(l,u).trim());if(!c.includes(p)){f!==`;`&&d++;var m=e.substring(l,d).trim();n+=` `+m+`;`}}l=d+1,u=-1}}}}return r&&(n+=Ir(r)),i&&(n+=Ir(i,!0)),n=n.trim(),n===``?null:n}return e==null?null:String(e)}function Q(e,t,n,r,i,a){var o=e.__className;if(C||o!==n||o===void 0){var s=Fr(n,r,a);(!C||s!==e.getAttribute(`class`))&&(s==null?e.removeAttribute(`class`):t?e.className=s:e.setAttribute(`class`,s)),e.__className=n}else if(a&&i!==a)for(var c in a){var l=!!a[c];(i==null||l!==!!i[c])&&e.classList.toggle(c,l)}return a}function zr(e,t={},n,r){for(var i in n){var a=n[i];t[i]!==a&&(n[i]==null?e.style.removeProperty(i):e.style.setProperty(i,a,r))}}function Br(e,t,n,r){var i=e.__style;if(C||i!==t){var a=Rr(t,r);(!C||a!==e.getAttribute(`style`))&&(a==null?e.removeAttribute(`style`):e.style.cssText=a),e.__style=t}else r&&(Array.isArray(r)?(zr(e,n?.[0],r[0]),zr(e,n?.[1],r[1],`important`)):zr(e,n,r));return r}var Vr=Symbol(`is custom element`),Hr=Symbol(`is html`),Ur=ge?`link`:`LINK`;function Wr(e,t,n,r){var i=Gr(e);C&&(i[t]=e.getAttribute(t),t===`src`||t===`srcset`||t===`href`&&e.nodeName===Ur)||i[t]!==(i[t]=n)&&(t===`loading`&&(e[me]=n),n==null?e.removeAttribute(t):typeof n!=`string`&&qr(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function $(e,t,n){var r=B,i=H;let a=C;C&&w(!1),V(null),U(null);try{t!==`style`&&(Kr.has(e.getAttribute(`is`)||e.nodeName)||!customElements||customElements.get(e.getAttribute(`is`)||e.nodeName.toLowerCase())?qr(e).includes(t):n&&typeof n==`object`)?e[t]=n:Wr(e,t,n==null?n:String(n))}finally{V(r),U(i),a&&w(!0)}}function Gr(e){return e.__attributes??={[Vr]:e.nodeName.includes(`-`),[Hr]:e.namespaceURI===r}}var Kr=new Map;function qr(e){var t=e.getAttribute(`is`)||e.nodeName,n=Kr.get(t);if(n)return n;Kr.set(t,n=[]);for(var r,i=e,a=Element.prototype;a!==i;){for(var o in r=d(i),r)r[o].set&&n.push(o);i=m(i)}return n}function Jr(e,t,n,r){var i=!ze||(n&2)!=0,a=(n&8)!=0,o=(n&16)!=0,s=r,c=!0,l=()=>(c&&(c=!1,s=o?Qn(r):r),s);let d;if(a){var f=fe in e||pe in e;d=u(e,t)?.set??(f&&t in e?n=>e[t]=n:void 0)}var p,m=!1;a?[p,m]=nt(()=>e[t]):p=e[t],p===void 0&&r!==void 0&&(p=l(),d&&(i&&we(t),d(p)));var h=i?()=>{var n=e[t];return n===void 0?l():(c=!0,n)}:()=>{var n=e[t];return n!==void 0&&(s=void 0),n===void 0?s:n};if(i&&!(n&4))return h;if(d){var g=e.$$legacy;return(function(e,t){return arguments.length>0?((!i||!t||g||m)&&d(t?h():e),e):h()})}var _=!1,v=(n&1?kt:Mt)(()=>(_=!1,h()));a&&J(v);var y=H;return(function(e,t){if(arguments.length>0){let n=t?J(v):i&&a?Yt(e):e;return M(v,n),_=!0,s!==void 0&&(s=n),e}return Pn&&_||y.f&16384?v.v:J(v)})}function Yr(e){return new Xr(e)}var Xr=class{#e;#t;constructor(e){var t=new Map,n=(e,n)=>{var r=Wt(n,!1,!1);return t.set(e,r),r};let r=new Proxy({...e.props||{},$$events:{}},{get(e,r){return J(t.get(r)??n(r,Reflect.get(e,r)))},has(e,r){return r===pe?!0:(J(t.get(r)??n(r,Reflect.get(e,r))),Reflect.has(e,r))},set(e,r,i){return M(t.get(r)??n(r,i),i),Reflect.set(e,r,i)}});this.#t=(e.hydrate?gr:hr)(e.component,{target:e.target,anchor:e.anchor,props:r,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),!Re&&(!e?.props?.$$host||e.sync===!1)&&ft(),this.#e=r.$$events;for(let e of Object.keys(this.#t))e===`$set`||e===`$destroy`||e===`$on`||l(this,e,{get(){return this.#t[e]},set(t){this.#t[e]=t},enumerable:!0});this.#t.$set=e=>{Object.assign(r,e)},this.#t.$destroy=()=>{br(this.#t)}}$set(e){this.#t.$set(e)}$on(e,t){this.#e[e]=this.#e[e]||[];let n=(...e)=>t.call(this,...e);return this.#e[e].push(n),()=>{this.#e[e]=this.#e[e].filter(e=>e!==n)}}$destroy(){this.#t.$destroy()}},Zr;typeof HTMLElement==`function`&&(Zr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){let e=this.$$l_u.get(t);e&&(e(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){if(await Promise.resolve(),!this.$$cn||this.$$c)return;function e(e){return t=>{let n=on(`slot`);e!==`default`&&(n.name=e),X(t,n)}}let t={},n=$r(this);for(let r of this.$$s)r in n&&(r===`default`&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(let e of this.attributes){let t=this.$$g_p(e.name);t in this.$$d||(this.$$d[t]=Qr(t,e.value,this.$$p_d,`toProp`))}for(let e in this.$$p_d)!(e in this.$$d)&&this[e]!==void 0&&(this.$$d[e]=this[e],delete this[e]);this.$$c=Yr({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=gn(()=>{bn(()=>{this.$$r=!0;for(let e of c(this.$$c)){if(!this.$$p_d[e]?.reflect)continue;this.$$d[e]=this.$$c[e];let t=Qr(e,this.$$d[e],this.$$p_d,`toAttribute`);t==null?this.removeAttribute(this.$$p_d[e].attribute||e):this.setAttribute(this.$$p_d[e].attribute||e,t)}this.$$r=!1})});for(let e in this.$$l)for(let t of this.$$l[e]){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Qr(e,n,this.$$p_d,`toProp`),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return c(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Qr(e,t,n,r){let i=n[e]?.type;if(t=i===`Boolean`&&typeof t!=`boolean`?t!=null:t,!r||!n[e])return t;if(r===`toAttribute`)switch(i){case`Object`:case`Array`:return t==null?null:JSON.stringify(t);case`Boolean`:return t?``:null;case`Number`:return t??null;default:return t}else switch(i){case`Object`:case`Array`:return t&&JSON.parse(t);case`Boolean`:return t;case`Number`:return t==null?t:+t;default:return t}}function $r(e){let t={};return e.childNodes.forEach(e=>{t[e.slot||`default`]=!0}),t}function ei(e,t,n,r,i,a){let o=class extends Zr{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return c(t).map(e=>(t[e].attribute||e).toLowerCase())}};return c(t).forEach(e=>{l(o.prototype,e,{get(){return this.$$c&&e in this.$$c?this.$$c[e]:this.$$d[e]},set(n){n=Qr(e,n,t),this.$$d[e]=n;var r=this.$$c;r&&(u(r,e)?.get?r[e]=n:r.$set({[e]:n}))}})}),r.forEach(e=>{l(o.prototype,e,{get(){return this.$$c?.[e]}})}),a&&(o=a(o)),e.element=o,o}var ti={name:`@htmlbricks/svelte-webcomponent`,private:!0,version:`0.71.25`,type:`module`,scripts:{dev:`vite --open`,build:`vite build`,"publish:wc":`node publish.ts`,"build:wc":`node build.ts`,"watch:wc":`node watch.ts`,preview:`vite preview`,check:`svelte-check --tsconfig ./tsconfig.app.json && tsc -p tsconfig.node.json`,"release:patch":`npm version patch && git push && git push --tags && npm run build:wc && npm run publish:wc`,"release:minor":`npm version minor && git push && git push --tags && npm run build:wc && npm run publish:wc`,"release:major":`npm version major && git push && git push --tags && npm run build:wc && npm run publish:wc`},devDependencies:{"@google-pay/button-element":`^3.2.1`,"@paypal/paypal-js":`^9.5.0`,"@sveltejs/vite-plugin-svelte":`^7.0.0`,"@tsconfig/svelte":`^5.0.8`,"@types/debounce":`^1.2.4`,"@types/node":`^24.10.1`,"@types/rgb-hex":`^3.0.0`,"chart.js":`^4.5.1`,"date-holidays":`^3.26.12`,dayjs:`^1.11.20`,"hls.js":`^1.6.15`,"html5-joystick-new":`^0.0.6`,ol:`^10.8.0`,"perfect-freehand":`^1.2.3`,prettier:`^3.8.1`,"rollup-plugin-terser":`^7.0.2`,"sass-embedded":`^1.98.0`,"simple-serverless-auth-client":`^0.0.6`,"simple-webrtc-element":`^0.0.1`,"simple-webrtc-element-whep":`^0.2.3`,"style-to-object":`^1.0.14`,svelte:`^5.55.0`,"svelte-check":`^4.4.5`,terser:`^5.46.1`,"ts-json-schema-generator":`^2.9.0`,typescript:`^6.0.2`,vite:`^8.0.3`},dependencies:{"@floating-ui/dom":`^1.7.6`,"@popperjs/core":`^2.11.8`,debounce:`^3.0.0`,"html-colors":`^0.0.6`,marked:`^17.0.5`,raphael:`^2.3.0`,"rgb-hex":`^4.1.0`,"wc-js-utils":`^0.5.4`}};function ni(e){let t=e?.repoName.split(`/`)?.[1]||e?.repoName;if(!t)throw Error(`wrong componentPath `+e?.repoName);if(!e?.version)throw Error(`wrong version `+e?.version);let n=e?.iifePath||`main.iife.js`;if(!document.getElementById(t+`-script`)&&!customElements?.get?.(t)&&!window?.customElements?.get?.(t))try{let r=document.createElement(`script`);if(r.id=t+`-script`,r.src=`https://cdn.jsdelivr.net/npm/${e.repoName}@${e.version}/${n}`,e?.local)r.src=`${e.local}`;else if(location.href.includes(`localhost:6006`)){let e=t.split(`-`)[0];r.src=`http://localhost:6006/webcomponents/${t.replace(e+`-`,``)}/${n}`}document.head.appendChild(r)}catch(e){console.warn(e)}}var ri=Y(`<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-1tntk73"/>`),ii=Y(`<div class="expand_from_small_footer is-clickable svelte-1tntk73"><i class="bi bi-arrow-up-square-fill svelte-1tntk73"></i></div>`),ai=Y(`<span class="svelte-1tntk73"><img style="height: 100%;" alt="" class="svelte-1tntk73"/></span>`),oi=Y(`<div style="max-height:40px;height:40px;margin:10px auto 5px auto" class="svelte-1tntk73"><!> </div>`),si=Y(`<div class="container is-fluid svelte-1tntk73"><div class="container svelte-1tntk73" style="position:relative"><!> <div id="footer_small_content" class="svelte-1tntk73"><!></div></div></div>`),ci=Y(`<div class="container is-fluid hb-footer-expanded-expand-bar svelte-1tntk73"><div class="container svelte-1tntk73" style="position:relative"><div class="expand_from_small_footer is-clickable mt-2 svelte-1tntk73"><i class="bi bi-arrow-down-square-fill svelte-1tntk73"></i></div></div></div>`),li=Y(`<span class="svelte-1tntk73"><img style="height: 40px" alt="" class="svelte-1tntk73"/></span>`),ui=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),di=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),fi=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),pi=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),mi=Y(`<div class="column hb-footer-section px-5 py-5 svelte-1tntk73"><p class="title is-6 mb-5 svelte-1tntk73">Contatti</p> <ul class="hb-footer-list svelte-1tntk73"><!> <!> <!> <!></ul></div>`),hi=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),gi=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),_i=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),vi=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),yi=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),bi=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),xi=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),Si=Y(`<div class="column hb-footer-section px-5 py-5 svelte-1tntk73"><p class="title is-6 mb-5 svelte-1tntk73">Social</p> <ul class="hb-footer-list svelte-1tntk73"><!> <!> <!> <!> <!> <!> <!></ul></div>`),Ci=Y(`<li class="svelte-1tntk73"><button type="button" part="column-cell-button-content" class="button is-ghost is-small hb-footer-cell-btn svelte-1tntk73"> </button></li>`),wi=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),Ti=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),Ei=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),Di=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),Oi=Y(`<div class="column hb-footer-section px-5 py-5 svelte-1tntk73"><p class="title is-6 mb-5 svelte-1tntk73"> </p> <ul class="hb-footer-list svelte-1tntk73"></ul></div>`),ki=Y(`<div class="columns is-multiline hb-footer-columns svelte-1tntk73"><div class="column hb-footer-section px-5 py-5 svelte-1tntk73"><div class="columns is-mobile is-multiline svelte-1tntk73"><div class="column is-12 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>`),Ai=Y(`<a target="_blank" rel="noopener noreferrer" class="is-underlined has-text-link svelte-1tntk73"> </a>`),ji=Y(`<button type="button" class="button is-ghost is-small p-0 svelte-1tntk73"> </button>`),Mi=Y(`<div class="column is-narrow has-text-centered is-size-7 hb-footer-policy svelte-1tntk73"><!></div>`),Ni=Y(`<div class="column is-12 has-text-centered hb-footer-bottom svelte-1tntk73"> </div>`),Pi=Y(`<!> <div class="container svelte-1tntk73"><!> <!> <div class="columns is-multiline is-centered my-5 svelte-1tntk73" style="margin-bottom:0px;"><!></div> <div class="columns is-multiline is-centered svelte-1tntk73" style="margin-bottom:0px;"><!></div></div>`,1),Fi=Y(`<footer class="svelte-1tntk73"><!></footer>`),Ii={hash:`svelte-1tntk73`,code:`@charset "UTF-8";
3
+ \r\f\xA0\v`];function Fr(e,t,n){var r=e==null?``:``+e;if(t&&(r=r?r+` `+t:t),n){for(var i of Object.keys(n))if(n[i])r=r?r+` `+i:i;else if(r.length)for(var a=i.length,o=0;(o=r.indexOf(i,o))>=0;){var s=o+a;(o===0||Pr.includes(r[o-1]))&&(s===r.length||Pr.includes(r[s]))?r=(o===0?``:r.substring(0,o))+r.substring(s+1):o=s}}return r===``?null:r}function Ir(e,t=!1){var n=t?` !important;`:`;`,r=``;for(var i of Object.keys(e)){var a=e[i];a!=null&&a!==``&&(r+=` `+i+`: `+a+n)}return r}function Lr(e){return e[0]!==`-`||e[1]!==`-`?e.toLowerCase():e}function Rr(e,t){if(t){var n=``,r,i;if(Array.isArray(t)?(r=t[0],i=t[1]):r=t,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,``).trim();var a=!1,o=0,s=!1,c=[];r&&c.push(...Object.keys(r).map(Lr)),i&&c.push(...Object.keys(i).map(Lr));var l=0,u=-1;let t=e.length;for(var d=0;d<t;d++){var f=e[d];if(s?f===`/`&&e[d-1]===`*`&&(s=!1):a?a===f&&(a=!1):f===`/`&&e[d+1]===`*`?s=!0:f===`"`||f===`'`?a=f:f===`(`?o++:f===`)`&&o--,!s&&a===!1&&o===0){if(f===`:`&&u===-1)u=d;else if(f===`;`||d===t-1){if(u!==-1){var p=Lr(e.substring(l,u).trim());if(!c.includes(p)){f!==`;`&&d++;var m=e.substring(l,d).trim();n+=` `+m+`;`}}l=d+1,u=-1}}}}return r&&(n+=Ir(r)),i&&(n+=Ir(i,!0)),n=n.trim(),n===``?null:n}return e==null?null:String(e)}function Q(e,t,n,r,i,a){var o=e.__className;if(C||o!==n||o===void 0){var s=Fr(n,r,a);(!C||s!==e.getAttribute(`class`))&&(s==null?e.removeAttribute(`class`):t?e.className=s:e.setAttribute(`class`,s)),e.__className=n}else if(a&&i!==a)for(var c in a){var l=!!a[c];(i==null||l!==!!i[c])&&e.classList.toggle(c,l)}return a}function zr(e,t={},n,r){for(var i in n){var a=n[i];t[i]!==a&&(n[i]==null?e.style.removeProperty(i):e.style.setProperty(i,a,r))}}function Br(e,t,n,r){var i=e.__style;if(C||i!==t){var a=Rr(t,r);(!C||a!==e.getAttribute(`style`))&&(a==null?e.removeAttribute(`style`):e.style.cssText=a),e.__style=t}else r&&(Array.isArray(r)?(zr(e,n?.[0],r[0]),zr(e,n?.[1],r[1],`important`)):zr(e,n,r));return r}var Vr=Symbol(`is custom element`),Hr=Symbol(`is html`),Ur=ge?`link`:`LINK`;function Wr(e,t,n,r){var i=Gr(e);C&&(i[t]=e.getAttribute(t),t===`src`||t===`srcset`||t===`href`&&e.nodeName===Ur)||i[t]!==(i[t]=n)&&(t===`loading`&&(e[me]=n),n==null?e.removeAttribute(t):typeof n!=`string`&&qr(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function $(e,t,n){var r=B,i=H;let a=C;C&&w(!1),V(null),U(null);try{t!==`style`&&(Kr.has(e.getAttribute(`is`)||e.nodeName)||!customElements||customElements.get(e.getAttribute(`is`)||e.nodeName.toLowerCase())?qr(e).includes(t):n&&typeof n==`object`)?e[t]=n:Wr(e,t,n==null?n:String(n))}finally{V(r),U(i),a&&w(!0)}}function Gr(e){return e.__attributes??={[Vr]:e.nodeName.includes(`-`),[Hr]:e.namespaceURI===r}}var Kr=new Map;function qr(e){var t=e.getAttribute(`is`)||e.nodeName,n=Kr.get(t);if(n)return n;Kr.set(t,n=[]);for(var r,i=e,a=Element.prototype;a!==i;){for(var o in r=d(i),r)r[o].set&&n.push(o);i=m(i)}return n}function Jr(e,t,n,r){var i=!ze||(n&2)!=0,a=(n&8)!=0,o=(n&16)!=0,s=r,c=!0,l=()=>(c&&(c=!1,s=o?Qn(r):r),s);let d;if(a){var f=fe in e||pe in e;d=u(e,t)?.set??(f&&t in e?n=>e[t]=n:void 0)}var p,m=!1;a?[p,m]=nt(()=>e[t]):p=e[t],p===void 0&&r!==void 0&&(p=l(),d&&(i&&we(t),d(p)));var h=i?()=>{var n=e[t];return n===void 0?l():(c=!0,n)}:()=>{var n=e[t];return n!==void 0&&(s=void 0),n===void 0?s:n};if(i&&!(n&4))return h;if(d){var g=e.$$legacy;return(function(e,t){return arguments.length>0?((!i||!t||g||m)&&d(t?h():e),e):h()})}var _=!1,v=(n&1?kt:Mt)(()=>(_=!1,h()));a&&J(v);var y=H;return(function(e,t){if(arguments.length>0){let n=t?J(v):i&&a?Yt(e):e;return M(v,n),_=!0,s!==void 0&&(s=n),e}return Pn&&_||y.f&16384?v.v:J(v)})}function Yr(e){return new Xr(e)}var Xr=class{#e;#t;constructor(e){var t=new Map,n=(e,n)=>{var r=Wt(n,!1,!1);return t.set(e,r),r};let r=new Proxy({...e.props||{},$$events:{}},{get(e,r){return J(t.get(r)??n(r,Reflect.get(e,r)))},has(e,r){return r===pe?!0:(J(t.get(r)??n(r,Reflect.get(e,r))),Reflect.has(e,r))},set(e,r,i){return M(t.get(r)??n(r,i),i),Reflect.set(e,r,i)}});this.#t=(e.hydrate?gr:hr)(e.component,{target:e.target,anchor:e.anchor,props:r,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),!Re&&(!e?.props?.$$host||e.sync===!1)&&ft(),this.#e=r.$$events;for(let e of Object.keys(this.#t))e===`$set`||e===`$destroy`||e===`$on`||l(this,e,{get(){return this.#t[e]},set(t){this.#t[e]=t},enumerable:!0});this.#t.$set=e=>{Object.assign(r,e)},this.#t.$destroy=()=>{br(this.#t)}}$set(e){this.#t.$set(e)}$on(e,t){this.#e[e]=this.#e[e]||[];let n=(...e)=>t.call(this,...e);return this.#e[e].push(n),()=>{this.#e[e]=this.#e[e].filter(e=>e!==n)}}$destroy(){this.#t.$destroy()}},Zr;typeof HTMLElement==`function`&&(Zr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;$$shadowRoot=null;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&(this.$$shadowRoot=this.attachShadow(n))}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){let e=this.$$l_u.get(t);e&&(e(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){if(await Promise.resolve(),!this.$$cn||this.$$c)return;function e(e){return t=>{let n=on(`slot`);e!==`default`&&(n.name=e),X(t,n)}}let t={},n=$r(this);for(let r of this.$$s)r in n&&(r===`default`&&!this.$$d.children?(this.$$d.children=e(r),t.default=!0):t[r]=e(r));for(let e of this.attributes){let t=this.$$g_p(e.name);t in this.$$d||(this.$$d[t]=Qr(t,e.value,this.$$p_d,`toProp`))}for(let e in this.$$p_d)!(e in this.$$d)&&this[e]!==void 0&&(this.$$d[e]=this[e],delete this[e]);this.$$c=Yr({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=gn(()=>{bn(()=>{this.$$r=!0;for(let e of c(this.$$c)){if(!this.$$p_d[e]?.reflect)continue;this.$$d[e]=this.$$c[e];let t=Qr(e,this.$$d[e],this.$$p_d,`toAttribute`);t==null?this.removeAttribute(this.$$p_d[e].attribute||e):this.setAttribute(this.$$p_d[e].attribute||e,t)}this.$$r=!1})});for(let e in this.$$l)for(let t of this.$$l[e]){let n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Qr(e,n,this.$$p_d,`toProp`),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return c(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Qr(e,t,n,r){let i=n[e]?.type;if(t=i===`Boolean`&&typeof t!=`boolean`?t!=null:t,!r||!n[e])return t;if(r===`toAttribute`)switch(i){case`Object`:case`Array`:return t==null?null:JSON.stringify(t);case`Boolean`:return t?``:null;case`Number`:return t??null;default:return t}else switch(i){case`Object`:case`Array`:return t&&JSON.parse(t);case`Boolean`:return t;case`Number`:return t==null?t:+t;default:return t}}function $r(e){let t={};return e.childNodes.forEach(e=>{t[e.slot||`default`]=!0}),t}function ei(e,t,n,r,i,a){let o=class extends Zr{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return c(t).map(e=>(t[e].attribute||e).toLowerCase())}};return c(t).forEach(e=>{l(o.prototype,e,{get(){return this.$$c&&e in this.$$c?this.$$c[e]:this.$$d[e]},set(n){n=Qr(e,n,t),this.$$d[e]=n;var r=this.$$c;r&&(u(r,e)?.get?r[e]=n:r.$set({[e]:n}))}})}),r.forEach(e=>{l(o.prototype,e,{get(){return this.$$c?.[e]}})}),a&&(o=a(o)),e.element=o,o}var ti={name:`@htmlbricks/svelte-webcomponent`,private:!0,version:`0.71.26`,type:`module`,scripts:{dev:`vite --open`,build:`vite build`,"publish:wc":`node publish.ts`,"build:wc":`node build.ts`,"watch:wc":`node watch.ts`,preview:`vite preview`,check:`svelte-check --tsconfig ./tsconfig.app.json && tsc -p tsconfig.node.json`,"release:patch":`npm version patch && git push && git push --tags && npm run build:wc && npm run publish:wc`,"release:minor":`npm version minor && git push && git push --tags && npm run build:wc && npm run publish:wc`,"release:major":`npm version major && git push && git push --tags && npm run build:wc && npm run publish:wc`},devDependencies:{"@google-pay/button-element":`^3.2.1`,"@paypal/paypal-js":`^9.5.0`,"@sveltejs/vite-plugin-svelte":`^7.0.0`,"@tsconfig/svelte":`^5.0.8`,"@types/debounce":`^1.2.4`,"@types/node":`^24.10.1`,"@types/rgb-hex":`^3.0.0`,"chart.js":`^4.5.1`,"date-holidays":`^3.26.12`,dayjs:`^1.11.20`,"hls.js":`^1.6.15`,"html5-joystick-new":`^0.0.6`,ol:`^10.8.0`,"perfect-freehand":`^1.2.3`,prettier:`^3.8.1`,"rollup-plugin-terser":`^7.0.2`,"sass-embedded":`^1.98.0`,"simple-serverless-auth-client":`^0.0.6`,"simple-webrtc-element":`^0.0.1`,"simple-webrtc-element-whep":`^0.2.3`,"style-to-object":`^1.0.14`,svelte:`^5.55.0`,"svelte-check":`^4.4.5`,terser:`^5.46.1`,"ts-json-schema-generator":`^2.9.0`,typescript:`^6.0.2`,vite:`^8.0.3`},dependencies:{"@floating-ui/dom":`^1.7.6`,"@popperjs/core":`^2.11.8`,debounce:`^3.0.0`,"html-colors":`^0.0.6`,marked:`^17.0.5`,raphael:`^2.3.0`,"rgb-hex":`^4.1.0`,"wc-js-utils":`^0.5.4`}};function ni(e){let t=e?.repoName.split(`/`)?.[1]||e?.repoName;if(!t)throw Error(`wrong componentPath `+e?.repoName);if(!e?.version)throw Error(`wrong version `+e?.version);let n=e?.iifePath||`main.iife.js`;if(!document.getElementById(t+`-script`)&&!customElements?.get?.(t)&&!window?.customElements?.get?.(t))try{let r=document.createElement(`script`);if(r.id=t+`-script`,r.src=`https://cdn.jsdelivr.net/npm/${e.repoName}@${e.version}/${n}`,e?.local)r.src=`${e.local}`;else if(location.href.includes(`localhost:6006`)){let e=t.split(`-`)[0];r.src=`http://localhost:6006/webcomponents/${t.replace(e+`-`,``)}/${n}`}document.head.appendChild(r)}catch(e){console.warn(e)}}var ri=Y(`<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-1tntk73"/>`),ii=Y(`<div class="expand_from_small_footer is-clickable svelte-1tntk73"><i class="bi bi-arrow-up-square-fill svelte-1tntk73"></i></div>`),ai=Y(`<span class="svelte-1tntk73"><img style="height: 100%;" alt="" class="svelte-1tntk73"/></span>`),oi=Y(`<div style="max-height:40px;height:40px;margin:10px auto 5px auto" class="svelte-1tntk73"><!> </div>`),si=Y(`<div class="container is-fluid svelte-1tntk73"><div class="container svelte-1tntk73" style="position:relative"><!> <div id="footer_small_content" class="svelte-1tntk73"><!></div></div></div>`),ci=Y(`<div class="container is-fluid hb-footer-expanded-expand-bar svelte-1tntk73"><div class="container svelte-1tntk73" style="position:relative"><div class="expand_from_small_footer is-clickable mt-2 svelte-1tntk73"><i class="bi bi-arrow-down-square-fill svelte-1tntk73"></i></div></div></div>`),li=Y(`<span class="svelte-1tntk73"><img style="height: 40px" alt="" class="svelte-1tntk73"/></span>`),ui=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),di=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),fi=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),pi=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),mi=Y(`<div class="column hb-footer-section px-5 py-5 svelte-1tntk73"><p class="title is-6 mb-5 svelte-1tntk73">Contatti</p> <ul class="hb-footer-list svelte-1tntk73"><!> <!> <!> <!></ul></div>`),hi=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),gi=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),_i=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),vi=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),yi=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),bi=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),xi=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),Si=Y(`<div class="column hb-footer-section px-5 py-5 svelte-1tntk73"><p class="title is-6 mb-5 svelte-1tntk73">Social</p> <ul class="hb-footer-list svelte-1tntk73"><!> <!> <!> <!> <!> <!> <!></ul></div>`),Ci=Y(`<li class="svelte-1tntk73"><button type="button" part="column-cell-button-content" class="button is-ghost is-small hb-footer-cell-btn svelte-1tntk73"> </button></li>`),wi=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),Ti=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),Ei=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),Di=Y(`<li class="svelte-1tntk73"><hb-contact-item></hb-contact-item></li>`,2),Oi=Y(`<div class="column hb-footer-section px-5 py-5 svelte-1tntk73"><p class="title is-6 mb-5 svelte-1tntk73"> </p> <ul class="hb-footer-list svelte-1tntk73"></ul></div>`),ki=Y(`<div class="columns is-multiline hb-footer-columns svelte-1tntk73"><div class="column hb-footer-section px-5 py-5 svelte-1tntk73"><div class="columns is-mobile is-multiline svelte-1tntk73"><div class="column is-12 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>`),Ai=Y(`<a target="_blank" rel="noopener noreferrer" class="is-underlined has-text-link svelte-1tntk73"> </a>`),ji=Y(`<button type="button" class="button is-ghost is-small p-0 svelte-1tntk73"> </button>`),Mi=Y(`<div class="column is-narrow has-text-centered is-size-7 hb-footer-policy svelte-1tntk73"><!></div>`),Ni=Y(`<div class="column is-12 has-text-centered hb-footer-bottom svelte-1tntk73"> </div>`),Pi=Y(`<!> <div class="container svelte-1tntk73"><!> <!> <div class="columns is-multiline is-centered my-5 svelte-1tntk73" style="margin-bottom:0px;"><!></div> <div class="columns is-multiline is-centered svelte-1tntk73" style="margin-bottom:0px;"><!></div></div>`,1),Fi=Y(`<footer class="svelte-1tntk73"><!></footer>`),Ii={hash:`svelte-1tntk73`,code:`@charset "UTF-8";
4
4
  @import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");
5
5
  /*!
6
6
  * Bulma 1.x (Sass) for hb-footer — container, columns, titles, buttons, links.