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