@htmlbricks/hb-layout 0.61.51 → 0.61.53
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 +2 -11
- package/main.iife.js.map +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
package/main.iife.js
CHANGED
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
(function(sn){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const pr=1,mr=2,wr=16,yr=1,Er=2,St="[",At="[!",Nt="]",qe={},I=Symbol(),br="http://www.w3.org/1999/xhtml",un=!1;var Rt=Array.isArray,$r=Array.prototype.indexOf,Ot=Array.from,vt=Object.keys,He=Object.defineProperty,Ye=Object.getOwnPropertyDescriptor,kr=Object.getOwnPropertyDescriptors,Tr=Object.prototype,Cr=Array.prototype,on=Object.getPrototypeOf,fn=Object.isExtensible;function cn(e){for(var t=0;t<e.length;t++)e[t]()}function Sr(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const B=2,vn=4,xt=8,We=16,_e=32,Ee=64,dn=128,z=256,dt=512,F=1024,K=2048,be=4096,re=8192,Ne=16384,Pt=32768,Lt=65536,hn=1<<17,_n=1<<18,Be=1<<19,Ar=1<<20,Mt=1<<21,Dt=1<<22,Re=1<<23,It=Symbol("$state"),Nr=Symbol("legacy props"),Rr=Symbol(""),Ft=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},gn=3,Ue=8;function Or(){throw new Error("https://svelte.dev/e/await_outside_boundary")}function xr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Pr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Lr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Mr(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Dr(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Ir(){throw new Error("https://svelte.dev/e/hydration_failed")}function Fr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function jr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function qr(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function ht(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let C=!1;function U(e){C=e}let A;function J(e){if(e===null)throw ht(),qe;return A=e}function rt(){return J(oe(A))}function se(e){if(C){if(oe(A)!==null)throw ht(),qe;A=e}}function jt(){for(var e=0,t=A;;){if(t.nodeType===Ue){var n=t.data;if(n===Nt){if(e===0)return t;e-=1}else(n===St||n===At)&&(e+=1)}var r=oe(t);t.remove(),t=r}}function pn(e){if(!e||e.nodeType!==Ue)throw ht(),qe;return e.data}function mn(e){return e===this.v}function Hr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function wn(e){return!Hr(e,this.v)}let Yr=!1,ie=null;function _t(e){ie=e}function yn(e,t=!1,n){ie={p:ie,c:null,e:null,s:e,x:null,l:null}}function En(e){var t=ie,n=t.e;if(n!==null){t.e=null;for(var r of n)Hn(r)}return e!==void 0&&(t.x=e),ie=t.p,e??{}}function bn(){return!0}const Wr=new WeakMap;function Br(e){var t=w;if(t===null)return b.f|=Re,e;if((t.f&Pt)===0){if((t.f&dn)===0)throw!t.parent&&e instanceof Error&&$n(e),e;t.b.error(e)}else qt(e,t)}function qt(e,t){for(;t!==null;){if((t.f&dn)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e instanceof Error&&$n(e),e}function $n(e){const t=Wr.get(e);t&&(He(e,"message",{value:t.message}),He(e,"stack",{value:t.stack}))}let it=[],Ht=[];function kn(){var e=it;it=[],cn(e)}function Ur(){var e=Ht;Ht=[],cn(e)}function Gr(e){it.length===0&&queueMicrotask(kn),it.push(e)}function Vr(){it.length>0&&kn(),Ht.length>0&&Ur()}function Xr(){const e=w.b;return e===null&&Or(),e}function Yt(e){var t=B|K,n=b!==null&&(b.f&B)!==0?b:null;return w===null||n!==null&&(n.f&z)!==0?t|=z:w.f|=Be,{ctx:ie,deps:null,effects:null,equals:mn,f:t,fn:e,reactions:null,rv:0,v:I,wv:0,parent:n??w,ac:null}}function zr(e,t){let n=w;n===null&&xr();var r=n.b,i=void 0,a=at(I),l=null,u=!b;return si(()=>{try{var s=e();l&&Promise.resolve(s).catch(()=>{})}catch(_){s=Promise.reject(_)}var o=()=>s;i=l?.then(o,o)??Promise.resolve(s),l=i;var c=D,p=r.is_pending();u&&(r.update_pending_count(1),p||c.increment());const f=(_,d=void 0)=>{l=null,p||c.activate(),d?d!==Ft&&(a.f|=Re,wt(a,d)):((a.f&Re)!==0&&(a.f^=Re),wt(a,_)),u&&(r.update_pending_count(-1),p||c.decrement()),Sn()};if(i.then(f,_=>f(null,_||"unknown")),c)return()=>{queueMicrotask(()=>c.neuter())}}),new Promise(s=>{function o(c){function p(){c===i?s(a):o(i)}c.then(p,p)}o(i)})}function Kr(e){const t=Yt(e);return t.equals=wn,t}function Tn(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)ce(t[n])}}function Jr(e){for(var t=e.parent;t!==null;){if((t.f&B)===0)return t;t=t.parent}return null}function Wt(e){var t,n=w;ve(Jr(e));try{Tn(e),t=Qn(e)}finally{ve(n)}return t}function Cn(e){var t=Wt(e);if(e.equals(t)||(e.v=t,e.wv=Jn()),!Me){var n=(ke||(e.f&z)!==0)&&e.deps!==null?be:F;W(e,n)}}function Zr(e,t,n){const r=Yt;if(t.length===0){n(e.map(r));return}var i=D,a=w,l=Qr(),u=Xr();Promise.all(t.map(s=>zr(s))).then(s=>{i?.activate(),l();try{n([...e.map(r),...s])}catch(o){(a.f&Ne)===0&&qt(o,a)}i?.deactivate(),Sn()}).catch(s=>{u.error(s)})}function Qr(){var e=w,t=b,n=ie,r=D;return function(){ve(e),Q(t),_t(n),r?.activate()}}function Sn(){ve(null),Q(null),_t(null)}const Bt=new Set;let D=null,An=new Set,gt=[];function Nn(){const e=gt.shift();gt.length>0&&queueMicrotask(Nn),e()}let Oe=[],pt=null,Ut=!1,mt=!1;class xe{current=new Map;#t=new Map;#e=new Set;#n=0;#o=null;#f=!1;#i=[];#l=[];#a=[];#r=[];#s=[];#c=[];#v=[];skipped_effects=new Set;process(t){Oe=[];for(const i of t)this.#h(i);if(this.#i.length===0&&this.#n===0){this.#d();var n=this.#a,r=this.#r;this.#a=[],this.#r=[],this.#s=[],D=null,On(n),On(r),D===null?D=this:Bt.delete(this),this.#o?.resolve()}else this.#u(this.#a),this.#u(this.#r),this.#u(this.#s);for(const i of this.#i)Je(i);for(const i of this.#l)Je(i);this.#i=[],this.#l=[]}#h(t){t.f^=F;for(var n=t.first;n!==null;){var r=n.f,i=(r&(_e|Ee))!==0,a=i&&(r&F)!==0,l=a||(r&re)!==0||this.skipped_effects.has(n);if(!l&&n.fn!==null){if(i)n.f^=F;else if((r&vn)!==0)this.#r.push(n);else if((r&F)===0)if((r&Dt)!==0){var u=n.b?.is_pending()?this.#l:this.#i;u.push(n)}else Et(n)&&((n.f&We)!==0&&this.#s.push(n),Je(n));var s=n.first;if(s!==null){n=s;continue}}var o=n.parent;for(n=n.next;n===null&&o!==null;)n=o.next,o=o.parent}}#u(t){for(const n of t)((n.f&K)!==0?this.#c:this.#v).push(n),W(n,F);t.length=0}capture(t,n){this.#t.has(t)||this.#t.set(t,n),this.current.set(t,t.v)}activate(){D=this}deactivate(){D=null;for(const t of An)if(An.delete(t),t(),D!==null)break}neuter(){this.#f=!0}flush(){Oe.length>0?Rn():this.#d(),D===this&&(this.#n===0&&Bt.delete(this),this.deactivate())}#d(){if(!this.#f)for(const t of this.#e)t();this.#e.clear()}increment(){this.#n+=1}decrement(){if(this.#n-=1,this.#n===0){for(const t of this.#c)W(t,K),Ge(t);for(const t of this.#v)W(t,be),Ge(t);this.#a=[],this.#r=[],this.flush()}else this.deactivate()}add_callback(t){this.#e.add(t)}settled(){return(this.#o??=Sr()).promise}static ensure(){if(D===null){const t=D=new xe;Bt.add(D),mt||xe.enqueue(()=>{D===t&&t.flush()})}return D}static enqueue(t){gt.length===0&&queueMicrotask(Nn),gt.unshift(t)}}function x(e){var t=mt;mt=!0;try{for(var n;;){if(Vr(),Oe.length===0&&(D?.flush(),Oe.length===0))return pt=null,n;Rn()}}finally{mt=t}}function Rn(){var e=Ke;Ut=!0;try{var t=0;for(Vn(!0);Oe.length>0;){var n=xe.ensure();if(t++>1e3){var r,i;ei()}n.process(Oe),$e.clear()}}finally{Ut=!1,Vn(e),pt=null}}function ei(){try{Dr()}catch(e){qt(e,pt)}}let Pe=null;function On(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(Ne|re))===0&&Et(r)&&(Pe=[],Je(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?Bn(r):r.fn=null),Pe?.length>0)){$e.clear();for(const i of Pe)Je(i);Pe=[]}}Pe=null}}function Ge(e){for(var t=pt=e;t.parent!==null;){t=t.parent;var n=t.f;if(Ut&&t===w&&(n&We)!==0)return;if((n&(Ee|_e))!==0){if((n&F)===0)return;t.f^=F}}Oe.push(t)}const $e=new Map;function at(e,t){var n={f:0,v:e,reactions:null,equals:mn,rv:0,wv:0};return n}function Z(e,t){const n=at(e);return ci(n),n}function xn(e,t=!1,n=!0){const r=at(e);return t||(r.equals=wn),r}function ue(e,t,n=!1){b!==null&&(!De||(b.f&hn)!==0)&&bn()&&(b.f&(B|We|Dt|hn))!==0&&!me?.includes(e)&&qr();let r=n?Ve(t):t;return wt(e,r)}function wt(e,t){if(!e.equals(t)){var n=e.v;Me?$e.set(e,t):$e.set(e,n),e.v=t;var r=xe.ensure();r.capture(e,n),(e.f&B)!==0&&((e.f&K)!==0&&Wt(e),W(e,(e.f&z)===0?F:be)),e.wv=Jn(),Pn(e,K),w!==null&&(w.f&F)!==0&&(w.f&(_e|Ee))===0&&(ee===null?vi([e]):ee.push(e))}return t}function Gt(e){ue(e,e.v+1)}function Pn(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,i=0;i<r;i++){var a=n[i],l=a.f,u=(l&K)===0;u&&W(a,t),(l&B)!==0?Pn(a,be):u&&((l&We)!==0&&Pe!==null&&Pe.push(a),Ge(a))}}function Ve(e){if(typeof e!="object"||e===null||It in e)return e;const t=on(e);if(t!==Tr&&t!==Cr)return e;var n=new Map,r=Rt(e),i=Z(0),a=Ie,l=u=>{if(Ie===a)return u();var s=b,o=Ie;Q(null),Kn(a);var c=u();return Q(s),Kn(o),c};return r&&n.set("length",Z(e.length)),new Proxy(e,{defineProperty(u,s,o){(!("value"in o)||o.configurable===!1||o.enumerable===!1||o.writable===!1)&&Fr();var c=n.get(s);return c===void 0?c=l(()=>{var p=Z(o.value);return n.set(s,p),p}):ue(c,o.value,!0),!0},deleteProperty(u,s){var o=n.get(s);if(o===void 0){if(s in u){const c=l(()=>Z(I));n.set(s,c),Gt(i)}}else ue(o,I),Gt(i);return!0},get(u,s,o){if(s===It)return e;var c=n.get(s),p=s in u;if(c===void 0&&(!p||Ye(u,s)?.writable)&&(c=l(()=>{var _=Ve(p?u[s]:I),d=Z(_);return d}),n.set(s,c)),c!==void 0){var f=P(c);return f===I?void 0:f}return Reflect.get(u,s,o)},getOwnPropertyDescriptor(u,s){var o=Reflect.getOwnPropertyDescriptor(u,s);if(o&&"value"in o){var c=n.get(s);c&&(o.value=P(c))}else if(o===void 0){var p=n.get(s),f=p?.v;if(p!==void 0&&f!==I)return{enumerable:!0,configurable:!0,value:f,writable:!0}}return o},has(u,s){if(s===It)return!0;var o=n.get(s),c=o!==void 0&&o.v!==I||Reflect.has(u,s);if(o!==void 0||w!==null&&(!c||Ye(u,s)?.writable)){o===void 0&&(o=l(()=>{var f=c?Ve(u[s]):I,_=Z(f);return _}),n.set(s,o));var p=P(o);if(p===I)return!1}return c},set(u,s,o,c){var p=n.get(s),f=s in u;if(r&&s==="length")for(var _=o;_<p.v;_+=1){var d=n.get(_+"");d!==void 0?ue(d,I):_ in u&&(d=l(()=>Z(I)),n.set(_+"",d))}if(p===void 0)(!f||Ye(u,s)?.writable)&&(p=l(()=>Z(void 0)),ue(p,Ve(o)),n.set(s,p));else{f=p.v!==I;var g=l(()=>Ve(o));ue(p,g)}var k=Reflect.getOwnPropertyDescriptor(u,s);if(k?.set&&k.set.call(c,o),!f){if(r&&typeof s=="string"){var N=n.get("length"),m=Number(s);Number.isInteger(m)&&m>=N.v&&ue(N,m+1)}Gt(i)}return!0},ownKeys(u){P(i);var s=Reflect.ownKeys(u).filter(p=>{var f=n.get(p);return f===void 0||f.v!==I});for(var[o,c]of n)c.v!==I&&!(o in u)&&s.push(o);return s},setPrototypeOf(){jr()}})}var Ln,Mn,Dn,In;function Vt(){if(Ln===void 0){Ln=window,Mn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Dn=Ye(t,"firstChild").get,In=Ye(t,"nextSibling").get,fn(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),fn(n)&&(n.__t=void 0)}}function ge(e=""){return document.createTextNode(e)}function Le(e){return Dn.call(e)}function oe(e){return In.call(e)}function fe(e,t){if(!C)return Le(e);var n=Le(A);return n===null&&(n=A.appendChild(ge())),J(n),n}function lt(e,t){if(!C){var n=Le(e);return n instanceof Comment&&n.data===""?oe(n):n}return A}function Xe(e,t=1,n=!1){let r=C?A:e;for(var i;t--;)i=r,r=oe(r);if(!C)return r;if(n&&r?.nodeType!==gn){var a=ge();return r===null?i?.after(a):r.before(a),J(a),a}return J(r),r}function Fn(e){e.textContent=""}function jn(){return!1}function ti(e,t,n,r=!0){r&&n();for(var i of t)e.addEventListener(i,n);qn(()=>{for(var a of t)e.removeEventListener(a,n)})}function yt(e){var t=b,n=w;Q(null),ve(null);try{return e()}finally{Q(t),ve(n)}}function ni(e){w===null&&b===null&&Mr(),b!==null&&(b.f&z)!==0&&w===null&&Lr(),Me&&Pr()}function ri(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function pe(e,t,n,r=!0){var i=w;i!==null&&(i.f&re)!==0&&(e|=re);var a={ctx:ie,deps:null,nodes_start:null,nodes_end:null,f:e|K,first:null,fn:t,last:null,next:null,parent:i,b:i&&i.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{Je(a),a.f|=Pt}catch(s){throw ce(a),s}else t!==null&&Ge(a);if(r){var l=a;if(n&&l.deps===null&&l.teardown===null&&l.nodes_start===null&&l.first===l.last&&(l.f&Be)===0&&(l=l.first),l!==null&&(l.parent=i,i!==null&&ri(l,i),b!==null&&(b.f&B)!==0&&(e&Ee)===0)){var u=b;(u.effects??=[]).push(l)}}return a}function qn(e){const t=pe(xt,null,!1);return W(t,F),t.teardown=e,t}function ii(e){ni();var t=w.f,n=!b&&(t&_e)!==0&&(t&Pt)===0;if(n){var r=ie;(r.e??=[]).push(e)}else return Hn(e)}function Hn(e){return pe(vn|Ar,e,!1)}function ai(e){xe.ensure();const t=pe(Ee|Be,e,!0);return()=>{ce(t)}}function li(e){xe.ensure();const t=pe(Ee|Be,e,!0);return(n={})=>new Promise(r=>{n.outro?zt(t,()=>{ce(t),r(void 0)}):(ce(t),r(void 0))})}function si(e){return pe(Dt|Be,e,!0)}function ui(e,t=0){return pe(xt|t,e,!0)}function E(e,t=[],n=[]){Zr(t,n,r=>{pe(xt,()=>e(...r.map(P)),!0)})}function Xt(e,t=0){var n=pe(We|t,e,!0);return n}function ze(e,t=!0){return pe(_e|Be,e,!0,t)}function Yn(e){var t=e.teardown;if(t!==null){const n=Me,r=b;Xn(!0),Q(null);try{t.call(null)}finally{Xn(n),Q(r)}}}function Wn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&yt(()=>{i.abort(Ft)});var r=n.next;(n.f&Ee)!==0?n.parent=null:ce(n,t),n=r}}function oi(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&_e)===0&&ce(t),t=n}}function ce(e,t=!0){var n=!1;(t||(e.f&_n)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(fi(e.nodes_start,e.nodes_end),n=!0),Wn(e,t&&!n),bt(e,0),W(e,Ne);var r=e.transitions;if(r!==null)for(const a of r)a.stop();Yn(e);var i=e.parent;i!==null&&i.first!==null&&Bn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function fi(e,t){for(;e!==null;){var n=e===t?null:oe(e);e.remove(),e=n}}function Bn(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 zt(e,t){var n=[];Kt(e,n,!0),Un(n,()=>{ce(e),t&&t()})}function Un(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}function Kt(e,t,n){if((e.f&re)===0){if(e.f^=re,e.transitions!==null)for(const l of e.transitions)(l.is_global||n)&&t.push(l);for(var r=e.first;r!==null;){var i=r.next,a=(r.f&Lt)!==0||(r.f&_e)!==0;Kt(r,t,a?n:!1),r=i}}}function Jt(e){Gn(e,!0)}function Gn(e,t){if((e.f&re)!==0){e.f^=re,(e.f&F)===0&&(W(e,K),Ge(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&Lt)!==0||(n.f&_e)!==0;Gn(n,i?t:!1),n=r}if(e.transitions!==null)for(const a of e.transitions)(a.is_global||t)&&a.in()}}let Ke=!1;function Vn(e){Ke=e}let Me=!1;function Xn(e){Me=e}let b=null,De=!1;function Q(e){b=e}let w=null;function ve(e){w=e}let me=null;function ci(e){b!==null&&(me===null?me=[e]:me.push(e))}let H=null,G=0,ee=null;function vi(e){ee=e}let zn=1,st=0,Ie=st;function Kn(e){Ie=e}let ke=!1;function Jn(){return++zn}function Et(e){var t=e.f;if((t&K)!==0)return!0;if((t&be)!==0){var n=e.deps,r=(t&z)!==0;if(n!==null){var i,a,l=(t&dt)!==0,u=r&&w!==null&&!ke,s=n.length;if((l||u)&&(w===null||(w.f&Ne)===0)){var o=e,c=o.parent;for(i=0;i<s;i++)a=n[i],(l||!a?.reactions?.includes(o))&&(a.reactions??=[]).push(o);l&&(o.f^=dt),u&&c!==null&&(c.f&z)===0&&(o.f^=z)}for(i=0;i<s;i++)if(a=n[i],Et(a)&&Cn(a),a.wv>e.wv)return!0}(!r||w!==null&&!ke)&&W(e,F)}return!1}function Zn(e,t,n=!0){var r=e.reactions;if(r!==null&&!me?.includes(e))for(var i=0;i<r.length;i++){var a=r[i];(a.f&B)!==0?Zn(a,t,!1):t===a&&(n?W(a,K):(a.f&F)!==0&&W(a,be),Ge(a))}}function Qn(e){var t=H,n=G,r=ee,i=b,a=ke,l=me,u=ie,s=De,o=Ie,c=e.f;H=null,G=0,ee=null,ke=(c&z)!==0&&(De||!Ke||b===null),b=(c&(_e|Ee))===0?e:null,me=null,_t(e.ctx),De=!1,Ie=++st,e.ac!==null&&(yt(()=>{e.ac.abort(Ft)}),e.ac=null);try{e.f|=Mt;var p=e.fn,f=p(),_=e.deps;if(H!==null){var d;if(bt(e,G),_!==null&&G>0)for(_.length=G+H.length,d=0;d<H.length;d++)_[G+d]=H[d];else e.deps=_=H;if(!ke||(c&B)!==0&&e.reactions!==null)for(d=G;d<_.length;d++)(_[d].reactions??=[]).push(e)}else _!==null&&G<_.length&&(bt(e,G),_.length=G);if(bn()&&ee!==null&&!De&&_!==null&&(e.f&(B|be|K))===0)for(d=0;d<ee.length;d++)Zn(ee[d],e);return i!==null&&i!==e&&(st++,ee!==null&&(r===null?r=ee:r.push(...ee))),(e.f&Re)!==0&&(e.f^=Re),f}catch(g){return Br(g)}finally{e.f^=Mt,H=t,G=n,ee=r,b=i,ke=a,me=l,_t(u),De=s,Ie=o}}function di(e,t){let n=t.reactions;if(n!==null){var r=$r.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}n===null&&(t.f&B)!==0&&(H===null||!H.includes(t))&&(W(t,be),(t.f&(z|dt))===0&&(t.f^=dt),Tn(t),bt(t,0))}function bt(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)di(e,n[r])}function Je(e){var t=e.f;if((t&Ne)===0){W(e,F);var n=w,r=Ke;w=e,Ke=!0;try{(t&We)!==0?oi(e):Wn(e),Yn(e);var i=Qn(e);e.teardown=typeof i=="function"?i:null,e.wv=zn;var a;un&&Yr&&(e.f&K)!==0&&e.deps}finally{Ke=r,w=n}}}function P(e){var t=e.f,n=(t&B)!==0;if(b!==null&&!De){var r=w!==null&&(w.f&Ne)!==0;if(!r&&!me?.includes(e)){var i=b.deps;if((b.f&Mt)!==0)e.rv<st&&(e.rv=st,H===null&&i!==null&&i[G]===e?G++:H===null?H=[e]:(!ke||!H.includes(e))&&H.push(e));else{(b.deps??=[]).push(e);var a=e.reactions;a===null?e.reactions=[b]:a.includes(b)||a.push(b)}}}else if(n&&e.deps===null&&e.effects===null){var l=e,u=l.parent;u!==null&&(u.f&z)===0&&(l.f^=z)}if(Me){if($e.has(e))return $e.get(e);if(n){l=e;var s=l.v;return((l.f&F)===0&&l.reactions!==null||er(l))&&(s=Wt(l)),$e.set(l,s),s}}else n&&(l=e,Et(l)&&Cn(l));if((e.f&Re)!==0)throw e.v;return e.v}function er(e){if(e.v===I)return!0;if(e.deps===null)return!1;for(const t of e.deps)if($e.has(t)||(t.f&B)!==0&&er(t))return!0;return!1}const hi=-7169;function W(e,t){e.f=e.f&hi|t}const _i=new Set,tr=new Set;function gi(e,t,n,r={}){function i(a){if(r.capture||ut.call(t,a),!a.cancelBubble)return yt(()=>n?.call(this,a))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?Gr(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function V(e,t,n,r,i){var a={capture:r,passive:i},l=gi(e,t,n,a);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&qn(()=>{t.removeEventListener(e,l,a)})}let nr=null;function ut(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],a=i[0]||e.target;nr=e;var l=0,u=nr===e&&e.__root;if(u){var s=i.indexOf(u);if(s!==-1&&(t===document||t===window)){e.__root=t;return}var o=i.indexOf(t);if(o===-1)return;s<=o&&(l=s)}if(a=i[l]||e.target,a!==t){He(e,"currentTarget",{configurable:!0,get(){return a||n}});var c=b,p=w;Q(null),ve(null);try{for(var f,_=[];a!==null;){var d=a.assignedSlot||a.parentNode||a.host||null;try{var g=a["__"+r];if(g!=null&&(!a.disabled||e.target===a))if(Rt(g)){var[k,...N]=g;k.apply(a,[e,...N])}else g.call(a,e)}catch(m){f?_.push(m):f=m}if(e.cancelBubble||d===t||d===null)break;a=d}if(f){for(let m of _)queueMicrotask(()=>{throw m});throw f}}finally{e.__root=t,delete e.currentTarget,Q(c),ve(p)}}}let te;function pi(){te=void 0}function mi(e){let t=null,n=C;var r;if(C){for(t=A,te===void 0&&(te=Le(document.head));te!==null&&(te.nodeType!==Ue||te.data!==St);)te=oe(te);te===null?U(!1):te=J(oe(te))}C||(r=document.head.appendChild(ge()));try{Xt(()=>e(r),_n)}finally{n&&(U(!0),te=A,J(t))}}function wi(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Te(e,t){var n=w;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function $t(e,t){var n=(t&yr)!==0,r=(t&Er)!==0,i,a=!e.startsWith("<!>");return()=>{if(C)return Te(A,null),A;i===void 0&&(i=wi(a?e:"<!>"+e),n||(i=Le(i)));var l=r||Mn?document.importNode(i,!0):i.cloneNode(!0);if(n){var u=Le(l),s=l.lastChild;Te(u,s)}else Te(l,l);return l}}function rr(e=""){if(!C){var t=ge(e+"");return Te(t,t),t}var n=A;return n.nodeType!==gn&&(n.before(n=ge()),J(n)),Te(n,n),n}function ot(){if(C)return Te(A,null),A;var e=document.createDocumentFragment(),t=document.createComment(""),n=ge();return e.append(t,n),Te(t,n),e}function ne(e,t){if(C){w.nodes_end=A,rt();return}e!==null&&e.before(t)}const yi=["touchstart","touchmove"];function Ei(e){return yi.includes(e)}function ir(e,t){return ar(e,t)}function bi(e,t){Vt(),t.intro=t.intro??!1;const n=t.target,r=C,i=A;try{for(var a=Le(n);a&&(a.nodeType!==Ue||a.data!==St);)a=oe(a);if(!a)throw qe;U(!0),J(a),rt();const l=ar(e,{...t,anchor:a});if(A===null||A.nodeType!==Ue||A.data!==Nt)throw ht(),qe;return U(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
|
|
2
|
-
`).some(u=>u.startsWith("https://svelte.dev/e/")))throw l;return l!==qe&&console.warn("Failed to hydrate: ",l),t.recover===!1&&Ir(),Vt(),Fn(n),U(!1),ir(e,t)}finally{U(r),J(i),pi()}}const Ze=new Map;function ar(e,{target:t,anchor:n,props:r={},events:i,context:a,intro:l=!0}){Vt();var u=new Set,s=p=>{for(var f=0;f<p.length;f++){var _=p[f];if(!u.has(_)){u.add(_);var d=Ei(_);t.addEventListener(_,ut,{passive:d});var g=Ze.get(_);g===void 0?(document.addEventListener(_,ut,{passive:d}),Ze.set(_,1)):Ze.set(_,g+1)}}};s(Ot(_i)),tr.add(s);var o=void 0,c=li(()=>{var p=n??t.appendChild(ge());return ze(()=>{if(a){yn({});var f=ie;f.c=a}i&&(r.$$events=i),C&&Te(p,null),o=e(p,r)||{},C&&(w.nodes_end=A),a&&En()}),()=>{for(var f of u){t.removeEventListener(f,ut);var _=Ze.get(f);--_===0?(document.removeEventListener(f,ut),Ze.delete(f)):Ze.set(f,_)}tr.delete(s),p!==n&&p.parentNode?.removeChild(p)}});return Zt.set(o,c),o}let Zt=new WeakMap;function $i(e,t){const n=Zt.get(e);return n?(Zt.delete(e),n(t)):Promise.resolve()}function kt(e,t,n=!1){C&&rt();var r=e,i=null,a=null,l=I,u=n?Lt:0,s=!1;const o=(_,d=!0)=>{s=!0,f(d,_)};var c=null;function p(){c!==null&&(c.lastChild.remove(),r.before(c),c=null);var _=l?i:a,d=l?a:i;_&&Jt(_),d&&zt(d,()=>{l?a=null:i=null})}const f=(_,d)=>{if(l===(l=_))return;let g=!1;if(C){const L=pn(r)===At;!!l===L&&(r=jt(),J(r),U(!1),g=!0)}var k=jn(),N=r;if(k&&(c=document.createDocumentFragment(),c.append(N=ge())),l?i??=d&&ze(()=>d(N)):a??=d&&ze(()=>d(N)),k){var m=D,y=l?i:a,T=l?a:i;y&&m.skipped_effects.delete(y),T&&m.skipped_effects.add(T),m.add_callback(p)}else p();g&&U(!0)};Xt(()=>{s=!1,t(o),s||f(null,null)},u),C&&(r=A)}function ki(e,t,n){for(var r=e.items,i=[],a=t.length,l=0;l<a;l++)Kt(t[l].e,i,!0);var u=a>0&&i.length===0&&n!==null;if(u){var s=n.parentNode;Fn(s),s.append(n),r.clear(),de(e,t[0].prev,t[a-1].next)}Un(i,()=>{for(var o=0;o<a;o++){var c=t[o];u||(r.delete(c.k),de(e,c.prev,c.next)),ce(c.e,!u)}})}function Ti(e,t,n,r,i,a=null){var l=e,u={flags:t,items:new Map,first:null};C&&rt();var s=null,o=!1,c=new Map,p=Kr(()=>{var g=n();return Rt(g)?g:g==null?[]:Ot(g)}),f,_;function d(){Ci(_,f,u,c,l,i,t,r,n),a!==null&&(f.length===0?s?Jt(s):s=ze(()=>a(l)):s!==null&&zt(s,()=>{s=null}))}Xt(()=>{_??=w,f=P(p);var g=f.length;if(o&&g===0)return;o=g===0;let k=!1;if(C){var N=pn(l)===At;N!==(g===0)&&(l=jt(),J(l),U(!1),k=!0)}if(C){for(var m=null,y,T=0;T<g;T++){if(A.nodeType===Ue&&A.data===Nt){l=A,k=!0,U(!1);break}var L=f[T],j=r(L,T);y=Qt(A,u,m,null,L,j,T,i,t,n),u.items.set(j,y),m=y}g>0&&J(jt())}if(C)g===0&&a&&(s=ze(()=>a(l)));else if(jn()){var X=new Set,O=D;for(T=0;T<g;T+=1){L=f[T],j=r(L,T);var q=u.items.get(j)??c.get(j);q?lr(q,L,T):(y=Qt(null,u,null,null,L,j,T,i,t,n,!0),c.set(j,y)),X.add(j)}for(const[he,we]of u.items)X.has(he)||O.skipped_effects.add(we.e);O.add_callback(d)}else d();k&&U(!0),P(p)}),C&&(l=A)}function Ci(e,t,n,r,i,a,l,u,s){var o=t.length,c=n.items,p=n.first,f=p,_,d=null,g=[],k=[],N,m,y,T;for(T=0;T<o;T+=1){if(N=t[T],m=u(N,T),y=c.get(m),y===void 0){var L=r.get(m);if(L!==void 0){r.delete(m),c.set(m,L);var j=d?d.next:f;de(n,d,L),de(n,L,j),en(L,j,i),d=L}else{var X=f?f.e.nodes_start:i;d=Qt(X,n,d,d===null?n.first:d.next,N,m,T,a,l,s)}c.set(m,d),g=[],k=[],f=d.next;continue}if(lr(y,N,T),(y.e.f&re)!==0&&Jt(y.e),y!==f){if(_!==void 0&&_.has(y)){if(g.length<k.length){var O=k[0],q;d=O.prev;var he=g[0],we=g[g.length-1];for(q=0;q<g.length;q+=1)en(g[q],O,i);for(q=0;q<k.length;q+=1)_.delete(k[q]);de(n,he.prev,we.next),de(n,d,he),de(n,we,O),f=O,d=we,T-=1,g=[],k=[]}else _.delete(y),en(y,f,i),de(n,y.prev,y.next),de(n,y,d===null?n.first:d.next),de(n,d,y),d=y;continue}for(g=[],k=[];f!==null&&f.k!==m;)(f.e.f&re)===0&&(_??=new Set).add(f),k.push(f),f=f.next;if(f===null)continue;y=f}g.push(y),d=y,f=y.next}if(f!==null||_!==void 0){for(var je=_===void 0?[]:Ot(_);f!==null;)(f.e.f&re)===0&&je.push(f),f=f.next;var S=je.length;if(S>0){var v=null;ki(n,je,v)}}e.first=n.first&&n.first.e,e.last=d&&d.e;for(var h of r.values())ce(h.e);r.clear()}function lr(e,t,n,r){wt(e.v,t),e.i=n}function Qt(e,t,n,r,i,a,l,u,s,o,c){var p=(s&pr)!==0,f=(s&wr)===0,_=p?f?xn(i,!1,!1):at(i):i,d=(s&mr)===0?l:at(l),g={i:d,v:_,k:a,a:null,e:null,prev:n,next:r};try{if(e===null){var k=document.createDocumentFragment();k.append(e=ge())}return g.e=ze(()=>u(e,_,d,o),C),g.e.prev=n&&n.e,g.e.next=r&&r.e,n===null?c||(t.first=g):(n.next=g,n.e.next=g.e),r!==null&&(r.prev=g,r.e.prev=g.e),g}finally{}}function en(e,t,n){for(var r=e.next?e.next.e.nodes_start:n,i=t?t.e.nodes_start:n,a=e.e.nodes_start;a!==null&&a!==r;){var l=oe(a);i.before(a),a=l}}function de(e,t,n){t===null?e.first=n:(t.next=n,t.e.next=n&&n.e),n!==null&&(n.prev=t,n.e.prev=t&&t.e)}function Ce(e,t,n,r,i){C&&rt();var a=t.$$slots?.[n],l=!1;a===!0&&(a=t[n==="default"?"children":n],l=!0),a===void 0?i!==null&&i(e):a(e,l?()=>r:r)}function Si(e,t){return e==null?null:String(e)}function sr(e,t,n,r){var i=e.__style;if(C||i!==t){var a=Si(t);(!C||a!==e.getAttribute("style"))&&(a==null?e.removeAttribute("style"):e.style.cssText=a),e.__style=t}return r}const Ai=Symbol("is custom element"),Ni=Symbol("is html");function ft(e,t,n,r){var i=Ri(e);C&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=n)&&(t==="loading"&&(e[Rr]=n),n==null?e.removeAttribute(t):typeof n!="string"&&ur(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function $(e,t,n){var r=b,i=w;let a=C;C&&U(!1),Q(null),ve(null);try{t!=="style"&&(tn.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?ur(e).includes(t):n&&typeof n=="object")?e[t]=n:ft(e,t,n==null?n:String(n))}finally{Q(r),ve(i),a&&U(!0)}}function Ri(e){return e.__attributes??={[Ai]:e.nodeName.includes("-"),[Ni]:e.namespaceURI===br}}var tn=new Map;function ur(e){var t=e.getAttribute("is")||e.nodeName,n=tn.get(t);if(n)return n;tn.set(t,n=[]);for(var r,i=e,a=Element.prototype;a!==i;){r=kr(i);for(var l in r)r[l].set&&n.push(l);i=on(i)}return n}function Oi(e,t){ti(window,["resize"],()=>yt(()=>t(window[e])))}function M(e,t,n,r){var i=r,a=!0,l=()=>(a&&(a=!1,i=r),i),u;u=e[t],u===void 0&&r!==void 0&&(u=l());var s;s=()=>{var f=e[t];return f===void 0?l():(a=!0,f)};var o=!1,c=Yt(()=>(o=!1,s())),p=w;return(function(f,_){if(arguments.length>0){const d=_?P(c):f;return ue(c,d),o=!0,i!==void 0&&(i=d),f}return Me&&o||(p.f&Ne)!==0?c.v:P(c)})}function xi(e){return new Pi(e)}class Pi{#t;#e;constructor(t){var n=new Map,r=(a,l)=>{var u=xn(l,!1,!1);return n.set(a,u),u};const i=new Proxy({...t.props||{},$$events:{}},{get(a,l){return P(n.get(l)??r(l,Reflect.get(a,l)))},has(a,l){return l===Nr?!0:(P(n.get(l)??r(l,Reflect.get(a,l))),Reflect.has(a,l))},set(a,l,u){return ue(n.get(l)??r(l,u),u),Reflect.set(a,l,u)}});this.#e=(t.hydrate?bi:ir)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&x(),this.#t=i.$$events;for(const a of Object.keys(this.#e))a==="$set"||a==="$destroy"||a==="$on"||He(this,a,{get(){return this.#e[a]},set(l){this.#e[a]=l},enumerable:!0});this.#e.$set=a=>{Object.assign(i,a)},this.#e.$destroy=()=>{$i(this.#e)}}$set(t){this.#e.$set(t)}$on(t,n){this.#t[t]=this.#t[t]||[];const r=(...i)=>n.call(this,...i);return this.#t[t].push(r),()=>{this.#t[t]=this.#t[t].filter(i=>i!==r)}}$destroy(){this.#e.$destroy()}}let or;typeof HTMLElement=="function"&&(or=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&this.attachShadow({mode:"open"})}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 a=document.createElement("slot");r!=="default"&&(a.name=r),ne(i,a)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=Li(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]=Tt(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=xi({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=ai(()=>{ui(()=>{this.$$r=!0;for(const r of vt(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=Tt(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 a=this.$$c.$on(r,i);this.$$l_u.set(i,a)}this.$$l={}}}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Tt(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 vt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Tt(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 Li(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function Mi(e,t,n,r,i,a){let l=class extends or{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return vt(t).map(u=>(t[u].attribute||u).toLowerCase())}};return vt(t).forEach(u=>{He(l.prototype,u,{get(){return this.$$c&&u in this.$$c?this.$$c[u]:this.$$d[u]},set(s){s=Tt(u,s,t),this.$$d[u]=s;var o=this.$$c;if(o){var c=Ye(o,u)?.get;c?o[u]=s:o.$set({[u]:s})}}})}),r.forEach(u=>{He(l.prototype,u,{get(){return this.$$c?.[u]}})}),e.element=l,l}const fr={version:"0.61.51"};function Di(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Qe={},nn,cr;function Ii(){if(cr)return nn;cr=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,l=/^[;\s]*/,u=/^\s+|\s+$/g,s=`
|
|
3
|
-
`,o="/",c="*",p="",f="comment",_="declaration";nn=function(g,k){if(typeof g!="string")throw new TypeError("First argument must be a string");if(!g)return[];k=k||{};var N=1,m=1;function y(S){var v=S.match(t);v&&(N+=v.length);var h=S.lastIndexOf(s);m=~h?S.length-h:m+S.length}function T(){var S={line:N,column:m};return function(v){return v.position=new L(S),O(),v}}function L(S){this.start=S,this.end={line:N,column:m},this.source=k.source}L.prototype.content=g;function j(S){var v=new Error(k.source+":"+N+":"+m+": "+S);if(v.reason=S,v.filename=k.source,v.line=N,v.column=m,v.source=g,!k.silent)throw v}function X(S){var v=S.exec(g);if(v){var h=v[0];return y(h),g=g.slice(h.length),v}}function O(){X(n)}function q(S){var v;for(S=S||[];v=he();)v!==!1&&S.push(v);return S}function he(){var S=T();if(!(o!=g.charAt(0)||c!=g.charAt(1))){for(var v=2;p!=g.charAt(v)&&(c!=g.charAt(v)||o!=g.charAt(v+1));)++v;if(v+=2,p===g.charAt(v-1))return j("End of comment missing");var h=g.slice(2,v-2);return m+=2,y(h),g=g.slice(v),m+=2,S({type:f,comment:h})}}function we(){var S=T(),v=X(r);if(v){if(he(),!X(i))return j("property missing ':'");var h=X(a),ae=S({type:_,property:d(v[0].replace(e,p)),value:h?d(h[0].replace(e,p)):p});return X(l),ae}}function je(){var S=[];q(S);for(var v;v=we();)v!==!1&&(S.push(v),q(S));return S}return O(),je()};function d(g){return g?g.replace(u,p):p}return nn}var vr;function Fi(){if(vr)return Qe;vr=1;var e=Qe&&Qe.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Qe,"__esModule",{value:!0}),Qe.default=n;var t=e(Ii());function n(r,i){var a=null;if(!r||typeof r!="string")return a;var l=(0,t.default)(r),u=typeof i=="function";return l.forEach(function(s){if(s.type==="declaration"){var o=s.property,c=s.value;u?i(o,c,s):c&&(a=a||{},a[o]=c)}}),a}return Qe}var ji=Fi();const dr=Di(ji);dr.default;var Fe={},hr;function qi(){if(hr)return Fe;hr=1,Object.defineProperty(Fe,"__esModule",{value:!0}),Fe.LanguageTranslator=void 0,Fe.getChildStyleToPass=e,Fe.addComponent=t;function e(r,i){var a,l,u="";try{if(r&&i?.length&&(!((a=Object.keys(r))===null||a===void 0)&&a.length)&&(!((l=i?.filter(function(f){return Object.keys(r).includes(f.name)}))===null||l===void 0)&&l.length))for(var s=function(f){var _=i?.filter(function(d){return d.name===f&&d.defaultValue!==r[f]});_&&(u+="".concat(f,":").concat(r[f],";"))},o=0,c=Object.keys(r);o<c.length;o++){var p=c[o];s(p)}}catch(f){console.error("error getting child style to pass",f)}finally{return u}}function t(r){var i,a=((i=r?.repoName.split("/"))===null||i===void 0?void 0:i[1])||r?.repoName;if(!a)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(a+"-script"))try{var u=document.createElement("script");if(u.id=a+"-script",u.src="https://cdn.jsdelivr.net/npm/".concat(r.repoName,"@").concat(r.version,"/").concat(l),r?.local)u.src="".concat(r.local);else if(location.href.includes("localhost:6006")){var s=a.split("-")[0];u.src="http://localhost:6006/webcomponents/".concat(a.replace(s+"-",""),"/").concat(l)}document.head.appendChild(u)}catch(o){console.warn(o)}}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,a){return r.getDictionaryWord(i,this.dictionary,a||this.lang)},r.prototype.translateDate=function(i,a,l){return r.formatDate(i,a,l||this.lang)},r.getDefaultLang=function(){var i,a,l,u,s,o="en";return navigator?.languages&&(!((l=(a=(i=navigator.languages[0])===null||i===void 0?void 0:i.split("-")[0])===null||a===void 0?void 0:a.toLowerCase())===null||l===void 0)&&l.length)&&(o=(s=(u=navigator.languages[0])===null||u===void 0?void 0:u.split("-")[0])===null||s===void 0?void 0:s.toLowerCase()),o},r.getDictionaryWord=function(i,a,l){var u;if(!i)throw new Error("no wordKey provided");if(!a)throw new Error("no dictionary provided");if(l&&(!((u=a[l])===null||u===void 0)&&u[i]))return a[l][i];var s="",o=r.getDefaultLang();if(!l||o!==l){var c=a?.[o];c?.[i]&&(s=c[i])}return s},r.formatDate=function(i,a,l){if(!i)throw new Error("no date provided");if(typeof i.getMonth!="function")throw new Error("wrong date format");var u=new Intl.DateTimeFormat(l||r.getDefaultLang(),a);return u.format(i)},r})();return Fe.LanguageTranslator=n,Fe}var _r=qi(),Hi=$t("<meta/>"),Yi=$t("<meta/>"),Wi=$t('<hb-layout-mobile><div slot="page"><!></div> <span slot="nav-header-slot"><!></span> <span slot="nav-left-slot"><!></span> <span slot="nav-center-slot"><!></span> <span slot="nav-right-slot"><!></span></hb-layout-mobile>',2),Bi=$t('<hb-layout-desktop><div slot="page"><!></div> <div slot="nav-center-slot"><!></div> <div slot="nav-right-slot"><!></div></hb-layout-desktop>',2);function gr(e,t){yn(t,!0);/**
|
|
4
|
-
* Svelte Video Gallery WebComponent
|
|
5
|
-
* =====================
|
|
6
|
-
*
|
|
7
|
-
* @contributors: Dario Caruso <dev@dariocaruso.info> (https://dariocaruso.info)
|
|
8
|
-
*
|
|
9
|
-
* @license: MIT License
|
|
10
|
-
*
|
|
11
|
-
*/let n=M(t,"id",7,""),r=M(t,"heders",7,void 0),i=M(t,"footer",7,void 0),a=M(t,"cookielawuri4more",7,""),l=M(t,"cookielawallowdecline",7,!1),u=M(t,"cookielawlanguage",7,""),s=M(t,"pagename",7,void 0),o=M(t,"cookielaw",7,void 0),c=M(t,"onescreen",7,void 0),p=M(t,"sidebar",7,void 0),f=M(t,"socials",7,void 0),_=M(t,"navlinks",7,void 0),d=M(t,"contacts",7,void 0),g=M(t,"columns",7,void 0),k=M(t,"usermenu",7,void 0),N=M(t,"i18nlang",7,void 0),m=M(t,"page_title",7,void 0),y=M(t,"policies",7,void 0),T=M(t,"company",7,void 0);Ve({});let L=Z(""),j=Z(""),X=Z(0);ii(()=>{});function O(v,h){t.$$host.dispatchEvent(new CustomEvent(v,{detail:h}))}_r.addComponent({repoName:"@htmlbricks/hb-layout-desktop",version:fr.version}),_r.addComponent({repoName:"@htmlbricks/hb-layout-mobile",version:fr.version});var q={get id(){return n()},set id(v=""){n(v),x()},get heders(){return r()},set heders(v=void 0){r(v),x()},get footer(){return i()},set footer(v=void 0){i(v),x()},get cookielawuri4more(){return a()},set cookielawuri4more(v=""){a(v),x()},get cookielawallowdecline(){return l()},set cookielawallowdecline(v=!1){l(v),x()},get cookielawlanguage(){return u()},set cookielawlanguage(v=""){u(v),x()},get pagename(){return s()},set pagename(v=void 0){s(v),x()},get cookielaw(){return o()},set cookielaw(v=void 0){o(v),x()},get onescreen(){return c()},set onescreen(v=void 0){c(v),x()},get sidebar(){return p()},set sidebar(v=void 0){p(v),x()},get socials(){return f()},set socials(v=void 0){f(v),x()},get navlinks(){return _()},set navlinks(v=void 0){_(v),x()},get contacts(){return d()},set contacts(v=void 0){d(v),x()},get columns(){return g()},set columns(v=void 0){g(v),x()},get usermenu(){return k()},set usermenu(v=void 0){k(v),x()},get i18nlang(){return N()},set i18nlang(v=void 0){N(v),x()},get page_title(){return m()},set page_title(v=void 0){m(v),x()},get policies(){return y()},set policies(v=void 0){y(v),x()},get company(){return T()},set company(v=void 0){T(v),x()}},he=ot();mi(v=>{var h=ot(),ae=lt(h);{var ct=le=>{var et=ot(),Se=lt(et);Ti(Se,17,r,ye=>ye.content+""+ye.property+ye.name,(ye,R)=>{var tt=ot(),Ct=lt(tt);{var rn=Ae=>{var nt=Hi();E(()=>{ft(nt,"name",P(R).name),ft(nt,"content",P(R).content)}),ne(Ae,nt)},Y=Ae=>{var nt=ot(),Ui=lt(nt);{var Gi=an=>{var ln=Yi();E(()=>{ft(ln,"property",P(R).property),ft(ln,"content",P(R).content)}),ne(an,ln)};kt(Ui,an=>{P(R).property&&an(Gi)},!0)}ne(Ae,nt)};kt(Ct,Ae=>{P(R).name?Ae(rn):Ae(Y,!1)})}ne(ye,tt)}),ne(le,et)};kt(ae,le=>{r()&&le(ct)})}ne(v,h)});var we=lt(he);{var je=v=>{var h=Wi();$(h,"id","layout_mobile"),sr(h,P(j)),E(()=>$(h,"page_title",m())),E(()=>$(h,"company",T())),E(()=>$(h,"sidebar",p())),E(()=>$(h,"pagename",s())),E(()=>$(h,"socials",f())),E(()=>$(h,"navlinks",_())),E(()=>$(h,"contacts",d())),E(()=>$(h,"i18nlang",N())),E(()=>$(h,"columns",g())),E(()=>$(h,"usermenu",k())),E(()=>$(h,"cookielawlanguage",u())),E(()=>$(h,"cookielawallowdecline",l())),E(()=>$(h,"cookielawuri4more",a())),E(()=>$(h,"cookielaw",o())),E(()=>$(h,"footer",i())),E(()=>$(h,"policies",y()));var ae=fe(h),ct=fe(ae);Ce(ct,t,"page",{},Y=>{var Ae=rr("page");ne(Y,Ae)}),se(ae);var le=Xe(ae,2),et=fe(le);Ce(et,t,"nav-header-slot",{},null),se(le);var Se=Xe(le,2),ye=fe(Se);Ce(ye,t,"nav-left-slot",{},null),se(Se);var R=Xe(Se,2),tt=fe(R);Ce(tt,t,"nav-center-slot",{},null),se(R);var Ct=Xe(R,2),rn=fe(Ct);Ce(rn,t,"nav-right-slot",{},null),se(Ct),se(h),V("escreen",h,function(...Y){c()?.apply(this,Y)}),V("footerClick",h,Y=>O("footerClick",Y.detail)),V("pageChange",h,Y=>O("pageChange",Y.detail)),V("offcanvasswitch",h,Y=>O("offcanvasswitch",Y.detail)),V("layoutStatus",h,Y=>O("layoutStatus",Y.detail)),V("navbarSlotClick",h,Y=>O("navbarSlotClick",Y.detail)),ne(v,h)},S=v=>{var h=Bi();$(h,"id","layout_desktop"),sr(h,P(L)),E(()=>$(h,"page_title",m())),E(()=>$(h,"company",T())),E(()=>$(h,"sidebar",p())),E(()=>$(h,"pagename",s())),E(()=>$(h,"socials",f())),E(()=>$(h,"navlinks",_())),E(()=>$(h,"contacts",d())),E(()=>$(h,"i18nlang",N())),E(()=>$(h,"columns",g())),E(()=>$(h,"usermenu",k())),E(()=>$(h,"cookielawlanguage",u())),E(()=>$(h,"cookielawallowdecline",l())),E(()=>$(h,"cookielawuri4more",a())),E(()=>$(h,"cookielaw",o())),E(()=>$(h,"footer",i())),E(()=>$(h,"policies",y()));var ae=fe(h),ct=fe(ae);Ce(ct,t,"page",{},R=>{var tt=rr("page");ne(R,tt)}),se(ae);var le=Xe(ae,2),et=fe(le);Ce(et,t,"nav-center-slot",{},null),se(le);var Se=Xe(le,2),ye=fe(Se);Ce(ye,t,"nav-right-slot",{},null),se(Se),se(h),V("escreen",h,function(...R){c()?.apply(this,R)}),V("navbarDropDownClick",h,R=>O("navbarDropDownClick",R.detail)),V("footerClick",h,R=>O("footerClick",R.detail)),V("pageChange",h,R=>O("pageChange",R.detail)),V("offcanvasswitch",h,R=>O("offcanvasswitch",R.detail)),V("layoutStatus",h,R=>O("layoutStatus",R.detail)),V("navbarSlotClick",h,R=>O("navbarSlotClick",R.detail)),ne(v,h)};kt(we,v=>{P(X)<800?v(je):v(S,!1)})}return Oi("innerWidth",v=>ue(X,v,!0)),ne(e,he),En(q)}customElements.define("hb-layout",Mi(gr,{id:{},heders:{},footer:{},cookielawuri4more:{},cookielawallowdecline:{},cookielawlanguage:{},pagename:{},cookielaw:{},onescreen:{},sidebar:{},socials:{},navlinks:{},contacts:{},columns:{},usermenu:{},i18nlang:{},page_title:{},policies:{},company:{}},["page","nav-header-slot","nav-left-slot","nav-center-slot","nav-right-slot"],[],!0)),sn.Component=gr,Object.defineProperty(sn,Symbol.toStringTag,{value:"Module"})})(this.layout=this.layout||{});
|
|
1
|
+
(function(fn){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const pr=1,gr=2,mr=16,wr=1,yr=2,un="[",mt="[!",Pt="]",Ve={},L=Symbol(),br="http://www.w3.org/1999/xhtml",cn=!1;var dn=Array.isArray,Er=Array.prototype.indexOf,Ft=Array.from,wt=Object.keys,yt=Object.defineProperty,We=Object.getOwnPropertyDescriptor,$r=Object.getOwnPropertyDescriptors,kr=Object.prototype,Tr=Array.prototype,hn=Object.getPrototypeOf,vn=Object.isExtensible;function Cr(e){for(var t=0;t<e.length;t++)e[t]()}function _n(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const M=2,It=4,jt=8,pe=16,ge=32,ke=64,bt=128,ae=512,P=1024,U=2048,me=4096,W=8192,Te=16384,qt=32768,ze=65536,pn=1<<17,Bt=1<<18,De=1<<19,Sr=1<<20,it=32768,Ht=1<<21,Yt=1<<22,Ce=1<<23,Ut=Symbol("$state"),Ar=Symbol("legacy props"),xr=Symbol(""),Ge=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Vt=3,Oe=8;function Nr(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Rr(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Dr(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Or(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Lr(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Mr(){throw new Error("https://svelte.dev/e/hydration_failed")}function Pr(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Fr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Ir(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function jr(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Et(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function qr(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let m=!1;function z(e){m=e}let E;function q(e){if(e===null)throw Et(),Ve;return E=e}function st(){return q(ne(E))}function ue(e){if(m){if(ne(E)!==null)throw Et(),Ve;E=e}}function Br(e=1){if(m){for(var t=e,n=E;t--;)n=ne(n);E=n}}function $t(e=!0){for(var t=0,n=E;;){if(n.nodeType===Oe){var r=n.data;if(r===Pt){if(t===0)return n;t-=1}else(r===un||r===mt)&&(t+=1)}var i=ne(n);e&&n.remove(),n=i}}function gn(e){if(!e||e.nodeType!==Oe)throw Et(),Ve;return e.data}function mn(e){return e===this.v}function Hr(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function wn(e){return!Hr(e,this.v)}let Yr=!1,Q=null;function Ke(e){Q=e}function yn(e,t=!1,n){Q={p:Q,i:!1,c:null,e:null,s:e,x:null,l:null}}function bn(e){var t=Q,n=t.e;if(n!==null){t.e=null;for(var r of n)qn(r)}return e!==void 0&&(t.x=e),t.i=!0,Q=t.p,e??{}}function En(){return!0}let Le=[];function $n(){var e=Le;Le=[],Cr(e)}function kt(e){if(Le.length===0&&!lt){var t=Le;queueMicrotask(()=>{t===Le&&$n()})}Le.push(e)}function Ur(){for(;Le.length>0;)$n()}function kn(e){var t=$;if(t===null)return y.f|=Ce,e;if((t.f&qt)===0){if((t.f&bt)===0)throw e;t.b.error(e)}else Je(e,t)}function Je(e,t){for(;t!==null;){if((t.f&bt)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const Tt=new Set;let x=null,G=null,ce=[],Ct=null,Wt=!1,lt=!1;class oe{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#n=0;#r=0;#o=null;#l=[];#a=[];skipped_effects=new Set;is_fork=!1;process(t){ce=[],this.apply();var n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const r of t)this.#i(r,n);this.is_fork||this.#f(),this.#r>0||this.is_fork?(this.#s(n.effects),this.#s(n.render_effects),this.#s(n.block_effects)):(x=null,Cn(n.render_effects),Cn(n.effects),this.#o?.resolve()),G=null}#i(t,n){t.f^=P;for(var r=t.first;r!==null;){var i=r.f,s=(i&(ge|ke))!==0,l=s&&(i&P)!==0,a=l||(i&W)!==0||this.skipped_effects.has(r);if((r.f&bt)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[],block_effects:[]}),!a&&r.fn!==null){s?r.f^=P:(i&It)!==0?n.effects.push(r):ct(r)&&((r.f&pe)!==0&&n.block_effects.push(r),dt(r));var o=r.first;if(o!==null){r=o;continue}}var f=r.parent;for(r=r.next;r===null&&f!==null;)f===n.effect&&(this.#s(n.effects),this.#s(n.render_effects),this.#s(n.block_effects),n=n.parent),r=f.next,f=f.parent}}#s(t){for(const n of t)((n.f&U)!==0?this.#l:this.#a).push(n),j(n,P)}capture(t,n){this.previous.has(t)||this.previous.set(t,n),(t.f&Ce)===0&&(this.current.set(t,t.v),G?.set(t,t.v))}activate(){x=this,this.apply()}deactivate(){x=null,G=null}flush(){if(this.activate(),ce.length>0){if(Tn(),x!==null&&x!==this)return}else this.#n===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#f(){if(this.#r===0){for(const t of this.#t)t();this.#t.clear()}this.#n===0&&this.#u()}#u(){if(Tt.size>1){this.previous.clear();var t=G,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const i of Tt){if(i===this){n=!1;continue}const s=[];for(const[a,o]of this.current){if(i.current.has(a))if(n&&o!==i.current.get(a))i.current.set(a,o);else continue;s.push(a)}if(s.length===0)continue;const l=[...i.current.keys()].filter(a=>!this.current.has(a));if(l.length>0){const a=new Set,o=new Map;for(const f of s)Sn(f,l,a,o);if(ce.length>0){x=i,i.apply();for(const f of ce)i.#i(f,r);ce=[],i.deactivate()}}}x=null,G=t}this.committed=!0,Tt.delete(this)}increment(t){this.#n+=1,t&&(this.#r+=1)}decrement(t){this.#n-=1,t&&(this.#r-=1),this.revive()}revive(){for(const t of this.#l)j(t,U),Me(t);for(const t of this.#a)j(t,me),Me(t);this.#l=[],this.#a=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#o??=_n()).promise}static ensure(){if(x===null){const t=x=new oe;Tt.add(x),lt||oe.enqueue(()=>{x===t&&t.flush()})}return x}static enqueue(t){kt(t)}apply(){}}function N(e){var t=lt;lt=!0;try{for(var n;;){if(Ur(),ce.length===0&&(x?.flush(),ce.length===0))return Ct=null,n;Tn()}}finally{lt=t}}function Tn(){var e=Ie;Wt=!0;try{var t=0;for(Gn(!0);ce.length>0;){var n=oe.ensure();if(t++>1e3){var r,i;Vr()}n.process(ce),Se.clear()}}finally{Wt=!1,Gn(e),Ct=null}}function Vr(){try{Lr()}catch(e){Je(e,Ct)}}let we=null;function Cn(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(Te|W))===0&&ct(r)&&(we=new Set,dt(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?Un(r):r.fn=null),we?.size>0)){Se.clear();for(const i of we){if((i.f&(Te|W))!==0)continue;const s=[i];let l=i.parent;for(;l!==null;)we.has(l)&&(we.delete(l),s.push(l)),l=l.parent;for(let a=s.length-1;a>=0;a--){const o=s[a];(o.f&(Te|W))===0&&dt(o)}}we.clear()}}we=null}}function Sn(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&M)!==0?Sn(i,t,n,r):(s&(Yt|pe))!==0&&(s&U)===0&&An(i,t,r)&&(j(i,U),Me(i))}}function An(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(t.includes(i))return!0;if((i.f&M)!==0&&An(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function Me(e){for(var t=Ct=e;t.parent!==null;){t=t.parent;var n=t.f;if(Wt&&t===$&&(n&pe)!==0&&(n&Bt)===0)return;if((n&(ke|ge))!==0){if((n&P)===0)return;t.f^=P}}ce.push(t)}function Wr(e){let t=0,n=Pe(0),r;return()=>{xt()&&(A(n),Bn(()=>(t===0&&(r=vi(()=>e(()=>ot(n)))),t+=1,()=>{kt(()=>{t-=1,t===0&&(r?.(),r=void 0,ot(n))})})))}}var zr=ze|De|bt;function Gr(e,t,n){new Kr(e,t,n)}class Kr{parent;#t=!1;#e;#n=m?E:null;#r;#o;#l;#a=null;#i=null;#s=null;#f=null;#u=null;#h=0;#c=0;#v=!1;#d=null;#w=Wr(()=>(this.#d=Pe(this.#h),()=>{this.#d=null}));constructor(t,n,r){this.#e=t,this.#r=n,this.#o=r,this.parent=$.b,this.#t=!!this.#r.pending,this.#l=Nt(()=>{if($.b=this,m){const s=this.#n;st(),s.nodeType===Oe&&s.data===mt?this.#b():this.#y()}else{var i=this.#g();try{this.#a=re(()=>r(i))}catch(s){this.error(s)}this.#c>0?this.#p():this.#t=!1}return()=>{this.#u?.remove()}},zr),m&&(this.#e=E)}#y(){try{this.#a=re(()=>this.#o(this.#e))}catch(t){this.error(t)}this.#t=!1}#b(){const t=this.#r.pending;t&&(this.#i=re(()=>t(this.#e)),oe.enqueue(()=>{var n=this.#g();this.#a=this.#_(()=>(oe.ensure(),re(()=>this.#o(n)))),this.#c>0?this.#p():(Qe(this.#i,()=>{this.#i=null}),this.#t=!1)}))}#g(){var t=this.#e;return this.#t&&(this.#u=te(),this.#e.before(this.#u),t=this.#u),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#r.pending}#_(t){var n=$,r=y,i=Q;ie(this.#l),I(this.#l),Ke(this.#l.ctx);try{return t()}catch(s){return kn(s),null}finally{ie(n),I(r),Ke(i)}}#p(){const t=this.#r.pending;this.#a!==null&&(this.#f=document.createDocumentFragment(),this.#f.append(this.#u),zn(this.#a,this.#f)),this.#i===null&&(this.#i=re(()=>t(this.#e)))}#m(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#m(t);return}this.#c+=t,this.#c===0&&(this.#t=!1,this.#i&&Qe(this.#i,()=>{this.#i=null}),this.#f&&(this.#e.before(this.#f),this.#f=null))}update_pending_count(t){this.#m(t),this.#h+=t,this.#d&&at(this.#d,this.#h)}get_effect_pending(){return this.#w(),A(this.#d)}error(t){var n=this.#r.onerror;let r=this.#r.failed;if(this.#v||!n&&!r)throw t;this.#a&&(F(this.#a),this.#a=null),this.#i&&(F(this.#i),this.#i=null),this.#s&&(F(this.#s),this.#s=null),m&&(q(this.#n),Br(),q($t()));var i=!1,s=!1;const l=()=>{if(i){qr();return}i=!0,s&&jr(),oe.ensure(),this.#h=0,this.#s!==null&&Qe(this.#s,()=>{this.#s=null}),this.#t=this.has_pending_snippet(),this.#a=this.#_(()=>(this.#v=!1,re(()=>this.#o(this.#e)))),this.#c>0?this.#p():this.#t=!1};var a=y;try{I(null),s=!0,n?.(t,l),s=!1}catch(o){Je(o,this.#l&&this.#l.parent)}finally{I(a)}r&&kt(()=>{this.#s=this.#_(()=>{oe.ensure(),this.#v=!0;try{return re(()=>{r(this.#e,()=>t,()=>l)})}catch(o){return Je(o,this.#l.parent),null}finally{this.#v=!1}})})}}function Jr(e,t,n,r){const i=zt;if(n.length===0&&e.length===0){r(t.map(i));return}var s=x,l=$,a=Xr();function o(){Promise.all(n.map(f=>Zr(f))).then(f=>{a();try{r([...t.map(i),...f])}catch(c){(l.f&Te)===0&&Je(c,l)}s?.deactivate(),St()}).catch(f=>{Je(f,l)})}e.length>0?Promise.all(e).then(()=>{a();try{return o()}finally{s?.deactivate(),St()}}):o()}function Xr(){var e=$,t=y,n=Q,r=x;return function(s=!0){ie(e),I(t),Ke(n),s&&r?.activate()}}function St(){ie(null),I(null),Ke(null)}function zt(e){var t=M|U,n=y!==null&&(y.f&M)!==0?y:null;return $!==null&&($.f|=De),{ctx:Q,deps:null,effects:null,equals:mn,f:t,fn:e,reactions:null,rv:0,v:L,wv:0,parent:n??$,ac:null}}function Zr(e,t){let n=$;n===null&&Nr();var r=n.b,i=void 0,s=Pe(L),l=!y,a=new Map;return oi(()=>{var o=_n();i=o.promise;try{Promise.resolve(e()).then(o.resolve,o.reject).then(()=>{f===x&&f.committed&&f.deactivate(),St()})}catch(u){o.reject(u),St()}var f=x;if(l){var c=!r.is_pending();r.update_pending_count(1),f.increment(c),a.get(f)?.reject(Ge),a.delete(f),a.set(f,o)}const _=(u,d=void 0)=>{if(f.activate(),d)d!==Ge&&(s.f|=Ce,at(s,d));else{(s.f&Ce)!==0&&(s.f^=Ce),at(s,u);for(const[v,g]of a){if(a.delete(v),v===f)break;g.reject(Ge)}}l&&(r.update_pending_count(-1),f.decrement(c))};o.promise.then(_,u=>_(null,u||"unknown"))}),Xt(()=>{for(const o of a.values())o.reject(Ge)}),new Promise(o=>{function f(c){function _(){c===i?o(s):f(i)}c.then(_,_)}f(i)})}function Qr(e){const t=zt(e);return t.equals=wn,t}function xn(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)F(t[n])}}function ei(e){for(var t=e.parent;t!==null;){if((t.f&M)===0)return t;t=t.parent}return null}function Gt(e){var t,n=$;ie(ei(e));try{e.f&=~it,xn(e),t=er(e)}finally{ie(n)}return t}function Nn(e){var t=Gt(e);if(e.equals(t)||(e.v=t,e.wv=Zn()),!je)if(G!==null)xt()&&G.set(e,e.v);else{var n=(e.f&ae)===0?me:P;j(e,n)}}let Kt=new Set;const Se=new Map;let Rn=!1;function Pe(e,t){var n={f:0,v:e,reactions:null,equals:mn,rv:0,wv:0};return n}function ee(e,t){const n=Pe(e);return ci(n),n}function Dn(e,t=!1,n=!0){const r=Pe(e);return t||(r.equals=wn),r}function de(e,t,n=!1){y!==null&&(!ve||(y.f&pn)!==0)&&En()&&(y.f&(M|pe|Yt|pn))!==0&&!be?.includes(e)&&Ir();let r=n?Xe(t):t;return at(e,r)}function at(e,t){if(!e.equals(t)){var n=e.v;je?Se.set(e,t):Se.set(e,n),e.v=t;var r=oe.ensure();r.capture(e,n),(e.f&M)!==0&&((e.f&U)!==0&&Gt(e),j(e,(e.f&ae)!==0?P:me)),e.wv=Zn(),On(e,U),$!==null&&($.f&P)!==0&&($.f&(ge|ke))===0&&(se===null?di([e]):se.push(e)),!r.is_fork&&Kt.size>0&&!Rn&&ti()}return t}function ti(){Rn=!1;const e=Array.from(Kt);for(const t of e)(t.f&P)!==0&&j(t,me),ct(t)&&dt(t);Kt.clear()}function ot(e){de(e,e.v+1)}function On(e,t){var n=e.reactions;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i],l=s.f,a=(l&U)===0;if(a&&j(s,t),(l&M)!==0){var o=s;G?.delete(o),(l&it)===0&&(l&ae&&(s.f|=it),On(o,me))}else a&&((l&pe)!==0&&we!==null&&we.add(s),Me(s))}}function Xe(e){if(typeof e!="object"||e===null||Ut in e)return e;const t=hn(e);if(t!==kr&&t!==Tr)return e;var n=new Map,r=dn(e),i=ee(0),s=qe,l=a=>{if(qe===s)return a();var o=y,f=qe;I(null),Xn(s);var c=a();return I(o),Xn(f),c};return r&&n.set("length",ee(e.length)),new Proxy(e,{defineProperty(a,o,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&Pr();var c=n.get(o);return c===void 0?c=l(()=>{var _=ee(f.value);return n.set(o,_),_}):de(c,f.value,!0),!0},deleteProperty(a,o){var f=n.get(o);if(f===void 0){if(o in a){const c=l(()=>ee(L));n.set(o,c),ot(i)}}else de(f,L),ot(i);return!0},get(a,o,f){if(o===Ut)return e;var c=n.get(o),_=o in a;if(c===void 0&&(!_||We(a,o)?.writable)&&(c=l(()=>{var d=Xe(_?a[o]:L),v=ee(d);return v}),n.set(o,c)),c!==void 0){var u=A(c);return u===L?void 0:u}return Reflect.get(a,o,f)},getOwnPropertyDescriptor(a,o){var f=Reflect.getOwnPropertyDescriptor(a,o);if(f&&"value"in f){var c=n.get(o);c&&(f.value=A(c))}else if(f===void 0){var _=n.get(o),u=_?.v;if(_!==void 0&&u!==L)return{enumerable:!0,configurable:!0,value:u,writable:!0}}return f},has(a,o){if(o===Ut)return!0;var f=n.get(o),c=f!==void 0&&f.v!==L||Reflect.has(a,o);if(f!==void 0||$!==null&&(!c||We(a,o)?.writable)){f===void 0&&(f=l(()=>{var u=c?Xe(a[o]):L,d=ee(u);return d}),n.set(o,f));var _=A(f);if(_===L)return!1}return c},set(a,o,f,c){var _=n.get(o),u=o in a;if(r&&o==="length")for(var d=f;d<_.v;d+=1){var v=n.get(d+"");v!==void 0?de(v,L):d in a&&(v=l(()=>ee(L)),n.set(d+"",v))}if(_===void 0)(!u||We(a,o)?.writable)&&(_=l(()=>ee(void 0)),de(_,Xe(f)),n.set(o,_));else{u=_.v!==L;var g=l(()=>Xe(f));de(_,g)}var T=Reflect.getOwnPropertyDescriptor(a,o);if(T?.set&&T.set.call(c,f),!u){if(r&&typeof o=="string"){var V=n.get("length"),R=Number(o);Number.isInteger(R)&&R>=V.v&&de(V,R+1)}ot(i)}return!0},ownKeys(a){A(i);var o=Reflect.ownKeys(a).filter(_=>{var u=n.get(_);return u===void 0||u.v!==L});for(var[f,c]of n)c.v!==L&&!(f in a)&&o.push(f);return o},setPrototypeOf(){Fr()}})}var Ln,Mn,Pn,Fn;function Jt(){if(Ln===void 0){Ln=window,Mn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Pn=We(t,"firstChild").get,Fn=We(t,"nextSibling").get,vn(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),vn(n)&&(n.__t=void 0)}}function te(e=""){return document.createTextNode(e)}function Fe(e){return Pn.call(e)}function ne(e){return Fn.call(e)}function he(e,t){if(!m)return Fe(e);var n=Fe(E);return n===null&&(n=E.appendChild(te())),q(n),n}function ft(e,t=!1){if(!m){var n=Fe(e);return n instanceof Comment&&n.data===""?ne(n):n}if(t&&E?.nodeType!==Vt){var r=te();return E?.before(r),q(r),r}return E}function Ze(e,t=1,n=!1){let r=m?E:e;for(var i;t--;)i=r,r=ne(r);if(!m)return r;if(n&&r?.nodeType!==Vt){var s=te();return r===null?i?.after(s):r.before(s),q(s),s}return q(r),r}function In(e){e.textContent=""}function jn(){return!1}function ni(e,t,n,r=!0){r&&n();for(var i of t)e.addEventListener(i,n);Xt(()=>{for(var s of t)e.removeEventListener(s,n)})}function At(e){var t=y,n=$;I(null),ie(null);try{return e()}finally{I(t),ie(n)}}function ri(e){$===null&&(y===null&&Or(),Dr()),je&&Rr()}function ii(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function ye(e,t,n,r=!0){var i=$;i!==null&&(i.f&W)!==0&&(e|=W);var s={ctx:Q,deps:null,nodes_start:null,nodes_end:null,f:e|U|ae,first:null,fn:t,last:null,next:null,parent:i,b:i&&i.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{dt(s),s.f|=qt}catch(o){throw F(s),o}else t!==null&&Me(s);if(r){var l=s;if(n&&l.deps===null&&l.teardown===null&&l.nodes_start===null&&l.first===l.last&&(l.f&De)===0&&(l=l.first,(e&pe)!==0&&(e&ze)!==0&&l!==null&&(l.f|=ze)),l!==null&&(l.parent=i,i!==null&&ii(l,i),y!==null&&(y.f&M)!==0&&(e&ke)===0)){var a=y;(a.effects??=[]).push(l)}}return s}function xt(){return y!==null&&!ve}function Xt(e){const t=ye(jt,null,!1);return j(t,P),t.teardown=e,t}function si(e){ri();var t=$.f,n=!y&&(t&ge)!==0&&(t&qt)===0;if(n){var r=Q;(r.e??=[]).push(e)}else return qn(e)}function qn(e){return ye(It|Sr,e,!1)}function li(e){oe.ensure();const t=ye(ke|De,e,!0);return()=>{F(t)}}function ai(e){oe.ensure();const t=ye(ke|De,e,!0);return(n={})=>new Promise(r=>{n.outro?Qe(t,()=>{F(t),r(void 0)}):(F(t),r(void 0))})}function oi(e){return ye(Yt|De,e,!0)}function Bn(e,t=0){return ye(jt|t,e,!0)}function w(e,t=[],n=[],r=[],i=!1){Jr(r,t,n,s=>{ye(i?It:jt,()=>e(...s.map(A)),!0)})}function Nt(e,t=0){var n=ye(pe|t,e,!0);return n}function re(e,t=!0){return ye(ge|De,e,!0,t)}function Hn(e){var t=e.teardown;if(t!==null){const n=je,r=y;Kn(!0),I(null);try{t.call(null)}finally{Kn(n),I(r)}}}function Yn(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&At(()=>{i.abort(Ge)});var r=n.next;(n.f&ke)!==0?n.parent=null:F(n,t),n=r}}function fi(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&ge)===0&&F(t),t=n}}function F(e,t=!0){var n=!1;(t||(e.f&Bt)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(ui(e.nodes_start,e.nodes_end),n=!0),Yn(e,t&&!n),Rt(e,0),j(e,Te);var r=e.transitions;if(r!==null)for(const s of r)s.stop();Hn(e);var i=e.parent;i!==null&&i.first!==null&&Un(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function ui(e,t){for(;e!==null;){var n=e===t?null:ne(e);e.remove(),e=n}}function Un(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 Qe(e,t,n=!0){var r=[];Zt(e,r,!0),Vn(r,()=>{n&&F(e),t&&t()})}function Vn(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}function Zt(e,t,n){if((e.f&W)===0){if(e.f^=W,e.transitions!==null)for(const l of e.transitions)(l.is_global||n)&&t.push(l);for(var r=e.first;r!==null;){var i=r.next,s=(r.f&ze)!==0||(r.f&ge)!==0&&(e.f&pe)!==0;Zt(r,t,s?n:!1),r=i}}}function Qt(e){Wn(e,!0)}function Wn(e,t){if((e.f&W)!==0){e.f^=W,(e.f&P)===0&&(j(e,U),Me(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&ze)!==0||(n.f&ge)!==0;Wn(n,i?t:!1),n=r}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}function zn(e,t){for(var n=e.nodes_start,r=e.nodes_end;n!==null;){var i=n===r?null:ne(n);t.append(n),n=i}}let Ie=!1;function Gn(e){Ie=e}let je=!1;function Kn(e){je=e}let y=null,ve=!1;function I(e){y=e}let $=null;function ie(e){$=e}let be=null;function ci(e){y!==null&&(be===null?be=[e]:be.push(e))}let B=null,K=0,se=null;function di(e){se=e}let Jn=1,ut=0,qe=ut;function Xn(e){qe=e}function Zn(){return++Jn}function ct(e){var t=e.f;if((t&U)!==0)return!0;if(t&M&&(e.f&=~it),(t&me)!==0){var n=e.deps;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i];if(ct(s)&&Nn(s),s.wv>e.wv)return!0}(t&ae)!==0&&G===null&&j(e,P)}return!1}function Qn(e,t,n=!0){var r=e.reactions;if(r!==null&&!be?.includes(e))for(var i=0;i<r.length;i++){var s=r[i];(s.f&M)!==0?Qn(s,t,!1):t===s&&(n?j(s,U):(s.f&P)!==0&&j(s,me),Me(s))}}function er(e){var t=B,n=K,r=se,i=y,s=be,l=Q,a=ve,o=qe,f=e.f;B=null,K=0,se=null,y=(f&(ge|ke))===0?e:null,be=null,Ke(e.ctx),ve=!1,qe=++ut,e.ac!==null&&(At(()=>{e.ac.abort(Ge)}),e.ac=null);try{e.f|=Ht;var c=e.fn,_=c(),u=e.deps;if(B!==null){var d;if(Rt(e,K),u!==null&&K>0)for(u.length=K+B.length,d=0;d<B.length;d++)u[K+d]=B[d];else e.deps=u=B;if(Ie&&xt()&&(e.f&ae)!==0)for(d=K;d<u.length;d++)(u[d].reactions??=[]).push(e)}else u!==null&&K<u.length&&(Rt(e,K),u.length=K);if(En()&&se!==null&&!ve&&u!==null&&(e.f&(M|me|U))===0)for(d=0;d<se.length;d++)Qn(se[d],e);return i!==null&&i!==e&&(ut++,se!==null&&(r===null?r=se:r.push(...se))),(e.f&Ce)!==0&&(e.f^=Ce),_}catch(v){return kn(v)}finally{e.f^=Ht,B=t,K=n,se=r,y=i,be=s,Ke(l),ve=a,qe=o}}function hi(e,t){let n=t.reactions;if(n!==null){var r=Er.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}n===null&&(t.f&M)!==0&&(B===null||!B.includes(t))&&(j(t,me),(t.f&ae)!==0&&(t.f^=ae,t.f&=~it),xn(t),Rt(t,0))}function Rt(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)hi(e,n[r])}function dt(e){var t=e.f;if((t&Te)===0){j(e,P);var n=$,r=Ie;$=e,Ie=!0;try{(t&pe)!==0?fi(e):Yn(e),Hn(e);var i=er(e);e.teardown=typeof i=="function"?i:null,e.wv=Jn;var s;cn&&Yr&&(e.f&U)!==0&&e.deps}finally{Ie=r,$=n}}}function A(e){var t=e.f,n=(t&M)!==0;if(y!==null&&!ve){var r=$!==null&&($.f&Te)!==0;if(!r&&!be?.includes(e)){var i=y.deps;if((y.f&Ht)!==0)e.rv<ut&&(e.rv=ut,B===null&&i!==null&&i[K]===e?K++:B===null?B=[e]:B.includes(e)||B.push(e));else{(y.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[y]:s.includes(y)||s.push(y)}}}if(je){if(Se.has(e))return Se.get(e);if(n){var l=e,a=l.v;return((l.f&P)===0&&l.reactions!==null||nr(l))&&(a=Gt(l)),Se.set(l,a),a}}else if(n){if(l=e,G?.has(l))return G.get(l);ct(l)&&Nn(l),Ie&&xt()&&(l.f&ae)===0&&tr(l)}else if(G?.has(e))return G.get(e);if((e.f&Ce)!==0)throw e.v;return e.v}function tr(e){if(e.deps!==null){e.f^=ae;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&M)!==0&&(t.f&ae)===0&&tr(t)}}function nr(e){if(e.v===L)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Se.has(t)||(t.f&M)!==0&&nr(t))return!0;return!1}function vi(e){var t=ve;try{return ve=!0,e()}finally{ve=t}}const _i=-7169;function j(e,t){e.f=e.f&_i|t}const pi=new Set,rr=new Set;function gi(e,t,n,r={}){function i(s){if(r.capture||ht.call(t,s),!s.cancelBubble)return At(()=>n?.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?kt(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function J(e,t,n,r,i){var s={capture:r,passive:i},l=gi(e,t,n,s);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Xt(()=>{t.removeEventListener(e,l,s)})}let ir=null;function ht(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;ir=e;var l=0,a=ir===e&&e.__root;if(a){var o=i.indexOf(a);if(o!==-1&&(t===document||t===window)){e.__root=t;return}var f=i.indexOf(t);if(f===-1)return;o<=f&&(l=o)}if(s=i[l]||e.target,s!==t){yt(e,"currentTarget",{configurable:!0,get(){return s||n}});var c=y,_=$;I(null),ie(null);try{for(var u,d=[];s!==null;){var v=s.assignedSlot||s.parentNode||s.host||null;try{var g=s["__"+r];g!=null&&(!s.disabled||e.target===s)&&g.call(s,e)}catch(T){u?d.push(T):u=T}if(e.cancelBubble||v===t||v===null)break;s=v}if(u){for(let T of d)queueMicrotask(()=>{throw T});throw u}}finally{e.__root=t,delete e.currentTarget,I(c),ie(_)}}}function mi(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function Ae(e,t){var n=$;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function Dt(e,t){var n=(t&wr)!==0,r=(t&yr)!==0,i,s=!e.startsWith("<!>");return()=>{if(m)return Ae(E,null),E;i===void 0&&(i=mi(s?e:"<!>"+e),n||(i=Fe(i)));var l=r||Mn?document.importNode(i,!0):i.cloneNode(!0);if(n){var a=Fe(l),o=l.lastChild;Ae(a,o)}else Ae(l,l);return l}}function sr(e=""){if(!m){var t=te(e+"");return Ae(t,t),t}var n=E;return n.nodeType!==Vt&&(n.before(n=te()),q(n)),Ae(n,n),n}function vt(){if(m)return Ae(E,null),E;var e=document.createDocumentFragment(),t=document.createComment(""),n=te();return e.append(t,n),Ae(t,n),e}function le(e,t){if(m){$.nodes_end=E,st();return}e!==null&&e.before(t)}const wi=["touchstart","touchmove"];function yi(e){return wi.includes(e)}function lr(e,t){return ar(e,t)}function bi(e,t){Jt(),t.intro=t.intro??!1;const n=t.target,r=m,i=E;try{for(var s=Fe(n);s&&(s.nodeType!==Oe||s.data!==un);)s=ne(s);if(!s)throw Ve;z(!0),q(s);const l=ar(e,{...t,anchor:s});return z(!1),l}catch(l){if(l instanceof Error&&l.message.split(`
|
|
2
|
+
`).some(a=>a.startsWith("https://svelte.dev/e/")))throw l;return l!==Ve&&console.warn("Failed to hydrate: ",l),t.recover===!1&&Mr(),Jt(),In(n),z(!1),lr(e,t)}finally{z(r),q(i)}}const et=new Map;function ar(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:l=!0}){Jt();var a=new Set,o=_=>{for(var u=0;u<_.length;u++){var d=_[u];if(!a.has(d)){a.add(d);var v=yi(d);t.addEventListener(d,ht,{passive:v});var g=et.get(d);g===void 0?(document.addEventListener(d,ht,{passive:v}),et.set(d,1)):et.set(d,g+1)}}};o(Ft(pi)),rr.add(o);var f=void 0,c=ai(()=>{var _=n??t.appendChild(te());return Gr(_,{pending:()=>{}},u=>{if(s){yn({});var d=Q;d.c=s}if(i&&(r.$$events=i),m&&Ae(u,null),f=e(u,r)||{},m&&($.nodes_end=E,E===null||E.nodeType!==Oe||E.data!==Pt))throw Et(),Ve;s&&bn()}),()=>{for(var u of a){t.removeEventListener(u,ht);var d=et.get(u);--d===0?(document.removeEventListener(u,ht),et.delete(u)):et.set(u,d)}rr.delete(o),_!==n&&_.parentNode?.removeChild(_)}});return en.set(f,c),f}let en=new WeakMap;function Ei(e,t){const n=en.get(e);return n?(en.delete(e),n(t)):Promise.resolve()}class $i{anchor;#t=new Map;#e=new Map;#n=new Map;#r=!0;constructor(t,n=!0){this.anchor=t,this.#r=n}#o=()=>{var t=x;if(this.#t.has(t)){var n=this.#t.get(t),r=this.#e.get(n);if(r)Qt(r);else{var i=this.#n.get(n);i&&(this.#e.set(n,i.effect),this.#n.delete(n),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),r=i.effect)}for(const[s,l]of this.#t){if(this.#t.delete(s),s===t)break;const a=this.#n.get(l);a&&(F(a.effect),this.#n.delete(l))}for(const[s,l]of this.#e){if(s===n)continue;const a=()=>{if(Array.from(this.#t.values()).includes(s)){var f=document.createDocumentFragment();zn(l,f),f.append(te()),this.#n.set(s,{effect:l,fragment:f})}else F(l);this.#e.delete(s)};this.#r||!r?Qe(l,a,!1):a()}}};#l=t=>{this.#t.delete(t);const n=Array.from(this.#t.values());for(const[r,i]of this.#n)n.includes(r)||(F(i.effect),this.#n.delete(r))};ensure(t,n){var r=x,i=jn();if(n&&!this.#e.has(t)&&!this.#n.has(t))if(i){var s=document.createDocumentFragment(),l=te();s.append(l),this.#n.set(t,{effect:re(()=>n(l)),fragment:s})}else this.#e.set(t,re(()=>n(this.anchor)));if(this.#t.set(r,t),i){for(const[a,o]of this.#e)a===t?r.skipped_effects.delete(o):r.skipped_effects.add(o);for(const[a,o]of this.#n)a===t?r.skipped_effects.delete(o.effect):r.skipped_effects.add(o.effect);r.oncommit(this.#o),r.ondiscard(this.#l)}else m&&(this.anchor=E),this.#o()}}function Ot(e,t,n=!1){m&&st();var r=new $i(e),i=n?ze:0;function s(l,a){if(m){const f=gn(e)===mt;if(l===f){var o=$t();q(o),r.anchor=o,z(!1),r.ensure(l,a),z(!0);return}}r.ensure(l,a)}Nt(()=>{var l=!1;t((a,o=!0)=>{l=!0,s(o,a)}),l||s(!1,null)},i)}function ki(e,t,n){for(var r=e.items,i=[],s=t.length,l=0;l<s;l++)Zt(t[l].e,i,!0);var a=s>0&&i.length===0&&n!==null;if(a){var o=n.parentNode;In(o),o.append(n),r.clear(),_e(e,t[0].prev,t[s-1].next)}Vn(i,()=>{for(var f=0;f<s;f++){var c=t[f];a||(r.delete(c.k),_e(e,c.prev,c.next)),F(c.e,!a)}})}function Ti(e,t,n,r,i,s=null){var l=e,a={flags:t,items:new Map,first:null};m&&st();var o=null,f=!1,c=new Map,_=Qr(()=>{var g=n();return dn(g)?g:g==null?[]:Ft(g)}),u,d;function v(){Ci(d,u,a,c,l,i,t,r,n),s!==null&&(u.length===0?o?Qt(o):o=re(()=>s(l)):o!==null&&Qe(o,()=>{o=null}))}Nt(()=>{d??=$,u=A(_);var g=u.length;if(f&&g===0)return;f=g===0;let T=!1;if(m){var V=gn(l)===mt;V!==(g===0)&&(l=$t(),q(l),z(!1),T=!0)}if(m){for(var R=null,k,C=0;C<g;C++){if(E.nodeType===Oe&&E.data===Pt){l=E,T=!0,z(!1);break}var H=u[C],X=r(H,C);k=tn(E,a,R,null,H,X,C,i,t,n),a.items.set(X,k),R=k}g>0&&q($t())}if(m)g===0&&s&&(o=re(()=>s(l)));else if(jn()){var He=new Set,O=x;for(C=0;C<g;C+=1){H=u[C],X=r(H,C);var Z=a.items.get(X)??c.get(X);Z?or(Z,H,C):(k=tn(null,a,null,null,H,X,C,i,t,n,!0),c.set(X,k)),He.add(X)}for(const[Ye,Ue]of a.items)He.has(Ye)||O.skipped_effects.add(Ue.e);O.oncommit(v)}else v();T&&z(!0),A(_)}),m&&(l=E)}function Ci(e,t,n,r,i,s,l,a,o){var f=t.length,c=n.items,_=n.first,u=_,d,v=null,g=[],T=[],V,R,k,C;for(C=0;C<f;C+=1){if(V=t[C],R=a(V,C),k=c.get(R),k===void 0){var H=r.get(R);if(H!==void 0){r.delete(R),c.set(R,H);var X=v?v.next:u;_e(n,v,H),_e(n,H,X),nn(H,X,i),v=H}else{var He=u?u.e.nodes_start:i;v=tn(He,n,v,v===null?n.first:v.next,V,R,C,s,l,o)}c.set(R,v),g=[],T=[],u=v.next;continue}if(or(k,V,C),(k.e.f&W)!==0&&Qt(k.e),k!==u){if(d!==void 0&&d.has(k)){if(g.length<T.length){var O=T[0],Z;v=O.prev;var Ye=g[0],Ue=g[g.length-1];for(Z=0;Z<g.length;Z+=1)nn(g[Z],O,i);for(Z=0;Z<T.length;Z+=1)d.delete(T[Z]);_e(n,Ye.prev,Ue.next),_e(n,v,Ye),_e(n,Ue,O),u=O,v=Ue,C-=1,g=[],T=[]}else d.delete(k),nn(k,u,i),_e(n,k.prev,k.next),_e(n,k,v===null?n.first:v.next),_e(n,v,k),v=k;continue}for(g=[],T=[];u!==null&&u.k!==R;)(u.e.f&W)===0&&(d??=new Set).add(u),T.push(u),u=u.next;if(u===null)continue;k=u}g.push(k),v=k,u=k.next}if(u!==null||d!==void 0){for(var pt=d===void 0?[]:Ft(d);u!==null;)(u.e.f&W)===0&&pt.push(u),u=u.next;var sn=pt.length;if(sn>0){var p=null;ki(n,pt,p)}}e.first=n.first&&n.first.e,e.last=v&&v.e;for(var h of r.values())F(h.e);r.clear()}function or(e,t,n,r){at(e.v,t),e.i=n}function tn(e,t,n,r,i,s,l,a,o,f,c){var _=(o&pr)!==0,u=(o&mr)===0,d=_?u?Dn(i,!1,!1):Pe(i):i,v=(o&gr)===0?l:Pe(l),g={i:v,v:d,k:s,a:null,e:null,prev:n,next:r};try{if(e===null){var T=document.createDocumentFragment();T.append(e=te())}return g.e=re(()=>a(e,d,v,f),m),g.e.prev=n&&n.e,g.e.next=r&&r.e,n===null?c||(t.first=g):(n.next=g,n.e.next=g.e),r!==null&&(r.prev=g,r.e.prev=g.e),g}finally{}}function nn(e,t,n){for(var r=e.next?e.next.e.nodes_start:n,i=t?t.e.nodes_start:n,s=e.e.nodes_start;s!==null&&s!==r;){var l=ne(s);i.before(s),s=l}}function _e(e,t,n){t===null?e.first=n:(t.next=n,t.e.next=n&&n.e),n!==null&&(n.prev=t,n.e.prev=t&&t.e)}function xe(e,t,n,r,i){m&&st();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 Si(e,t){let n=null,r=m;var i;if(m){n=E;for(var s=Fe(document.head);s!==null&&(s.nodeType!==Oe||s.data!==e);)s=ne(s);if(s===null)z(!1);else{var l=ne(s);s.remove(),q(l)}}m||(i=document.head.appendChild(te()));try{Nt(()=>t(i),Bt)}finally{r&&(z(!0),q(n))}}function Ai(e,t){return e==null?null:String(e)}function fr(e,t,n,r){var i=e.__style;if(m||i!==t){var s=Ai(t);(!m||s!==e.getAttribute("style"))&&(s==null?e.removeAttribute("style"):e.style.cssText=s),e.__style=t}return r}const xi=Symbol("is custom element"),Ni=Symbol("is html");function _t(e,t,n,r){var i=Ri(e);m&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=n)&&(t==="loading"&&(e[xr]=n),n==null?e.removeAttribute(t):typeof n!="string"&&ur(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function b(e,t,n){var r=y,i=$;let s=m;m&&z(!1),I(null),ie(null);try{t!=="style"&&(rn.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?ur(e).includes(t):n&&typeof n=="object")?e[t]=n:_t(e,t,n==null?n:String(n))}finally{I(r),ie(i),s&&z(!0)}}function Ri(e){return e.__attributes??={[xi]:e.nodeName.includes("-"),[Ni]:e.namespaceURI===br}}var rn=new Map;function ur(e){var t=e.getAttribute("is")||e.nodeName,n=rn.get(t);if(n)return n;rn.set(t,n=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=$r(i);for(var l in r)r[l].set&&n.push(l);i=hn(i)}return n}function Di(e,t){ni(window,["resize"],()=>At(()=>t(window[e])))}function D(e,t,n,r){var i=r,s=!0,l=()=>(s&&(s=!1,i=r),i),a;a=e[t],a===void 0&&r!==void 0&&(a=l());var o;o=()=>{var u=e[t];return u===void 0?l():(s=!0,u)};var f=!1,c=zt(()=>(f=!1,o())),_=$;return(function(u,d){if(arguments.length>0){const v=d?A(c):u;return de(c,v),f=!0,i!==void 0&&(i=v),u}return je&&f||(_.f&Te)!==0?c.v:A(c)})}function Oi(e){return new Li(e)}class Li{#t;#e;constructor(t){var n=new Map,r=(s,l)=>{var a=Dn(l,!1,!1);return n.set(s,a),a};const i=new Proxy({...t.props||{},$$events:{}},{get(s,l){return A(n.get(l)??r(l,Reflect.get(s,l)))},has(s,l){return l===Ar?!0:(A(n.get(l)??r(l,Reflect.get(s,l))),Reflect.has(s,l))},set(s,l,a){return de(n.get(l)??r(l,a),a),Reflect.set(s,l,a)}});this.#e=(t.hydrate?bi:lr)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&N(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||yt(this,s,{get(){return this.#e[s]},set(l){this.#e[s]=l},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{Ei(this.#e)}}$set(t){this.#e.$set(t)}$on(t,n){this.#t[t]=this.#t[t]||[];const r=(...i)=>n.call(this,...i);return this.#t[t].push(r),()=>{this.#t[t]=this.#t[t].filter(i=>i!==r)}}$destroy(){this.#e.$destroy()}}let cr;typeof HTMLElement=="function"&&(cr=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&this.attachShadow({mode:"open"})}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=document.createElement("slot");r!=="default"&&(s.name=r),le(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},n=Mi(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]=Lt(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=Oi({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=li(()=>{Bn(()=>{this.$$r=!0;for(const r of wt(this.$$c)){if(!this.$$p_d[r]?.reflect)continue;this.$$d[r]=this.$$c[r];const i=Lt(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]=Lt(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 wt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Lt(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 Mi(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}function Pi(e,t,n,r,i,s){let l=class extends cr{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return wt(t).map(a=>(t[a].attribute||a).toLowerCase())}};return wt(t).forEach(a=>{yt(l.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(o){o=Lt(a,o,t),this.$$d[a]=o;var f=this.$$c;if(f){var c=We(f,a)?.get;c?f[a]=o:f.$set({[a]:o})}}})}),r.forEach(a=>{yt(l.prototype,a,{get(){return this.$$c?.[a]}})}),e.element=l,l}const dr={version:"0.61.53"};var Be={},hr;function Fi(){if(hr)return Be;hr=1,Object.defineProperty(Be,"__esModule",{value:!0}),Be.LanguageTranslator=void 0,Be.getChildStyleToPass=e,Be.addComponent=t;function e(r,i){var s,l,a="";try{if(r&&i?.length&&(!((s=Object.keys(r))===null||s===void 0)&&s.length)&&(!((l=i?.filter(function(u){return Object.keys(r).includes(u.name)}))===null||l===void 0)&&l.length))for(var o=function(u){var d=i?.filter(function(v){return v.name===u&&v.defaultValue!==r[u]});d&&(a+="".concat(u,":").concat(r[u],";"))},f=0,c=Object.keys(r);f<c.length;f++){var _=c[f];o(_)}}catch(u){console.error("error getting child style to pass",u)}finally{return a}}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 a=document.createElement("script");if(a.id=s+"-script",a.src="https://cdn.jsdelivr.net/npm/".concat(r.repoName,"@").concat(r.version,"/").concat(l),r?.local)a.src="".concat(r.local);else if(location.href.includes("localhost:6006")){var o=s.split("-")[0];a.src="http://localhost:6006/webcomponents/".concat(s.replace(o+"-",""),"/").concat(l)}document.head.appendChild(a)}catch(f){console.warn(f)}}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,a="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)&&(a=navigator.languages[0].split("-")[0].toLowerCase()),a},r.getDictionaryWord=function(i,s,l){var a;if(!i)throw new Error("no wordKey provided");if(!s)throw new Error("no dictionary provided");if(l&&(!((a=s[l])===null||a===void 0)&&a[i]))return s[l][i];var o="",f=r.getDefaultLang();if(!l||f!==l){var c=s?.[f];c?.[i]&&(o=c[i])}return o},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 a=new Intl.DateTimeFormat(l||r.getDefaultLang(),s);return a.format(i)},r})();return Be.LanguageTranslator=n,Be}var vr=Fi(),Ii=Dt("<meta/>"),ji=Dt("<meta/>"),qi=Dt('<hb-layout-mobile><div slot="page"><!></div> <span slot="nav-header-slot"><!></span> <span slot="nav-left-slot"><!></span> <span slot="nav-center-slot"><!></span> <span slot="nav-right-slot"><!></span></hb-layout-mobile>',2),Bi=Dt('<hb-layout-desktop><div slot="page"><!></div> <div slot="nav-center-slot"><!></div> <div slot="nav-right-slot"><!></div></hb-layout-desktop>',2);function _r(e,t){yn(t,!0);let n=D(t,"id",7,""),r=D(t,"heders",7,void 0),i=D(t,"footer",7,void 0),s=D(t,"cookielawuri4more",7,""),l=D(t,"cookielawallowdecline",7,!1),a=D(t,"cookielawlanguage",7,""),o=D(t,"pagename",7,void 0),f=D(t,"cookielaw",7,void 0),c=D(t,"onescreen",7,void 0),_=D(t,"sidebar",7,void 0),u=D(t,"socials",7,void 0),d=D(t,"navlinks",7,void 0),v=D(t,"contacts",7,void 0),g=D(t,"columns",7,void 0),T=D(t,"usermenu",7,void 0),V=D(t,"i18nlang",7,void 0),R=D(t,"page_title",7,void 0),k=D(t,"policies",7,void 0),C=D(t,"company",7,void 0);Xe({});let H=ee(""),X=ee(""),He=ee(0);si(()=>{});function O(p,h){t.$$host.dispatchEvent(new CustomEvent(p,{detail:h}))}vr.addComponent({repoName:"@htmlbricks/hb-layout-desktop",version:dr.version}),vr.addComponent({repoName:"@htmlbricks/hb-layout-mobile",version:dr.version});var Z={get id(){return n()},set id(p=""){n(p),N()},get heders(){return r()},set heders(p=void 0){r(p),N()},get footer(){return i()},set footer(p=void 0){i(p),N()},get cookielawuri4more(){return s()},set cookielawuri4more(p=""){s(p),N()},get cookielawallowdecline(){return l()},set cookielawallowdecline(p=!1){l(p),N()},get cookielawlanguage(){return a()},set cookielawlanguage(p=""){a(p),N()},get pagename(){return o()},set pagename(p=void 0){o(p),N()},get cookielaw(){return f()},set cookielaw(p=void 0){f(p),N()},get onescreen(){return c()},set onescreen(p=void 0){c(p),N()},get sidebar(){return _()},set sidebar(p=void 0){_(p),N()},get socials(){return u()},set socials(p=void 0){u(p),N()},get navlinks(){return d()},set navlinks(p=void 0){d(p),N()},get contacts(){return v()},set contacts(p=void 0){v(p),N()},get columns(){return g()},set columns(p=void 0){g(p),N()},get usermenu(){return T()},set usermenu(p=void 0){T(p),N()},get i18nlang(){return V()},set i18nlang(p=void 0){V(p),N()},get page_title(){return R()},set page_title(p=void 0){R(p),N()},get policies(){return k()},set policies(p=void 0){k(p),N()},get company(){return C()},set company(p=void 0){C(p),N()}},Ye=vt();Si("1xkklu8",p=>{var h=vt(),Ee=ft(h);{var gt=fe=>{var tt=vt(),Ne=ft(tt);Ti(Ne,17,r,$e=>$e.content+""+$e.property+$e.name,($e,S)=>{var nt=vt(),Mt=ft(nt);{var ln=Re=>{var rt=Ii();w(()=>{_t(rt,"name",A(S).name),_t(rt,"content",A(S).content)}),le(Re,rt)},Y=Re=>{var rt=vt(),Hi=ft(rt);{var Yi=an=>{var on=ji();w(()=>{_t(on,"property",A(S).property),_t(on,"content",A(S).content)}),le(an,on)};Ot(Hi,an=>{A(S).property&&an(Yi)},!0)}le(Re,rt)};Ot(Mt,Re=>{A(S).name?Re(ln):Re(Y,!1)})}le($e,nt)}),le(fe,tt)};Ot(Ee,fe=>{r()&&fe(gt)})}le(p,h)});var Ue=ft(Ye);{var pt=p=>{var h=qi();b(h,"id","layout_mobile"),fr(h,A(X)),w(()=>b(h,"page_title",R())),w(()=>b(h,"company",C())),w(()=>b(h,"sidebar",_())),w(()=>b(h,"pagename",o())),w(()=>b(h,"socials",u())),w(()=>b(h,"navlinks",d())),w(()=>b(h,"contacts",v())),w(()=>b(h,"i18nlang",V())),w(()=>b(h,"columns",g())),w(()=>b(h,"usermenu",T())),w(()=>b(h,"cookielawlanguage",a())),w(()=>b(h,"cookielawallowdecline",l())),w(()=>b(h,"cookielawuri4more",s())),w(()=>b(h,"cookielaw",f())),w(()=>b(h,"footer",i())),w(()=>b(h,"policies",k()));var Ee=he(h),gt=he(Ee);xe(gt,t,"page",{},Y=>{var Re=sr("page");le(Y,Re)}),ue(Ee);var fe=Ze(Ee,2),tt=he(fe);xe(tt,t,"nav-header-slot",{},null),ue(fe);var Ne=Ze(fe,2),$e=he(Ne);xe($e,t,"nav-left-slot",{},null),ue(Ne);var S=Ze(Ne,2),nt=he(S);xe(nt,t,"nav-center-slot",{},null),ue(S);var Mt=Ze(S,2),ln=he(Mt);xe(ln,t,"nav-right-slot",{},null),ue(Mt),ue(h),J("escreen",h,function(...Y){c()?.apply(this,Y)}),J("footerClick",h,Y=>O("footerClick",Y.detail)),J("pageChange",h,Y=>O("pageChange",Y.detail)),J("offcanvasswitch",h,Y=>O("offcanvasswitch",Y.detail)),J("layoutStatus",h,Y=>O("layoutStatus",Y.detail)),J("navbarSlotClick",h,Y=>O("navbarSlotClick",Y.detail)),le(p,h)},sn=p=>{var h=Bi();b(h,"id","layout_desktop"),fr(h,A(H)),w(()=>b(h,"page_title",R())),w(()=>b(h,"company",C())),w(()=>b(h,"sidebar",_())),w(()=>b(h,"pagename",o())),w(()=>b(h,"socials",u())),w(()=>b(h,"navlinks",d())),w(()=>b(h,"contacts",v())),w(()=>b(h,"i18nlang",V())),w(()=>b(h,"columns",g())),w(()=>b(h,"usermenu",T())),w(()=>b(h,"cookielawlanguage",a())),w(()=>b(h,"cookielawallowdecline",l())),w(()=>b(h,"cookielawuri4more",s())),w(()=>b(h,"cookielaw",f())),w(()=>b(h,"footer",i())),w(()=>b(h,"policies",k()));var Ee=he(h),gt=he(Ee);xe(gt,t,"page",{},S=>{var nt=sr("page");le(S,nt)}),ue(Ee);var fe=Ze(Ee,2),tt=he(fe);xe(tt,t,"nav-center-slot",{},null),ue(fe);var Ne=Ze(fe,2),$e=he(Ne);xe($e,t,"nav-right-slot",{},null),ue(Ne),ue(h),J("escreen",h,function(...S){c()?.apply(this,S)}),J("navbarDropDownClick",h,S=>O("navbarDropDownClick",S.detail)),J("footerClick",h,S=>O("footerClick",S.detail)),J("pageChange",h,S=>O("pageChange",S.detail)),J("offcanvasswitch",h,S=>O("offcanvasswitch",S.detail)),J("layoutStatus",h,S=>O("layoutStatus",S.detail)),J("navbarSlotClick",h,S=>O("navbarSlotClick",S.detail)),le(p,h)};Ot(Ue,p=>{A(He)<800?p(pt):p(sn,!1)})}return Di("innerWidth",p=>de(He,p,!0)),le(e,Ye),bn(Z)}customElements.define("hb-layout",Pi(_r,{id:{},heders:{},footer:{},cookielawuri4more:{},cookielawallowdecline:{},cookielawlanguage:{},pagename:{},cookielaw:{},onescreen:{},sidebar:{},socials:{},navlinks:{},contacts:{},columns:{},usermenu:{},i18nlang:{},page_title:{},policies:{},company:{}},["page","nav-header-slot","nav-left-slot","nav-center-slot","nav-right-slot"],[],!0)),fn.Component=_r,Object.defineProperty(fn,Symbol.toStringTag,{value:"Module"})})(this.layout=this.layout||{});
|
|
12
3
|
//# sourceMappingURL=main.iife.js.map
|