@htmlbricks/hb-layout-mobile 0.66.1 → 0.66.2

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,4 +1,4 @@
1
1
  (function(qt){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const lr=1,or=4,ar=8,fr=16,ur=1,cr=2,Ht="[",Yt="[!",Ut="[?",Vt="]",Ae={},D=Symbol(),zt="http://www.w3.org/1999/xhtml",dr=!1;var hr=Array.isArray,vr=Array.prototype.indexOf,Ce=Array.prototype.includes,_r=Array.from,Qe=Object.keys,et=Object.defineProperty,ye=Object.getOwnPropertyDescriptor,pr=Object.getOwnPropertyDescriptors,gr=Object.prototype,mr=Array.prototype,Wt=Object.getPrototypeOf,Jt=Object.isExtensible;const wr=()=>{};function br(e){for(var t=0;t<e.length;t++)e[t]()}function Gt(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const C=2,Oe=4,tt=8,Kt=1<<24,ue=16,Z=32,ce=64,pt=128,q=512,x=1024,P=2048,Q=4096,ee=8192,W=16384,de=32768,Xt=1<<25,Re=65536,Zt=1<<17,yr=1<<18,$e=1<<19,$r=1<<20,Ee=65536,gt=1<<21,mt=1<<22,he=1<<23,nt=Symbol("$state"),Qt=Symbol("legacy props"),Er=Symbol(""),ie=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},kr=!!globalThis.document?.contentType&&globalThis.document.contentType.includes("xml"),rt=3,it=8;function Tr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Sr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Nr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function xr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Ar(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Cr(){throw new Error("https://svelte.dev/e/hydration_failed")}function Or(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function Rr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Dr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Lr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Pr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function st(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Mr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let b=!1;function ve(e){b=e}let w;function J(e){if(e===null)throw st(),Ae;return w=e}function lt(){return J(ae(w))}function _e(e){if(b){if(ae(w)!==null)throw st(),Ae;w=e}}function Ir(e=1){if(b){for(var t=e,n=w;t--;)n=ae(n);w=n}}function en(e=!0){for(var t=0,n=w;;){if(n.nodeType===it){var r=n.data;if(r===Vt){if(t===0)return n;t-=1}else(r===Ht||r===Yt||r[0]==="["&&!isNaN(Number(r.slice(1))))&&(t+=1)}var i=ae(n);e&&n.remove(),n=i}}function Fr(e){if(!e||e.nodeType!==it)throw st(),Ae;return e.data}function tn(e){return e===this.v}function jr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function nn(e){return!jr(e,this.v)}let Br=!1,H=null;function De(e){H=e}function rn(e,t=!1,n){H={p:H,i:!1,c:null,e:null,s:e,x:null,r:g,l:null}}function sn(e){var t=H,n=t.e;if(n!==null){t.e=null;for(var r of n)Nn(r)}return e!==void 0&&(t.x=e),t.i=!0,H=t.p,e??{}}function ln(){return!0}let ke=[];function on(){var e=ke;ke=[],br(e)}function Te(e){if(ke.length===0&&!He){var t=ke;queueMicrotask(()=>{t===ke&&on()})}ke.push(e)}function qr(){for(;ke.length>0;)on()}function an(e){var t=g;if(t===null)return p.f|=he,e;if((t.f&de)===0&&(t.f&Oe)===0)throw e;pe(e,t)}function pe(e,t){for(;t!==null;){if((t.f&pt)!==0){if((t.f&de)===0)throw e;try{t.b.error(e);return}catch(n){e=n}}t=t.parent}throw e}const Hr=-7169;function S(e,t){e.f=e.f&Hr|t}function wt(e){(e.f&q)!==0||e.deps===null?S(e,x):S(e,Q)}function fn(e){if(e!==null)for(const t of e)(t.f&C)===0||(t.f&Ee)===0||(t.f^=Ee,fn(t.deps))}function un(e,t,n){(e.f&P)!==0?t.add(e):(e.f&Q)!==0&&n.add(e),fn(e.deps),S(e,x)}let ot=!1;function Yr(e){var t=ot;try{return ot=!1,[e(),ot]}finally{ot=t}}const ge=new Set;let $=null,G=null,bt=null,He=!1,yt=!1,Le=null,at=null;var cn=0;let Ur=1;class se{id=Ur++;current=new Map;previous=new Map;#e=new Set;#n=new Set;#t=new Map;#i=new Map;#s=null;#r=[];#l=new Set;#o=new Set;#a=new Map;is_fork=!1;#c=!1;#f=new Set;#d(){return this.is_fork||this.#i.size>0}#v(){for(const r of this.#f)for(const i of r.#i.keys()){for(var t=!1,n=i;n.parent!==null;){if(this.#a.has(n)){t=!0;break}n=n.parent}if(!t)return!0}return!1}skip_effect(t){this.#a.has(t)||this.#a.set(t,{d:[],m:[]})}unskip_effect(t){var n=this.#a.get(t);if(n){this.#a.delete(t);for(var r of n.d)S(r,P),this.schedule(r);for(r of n.m)S(r,Q),this.schedule(r)}}#h(){if(cn++>1e3&&(ge.delete(this),Vr()),!this.#d()){for(const o of this.#l)this.#o.delete(o),S(o,P),this.schedule(o);for(const o of this.#o)S(o,Q),this.schedule(o)}const t=this.#r;this.#r=[],this.apply();var n=Le=[],r=[],i=at=[];for(const o of t)try{this.#u(o,n,r)}catch(f){throw pn(o),f}if($=null,i.length>0){var s=se.ensure();for(const o of i)s.schedule(o)}if(Le=null,at=null,this.#d()||this.#v()){this.#_(r),this.#_(n);for(const[o,f]of this.#a)_n(o,f)}else{this.#t.size===0&&ge.delete(this),this.#l.clear(),this.#o.clear();for(const o of this.#e)o(this);this.#e.clear(),dn(r),dn(n),this.#s?.resolve()}var l=$;if(this.#r.length>0){const o=l??=this;o.#r.push(...this.#r.filter(f=>!o.#r.includes(f)))}l!==null&&(ge.add(l),l.#h()),ge.has(this)||this.#p()}#u(t,n,r){t.f^=x;for(var i=t.first;i!==null;){var s=i.f,l=(s&(Z|ce))!==0,o=l&&(s&x)!==0,f=o||(s&ee)!==0||this.#a.has(i);if(!f&&i.fn!==null){l?i.f^=x:(s&Oe)!==0?n.push(i):ze(i)&&((s&ue)!==0&&this.#o.add(i),Fe(i));var a=i.first;if(a!==null){i=a;continue}}for(;i!==null;){var u=i.next;if(u!==null){i=u;break}i=i.parent}}}#_(t){for(var n=0;n<t.length;n+=1)un(t[n],this.#l,this.#o)}capture(t,n,r=!1){n!==D&&!this.previous.has(t)&&this.previous.set(t,n),(t.f&he)===0&&(this.current.set(t,[t.v,r]),G?.set(t,t.v))}activate(){$=this}deactivate(){$=null,G=null}flush(){try{yt=!0,$=this,this.#h()}finally{cn=0,bt=null,Le=null,at=null,yt=!1,$=null,G=null,me.clear()}}discard(){for(const t of this.#n)t(this);this.#n.clear(),ge.delete(this)}#p(){for(const a of ge){var t=a.id<this.id,n=[];for(const[u,[h,c]]of this.current){if(a.current.has(u)){var r=a.current.get(u)[0];if(t&&h!==r)a.current.set(u,[h,c]);else continue}n.push(u)}var i=[...a.current.keys()].filter(u=>!this.current.has(u));if(i.length===0)t&&a.discard();else if(n.length>0){a.activate();var s=new Set,l=new Map;for(var o of n)hn(o,i,s,l);if(a.#r.length>0){a.apply();for(var f of a.#r)a.#u(f,[],[]);a.#r=[]}a.deactivate()}}for(const a of ge)a.#f.has(this)&&(a.#f.delete(this),a.#f.size===0&&!a.#d()&&(a.activate(),a.#h()))}increment(t,n){let r=this.#t.get(n)??0;if(this.#t.set(n,r+1),t){let i=this.#i.get(n)??0;this.#i.set(n,i+1)}}decrement(t,n,r){let i=this.#t.get(n)??0;if(i===1?this.#t.delete(n):this.#t.set(n,i-1),t){let s=this.#i.get(n)??0;s===1?this.#i.delete(n):this.#i.set(n,s-1)}this.#c||r||(this.#c=!0,Te(()=>{this.#c=!1,this.flush()}))}transfer_effects(t,n){for(const r of t)this.#l.add(r);for(const r of n)this.#o.add(r);t.clear(),n.clear()}oncommit(t){this.#e.add(t)}ondiscard(t){this.#n.add(t)}settled(){return(this.#s??=Gt()).promise}static ensure(){if($===null){const t=$=new se;yt||(ge.add($),He||Te(()=>{$===t&&t.flush()}))}return $}apply(){{G=null;return}}schedule(t){if(bt=t,t.b?.is_pending&&(t.f&(Oe|tt|Kt))!==0&&(t.f&de)===0){t.b.defer_effect(t);return}for(var n=t;n.parent!==null;){n=n.parent;var r=n.f;if(Le!==null&&n===g&&(p===null||(p.f&C)===0))return;if((r&(ce|Z))!==0){if((r&x)===0)return;n.f^=x}}this.#r.push(n)}}function A(e){var t=He;He=!0;try{for(var n;;){if(qr(),$===null)return n;$.flush()}}finally{He=t}}function Vr(){try{Ar()}catch(e){pe(e,bt)}}let le=null;function dn(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(W|ee))===0&&ze(r)&&(le=new Set,Fe(r),r.deps===null&&r.first===null&&r.nodes===null&&r.teardown===null&&r.ac===null&&On(r),le?.size>0)){me.clear();for(const i of le){if((i.f&(W|ee))!==0)continue;const s=[i];let l=i.parent;for(;l!==null;)le.has(l)&&(le.delete(l),s.push(l)),l=l.parent;for(let o=s.length-1;o>=0;o--){const f=s[o];(f.f&(W|ee))===0&&Fe(f)}}le.clear()}}le=null}}function hn(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;(s&C)!==0?hn(i,t,n,r):(s&(mt|ue))!==0&&(s&P)===0&&vn(i,t,r)&&(S(i,P),$t(i))}}function vn(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const i of e.deps){if(Ce.call(t,i))return!0;if((i.f&C)!==0&&vn(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function $t(e){$.schedule(e)}function _n(e,t){if(!((e.f&Z)!==0&&(e.f&x)!==0)){(e.f&P)!==0?t.d.push(e):(e.f&Q)!==0&&t.m.push(e),S(e,x);for(var n=e.first;n!==null;)_n(n,t),n=n.next}}function pn(e){S(e,x);for(var t=e.first;t!==null;)pn(t),t=t.next}function zr(e){let t=0,n=Ye(0),r;return()=>{Ct()&&(M(n),xn(()=>(t===0&&(r=Yn(()=>e(()=>Ue(n)))),t+=1,()=>{Te(()=>{t-=1,t===0&&(r?.(),r=void 0,Ue(n))})})))}}var Wr=Re|$e;function Jr(e,t,n,r){new Gr(e,t,n,r)}class Gr{parent;is_pending=!1;transform_error;#e;#n=b?w:null;#t;#i;#s;#r=null;#l=null;#o=null;#a=null;#c=0;#f=0;#d=!1;#v=new Set;#h=new Set;#u=null;#_=zr(()=>(this.#u=Ye(this.#c),()=>{this.#u=null}));constructor(t,n,r,i){this.#e=t,this.#t=n,this.#i=s=>{var l=g;l.b=this,l.f|=pt,r(s)},this.parent=g.b,this.transform_error=i??this.parent?.transform_error??(s=>s),this.#s=An(()=>{if(b){const s=this.#n;lt();const l=s.data===Yt;if(s.data.startsWith(Ut)){const f=JSON.parse(s.data.slice(Ut.length));this.#y(f)}else l?this.#$():this.#p()}else this.#w()},Wr),b&&(this.#e=w)}#p(){try{this.#r=fe(()=>this.#i(this.#e))}catch(t){this.error(t)}}#y(t){const n=this.#t.failed;n&&(this.#o=fe(()=>{n(this.#e,()=>t,()=>()=>{})}))}#$(){const t=this.#t.pending;t&&(this.is_pending=!0,this.#l=fe(()=>t(this.#e)),Te(()=>{var n=this.#a=document.createDocumentFragment(),r=oe();n.append(r),this.#r=this.#m(()=>fe(()=>this.#i(r))),this.#f===0&&(this.#e.before(n),this.#a=null,Ve(this.#l,()=>{this.#l=null}),this.#g($))}))}#w(){try{if(this.is_pending=this.has_pending_snippet(),this.#f=0,this.#c=0,this.#r=fe(()=>{this.#i(this.#e)}),this.#f>0){var t=this.#a=document.createDocumentFragment();Ln(this.#r,t);const n=this.#t.pending;this.#l=fe(()=>n(this.#e))}else this.#g($)}catch(n){this.error(n)}}#g(t){this.is_pending=!1,t.transfer_effects(this.#v,this.#h)}defer_effect(t){un(t,this.#v,this.#h)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#t.pending}#m(t){var n=g,r=p,i=H;Y(this.#s),F(this.#s),De(this.#s.ctx);try{return se.ensure(),t()}catch(s){return an(s),null}finally{Y(n),F(r),De(i)}}#b(t,n){if(!this.has_pending_snippet()){this.parent&&this.parent.#b(t,n);return}this.#f+=t,this.#f===0&&(this.#g(n),this.#l&&Ve(this.#l,()=>{this.#l=null}),this.#a&&(this.#e.before(this.#a),this.#a=null))}update_pending_count(t,n){this.#b(t,n),this.#c+=t,!(!this.#u||this.#d)&&(this.#d=!0,Te(()=>{this.#d=!1,this.#u&&ut(this.#u,this.#c)}))}get_effect_pending(){return this.#_(),M(this.#u)}error(t){var n=this.#t.onerror;let r=this.#t.failed;if(!n&&!r)throw t;this.#r&&(I(this.#r),this.#r=null),this.#l&&(I(this.#l),this.#l=null),this.#o&&(I(this.#o),this.#o=null),b&&(J(this.#n),Ir(),J(en()));var i=!1,s=!1;const l=()=>{if(i){Mr();return}i=!0,s&&Pr(),this.#o!==null&&Ve(this.#o,()=>{this.#o=null}),this.#m(()=>{this.#w()})},o=f=>{try{s=!0,n?.(f,l),s=!1}catch(a){pe(a,this.#s&&this.#s.parent)}r&&(this.#o=this.#m(()=>{try{return fe(()=>{var a=g;a.b=this,a.f|=pt,r(this.#e,()=>f,()=>l)})}catch(a){return pe(a,this.#s.parent),null}}))};Te(()=>{var f;try{f=this.transform_error(t)}catch(a){pe(a,this.#s&&this.#s.parent);return}f!==null&&typeof f=="object"&&typeof f.then=="function"?f.then(o,a=>pe(a,this.#s&&this.#s.parent)):o(f)})}}function Kr(e,t,n,r){const i=Et;var s=e.filter(c=>!c.settled);if(n.length===0&&s.length===0){r(t.map(i));return}var l=g,o=Xr(),f=s.length===1?s[0].promise:s.length>1?Promise.all(s.map(c=>c.promise)):null;function a(c){o();try{r(c)}catch(v){(l.f&W)===0&&pe(v,l)}ft()}if(n.length===0){f.then(()=>a(t.map(i)));return}var u=gn();function h(){Promise.all(n.map(c=>Zr(c))).then(c=>a([...t.map(i),...c])).catch(c=>pe(c,l)).finally(()=>u())}f?f.then(()=>{o(),h(),ft()}):h()}function Xr(){var e=g,t=p,n=H,r=$;return function(s=!0){Y(e),F(t),De(n),s&&(e.f&W)===0&&(r?.activate(),r?.apply())}}function ft(e=!0){Y(null),F(null),De(null),e&&$?.deactivate()}function gn(){var e=g,t=e.b,n=$,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 Et(e){var t=C|P,n=p!==null&&(p.f&C)!==0?p:null;return g!==null&&(g.f|=$e),{ctx:H,deps:null,effects:null,equals:tn,f:t,fn:e,reactions:null,rv:0,v:D,wv:0,parent:n??g,ac:null}}function Zr(e,t,n){let r=g;r===null&&Tr();var i=void 0,s=Ye(D),l=!p,o=new Map;return vi(()=>{var f=g,a=Gt();i=a.promise;try{Promise.resolve(e()).then(a.resolve,a.reject).finally(ft)}catch(v){a.reject(v),ft()}var u=$;if(l){if((f.f&de)!==0)var h=gn();if(r.b.is_rendered())o.get(u)?.reject(ie),o.delete(u);else{for(const v of o.values())v.reject(ie);o.clear()}o.set(u,a)}const c=(v,_=void 0)=>{if(h){var m=_===ie;h(m)}if(!(_===ie||(f.f&W)!==0)){if(u.activate(),_)s.f|=he,ut(s,_);else{(s.f&he)!==0&&(s.f^=he),ut(s,v);for(const[y,L]of o){if(o.delete(y),y===u)break;L.reject(ie)}}u.deactivate()}};a.promise.then(c,v=>c(null,v||"unknown"))}),Sn(()=>{for(const f of o.values())f.reject(ie)}),new Promise(f=>{function a(u){function h(){u===i?f(s):a(i)}u.then(h,h)}a(i)})}function Qr(e){const t=Et(e);return t.equals=nn,t}function ei(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)I(t[n])}}function ti(e){for(var t=e.parent;t!==null;){if((t.f&C)===0)return(t.f&W)===0?t:null;t=t.parent}return null}function kt(e){var t,n=g;Y(ti(e));try{e.f&=~Ee,ei(e),t=Bn(e)}finally{Y(n)}return t}function mn(e){var t=e.v,n=kt(e);if(!e.equals(n)&&(e.wv=Fn(),(!$?.is_fork||e.deps===null)&&(e.v=n,$?.capture(e,t,!0),e.deps===null))){S(e,x);return}be||(G!==null?(Ct()||$?.is_fork)&&G.set(e,n):wt(e))}function ni(e){if(e.effects!==null)for(const t of e.effects)(t.teardown||t.ac)&&(t.teardown?.(),t.ac?.abort(ie),t.teardown=wr,t.ac=null,We(t,0),Ot(t))}function wn(e){if(e.effects!==null)for(const t of e.effects)t.teardown&&Fe(t)}let Tt=new Set;const me=new Map;let bn=!1;function Ye(e,t){var n={f:0,v:e,reactions:null,equals:tn,rv:0,wv:0};return n}function te(e,t){const n=Ye(e);return mi(n),n}function ri(e,t=!1,n=!0){const r=Ye(e);return t||(r.equals=nn),r}function K(e,t,n=!1){p!==null&&(!X||(p.f&Zt)!==0)&&ln()&&(p.f&(C|ue|mt|Zt))!==0&&(U===null||!Ce.call(U,e))&&Lr();let r=n?Pe(t):t;return ut(e,r,at)}function ut(e,t,n=null){if(!e.equals(t)){var r=e.v;be?me.set(e,t):me.set(e,r),e.v=t;var i=se.ensure();if(i.capture(e,r),(e.f&C)!==0){const s=e;(e.f&P)!==0&&kt(s),G===null&&wt(s)}e.wv=Fn(),yn(e,P,n),g!==null&&(g.f&x)!==0&&(g.f&(Z|ce))===0&&(V===null?wi([e]):V.push(e)),!i.is_fork&&Tt.size>0&&!bn&&ii()}return t}function ii(){bn=!1;for(const e of Tt)(e.f&x)!==0&&S(e,Q),ze(e)&&Fe(e);Tt.clear()}function Ue(e){K(e,e.v+1)}function yn(e,t,n){var r=e.reactions;if(r!==null)for(var i=r.length,s=0;s<i;s++){var l=r[s],o=l.f,f=(o&P)===0;if(f&&S(l,t),(o&C)!==0){var a=l;G?.delete(a),(o&Ee)===0&&(o&q&&(l.f|=Ee),yn(a,Q,n))}else if(f){var u=l;(o&ue)!==0&&le!==null&&le.add(u),n!==null?n.push(u):$t(u)}}}function Pe(e){if(typeof e!="object"||e===null||nt in e)return e;const t=Wt(e);if(t!==gr&&t!==mr)return e;var n=new Map,r=hr(e),i=te(0),s=Ne,l=o=>{if(Ne===s)return o();var f=p,a=Ne;F(null),In(s);var u=o();return F(f),In(a),u};return r&&n.set("length",te(e.length)),new Proxy(e,{defineProperty(o,f,a){(!("value"in a)||a.configurable===!1||a.enumerable===!1||a.writable===!1)&&Rr();var u=n.get(f);return u===void 0?l(()=>{var h=te(a.value);return n.set(f,h),h}):K(u,a.value,!0),!0},deleteProperty(o,f){var a=n.get(f);if(a===void 0){if(f in o){const u=l(()=>te(D));n.set(f,u),Ue(i)}}else K(a,D),Ue(i);return!0},get(o,f,a){if(f===nt)return e;var u=n.get(f),h=f in o;if(u===void 0&&(!h||ye(o,f)?.writable)&&(u=l(()=>{var v=Pe(h?o[f]:D),_=te(v);return _}),n.set(f,u)),u!==void 0){var c=M(u);return c===D?void 0:c}return Reflect.get(o,f,a)},getOwnPropertyDescriptor(o,f){var a=Reflect.getOwnPropertyDescriptor(o,f);if(a&&"value"in a){var u=n.get(f);u&&(a.value=M(u))}else if(a===void 0){var h=n.get(f),c=h?.v;if(h!==void 0&&c!==D)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return a},has(o,f){if(f===nt)return!0;var a=n.get(f),u=a!==void 0&&a.v!==D||Reflect.has(o,f);if(a!==void 0||g!==null&&(!u||ye(o,f)?.writable)){a===void 0&&(a=l(()=>{var c=u?Pe(o[f]):D,v=te(c);return v}),n.set(f,a));var h=M(a);if(h===D)return!1}return u},set(o,f,a,u){var h=n.get(f),c=f in o;if(r&&f==="length")for(var v=a;v<h.v;v+=1){var _=n.get(v+"");_!==void 0?K(_,D):v in o&&(_=l(()=>te(D)),n.set(v+"",_))}if(h===void 0)(!c||ye(o,f)?.writable)&&(h=l(()=>te(void 0)),K(h,Pe(a)),n.set(f,h));else{c=h.v!==D;var m=l(()=>Pe(a));K(h,m)}var y=Reflect.getOwnPropertyDescriptor(o,f);if(y?.set&&y.set.call(u,a),!c){if(r&&typeof f=="string"){var L=n.get("length"),k=Number(f);Number.isInteger(k)&&k>=L.v&&K(L,k+1)}Ue(i)}return!0},ownKeys(o){M(i);var f=Reflect.ownKeys(o).filter(h=>{var c=n.get(h);return c===void 0||c.v!==D});for(var[a,u]of n)u.v!==D&&!(a in o)&&f.push(a);return f},setPrototypeOf(){Dr()}})}var $n,En,kn,Tn;function St(){if($n===void 0){$n=window,En=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;kn=ye(t,"firstChild").get,Tn=ye(t,"nextSibling").get,Jt(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Jt(n)&&(n.__t=void 0)}}function oe(e=""){return document.createTextNode(e)}function Me(e){return kn.call(e)}function ae(e){return Tn.call(e)}function we(e,t){if(!b)return Me(e);var n=Me(w);return n===null&&(n=w.appendChild(oe())),J(n),n}function si(e,t=!1){if(!b){var n=Me(e);return n instanceof Comment&&n.data===""?ae(n):n}if(t){if(w?.nodeType!==rt){var r=oe();return w?.before(r),J(r),r}xt(w)}return w}function Ie(e,t=1,n=!1){let r=b?w:e;for(var i;t--;)i=r,r=ae(r);if(!b)return r;if(n){if(r?.nodeType!==rt){var s=oe();return r===null?i?.after(s):r.before(s),J(s),s}xt(r)}return J(r),r}function li(e){e.textContent=""}function oi(){return!1}function Nt(e,t,n){return document.createElementNS(zt,e,void 0)}function xt(e){if(e.nodeValue.length<65536)return;let t=e.nextSibling;for(;t!==null&&t.nodeType===rt;)t.remove(),e.nodeValue+=t.nodeValue,t=e.nextSibling}function At(e){var t=p,n=g;F(null),Y(null);try{return e()}finally{F(t),Y(n)}}function ai(e){g===null&&(p===null&&xr(),Nr()),be&&Sr()}function fi(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function ne(e,t){var n=g;n!==null&&(n.f&ee)!==0&&(e|=ee);var r={ctx:H,deps:null,nodes:null,f:e|P|q,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&Oe)!==0)Le!==null?Le.push(r):se.ensure().schedule(r);else if(t!==null){try{Fe(r)}catch(l){throw I(r),l}i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&$e)===0&&(i=i.first,(e&ue)!==0&&(e&Re)!==0&&i!==null&&(i.f|=Re))}if(i!==null&&(i.parent=n,n!==null&&fi(i,n),p!==null&&(p.f&C)!==0&&(e&ce)===0)){var s=p;(s.effects??=[]).push(i)}return r}function Ct(){return p!==null&&!X}function Sn(e){const t=ne(tt,null);return S(t,x),t.teardown=e,t}function ui(e){ai();var t=g.f,n=!p&&(t&Z)!==0&&(t&de)===0;if(n){var r=H;(r.e??=[]).push(e)}else return Nn(e)}function Nn(e){return ne(Oe|$r,e)}function ci(e){se.ensure();const t=ne(ce|$e,e);return()=>{I(t)}}function di(e){se.ensure();const t=ne(ce|$e,e);return(n={})=>new Promise(r=>{n.outro?Ve(t,()=>{I(t),r(void 0)}):(I(t),r(void 0))})}function hi(e){return ne(Oe,e)}function vi(e){return ne(mt|$e,e)}function xn(e,t=0){return ne(tt|t,e)}function T(e,t=[],n=[],r=[]){Kr(r,t,n,i=>{ne(tt,()=>e(...i.map(M)))})}function An(e,t=0){var n=ne(ue|t,e);return n}function fe(e){return ne(Z|$e,e)}function Cn(e){var t=e.teardown;if(t!==null){const n=be,r=p;Pn(!0),F(null);try{t.call(null)}finally{Pn(n),F(r)}}}function Ot(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&At(()=>{i.abort(ie)});var r=n.next;(n.f&ce)!==0?n.parent=null:I(n,t),n=r}}function _i(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&Z)===0&&I(t),t=n}}function I(e,t=!0){var n=!1;(t||(e.f&yr)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(pi(e.nodes.start,e.nodes.end),n=!0),S(e,Xt),Ot(e,t&&!n),We(e,0);var r=e.nodes&&e.nodes.t;if(r!==null)for(const s of r)s.stop();Cn(e),e.f^=Xt,e.f|=W;var i=e.parent;i!==null&&i.first!==null&&On(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=e.b=null}function pi(e,t){for(;e!==null;){var n=e===t?null:ae(e);e.remove(),e=n}}function On(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 Ve(e,t,n=!0){var r=[];Rn(e,r,!0);var i=()=>{n&&I(e),t&&t()},s=r.length;if(s>0){var l=()=>--s||i();for(var o of r)o.out(l)}else i()}function Rn(e,t,n){if((e.f&ee)===0){e.f^=ee;var r=e.nodes&&e.nodes.t;if(r!==null)for(const o of r)(o.is_global||n)&&t.push(o);for(var i=e.first;i!==null;){var s=i.next,l=(i.f&Re)!==0||(i.f&Z)!==0&&(e.f&ue)!==0;Rn(i,t,l?n:!1),i=s}}}function gi(e){Dn(e,!0)}function Dn(e,t){if((e.f&ee)!==0){e.f^=ee,(e.f&x)===0&&(S(e,P),se.ensure().schedule(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&Re)!==0||(n.f&Z)!==0;Dn(n,i?t:!1),n=r}var s=e.nodes&&e.nodes.t;if(s!==null)for(const l of s)(l.is_global||t)&&l.in()}}function Ln(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:ae(n);t.append(n),n=i}}let ct=!1,be=!1;function Pn(e){be=e}let p=null,X=!1;function F(e){p=e}let g=null;function Y(e){g=e}let U=null;function mi(e){p!==null&&(U===null?U=[e]:U.push(e))}let j=null,B=0,V=null;function wi(e){V=e}let Mn=1,Se=0,Ne=Se;function In(e){Ne=e}function Fn(){return++Mn}function ze(e){var t=e.f;if((t&P)!==0)return!0;if(t&C&&(e.f&=~Ee),(t&Q)!==0){for(var n=e.deps,r=n.length,i=0;i<r;i++){var s=n[i];if(ze(s)&&mn(s),s.wv>e.wv)return!0}(t&q)!==0&&G===null&&S(e,x)}return!1}function jn(e,t,n=!0){var r=e.reactions;if(r!==null&&!(U!==null&&Ce.call(U,e)))for(var i=0;i<r.length;i++){var s=r[i];(s.f&C)!==0?jn(s,t,!1):t===s&&(n?S(s,P):(s.f&x)!==0&&S(s,Q),$t(s))}}function Bn(e){var t=j,n=B,r=V,i=p,s=U,l=H,o=X,f=Ne,a=e.f;j=null,B=0,V=null,p=(a&(Z|ce))===0?e:null,U=null,De(e.ctx),X=!1,Ne=++Se,e.ac!==null&&(At(()=>{e.ac.abort(ie)}),e.ac=null);try{e.f|=gt;var u=e.fn,h=u();e.f|=de;var c=e.deps,v=$?.is_fork;if(j!==null){var _;if(v||We(e,B),c!==null&&B>0)for(c.length=B+j.length,_=0;_<j.length;_++)c[B+_]=j[_];else e.deps=c=j;if(Ct()&&(e.f&q)!==0)for(_=B;_<c.length;_++)(c[_].reactions??=[]).push(e)}else!v&&c!==null&&B<c.length&&(We(e,B),c.length=B);if(ln()&&V!==null&&!X&&c!==null&&(e.f&(C|Q|P))===0)for(_=0;_<V.length;_++)jn(V[_],e);if(i!==null&&i!==e){if(Se++,i.deps!==null)for(let m=0;m<n;m+=1)i.deps[m].rv=Se;if(t!==null)for(const m of t)m.rv=Se;V!==null&&(r===null?r=V:r.push(...V))}return(e.f&he)!==0&&(e.f^=he),h}catch(m){return an(m)}finally{e.f^=gt,j=t,B=n,V=r,p=i,U=s,De(l),X=o,Ne=f}}function bi(e,t){let n=t.reactions;if(n!==null){var r=vr.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&C)!==0&&(j===null||!Ce.call(j,t))){var s=t;(s.f&q)!==0&&(s.f^=q,s.f&=~Ee),wt(s),ni(s),We(s,0)}}function We(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)bi(e,n[r])}function Fe(e){var t=e.f;if((t&W)===0){S(e,x);var n=g,r=ct;g=e,ct=!0;try{(t&(ue|Kt))!==0?_i(e):Ot(e),Cn(e);var i=Bn(e);e.teardown=typeof i=="function"?i:null,e.wv=Mn;var s;dr&&Br&&(e.f&P)!==0&&e.deps}finally{ct=r,g=n}}}function M(e){var t=e.f,n=(t&C)!==0;if(p!==null&&!X){var r=g!==null&&(g.f&W)!==0;if(!r&&(U===null||!Ce.call(U,e))){var i=p.deps;if((p.f&gt)!==0)e.rv<Se&&(e.rv=Se,j===null&&i!==null&&i[B]===e?B++:j===null?j=[e]:j.push(e));else{(p.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[p]:Ce.call(s,p)||s.push(p)}}}if(be&&me.has(e))return me.get(e);if(n){var l=e;if(be){var o=l.v;return((l.f&x)===0&&l.reactions!==null||Hn(l))&&(o=kt(l)),me.set(l,o),o}var f=(l.f&q)===0&&!X&&p!==null&&(ct||(p.f&q)!==0),a=(l.f&de)===0;ze(l)&&(f&&(l.f|=q),mn(l)),f&&!a&&(wn(l),qn(l))}if(G?.has(e))return G.get(e);if((e.f&he)!==0)throw e.v;return e.v}function qn(e){if(e.f|=q,e.deps!==null)for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&C)!==0&&(t.f&q)===0&&(wn(t),qn(t))}function Hn(e){if(e.v===D)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(me.has(t)||(t.f&C)!==0&&Hn(t))return!0;return!1}function Yn(e){var t=X;try{return X=!0,e()}finally{X=t}}const dt=Symbol("events"),yi=new Set,Un=new Set;function $i(e,t,n,r={}){function i(s){if(r.capture||Rt.call(t,s),!s.cancelBubble)return At(()=>n?.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?Te(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function je(e,t,n,r,i){var s={capture:r,passive:i},l=$i(e,t,n,s);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Sn(()=>{t.removeEventListener(e,l,s)})}let Vn=null;function Rt(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;Vn=e;var l=0,o=Vn===e&&e[dt];if(o){var f=i.indexOf(o);if(f!==-1&&(t===document||t===window)){e[dt]=t;return}var a=i.indexOf(t);if(a===-1)return;f<=a&&(l=f)}if(s=i[l]||e.target,s!==t){et(e,"currentTarget",{configurable:!0,get(){return s||n}});var u=p,h=g;F(null),Y(null);try{for(var c,v=[];s!==null;){var _=s.assignedSlot||s.parentNode||s.host||null;try{var m=s[dt]?.[r];m!=null&&(!s.disabled||e.target===s)&&m.call(s,e)}catch(y){c?v.push(y):c=y}if(e.cancelBubble||_===t||_===null)break;s=_}if(c){for(let y of v)queueMicrotask(()=>{throw y});throw c}}finally{e[dt]=t,delete e.currentTarget,F(u),Y(h)}}}const Ei=globalThis?.window?.trustedTypes&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:e=>e});function ki(e){return Ei?.createHTML(e)??e}function Ti(e){var t=Nt("template");return t.innerHTML=ki(e.replaceAll("<!>","<!---->")),t.content}function Be(e,t){var n=g;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function Dt(e,t){var n=(t&ur)!==0,r=(t&cr)!==0,i,s=!e.startsWith("<!>");return()=>{if(b)return Be(w,null),w;i===void 0&&(i=Ti(s?e:"<!>"+e),n||(i=Me(i)));var l=r||En?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=Me(l),f=l.lastChild;Be(o,f)}else Be(l,l);return l}}function Si(e=""){if(!b){var t=oe(e+"");return Be(t,t),t}var n=w;return n.nodeType!==rt?(n.before(n=oe()),J(n)):xt(n),Be(n,n),n}function Je(e,t){if(b){var n=g;((n.f&de)===0||n.nodes.end===null)&&(n.nodes.end=w),lt();return}e!==null&&e.before(t)}const Ni=["touchstart","touchmove"];function xi(e){return Ni.includes(e)}function zn(e,t){return Wn(e,t)}function Ai(e,t){St(),t.intro=t.intro??!1;const n=t.target,r=b,i=w;try{for(var s=Me(n);s&&(s.nodeType!==it||s.data!==Ht);)s=ae(s);if(!s)throw Ae;ve(!0),J(s);const l=Wn(e,{...t,anchor:s});return ve(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
2
- `).some(o=>o.startsWith("https://svelte.dev/e/")))throw l;return l!==Ae&&console.warn("Failed to hydrate: ",l),t.recover===!1&&Cr(),St(),li(n),ve(!1),zn(e,t)}finally{ve(r),J(i)}}const ht=new Map;function Wn(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:l=!0,transformError:o}){St();var f=void 0,a=di(()=>{var u=n??t.appendChild(oe());Jr(u,{pending:()=>{}},v=>{rn({});var _=H;if(s&&(_.c=s),i&&(r.$$events=i),b&&Be(v,null),f=e(v,r)||{},b&&(g.nodes.end=w,w===null||w.nodeType!==it||w.data!==Vt))throw st(),Ae;sn()},o);var h=new Set,c=v=>{for(var _=0;_<v.length;_++){var m=v[_];if(!h.has(m)){h.add(m);var y=xi(m);for(const R of[t,document]){var L=ht.get(R);L===void 0&&(L=new Map,ht.set(R,L));var k=L.get(m);k===void 0?(R.addEventListener(m,Rt,{passive:y}),L.set(m,1)):L.set(m,k+1)}}}};return c(_r(yi)),Un.add(c),()=>{for(var v of h)for(const y of[t,document]){var _=ht.get(y),m=_.get(v);--m==0?(y.removeEventListener(v,Rt),_.delete(v),_.size===0&&ht.delete(y)):_.set(v,m)}Un.delete(c),u!==n&&u.parentNode?.removeChild(u)}});return Lt.set(f,a),f}let Lt=new WeakMap;function Ci(e,t){const n=Lt.get(e);return n?(Lt.delete(e),n(t)):Promise.resolve()}class Oi{anchor;#e=new Map;#n=new Map;#t=new Map;#i=new Set;#s=!0;constructor(t,n=!0){this.anchor=t,this.#s=n}#r=t=>{if(this.#e.has(t)){var n=this.#e.get(t),r=this.#n.get(n);if(r)gi(r),this.#i.delete(n);else{var i=this.#t.get(n);i&&(this.#n.set(n,i.effect),this.#t.delete(n),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),r=i.effect)}for(const[s,l]of this.#e){if(this.#e.delete(s),s===t)break;const o=this.#t.get(l);o&&(I(o.effect),this.#t.delete(l))}for(const[s,l]of this.#n){if(s===n||this.#i.has(s))continue;const o=()=>{if(Array.from(this.#e.values()).includes(s)){var a=document.createDocumentFragment();Ln(l,a),a.append(oe()),this.#t.set(s,{effect:l,fragment:a})}else I(l);this.#i.delete(s),this.#n.delete(s)};this.#s||!r?(this.#i.add(s),Ve(l,o,!1)):o()}}};#l=t=>{this.#e.delete(t);const n=Array.from(this.#e.values());for(const[r,i]of this.#t)n.includes(r)||(I(i.effect),this.#t.delete(r))};ensure(t,n){var r=$,i=oi();if(n&&!this.#n.has(t)&&!this.#t.has(t))if(i){var s=document.createDocumentFragment(),l=oe();s.append(l),this.#t.set(t,{effect:fe(()=>n(l)),fragment:s})}else this.#n.set(t,fe(()=>n(this.anchor)));if(this.#e.set(r,t),i){for(const[o,f]of this.#n)o===t?r.unskip_effect(f):r.skip_effect(f);for(const[o,f]of this.#t)o===t?r.unskip_effect(f.effect):r.skip_effect(f.effect);r.oncommit(this.#r),r.ondiscard(this.#l)}else b&&(this.anchor=w),this.#r(r)}}function Jn(e,t,n=!1){var r;b&&(r=w,lt());var i=new Oi(e),s=n?Re:0;function l(o,f){if(b){var a=Fr(r);if(o!==parseInt(a.substring(1))){var u=en();J(u),i.anchor=u,ve(!1),i.ensure(o,f),ve(!0);return}}i.ensure(o,f)}An(()=>{var o=!1;t((f,a=0)=>{o=!0,l(a,f)}),o||l(-1,null)},s)}function Ge(e,t,n,r,i){b&&lt();var s=t.$$slots?.[n],l=!1;s===!0&&(s=t[n==="default"?"children":n],l=!0),s===void 0?i!==null&&i(e):s(e,l?()=>r:r)}function Ri(e,t){hi(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=Nt("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function Di(e,t){return e==null?null:String(e)}function Pt(e,t,n,r){var i=e.__style;if(b||i!==t){var s=Di(t);(!b||s!==e.getAttribute("style"))&&(s==null?e.removeAttribute("style"):e.style.cssText=s),e.__style=t}return r}const Li=Symbol("is custom element"),Pi=Symbol("is html"),Mi=kr?"link":"LINK";function Ii(e,t,n,r){var i=Fi(e);b&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName===Mi)||i[t]!==(i[t]=n)&&(t==="loading"&&(e[Er]=n),n==null?e.removeAttribute(t):typeof n!="string"&&Gn(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function E(e,t,n){var r=p,i=g;let s=b;b&&ve(!1),F(null),Y(null);try{t!=="style"&&(Mt.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.nodeName.toLowerCase())?Gn(e).includes(t):n&&typeof n=="object")?e[t]=n:Ii(e,t,n==null?n:String(n))}finally{F(r),Y(i),s&&ve(!0)}}function Fi(e){return e.__attributes??={[Li]:e.nodeName.includes("-"),[Pi]:e.namespaceURI===zt}}var Mt=new Map;function Gn(e){var t=e.getAttribute("is")||e.nodeName,n=Mt.get(t);if(n)return n;Mt.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=pr(i);for(var l in r)r[l].set&&n.push(l);i=Wt(i)}return n}function O(e,t,n,r){var i=(n&ar)!==0,s=(n&fr)!==0,l=r,o=!0,f=()=>(o&&(o=!1,l=s?Yn(r):r),l);let a;if(i){var u=nt in e||Qt in e;a=ye(e,t)?.set??(u&&t in e?k=>e[t]=k:void 0)}var h,c=!1;i?[h,c]=Yr(()=>e[t]):h=e[t],h===void 0&&r!==void 0&&(h=f(),a&&(Or(),a(h)));var v;if(v=()=>{var k=e[t];return k===void 0?f():(o=!0,k)},(n&or)===0)return v;if(a){var _=e.$$legacy;return(function(k,R){return arguments.length>0?((!R||_||c)&&a(R?v():k),k):v()})}var m=!1,y=((n&lr)!==0?Et:Qr)(()=>(m=!1,v()));i&&M(y);var L=g;return(function(k,R){if(arguments.length>0){const qe=R?M(y):i?Pe(k):k;return K(y,qe),m=!0,l!==void 0&&(l=qe),k}return be&&m||(L.f&W)!==0?y.v:M(y)})}function ji(e){return new Bi(e)}class Bi{#e;#n;constructor(t){var n=new Map,r=(s,l)=>{var o=ri(l,!1,!1);return n.set(s,o),o};const i=new Proxy({...t.props||{},$$events:{}},{get(s,l){return M(n.get(l)??r(l,Reflect.get(s,l)))},has(s,l){return l===Qt?!0:(M(n.get(l)??r(l,Reflect.get(s,l))),Reflect.has(s,l))},set(s,l,o){return K(n.get(l)??r(l,o),o),Reflect.set(s,l,o)}});this.#n=(t.hydrate?Ai:zn)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&A(),this.#e=i.$$events;for(const s of Object.keys(this.#n))s==="$set"||s==="$destroy"||s==="$on"||et(this,s,{get(){return this.#n[s]},set(l){this.#n[s]=l},enumerable:!0});this.#n.$set=s=>{Object.assign(i,s)},this.#n.$destroy=()=>{Ci(this.#n)}}$set(t){this.#n.$set(t)}$on(t,n){this.#e[t]=this.#e[t]||[];const r=(...i)=>n.call(this,...i);return this.#e[t].push(r),()=>{this.#e[t]=this.#e[t].filter(i=>i!==r)}}$destroy(){this.#n.$destroy()}}let Kn;typeof HTMLElement=="function"&&(Kn=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){const r=this.$$c.$on(e,t);this.$$l_u.set(t,r)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const r=this.$$l_u.get(t);r&&(r(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(r){return i=>{const s=Nt("slot");r!=="default"&&(s.name=r),Je(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=qi(this);for(const 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(const r of this.attributes){const i=this.$$g_p(r.name);i in this.$$d||(this.$$d[i]=vt(i,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=ji({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=ci(()=>{xn(()=>{this.$$r=!0;for(const r of Qe(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=vt(r,this.$$d[r],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,i)}this.$$r=!1})});for(const r in this.$$l)for(const i of this.$$l[r]){const s=this.$$c.$on(r,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=vt(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 Qe(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function vt(e,t,n,r){const 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 qi(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function Hi(e,t,n,r,i,s){let l=class extends Kn{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return Qe(t).map(o=>(t[o].attribute||o).toLowerCase())}};return Qe(t).forEach(o=>{et(l.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(f){f=vt(o,f,t),this.$$d[o]=f;var a=this.$$c;if(a){var u=ye(a,o)?.get;u?a[o]=f:a.$set({[o]:f})}}})}),r.forEach(o=>{et(l.prototype,o,{get(){return this.$$c?.[o]}})}),e.element=l,l}const Ke={version:"0.66.1"};var xe={},Xn;function Yi(){if(Xn)return xe;Xn=1,Object.defineProperty(xe,"__esModule",{value:!0}),xe.LanguageTranslator=void 0,xe.getChildStyleToPass=e,xe.addComponent=t;function e(r,i){var s,l,o="";try{if(r&&i?.length&&(!((s=Object.keys(r))===null||s===void 0)&&s.length)&&(!((l=i?.filter(function(c){return Object.keys(r).includes(c.name)}))===null||l===void 0)&&l.length))for(var f=function(c){var v=i?.filter(function(_){return _.name===c&&_.defaultValue!==r[c]});v&&(o+="".concat(c,":").concat(r[c],";"))},a=0,u=Object.keys(r);a<u.length;a++){var h=u[a];f(h)}}catch(c){console.error("error getting child style to pass",c)}finally{return o}}function t(r){var i,s=((i=r?.repoName.split("/"))===null||i===void 0?void 0:i[1])||r?.repoName;if(!s)throw new Error("wrong componentPath "+r?.repoName);if(!r?.version)throw new Error("wrong version "+r?.version);var l=r?.iifePath||"main.iife.js";if(!document.getElementById(s+"-script"))try{var o=document.createElement("script");if(o.id=s+"-script",o.src="https://cdn.jsdelivr.net/npm/".concat(r.repoName,"@").concat(r.version,"/").concat(l),r?.local)o.src="".concat(r.local);else if(location.href.includes("localhost:6006")){var f=s.split("-")[0];o.src="http://localhost:6006/webcomponents/".concat(s.replace(f+"-",""),"/").concat(l)}document.head.appendChild(o)}catch(a){console.warn(a)}}var n=(function(){function r(i){if(this.lang="",!i?.dictionary)throw new Error("no dictionary provided");this.dictionary=i.dictionary,this.setLang(i?.lang)}return r.prototype.setLang=function(i){i||(i=r.getDefaultLang()),this.lang=i},r.prototype.translateWord=function(i,s){return r.getDictionaryWord(i,this.dictionary,s||this.lang)},r.prototype.translateDate=function(i,s,l){return r.formatDate(i,s,l||this.lang)},r.getDefaultLang=function(){var i,s,l,o="en";return navigator?.languages&&(!((l=(s=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||s===void 0?void 0:s.toLowerCase())===null||l===void 0)&&l.length)&&(o=navigator.languages[0].split("-")[0].toLowerCase()),o},r.getDictionaryWord=function(i,s,l){var o;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(l&&(!((o=s[l])===null||o===void 0)&&o[i]))return s[l][i];var f="",a=r.getDefaultLang();if(!l||a!==l){var u=s?.[a];u?.[i]&&(f=u[i])}return f},r.formatDate=function(i,s,l){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var o=new Intl.DateTimeFormat(l||r.getDefaultLang(),s);return o.format(i)},r})();return xe.LanguageTranslator=n,xe}var Xe=Yi(),Ui=Dt('<hb-offcanvas><span slot="header"><!></span></hb-offcanvas>',2),Vi=Dt("<hb-cookie-law-banner></hb-cookie-law-banner>",2),zi=Dt('<!> <div part="container"><hb-navbar><span slot="left-slot"><!></span> <span slot="center-slot"><!></span> <span slot="right-slot"><!></span></hb-navbar> <div part="page" id="page"><!></div> <!> <hb-footer></hb-footer></div>',3);const Wi={hash:"svelte-150dkch",code:`@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");
2
+ `).some(o=>o.startsWith("https://svelte.dev/e/")))throw l;return l!==Ae&&console.warn("Failed to hydrate: ",l),t.recover===!1&&Cr(),St(),li(n),ve(!1),zn(e,t)}finally{ve(r),J(i)}}const ht=new Map;function Wn(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:l=!0,transformError:o}){St();var f=void 0,a=di(()=>{var u=n??t.appendChild(oe());Jr(u,{pending:()=>{}},v=>{rn({});var _=H;if(s&&(_.c=s),i&&(r.$$events=i),b&&Be(v,null),f=e(v,r)||{},b&&(g.nodes.end=w,w===null||w.nodeType!==it||w.data!==Vt))throw st(),Ae;sn()},o);var h=new Set,c=v=>{for(var _=0;_<v.length;_++){var m=v[_];if(!h.has(m)){h.add(m);var y=xi(m);for(const R of[t,document]){var L=ht.get(R);L===void 0&&(L=new Map,ht.set(R,L));var k=L.get(m);k===void 0?(R.addEventListener(m,Rt,{passive:y}),L.set(m,1)):L.set(m,k+1)}}}};return c(_r(yi)),Un.add(c),()=>{for(var v of h)for(const y of[t,document]){var _=ht.get(y),m=_.get(v);--m==0?(y.removeEventListener(v,Rt),_.delete(v),_.size===0&&ht.delete(y)):_.set(v,m)}Un.delete(c),u!==n&&u.parentNode?.removeChild(u)}});return Lt.set(f,a),f}let Lt=new WeakMap;function Ci(e,t){const n=Lt.get(e);return n?(Lt.delete(e),n(t)):Promise.resolve()}class Oi{anchor;#e=new Map;#n=new Map;#t=new Map;#i=new Set;#s=!0;constructor(t,n=!0){this.anchor=t,this.#s=n}#r=t=>{if(this.#e.has(t)){var n=this.#e.get(t),r=this.#n.get(n);if(r)gi(r),this.#i.delete(n);else{var i=this.#t.get(n);i&&(this.#n.set(n,i.effect),this.#t.delete(n),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),r=i.effect)}for(const[s,l]of this.#e){if(this.#e.delete(s),s===t)break;const o=this.#t.get(l);o&&(I(o.effect),this.#t.delete(l))}for(const[s,l]of this.#n){if(s===n||this.#i.has(s))continue;const o=()=>{if(Array.from(this.#e.values()).includes(s)){var a=document.createDocumentFragment();Ln(l,a),a.append(oe()),this.#t.set(s,{effect:l,fragment:a})}else I(l);this.#i.delete(s),this.#n.delete(s)};this.#s||!r?(this.#i.add(s),Ve(l,o,!1)):o()}}};#l=t=>{this.#e.delete(t);const n=Array.from(this.#e.values());for(const[r,i]of this.#t)n.includes(r)||(I(i.effect),this.#t.delete(r))};ensure(t,n){var r=$,i=oi();if(n&&!this.#n.has(t)&&!this.#t.has(t))if(i){var s=document.createDocumentFragment(),l=oe();s.append(l),this.#t.set(t,{effect:fe(()=>n(l)),fragment:s})}else this.#n.set(t,fe(()=>n(this.anchor)));if(this.#e.set(r,t),i){for(const[o,f]of this.#n)o===t?r.unskip_effect(f):r.skip_effect(f);for(const[o,f]of this.#t)o===t?r.unskip_effect(f.effect):r.skip_effect(f.effect);r.oncommit(this.#r),r.ondiscard(this.#l)}else b&&(this.anchor=w),this.#r(r)}}function Jn(e,t,n=!1){var r;b&&(r=w,lt());var i=new Oi(e),s=n?Re:0;function l(o,f){if(b){var a=Fr(r);if(o!==parseInt(a.substring(1))){var u=en();J(u),i.anchor=u,ve(!1),i.ensure(o,f),ve(!0);return}}i.ensure(o,f)}An(()=>{var o=!1;t((f,a=0)=>{o=!0,l(a,f)}),o||l(-1,null)},s)}function Ge(e,t,n,r,i){b&&lt();var s=t.$$slots?.[n],l=!1;s===!0&&(s=t[n==="default"?"children":n],l=!0),s===void 0?i!==null&&i(e):s(e,l?()=>r:r)}function Ri(e,t){hi(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=Nt("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function Di(e,t){return e==null?null:String(e)}function Pt(e,t,n,r){var i=e.__style;if(b||i!==t){var s=Di(t);(!b||s!==e.getAttribute("style"))&&(s==null?e.removeAttribute("style"):e.style.cssText=s),e.__style=t}return r}const Li=Symbol("is custom element"),Pi=Symbol("is html"),Mi=kr?"link":"LINK";function Ii(e,t,n,r){var i=Fi(e);b&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName===Mi)||i[t]!==(i[t]=n)&&(t==="loading"&&(e[Er]=n),n==null?e.removeAttribute(t):typeof n!="string"&&Gn(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function E(e,t,n){var r=p,i=g;let s=b;b&&ve(!1),F(null),Y(null);try{t!=="style"&&(Mt.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.nodeName.toLowerCase())?Gn(e).includes(t):n&&typeof n=="object")?e[t]=n:Ii(e,t,n==null?n:String(n))}finally{F(r),Y(i),s&&ve(!0)}}function Fi(e){return e.__attributes??={[Li]:e.nodeName.includes("-"),[Pi]:e.namespaceURI===zt}}var Mt=new Map;function Gn(e){var t=e.getAttribute("is")||e.nodeName,n=Mt.get(t);if(n)return n;Mt.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=pr(i);for(var l in r)r[l].set&&n.push(l);i=Wt(i)}return n}function O(e,t,n,r){var i=(n&ar)!==0,s=(n&fr)!==0,l=r,o=!0,f=()=>(o&&(o=!1,l=s?Yn(r):r),l);let a;if(i){var u=nt in e||Qt in e;a=ye(e,t)?.set??(u&&t in e?k=>e[t]=k:void 0)}var h,c=!1;i?[h,c]=Yr(()=>e[t]):h=e[t],h===void 0&&r!==void 0&&(h=f(),a&&(Or(),a(h)));var v;if(v=()=>{var k=e[t];return k===void 0?f():(o=!0,k)},(n&or)===0)return v;if(a){var _=e.$$legacy;return(function(k,R){return arguments.length>0?((!R||_||c)&&a(R?v():k),k):v()})}var m=!1,y=((n&lr)!==0?Et:Qr)(()=>(m=!1,v()));i&&M(y);var L=g;return(function(k,R){if(arguments.length>0){const qe=R?M(y):i?Pe(k):k;return K(y,qe),m=!0,l!==void 0&&(l=qe),k}return be&&m||(L.f&W)!==0?y.v:M(y)})}function ji(e){return new Bi(e)}class Bi{#e;#n;constructor(t){var n=new Map,r=(s,l)=>{var o=ri(l,!1,!1);return n.set(s,o),o};const i=new Proxy({...t.props||{},$$events:{}},{get(s,l){return M(n.get(l)??r(l,Reflect.get(s,l)))},has(s,l){return l===Qt?!0:(M(n.get(l)??r(l,Reflect.get(s,l))),Reflect.has(s,l))},set(s,l,o){return K(n.get(l)??r(l,o),o),Reflect.set(s,l,o)}});this.#n=(t.hydrate?Ai:zn)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&A(),this.#e=i.$$events;for(const s of Object.keys(this.#n))s==="$set"||s==="$destroy"||s==="$on"||et(this,s,{get(){return this.#n[s]},set(l){this.#n[s]=l},enumerable:!0});this.#n.$set=s=>{Object.assign(i,s)},this.#n.$destroy=()=>{Ci(this.#n)}}$set(t){this.#n.$set(t)}$on(t,n){this.#e[t]=this.#e[t]||[];const r=(...i)=>n.call(this,...i);return this.#e[t].push(r),()=>{this.#e[t]=this.#e[t].filter(i=>i!==r)}}$destroy(){this.#n.$destroy()}}let Kn;typeof HTMLElement=="function"&&(Kn=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){const r=this.$$c.$on(e,t);this.$$l_u.set(t,r)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const r=this.$$l_u.get(t);r&&(r(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(r){return i=>{const s=Nt("slot");r!=="default"&&(s.name=r),Je(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=qi(this);for(const 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(const r of this.attributes){const i=this.$$g_p(r.name);i in this.$$d||(this.$$d[i]=vt(i,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=ji({component:this.$$ctor,target:this.$$shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=ci(()=>{xn(()=>{this.$$r=!0;for(const r of Qe(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=vt(r,this.$$d[r],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,i)}this.$$r=!1})});for(const r in this.$$l)for(const i of this.$$l[r]){const s=this.$$c.$on(r,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=vt(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 Qe(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function vt(e,t,n,r){const 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 qi(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function Hi(e,t,n,r,i,s){let l=class extends Kn{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return Qe(t).map(o=>(t[o].attribute||o).toLowerCase())}};return Qe(t).forEach(o=>{et(l.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(f){f=vt(o,f,t),this.$$d[o]=f;var a=this.$$c;if(a){var u=ye(a,o)?.get;u?a[o]=f:a.$set({[o]:f})}}})}),r.forEach(o=>{et(l.prototype,o,{get(){return this.$$c?.[o]}})}),e.element=l,l}const Ke={version:"0.66.2"};var xe={},Xn;function Yi(){if(Xn)return xe;Xn=1,Object.defineProperty(xe,"__esModule",{value:!0}),xe.LanguageTranslator=void 0,xe.getChildStyleToPass=e,xe.addComponent=t;function e(r,i){var s,l,o="";try{if(r&&i?.length&&(!((s=Object.keys(r))===null||s===void 0)&&s.length)&&(!((l=i?.filter(function(c){return Object.keys(r).includes(c.name)}))===null||l===void 0)&&l.length))for(var f=function(c){var v=i?.filter(function(_){return _.name===c&&_.defaultValue!==r[c]});v&&(o+="".concat(c,":").concat(r[c],";"))},a=0,u=Object.keys(r);a<u.length;a++){var h=u[a];f(h)}}catch(c){console.error("error getting child style to pass",c)}finally{return o}}function t(r){var i,s=((i=r?.repoName.split("/"))===null||i===void 0?void 0:i[1])||r?.repoName;if(!s)throw new Error("wrong componentPath "+r?.repoName);if(!r?.version)throw new Error("wrong version "+r?.version);var l=r?.iifePath||"main.iife.js";if(!document.getElementById(s+"-script"))try{var o=document.createElement("script");if(o.id=s+"-script",o.src="https://cdn.jsdelivr.net/npm/".concat(r.repoName,"@").concat(r.version,"/").concat(l),r?.local)o.src="".concat(r.local);else if(location.href.includes("localhost:6006")){var f=s.split("-")[0];o.src="http://localhost:6006/webcomponents/".concat(s.replace(f+"-",""),"/").concat(l)}document.head.appendChild(o)}catch(a){console.warn(a)}}var n=(function(){function r(i){if(this.lang="",!i?.dictionary)throw new Error("no dictionary provided");this.dictionary=i.dictionary,this.setLang(i?.lang)}return r.prototype.setLang=function(i){i||(i=r.getDefaultLang()),this.lang=i},r.prototype.translateWord=function(i,s){return r.getDictionaryWord(i,this.dictionary,s||this.lang)},r.prototype.translateDate=function(i,s,l){return r.formatDate(i,s,l||this.lang)},r.getDefaultLang=function(){var i,s,l,o="en";return navigator?.languages&&(!((l=(s=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||s===void 0?void 0:s.toLowerCase())===null||l===void 0)&&l.length)&&(o=navigator.languages[0].split("-")[0].toLowerCase()),o},r.getDictionaryWord=function(i,s,l){var o;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(l&&(!((o=s[l])===null||o===void 0)&&o[i]))return s[l][i];var f="",a=r.getDefaultLang();if(!l||a!==l){var u=s?.[a];u?.[i]&&(f=u[i])}return f},r.formatDate=function(i,s,l){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var o=new Intl.DateTimeFormat(l||r.getDefaultLang(),s);return o.format(i)},r})();return xe.LanguageTranslator=n,xe}var Xe=Yi(),Ui=Dt('<hb-offcanvas><span slot="header"><!></span></hb-offcanvas>',2),Vi=Dt("<hb-cookie-law-banner></hb-cookie-law-banner>",2),zi=Dt('<!> <div part="container"><hb-navbar><span slot="left-slot"><!></span> <span slot="center-slot"><!></span> <span slot="right-slot"><!></span></hb-navbar> <div part="page" id="page"><!></div> <!> <hb-footer></hb-footer></div>',3);const Wi={hash:"svelte-150dkch",code:`@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");
3
3
  @import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");:host {font-family:"Roboto", sans-serif;}`};function Zn(e,t){rn(t,!0),Ri(e,Wi);let n=O(t,"id",7,""),r=O(t,"footer",23,()=>({type:"auto",disable_expanding_small:!1})),i=O(t,"cookielawuri4more",7,""),s=O(t,"cookielawallowdecline",7,!1),l=O(t,"cookielawlanguage",7,""),o=O(t,"pagename",7,void 0),f=O(t,"cookielaw",7,void 0),a=O(t,"onescreen",7,void 0),u=O(t,"sidebar",23,()=>({})),h=O(t,"socials",7,void 0),c=O(t,"navlinks",7,void 0),v=O(t,"contacts",7,void 0),_=O(t,"columns",7,void 0),m=O(t,"usermenu",7,void 0),y=O(t,"i18nlang",7,void 0),L=O(t,"page_title",7,void 0),k=O(t,"policies",7,void 0),R=O(t,"company",7,void 0),qe=te(!1),Qn=te("");ui(()=>{typeof r()=="string"&&r(JSON.parse(r())),r().type||(r().type="auto"),typeof a()=="string"?a()!=="no"?a(!0):a(!1):a()||a(!1),typeof u()=="string"&&u(JSON.parse(u())),typeof R()=="string"&&R(JSON.parse(R())),K(Qn,a()?"display: flex;flex-direction: column; height: 100vh;":"display:block;",!0)});function Ze(d,N){t.$$host.dispatchEvent(new CustomEvent(d,{detail:N}))}Xe.addComponent({repoName:"@htmlbricks/hb-footer",version:Ke.version}),Xe.addComponent({repoName:"@htmlbricks/hb-offcanvas",version:Ke.version}),Xe.addComponent({repoName:"@htmlbricks/hb-navbar",version:Ke.version}),Xe.addComponent({repoName:"@htmlbricks/hb-cookie-law-banner",version:Ke.version}),Xe.addComponent({repoName:"@htmlbricks/hb-sidebar-desktop",version:Ke.version});function er(d){console.log("burgerclick",d),K(qe,d.isOpen,!0),Ze("offcanvasswitch",d)}var Ji={get id(){return n()},set id(d=""){n(d),A()},get footer(){return r()},set footer(d={type:"auto",disable_expanding_small:!1}){r(d),A()},get cookielawuri4more(){return i()},set cookielawuri4more(d=""){i(d),A()},get cookielawallowdecline(){return s()},set cookielawallowdecline(d=!1){s(d),A()},get cookielawlanguage(){return l()},set cookielawlanguage(d=""){l(d),A()},get pagename(){return o()},set pagename(d=void 0){o(d),A()},get cookielaw(){return f()},set cookielaw(d=void 0){f(d),A()},get onescreen(){return a()},set onescreen(d=void 0){a(d),A()},get sidebar(){return u()},set sidebar(d={}){u(d),A()},get socials(){return h()},set socials(d=void 0){h(d),A()},get navlinks(){return c()},set navlinks(d=void 0){c(d),A()},get contacts(){return v()},set contacts(d=void 0){v(d),A()},get columns(){return _()},set columns(d=void 0){_(d),A()},get usermenu(){return m()},set usermenu(d=void 0){m(d),A()},get i18nlang(){return y()},set i18nlang(d=void 0){y(d),A()},get page_title(){return L()},set page_title(d=void 0){L(d),A()},get policies(){return k()},set policies(d=void 0){k(d),A()},get company(){return R()},set company(d=void 0){R(d),A()}},tr=zi(),nr=si(tr);{var Gi=d=>{var N=Ui();T(()=>E(N,"navpage",o()||"")),T(()=>E(N,"navlinks",c()||"[]")),T(()=>E(N,"companytitle",u()?.title)),T(()=>E(N,"companylogouri",u()?.logo)),T(()=>E(N,"opened",M(qe)?"yes":"no")),E(N,"type","autohide");var sr=we(N),ts=we(sr);Ge(ts,t,"nav-header-slot",{},null),_e(sr),_e(N),je("offcanvasswitch",N,Bt=>er(Bt.detail)),je("pageChange",N,Bt=>Ze("pageChange",Bt.detail)),Je(d,N)};Jn(nr,d=>{c()?.length&&d(Gi)})}var It=Ie(nr,2),z=we(It);E(z,"part","navbar"),T(()=>E(z,"noburger",c()?"":"yes")),T(()=>E(z,"companylogouri",R()?.logoUri||"")),T(()=>E(z,"companybrandname",L()||R()?.siteName||"")),T(()=>E(z,"usermenu",m()||"")),T(()=>E(z,"switchopen",M(qe)?"yes":"no"));var Ft=we(z),Ki=we(Ft);Ge(Ki,t,"nav-left-slot",{},null),_e(Ft);var jt=Ie(Ft,2),Xi=we(jt);Ge(Xi,t,"nav-center-slot",{},null),_e(jt);var rr=Ie(jt,2),Zi=we(rr);Ge(Zi,t,"nav-right-slot",{},null),_e(rr),_e(z);var _t=Ie(z,2),Qi=we(_t);Ge(Qi,t,"page",{},d=>{var N=Si("page");Je(d,N)}),_e(_t);var ir=Ie(_t,2);{var es=d=>{var N=Vi();T(()=>E(N,"language",l()||y())),T(()=>E(N,"allowdecline",s())),T(()=>E(N,"cookielawuri4more",i())),Je(d,N)};Jn(ir,d=>{(f()||s()||l()||i())&&d(es)})}var re=Ie(ir,2);return T(()=>E(re,"policies",k())),T(()=>E(re,"type",r().type==="auto"?a()?"small":"regular":r().type)),E(re,"part","footer"),T(()=>E(re,"socials",h()?JSON.stringify(h()):"")),T(()=>E(re,"contacts",v()?JSON.stringify(v()):"")),Pt(re,"display:block;"),T(()=>E(re,"company",R()?JSON.stringify(R()):"")),T(()=>E(re,"columns",_()||"")),T(()=>E(re,"disable_expanding_small",r().disable_expanding_small?"yes":"no")),_e(It),T(()=>{Pt(It,M(Qn)),Pt(_t,a()?"flex: 2":"")}),je("navmenuswitch",z,d=>er(d.detail)),je("navbarDropDownClick",z,d=>Ze("navbarDropDownClick",d.detail)),je("navbarSlotClick",z,d=>Ze("navbarSlotClick",d.detail)),je("footerClick",re,d=>Ze("footerClick",d.detail)),Je(e,tr),sn(Ji)}customElements.define("hb-layout-mobile",Hi(Zn,{id:{},footer:{},cookielawuri4more:{},cookielawallowdecline:{},cookielawlanguage:{},pagename:{},cookielaw:{},onescreen:{},sidebar:{},socials:{},navlinks:{},contacts:{},columns:{},usermenu:{},i18nlang:{},page_title:{},policies:{},company:{}},["nav-header-slot","nav-left-slot","nav-center-slot","nav-right-slot","page"],[],{mode:"open"})),qt.Component=Zn,Object.defineProperty(qt,Symbol.toStringTag,{value:"Module"})})(this["layout-mobile"]=this["layout-mobile"]||{});
4
4
  //# sourceMappingURL=main.iife.js.map
package/manifest.json CHANGED
@@ -833,5 +833,5 @@
833
833
  },
834
834
  "iifePath": "main.iife.js",
835
835
  "repoName": "@htmlbricks/hb-layout-mobile",
836
- "version": "0.66.1"
836
+ "version": "0.66.2"
837
837
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-layout-mobile",
3
- "version": "0.66.1",
3
+ "version": "0.66.2",
4
4
  "contributors": [],
5
5
  "description": "Mobile layout with optional offcanvas sidebar navigation, top navbar, main page slot, optional cookie-law banner, and footer. Supports one-screen full-height mode and forwards navbar, footer, and navigation events.",
6
6
  "licenses": [
@@ -439,4 +439,3 @@
439
439
  }
440
440
  }
441
441
  }
442
-