@htmlbricks/hb-layout-mobile 0.61.48 → 0.61.50

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