@htmlbricks/hb-editor-video 0.50.0-alpha.19 → 0.50.0-alpha.22
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 +6 -2
package/main.iife.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Ds=Object.defineProperty;var An=H=>{throw TypeError(H)};var Ns=(H,W,Z)=>W in H?Ds(H,W,{enumerable:!0,configurable:!0,writable:!0,value:Z}):H[W]=Z;var ye=(H,W,Z)=>Ns(H,typeof W!="symbol"?W+"":W,Z),Cn=(H,W,Z)=>W.has(H)||An("Cannot "+Z);var le=(H,W,Z)=>(Cn(H,W,"read from private field"),Z?Z.call(H):W.get(H)),br=(H,W,Z)=>W.has(H)?An("Cannot add the same private member more than once"):W instanceof WeakSet?W.add(H):W.set(H,Z),gr=(H,W,Z,gt)=>(Cn(H,W,"write to private field"),gt?gt.call(H,Z):W.set(H,Z),Z);(function(H){"use strict";var Ce,me;const W="5";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(W);const Z=1,gt=4,Rn=8,In=16,Pn=1,Ln=2,Ft="[",pr="[!",yr="]",ft={},ie=Symbol(),Ut=!1,_e=2,$r=4,pt=8,Wt=16,Ve=32,Ge=64,yt=128,de=256,$t=512,te=1024,Oe=2048,Je=4096,Xe=8192,wt=16384,Yn=32768,Bt=65536,wr=1<<19,kr=1<<20,kt=Symbol("$state"),xr=Symbol("legacy props"),Hn=Symbol("");var jr=Array.isArray,qn=Array.prototype.indexOf,Fn=Array.from,xt=Object.keys,jt=Object.defineProperty,qe=Object.getOwnPropertyDescriptor,Un=Object.getOwnPropertyDescriptors,Wn=Object.prototype,Bn=Array.prototype,Er=Object.getPrototypeOf;function Sr(e){for(var t=0;t<e.length;t++)e[t]()}const zn=typeof requestIdleCallback>"u"?e=>setTimeout(e,1):requestIdleCallback;let Et=!1,St=!1,zt=[],Gt=[];function Tr(){Et=!1;const e=zt.slice();zt=[],Sr(e)}function Mr(){St=!1;const e=Gt.slice();Gt=[],Sr(e)}function Vr(e){Et||(Et=!0,queueMicrotask(Tr)),zt.push(e)}function Gn(e){St||(St=!0,zn(Mr)),Gt.push(e)}function Jn(){Et&&Tr(),St&&Mr()}function Or(e){return e===this.v}function Xn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Dr(e){return!Xn(e,this.v)}function Kn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Zn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Qn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function ei(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function ti(){throw new Error("https://svelte.dev/e/hydration_failed")}function ri(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function ni(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function ii(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function si(){throw new Error("https://svelte.dev/e/state_unsafe_local_read")}function ai(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}let oi=!1;function $e(e,t){var r={f:0,v:e,reactions:null,equals:Or,rv:0,wv:0};return r}function Q(e){return li($e(e))}function Nr(e,t=!1){const r=$e(e);return t||(r.equals=Dr),r}function li(e){return I!==null&&!xe&&I.f&_e&&(Se===null?mi([e]):Se.push(e)),e}function N(e,t){return I!==null&&!xe&&fn()&&I.f&(_e|Wt)&&(Se===null||!Se.includes(e))&&ai(),ui(e,t)}function ui(e,t){return e.equals(t)||(e.v,e.v=t,e.wv=Gr(),Ar(e,Oe),L!==null&&L.f&te&&!(L.f&(Ve|Ge))&&(Ne===null?_i([e]):Ne.push(e))),t}function Ar(e,t){var r=e.reactions;if(r!==null)for(var i=r.length,s=0;s<i;s++){var n=r[s],a=n.f;a&Oe||(Te(n,t),a&(te|de)&&(a&_e?Ar(n,Je):Nt(n)))}}function Cr(e){var t=_e|Oe,r=I!==null&&I.f&_e?I:null;return L===null||r!==null&&r.f&de?t|=de:L.f|=kr,{ctx:ce,deps:null,effects:null,equals:Or,f:t,fn:e,reactions:null,rv:0,v:null,wv:0,parent:r??L}}function Rr(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)Le(t[r])}}function ci(e){for(var t=e.parent;t!==null;){if(!(t.f&_e))return t;t=t.parent}return null}function fi(e){var t,r=L;Ee(ci(e));try{Rr(e),t=Xr(e)}finally{Ee(r)}return t}function Ir(e){var t=fi(e),r=(Pe||e.f&de)&&e.deps!==null?Je:te;Te(e,r),e.equals(t)||(e.v=t,e.wv=Gr())}function Jt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let F=!1;function we(e){F=e}let B;function ke(e){if(e===null)throw Jt(),ft;return B=e}function Xt(){return ke(De(B))}function se(e){if(F){if(De(B)!==null)throw Jt(),ft;B=e}}function Pr(e=1){if(F){for(var t=e,r=B;t--;)r=De(r);B=r}}function di(){for(var e=0,t=B;;){if(t.nodeType===8){var r=t.data;if(r===yr){if(e===0)return t;e-=1}else(r===Ft||r===pr)&&(e+=1)}var i=De(t);t.remove(),t=i}}function z(e,t=null,r){if(typeof e!="object"||e===null||kt in e)return e;const i=Er(e);if(i!==Wn&&i!==Bn)return e;var s=new Map,n=jr(e),a=$e(0);n&&s.set("length",$e(e.length));var c;return new Proxy(e,{defineProperty(d,o,h){(!("value"in h)||h.configurable===!1||h.enumerable===!1||h.writable===!1)&&ni();var l=s.get(o);return l===void 0?(l=$e(h.value),s.set(o,l)):N(l,z(h.value,c)),!0},deleteProperty(d,o){var h=s.get(o);if(h===void 0)o in d&&s.set(o,$e(ie));else{if(n&&typeof o=="string"){var l=s.get("length"),f=Number(o);Number.isInteger(f)&&f<l.v&&N(l,f)}N(h,ie),Lr(a)}return!0},get(d,o,h){var j;if(o===kt)return e;var l=s.get(o),f=o in d;if(l===void 0&&(!f||(j=qe(d,o))!=null&&j.writable)&&(l=$e(z(f?d[o]:ie,c)),s.set(o,l)),l!==void 0){var p=g(l);return p===ie?void 0:p}return Reflect.get(d,o,h)},getOwnPropertyDescriptor(d,o){var h=Reflect.getOwnPropertyDescriptor(d,o);if(h&&"value"in h){var l=s.get(o);l&&(h.value=g(l))}else if(h===void 0){var f=s.get(o),p=f==null?void 0:f.v;if(f!==void 0&&p!==ie)return{enumerable:!0,configurable:!0,value:p,writable:!0}}return h},has(d,o){var p;if(o===kt)return!0;var h=s.get(o),l=h!==void 0&&h.v!==ie||Reflect.has(d,o);if(h!==void 0||L!==null&&(!l||(p=qe(d,o))!=null&&p.writable)){h===void 0&&(h=$e(l?z(d[o],c):ie),s.set(o,h));var f=g(h);if(f===ie)return!1}return l},set(d,o,h,l){var A;var f=s.get(o),p=o in d;if(n&&o==="length")for(var j=h;j<f.v;j+=1){var E=s.get(j+"");E!==void 0?N(E,ie):j in d&&(E=$e(ie),s.set(j+"",E))}f===void 0?(!p||(A=qe(d,o))!=null&&A.writable)&&(f=$e(void 0),N(f,z(h,c)),s.set(o,f)):(p=f.v!==ie,N(f,z(h,c)));var C=Reflect.getOwnPropertyDescriptor(d,o);if(C!=null&&C.set&&C.set.call(l,h),!p){if(n&&typeof o=="string"){var Y=s.get("length"),O=Number(o);Number.isInteger(O)&&O>=Y.v&&N(Y,O+1)}Lr(a)}return!0},ownKeys(d){g(a);var o=Reflect.ownKeys(d).filter(f=>{var p=s.get(f);return p===void 0||p.v!==ie});for(var[h,l]of s)l.v!==ie&&!(h in d)&&o.push(h);return o},setPrototypeOf(){ii()}})}function Lr(e,t=1){N(e,e.v+t)}var Yr,Hr,qr,Fr;function Kt(){if(Yr===void 0){Yr=window,Hr=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype;qr=qe(t,"firstChild").get,Fr=qe(t,"nextSibling").get,e.__click=void 0,e.__className="",e.__attributes=null,e.__styles=null,e.__e=void 0,Text.prototype.__t=void 0}}function Ke(e=""){return document.createTextNode(e)}function Ze(e){return qr.call(e)}function De(e){return Fr.call(e)}function ae(e,t){if(!F)return Ze(e);var r=Ze(B);return r===null&&(r=B.appendChild(Ke())),ke(r),r}function re(e,t=1,r=!1){let i=F?B:e;for(var s;t--;)s=i,i=De(i);if(!F)return i;var n=i==null?void 0:i.nodeType;if(r&&n!==3){var a=Ke();return i===null?s==null||s.after(a):i.before(a),ke(a),a}return ke(i),i}function hi(e){e.textContent=""}const Ur=0,vi=1;let Tt=!1,Mt=Ur,dt=!1,ht=null,Qe=!1,Zt=!1;function Wr(e){Qe=e}function Br(e){Zt=e}let Fe=[],et=0,As=[],I=null,xe=!1;function je(e){I=e}let L=null;function Ee(e){L=e}let Se=null;function mi(e){Se=e}let ne=null,ue=0,Ne=null;function _i(e){Ne=e}let zr=1,Vt=0,Pe=!1;function Gr(){return++zr}function vt(e){var l;var t=e.f;if(t&Oe)return!0;if(t&Je){var r=e.deps,i=(t&de)!==0;if(r!==null){var s,n,a=(t&$t)!==0,c=i&&L!==null&&!Pe,d=r.length;if(a||c){var o=e,h=o.parent;for(s=0;s<d;s++)n=r[s],(a||!((l=n==null?void 0:n.reactions)!=null&&l.includes(o)))&&(n.reactions??(n.reactions=[])).push(o);a&&(o.f^=$t),c&&h!==null&&!(h.f&de)&&(o.f^=de)}for(s=0;s<d;s++)if(n=r[s],vt(n)&&Ir(n),n.wv>e.wv)return!0}(!i||L!==null&&!Pe)&&Te(e,te)}return!1}function bi(e,t){for(var r=t;r!==null;){if(r.f&yt)try{r.fn(e);return}catch{r.f^=yt}r=r.parent}throw Tt=!1,e}function gi(e){return(e.f&wt)===0&&(e.parent===null||(e.parent.f&yt)===0)}function Ot(e,t,r,i){if(Tt){if(r===null&&(Tt=!1),gi(t))throw e;return}r!==null&&(Tt=!0);{bi(e,t);return}}function Jr(e,t,r=!0){var i=e.reactions;if(i!==null)for(var s=0;s<i.length;s++){var n=i[s];n.f&_e?Jr(n,t,!1):t===n&&(r?Te(n,Oe):n.f&te&&Te(n,Je),Nt(n))}}function Xr(e){var p;var t=ne,r=ue,i=Ne,s=I,n=Pe,a=Se,c=ce,d=xe,o=e.f;ne=null,ue=0,Ne=null,I=o&(Ve|Ge)?null:e,Pe=(o&de)!==0&&(!Qe||s===null||d),Se=null,ln(e.ctx),xe=!1,Vt++;try{var h=(0,e.fn)(),l=e.deps;if(ne!==null){var f;if(Dt(e,ue),l!==null&&ue>0)for(l.length=ue+ne.length,f=0;f<ne.length;f++)l[ue+f]=ne[f];else e.deps=l=ne;if(!Pe)for(f=ue;f<l.length;f++)((p=l[f]).reactions??(p.reactions=[])).push(e)}else l!==null&&ue<l.length&&(Dt(e,ue),l.length=ue);if(fn()&&Ne!==null&&!xe&&l!==null&&!(e.f&(_e|Je|Oe)))for(f=0;f<Ne.length;f++)Jr(Ne[f],e);return s!==null&&Vt++,h}finally{ne=t,ue=r,Ne=i,I=s,Pe=n,Se=a,ln(c),xe=d}}function pi(e,t){let r=t.reactions;if(r!==null){var i=qn.call(r,e);if(i!==-1){var s=r.length-1;s===0?r=t.reactions=null:(r[i]=r[s],r.pop())}}r===null&&t.f&_e&&(ne===null||!ne.includes(t))&&(Te(t,Je),t.f&(de|$t)||(t.f^=$t),Rr(t),Dt(t,0))}function Dt(e,t){var r=e.deps;if(r!==null)for(var i=t;i<r.length;i++)pi(e,r[i])}function Qt(e){var t=e.f;if(!(t&wt)){Te(e,te);var r=L,i=ce;L=e;try{t&Wt?Vi(e):rn(e),tn(e);var s=Xr(e);e.teardown=typeof s=="function"?s:null,e.wv=zr;var n=e.deps,a;Ut&&oi&&e.f&Oe}catch(c){Ot(c,e,r,i||e.ctx)}finally{L=r}}}function Kr(){if(et>1e3){et=0;try{ei()}catch(e){if(ht!==null)Ot(e,ht,null);else throw e}}et++}function Zr(e){var t=e.length;if(t!==0){Kr();var r=Qe;Qe=!0;try{for(var i=0;i<t;i++){var s=e[i];s.f&te||(s.f^=te);var n=wi(s);yi(n)}}finally{Qe=r}}}function yi(e){var t=e.length;if(t!==0)for(var r=0;r<t;r++){var i=e[r];if(!(i.f&(wt|Xe)))try{vt(i)&&(Qt(i),i.deps===null&&i.first===null&&i.nodes_start===null&&(i.teardown===null?nn(i):i.fn=null))}catch(s){Ot(s,i,null,i.ctx)}}}function $i(){if(dt=!1,et>1001)return;const e=Fe;Fe=[],Zr(e),dt||(et=0,ht=null)}function Nt(e){Mt===Ur&&(dt||(dt=!0,queueMicrotask($i))),ht=e;for(var t=e;t.parent!==null;){t=t.parent;var r=t.f;if(r&(Ge|Ve)){if(!(r&te))return;t.f^=te}}Fe.push(t)}function wi(e){var t=[],r=e.first;e:for(;r!==null;){var i=r.f,s=(i&Ve)!==0,n=s&&(i&te)!==0,a=r.next;if(!n&&!(i&Xe)){if(i&$r)t.push(r);else if(s)r.f^=te;else{var c=I;try{I=r,vt(r)&&Qt(r)}catch(h){Ot(h,r,null,r.ctx)}finally{I=c}}var d=r.first;if(d!==null){r=d;continue}}if(a===null){let h=r.parent;for(;h!==null;){if(e===h)break e;var o=h.next;if(o!==null){r=o;continue e}h=h.parent}}r=a}return t}function Ue(e){var t=Mt,r=Fe;try{Kr();const s=[];Mt=vi,Fe=s,dt=!1,Zr(r);var i=e==null?void 0:e();return Jn(),(Fe.length>0||s.length>0)&&Ue(),et=0,ht=null,i}finally{Mt=t,Fe=r}}function g(e){var t=e.f,r=(t&_e)!==0;if(I!==null&&!xe){Se!==null&&Se.includes(e)&&si();var i=I.deps;e.rv<Vt&&(e.rv=Vt,ne===null&&i!==null&&i[ue]===e?ue++:ne===null?ne=[e]:(!Pe||!ne.includes(e))&&ne.push(e))}else if(r&&e.deps===null&&e.effects===null){var s=e,n=s.parent;n!==null&&!(n.f&de)&&(s.f^=de)}return r&&(s=e,vt(s)&&Ir(s)),e.v}function er(e){var t=xe;try{return xe=!0,e()}finally{xe=t}}const ki=-7169;function Te(e,t){e.f=e.f&ki|t}function xi(e){L===null&&I===null&&Qn(),I!==null&&I.f&de&&L===null&&Zn(),Zt&&Kn()}function ji(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function We(e,t,r,i=!0){var s=(e&Ge)!==0,n=L,a={ctx:ce,deps:null,nodes_start:null,nodes_end:null,f:e|Oe,first:null,fn:t,last:null,next:null,parent:s?null:n,prev:null,teardown:null,transitions:null,wv:0};if(r){var c=Qe;try{Wr(!0),Qt(a),a.f|=Yn}catch(h){throw Le(a),h}finally{Wr(c)}}else t!==null&&Nt(a);var d=r&&a.deps===null&&a.first===null&&a.nodes_start===null&&a.teardown===null&&(a.f&(kr|yt))===0;if(!d&&!s&&i&&(n!==null&&ji(a,n),I!==null&&I.f&_e)){var o=I;(o.effects??(o.effects=[])).push(a)}return a}function Ei(e){const t=We(pt,null,!1);return Te(t,te),t.teardown=e,t}function Si(e){xi();var t=L!==null&&(L.f&Ve)!==0&&ce!==null&&!ce.m;if(t){var r=ce;(r.e??(r.e=[])).push({fn:e,effect:L,reaction:I})}else{var i=Qr(e);return i}}function Ti(e){const t=We(Ge,e,!0);return()=>{Le(t)}}function Mi(e){const t=We(Ge,e,!0);return(r={})=>new Promise(i=>{r.outro?nr(t,()=>{Le(t),i(void 0)}):(Le(t),i(void 0))})}function Qr(e){return We($r,e,!1)}function en(e){return We(pt,e,!0)}function be(e,t=[],r=Cr){const i=t.map(r);return tr(()=>e(...i.map(g)))}function tr(e,t=0){return We(pt|Wt|t,e,!0)}function rr(e,t=!0){return We(pt|Ve,e,!0,t)}function tn(e){var t=e.teardown;if(t!==null){const r=Zt,i=I;Br(!0),je(null);try{t.call(null)}finally{Br(r),je(i)}}}function rn(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){var i=r.next;Le(r,t),r=i}}function Vi(e){for(var t=e.first;t!==null;){var r=t.next;t.f&Ve||Le(t),t=r}}function Le(e,t=!0){var r=!1;if((t||e.f&wr)&&e.nodes_start!==null){for(var i=e.nodes_start,s=e.nodes_end;i!==null;){var n=i===s?null:De(i);i.remove(),i=n}r=!0}rn(e,t&&!r),Dt(e,0),Te(e,wt);var a=e.transitions;if(a!==null)for(const d of a)d.stop();tn(e);var c=e.parent;c!==null&&c.first!==null&&nn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=null}function nn(e){var t=e.parent,r=e.prev,i=e.next;r!==null&&(r.next=i),i!==null&&(i.prev=r),t!==null&&(t.first===e&&(t.first=i),t.last===e&&(t.last=r))}function nr(e,t){var r=[];sn(e,r,!0),Oi(r,()=>{Le(e),t&&t()})}function Oi(e,t){var r=e.length;if(r>0){var i=()=>--r||t();for(var s of e)s.out(i)}else t()}function sn(e,t,r){if(!(e.f&Xe)){if(e.f^=Xe,e.transitions!==null)for(const a of e.transitions)(a.is_global||r)&&t.push(a);for(var i=e.first;i!==null;){var s=i.next,n=(i.f&Bt)!==0||(i.f&Ve)!==0;sn(i,t,n?r:!1),i=s}}}function an(e){on(e,!0)}function on(e,t){if(e.f&Xe){e.f^=Xe,e.f&te||(e.f^=te),vt(e)&&(Te(e,Oe),Nt(e));for(var r=e.first;r!==null;){var i=r.next,s=(r.f&Bt)!==0||(r.f&Ve)!==0;on(r,s?t:!1),r=i}if(e.transitions!==null)for(const n of e.transitions)(n.is_global||t)&&n.in()}}let ce=null;function ln(e){ce=e}function un(e,t=!1,r){ce={p:ce,c:null,e:null,m:!1,s:e,x:null,l:null}}function cn(e){const t=ce;if(t!==null){e!==void 0&&(t.x=e);const a=t.e;if(a!==null){var r=L,i=I;t.e=null;try{for(var s=0;s<a.length;s++){var n=a[s];Ee(n.effect),je(n.reaction),Qr(n.fn)}}finally{Ee(r),je(i)}}ce=t.p,t.m=!0}return e||{}}function fn(){return!0}const Di=["touchstart","touchmove"];function Ni(e){return Di.includes(e)}let dn=!1;function hn(){dn||(dn=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{var t;if(!e.defaultPrevented)for(const r of e.target.elements)(t=r.__on_r)==null||t.call(r)})},{capture:!0}))}function vn(e){var t=I,r=L;je(null),Ee(null);try{return e()}finally{je(t),Ee(r)}}function Ai(e,t,r,i=r){e.addEventListener(t,()=>vn(r));const s=e.__on_r;s?e.__on_r=()=>{s(),i(!0)}:e.__on_r=()=>i(!0),hn()}const mn=new Set,ir=new Set;function Ci(e,t,r,i={}){function s(n){if(i.capture||mt.call(t,n),!n.cancelBubble)return vn(()=>r==null?void 0:r.call(this,n))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?Vr(()=>{t.addEventListener(e,s,i)}):t.addEventListener(e,s,i),s}function tt(e,t,r,i,s){var n={capture:i,passive:s},a=Ci(e,t,r,n);(t===document.body||t===window||t===document)&&Ei(()=>{t.removeEventListener(e,a,n)})}function Ri(e){for(var t=0;t<e.length;t++)mn.add(e[t]);for(var r of ir)r(e)}function mt(e){var O;var t=this,r=t.ownerDocument,i=e.type,s=((O=e.composedPath)==null?void 0:O.call(e))||[],n=s[0]||e.target,a=0,c=e.__root;if(c){var d=s.indexOf(c);if(d!==-1&&(t===document||t===window)){e.__root=t;return}var o=s.indexOf(t);if(o===-1)return;d<=o&&(a=d)}if(n=s[a]||e.target,n!==t){jt(e,"currentTarget",{configurable:!0,get(){return n||r}});var h=I,l=L;je(null),Ee(null);try{for(var f,p=[];n!==null;){var j=n.assignedSlot||n.parentNode||n.host||null;try{var E=n["__"+i];if(E!==void 0&&!n.disabled)if(jr(E)){var[C,...Y]=E;C.apply(n,[e,...Y])}else E.call(n,e)}catch(A){f?p.push(A):f=A}if(e.cancelBubble||j===t||j===null)break;n=j}if(f){for(let A of p)queueMicrotask(()=>{throw A});throw f}}finally{e.__root=t,delete e.currentTarget,je(h),Ee(l)}}}let he;function Ii(){he=void 0}function Pi(e){let t=null,r=F;var i;if(F){for(t=B,he===void 0&&(he=Ze(document.head));he!==null&&(he.nodeType!==8||he.data!==Ft);)he=De(he);he===null?we(!1):he=ke(De(he))}F||(i=document.head.appendChild(Ke()));try{tr(()=>e(i),wr)}finally{r&&(we(!0),he=B,ke(t))}}function Li(e){var t=document.createElement("template");return t.innerHTML=e,t.content}function rt(e,t){var r=L;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function Ae(e,t){var r=(t&Pn)!==0,i=(t&Ln)!==0,s,n=!e.startsWith("<!>");return()=>{if(F)return rt(B,null),B;s===void 0&&(s=Li(n?e:"<!>"+e),r||(s=Ze(s)));var a=i||Hr?document.importNode(s,!0):s.cloneNode(!0);if(r){var c=Ze(a),d=a.lastChild;rt(c,d)}else rt(a,a);return a}}function Yi(e=""){if(!F){var t=Ke(e+"");return rt(t,t),t}var r=B;return r.nodeType!==3&&(r.before(r=Ke()),ke(r)),rt(r,r),r}function ge(e,t){if(F){L.nodes_end=B,Xt();return}e!==null&&e.before(t)}function Hi(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??(e.__t=e.nodeValue))&&(e.__t=r,e.nodeValue=r+"")}function _n(e,t){return bn(e,t)}function qi(e,t){Kt(),t.intro=t.intro??!1;const r=t.target,i=F,s=B;try{for(var n=Ze(r);n&&(n.nodeType!==8||n.data!==Ft);)n=De(n);if(!n)throw ft;we(!0),ke(n),Xt();const a=bn(e,{...t,anchor:n});if(B===null||B.nodeType!==8||B.data!==yr)throw Jt(),ft;return we(!1),a}catch(a){if(a===ft)return t.recover===!1&&ti(),Kt(),hi(r),we(!1),_n(e,t);throw a}finally{we(i),ke(s),Ii()}}const nt=new Map;function bn(e,{target:t,anchor:r,props:i={},events:s,context:n,intro:a=!0}){Kt();var c=new Set,d=l=>{for(var f=0;f<l.length;f++){var p=l[f];if(!c.has(p)){c.add(p);var j=Ni(p);t.addEventListener(p,mt,{passive:j});var E=nt.get(p);E===void 0?(document.addEventListener(p,mt,{passive:j}),nt.set(p,1)):nt.set(p,E+1)}}};d(Fn(mn)),ir.add(d);var o=void 0,h=Mi(()=>{var l=r??t.appendChild(Ke());return rr(()=>{if(n){un({});var f=ce;f.c=n}s&&(i.$$events=s),F&&rt(l,null),o=e(l,i)||{},F&&(L.nodes_end=B),n&&cn()}),()=>{var j;for(var f of c){t.removeEventListener(f,mt);var p=nt.get(f);--p===0?(document.removeEventListener(f,mt),nt.delete(f)):nt.set(f,p)}ir.delete(d),l!==r&&((j=l.parentNode)==null||j.removeChild(l))}});return sr.set(o,h),o}let sr=new WeakMap;function Fi(e,t){const r=sr.get(e);return r?(sr.delete(e),r(t)):Promise.resolve()}function it(e,t,r=!1){F&&Xt();var i=e,s=null,n=null,a=ie,c=r?Bt:0,d=!1;const o=(l,f=!0)=>{d=!0,h(f,l)},h=(l,f)=>{if(a===(a=l))return;let p=!1;if(F){const j=i.data===pr;!!a===j&&(i=di(),ke(i),we(!1),p=!0)}a?(s?an(s):f&&(s=rr(()=>f(i))),n&&nr(n,()=>{n=null})):(n?an(n):f&&(n=rr(()=>f(i))),s&&nr(s,()=>{s=null})),p&&we(!0)};tr(()=>{d=!1,t(o),d||h(null,null)},c),F&&(i=B)}function Ui(e,t){Vr(()=>{var r=e.getRootNode(),i=r.host?r:r.head??r.ownerDocument.head;if(!i.querySelector("#"+t.hash)){const s=document.createElement("style");s.id=t.hash,s.textContent=t.code,i.appendChild(s)}})}function st(e){if(F){var t=!1,r=()=>{if(!t){if(t=!0,e.hasAttribute("value")){var i=e.value;At(e,"value",null),e.value=i}if(e.hasAttribute("checked")){var s=e.checked;At(e,"checked",null),e.checked=s}}};e.__on_r=r,Gn(r),hn()}}function At(e,t,r,i){var s=e.__attributes??(e.__attributes={});F&&(s[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||s[t]!==(s[t]=r)&&(t==="style"&&"__styles"in e&&(e.__styles={}),t==="loading"&&(e[Hn]=r),r==null?e.removeAttribute(t):typeof r!="string"&&gn(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function ve(e,t,r){var i=I,s=L;let n=F;F&&we(!1),je(null),Ee(null);try{(ar.has(e.nodeName)||!customElements||customElements.get(e.tagName.toLowerCase())?gn(e).includes(t):r&&typeof r=="object")?e[t]=r:At(e,t,r==null?r:String(r))}finally{je(i),Ee(s),n&&we(!0)}}var ar=new Map;function gn(e){var t=ar.get(e.nodeName);if(t)return t;ar.set(e.nodeName,t=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=Un(i);for(var n in r)r[n].set&&t.push(n);i=Er(i)}return t}function at(e,t,r=t){Ai(e,"input",i=>{var s=i?e.defaultValue:e.value;if(s=or(e)?lr(s):s,r(s),s!==(s=t())){var n=e.selectionStart,a=e.selectionEnd;e.value=s??"",a!==null&&(e.selectionStart=n,e.selectionEnd=Math.min(a,e.value.length))}}),(F&&e.defaultValue!==e.value||er(t)==null&&e.value)&&r(or(e)?lr(e.value):e.value),en(()=>{var i=t();or(e)&&i===lr(e.value)||e.type==="date"&&!i&&!e.value||i!==e.value&&(e.value=i??"")})}function or(e){var t=e.type;return t==="number"||t==="range"}function lr(e){return e===""?null:+e}let Ct=!1;function Wi(e){var t=Ct;try{return Ct=!1,[e(),Ct]}finally{Ct=t}}function _t(e,t,r,i){var K;var s=(r&Z)!==0,n=!0,a=(r&Rn)!==0,c=(r&In)!==0,d=!1,o;a?[o,d]=Wi(()=>e[t]):o=e[t];var h=kt in e||xr in e,l=a&&(((K=qe(e,t))==null?void 0:K.set)??(h&&t in e&&(x=>e[t]=x)))||void 0,f=i,p=!0,j=!1,E=()=>(j=!0,p&&(p=!1,c?f=er(i):f=i),f);o===void 0&&i!==void 0&&(l&&n&&ri(),o=E(),l&&l(o));var C;if(C=()=>{var x=e[t];return x===void 0?E():(p=!0,j=!1,x)},!(r>))return C;if(l){var Y=e.$$legacy;return function(x,y){return arguments.length>0?((!y||Y||d)&&l(y?C():x),x):C()}}var O=!1,A=Nr(o),ee=Cr(()=>{var x=C(),y=g(A);return O?(O=!1,y):A.v=x});return s||(ee.equals=Dr),function(x,y){if(arguments.length>0){const m=y?g(ee):a?z(x):x;return ee.equals(m)||(O=!0,N(A,m),j&&f!==void 0&&(f=m),er(()=>g(ee))),x}return g(ee)}}function Bi(e){return new zi(e)}class zi{constructor(t){br(this,Ce);br(this,me);var n;var r=new Map,i=(a,c)=>{var d=Nr(c);return r.set(a,d),d};const s=new Proxy({...t.props||{},$$events:{}},{get(a,c){return g(r.get(c)??i(c,Reflect.get(a,c)))},has(a,c){return c===xr?!0:(g(r.get(c)??i(c,Reflect.get(a,c))),Reflect.has(a,c))},set(a,c,d){return N(r.get(c)??i(c,d),d),Reflect.set(a,c,d)}});gr(this,me,(t.hydrate?qi:_n)(t.component,{target:t.target,anchor:t.anchor,props:s,context:t.context,intro:t.intro??!1,recover:t.recover})),(!((n=t==null?void 0:t.props)!=null&&n.$$host)||t.sync===!1)&&Ue(),gr(this,Ce,s.$$events);for(const a of Object.keys(le(this,me)))a==="$set"||a==="$destroy"||a==="$on"||jt(this,a,{get(){return le(this,me)[a]},set(c){le(this,me)[a]=c},enumerable:!0});le(this,me).$set=a=>{Object.assign(s,a)},le(this,me).$destroy=()=>{Fi(le(this,me))}}$set(t){le(this,me).$set(t)}$on(t,r){le(this,Ce)[t]=le(this,Ce)[t]||[];const i=(...s)=>r.call(this,...s);return le(this,Ce)[t].push(i),()=>{le(this,Ce)[t]=le(this,Ce)[t].filter(s=>s!==i)}}$destroy(){le(this,me).$destroy()}}Ce=new WeakMap,me=new WeakMap;let pn;typeof HTMLElement=="function"&&(pn=class extends HTMLElement{constructor(t,r,i){super();ye(this,"$$ctor");ye(this,"$$s");ye(this,"$$c");ye(this,"$$cn",!1);ye(this,"$$d",{});ye(this,"$$r",!1);ye(this,"$$p_d",{});ye(this,"$$l",{});ye(this,"$$l_u",new Map);ye(this,"$$me");this.$$ctor=t,this.$$s=r,i&&this.attachShadow({mode:"open"})}addEventListener(t,r,i){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const s=this.$$c.$on(t,r);this.$$l_u.set(r,s)}super.addEventListener(t,r,i)}removeEventListener(t,r,i){if(super.removeEventListener(t,r,i),this.$$c){const s=this.$$l_u.get(r);s&&(s(),this.$$l_u.delete(r))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(s){return n=>{const a=document.createElement("slot");s!=="default"&&(a.name=s),ge(n,a)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const r={},i=Gi(this);for(const s of this.$$s)s in i&&(s==="default"&&!this.$$d.children?(this.$$d.children=t(s),r.default=!0):r[s]=t(s));for(const s of this.attributes){const n=this.$$g_p(s.name);n in this.$$d||(this.$$d[n]=Rt(n,s.value,this.$$p_d,"toProp"))}for(const s in this.$$p_d)!(s in this.$$d)&&this[s]!==void 0&&(this.$$d[s]=this[s],delete this[s]);this.$$c=Bi({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:r,$$host:this}}),this.$$me=Ti(()=>{en(()=>{var s;this.$$r=!0;for(const n of xt(this.$$c)){if(!((s=this.$$p_d[n])!=null&&s.reflect))continue;this.$$d[n]=this.$$c[n];const a=Rt(n,this.$$d[n],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,a)}this.$$r=!1})});for(const s in this.$$l)for(const n of this.$$l[s]){const a=this.$$c.$on(s,n);this.$$l_u.set(n,a)}this.$$l={}}}attributeChangedCallback(t,r,i){var s;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Rt(t,i,this.$$p_d,"toProp"),(s=this.$$c)==null||s.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(t){return xt(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function Rt(e,t,r,i){var n;const s=(n=r[e])==null?void 0:n.type;if(t=s==="Boolean"&&typeof t!="boolean"?t!=null:t,!i||!r[e])return t;if(i==="toAttribute")switch(s){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(s){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Gi(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function Ji(e,t,r,i,s,n){let a=class extends pn{constructor(){super(e,r,s),this.$$p_d=t}static get observedAttributes(){return xt(t).map(c=>(t[c].attribute||c).toLowerCase())}};return xt(t).forEach(c=>{jt(a.prototype,c,{get(){return this.$$c&&c in this.$$c?this.$$c[c]:this.$$d[c]},set(d){var l;d=Rt(c,d,t),this.$$d[c]=d;var o=this.$$c;if(o){var h=(l=qe(o,c))==null?void 0:l.get;h?o[c]=d:o.$set({[c]:d})}}})}),i.forEach(c=>{jt(a.prototype,c,{get(){var d;return(d=this.$$c)==null?void 0:d[c]}})}),e.element=a,a}function ur(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var It={exports:{}},Xi=It.exports,yn;function Ki(){return yn||(yn=1,function(e,t){(function(r,i){e.exports=i()})(Xi,function(){var r=1e3,i=6e4,s=36e5,n="millisecond",a="second",c="minute",d="hour",o="day",h="week",l="month",f="quarter",p="year",j="date",E="Invalid Date",C=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,O={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(u){var v=["th","st","nd","rd"],_=u%100;return"["+u+(v[(_-20)%10]||v[_]||v[0])+"]"}},A=function(u,v,_){var w=String(u);return!w||w.length>=v?u:""+Array(v+1-w.length).join(_)+u},ee={s:A,z:function(u){var v=-u.utcOffset(),_=Math.abs(v),w=Math.floor(_/60),b=_%60;return(v<=0?"+":"-")+A(w,2,"0")+":"+A(b,2,"0")},m:function u(v,_){if(v.date()<_.date())return-u(_,v);var w=12*(_.year()-v.year())+(_.month()-v.month()),b=v.clone().add(w,l),S=_-b<0,M=v.clone().add(w+(S?-1:1),l);return+(-(w+(_-b)/(S?b-M:M-b))||0)},a:function(u){return u<0?Math.ceil(u)||0:Math.floor(u)},p:function(u){return{M:l,y:p,w:h,d:o,D:j,h:d,m:c,s:a,ms:n,Q:f}[u]||String(u||"").toLowerCase().replace(/s$/,"")},u:function(u){return u===void 0}},K="en",x={};x[K]=O;var y="$isDayjsObject",m=function(u){return u instanceof U||!(!u||!u[y])},D=function u(v,_,w){var b;if(!v)return K;if(typeof v=="string"){var S=v.toLowerCase();x[S]&&(b=S),_&&(x[S]=_,b=S);var M=v.split("-");if(!b&&M.length>1)return u(M[0])}else{var R=v.name;x[R]=v,b=R}return!w&&b&&(K=b),b||!w&&K},V=function(u,v){if(m(u))return u.clone();var _=typeof v=="object"?v:{};return _.date=u,_.args=arguments,new U(_)},k=ee;k.l=D,k.i=m,k.w=function(u,v){return V(u,{locale:v.$L,utc:v.$u,x:v.$x,$offset:v.$offset})};var U=function(){function u(_){this.$L=D(_.locale,null,!0),this.parse(_),this.$x=this.$x||_.x||{},this[y]=!0}var v=u.prototype;return v.parse=function(_){this.$d=function(w){var b=w.date,S=w.utc;if(b===null)return new Date(NaN);if(k.u(b))return new Date;if(b instanceof Date)return new Date(b);if(typeof b=="string"&&!/Z$/i.test(b)){var M=b.match(C);if(M){var R=M[2]-1||0,q=(M[7]||"0").substring(0,3);return S?new Date(Date.UTC(M[1],R,M[3]||1,M[4]||0,M[5]||0,M[6]||0,q)):new Date(M[1],R,M[3]||1,M[4]||0,M[5]||0,M[6]||0,q)}}return new Date(b)}(_),this.init()},v.init=function(){var _=this.$d;this.$y=_.getFullYear(),this.$M=_.getMonth(),this.$D=_.getDate(),this.$W=_.getDay(),this.$H=_.getHours(),this.$m=_.getMinutes(),this.$s=_.getSeconds(),this.$ms=_.getMilliseconds()},v.$utils=function(){return k},v.isValid=function(){return this.$d.toString()!==E},v.isSame=function(_,w){var b=V(_);return this.startOf(w)<=b&&b<=this.endOf(w)},v.isAfter=function(_,w){return V(_)<this.startOf(w)},v.isBefore=function(_,w){return this.endOf(w)<V(_)},v.$g=function(_,w,b){return k.u(_)?this[w]:this.set(b,_)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(_,w){var b=this,S=!!k.u(w)||w,M=k.p(_),R=function(Me,X){var fe=k.w(b.$u?Date.UTC(b.$y,X,Me):new Date(b.$y,X,Me),b);return S?fe:fe.endOf(o)},q=function(Me,X){return k.w(b.toDate()[Me].apply(b.toDate("s"),(S?[0,0,0,0]:[23,59,59,999]).slice(X)),b)},G=this.$W,J=this.$M,oe=this.$D,Re="set"+(this.$u?"UTC":"");switch(M){case p:return S?R(1,0):R(31,11);case l:return S?R(1,J):R(0,J+1);case h:var pe=this.$locale().weekStart||0,Ye=(G<pe?G+7:G)-pe;return R(S?oe-Ye:oe+(6-Ye),J);case o:case j:return q(Re+"Hours",0);case d:return q(Re+"Minutes",1);case c:return q(Re+"Seconds",2);case a:return q(Re+"Milliseconds",3);default:return this.clone()}},v.endOf=function(_){return this.startOf(_,!1)},v.$set=function(_,w){var b,S=k.p(_),M="set"+(this.$u?"UTC":""),R=(b={},b[o]=M+"Date",b[j]=M+"Date",b[l]=M+"Month",b[p]=M+"FullYear",b[d]=M+"Hours",b[c]=M+"Minutes",b[a]=M+"Seconds",b[n]=M+"Milliseconds",b)[S],q=S===o?this.$D+(w-this.$W):w;if(S===l||S===p){var G=this.clone().set(j,1);G.$d[R](q),G.init(),this.$d=G.set(j,Math.min(this.$D,G.daysInMonth())).$d}else R&&this.$d[R](q);return this.init(),this},v.set=function(_,w){return this.clone().$set(_,w)},v.get=function(_){return this[k.p(_)]()},v.add=function(_,w){var b,S=this;_=Number(_);var M=k.p(w),R=function(J){var oe=V(S);return k.w(oe.date(oe.date()+Math.round(J*_)),S)};if(M===l)return this.set(l,this.$M+_);if(M===p)return this.set(p,this.$y+_);if(M===o)return R(1);if(M===h)return R(7);var q=(b={},b[c]=i,b[d]=s,b[a]=r,b)[M]||1,G=this.$d.getTime()+_*q;return k.w(G,this)},v.subtract=function(_,w){return this.add(-1*_,w)},v.format=function(_){var w=this,b=this.$locale();if(!this.isValid())return b.invalidDate||E;var S=_||"YYYY-MM-DDTHH:mm:ssZ",M=k.z(this),R=this.$H,q=this.$m,G=this.$M,J=b.weekdays,oe=b.months,Re=b.meridiem,pe=function(X,fe,Ie,Be){return X&&(X[fe]||X(w,S))||Ie[fe].slice(0,Be)},Ye=function(X){return k.s(R%12||12,X,"0")},Me=Re||function(X,fe,Ie){var Be=X<12?"AM":"PM";return Ie?Be.toLowerCase():Be};return S.replace(Y,function(X,fe){return fe||function(Ie){switch(Ie){case"YY":return String(w.$y).slice(-2);case"YYYY":return k.s(w.$y,4,"0");case"M":return G+1;case"MM":return k.s(G+1,2,"0");case"MMM":return pe(b.monthsShort,G,oe,3);case"MMMM":return pe(oe,G);case"D":return w.$D;case"DD":return k.s(w.$D,2,"0");case"d":return String(w.$W);case"dd":return pe(b.weekdaysMin,w.$W,J,2);case"ddd":return pe(b.weekdaysShort,w.$W,J,3);case"dddd":return J[w.$W];case"H":return String(R);case"HH":return k.s(R,2,"0");case"h":return Ye(1);case"hh":return Ye(2);case"a":return Me(R,q,!0);case"A":return Me(R,q,!1);case"m":return String(q);case"mm":return k.s(q,2,"0");case"s":return String(w.$s);case"ss":return k.s(w.$s,2,"0");case"SSS":return k.s(w.$ms,3,"0");case"Z":return M}return null}(X)||M.replace(":","")})},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(_,w,b){var S,M=this,R=k.p(w),q=V(_),G=(q.utcOffset()-this.utcOffset())*i,J=this-q,oe=function(){return k.m(M,q)};switch(R){case p:S=oe()/12;break;case l:S=oe();break;case f:S=oe()/3;break;case h:S=(J-G)/6048e5;break;case o:S=(J-G)/864e5;break;case d:S=J/s;break;case c:S=J/i;break;case a:S=J/r;break;default:S=J}return b?S:k.a(S)},v.daysInMonth=function(){return this.endOf(l).$D},v.$locale=function(){return x[this.$L]},v.locale=function(_,w){if(!_)return this.$L;var b=this.clone(),S=D(_,w,!0);return S&&(b.$L=S),b},v.clone=function(){return k.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},u}(),T=U.prototype;return V.prototype=T,[["$ms",n],["$s",a],["$m",c],["$H",d],["$W",o],["$M",l],["$y",p],["$D",j]].forEach(function(u){T[u[1]]=function(v){return this.$g(v,u[0],u[1])}}),V.extend=function(u,v){return u.$i||(u(v,U,V),u.$i=!0),V},V.locale=D,V.isDayjs=m,V.unix=function(u){return V(1e3*u)},V.en=x[K],V.Ls=x,V.p={},V})}(It)),It.exports}var Zi=Ki();const ot=ur(Zi),$n={version:"0.50.0-alpha.19"};var Pt={exports:{}},Qi=Pt.exports,wn;function es(){return wn||(wn=1,function(e,t){(function(r,i){e.exports=i()})(Qi,function(){var r,i,s=1e3,n=6e4,a=36e5,c=864e5,d=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,o=31536e6,h=2628e6,l=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,f={years:o,months:h,days:c,hours:a,minutes:n,seconds:s,milliseconds:1,weeks:6048e5},p=function(x){return x instanceof ee},j=function(x,y,m){return new ee(x,m,y.$l)},E=function(x){return i.p(x)+"s"},C=function(x){return x<0},Y=function(x){return C(x)?Math.ceil(x):Math.floor(x)},O=function(x){return Math.abs(x)},A=function(x,y){return x?C(x)?{negative:!0,format:""+O(x)+y}:{negative:!1,format:""+x+y}:{negative:!1,format:""}},ee=function(){function x(m,D,V){var k=this;if(this.$d={},this.$l=V,m===void 0&&(this.$ms=0,this.parseFromMilliseconds()),D)return j(m*f[E(D)],this);if(typeof m=="number")return this.$ms=m,this.parseFromMilliseconds(),this;if(typeof m=="object")return Object.keys(m).forEach(function(u){k.$d[E(u)]=m[u]}),this.calMilliseconds(),this;if(typeof m=="string"){var U=m.match(l);if(U){var T=U.slice(2).map(function(u){return u!=null?Number(u):0});return this.$d.years=T[0],this.$d.months=T[1],this.$d.weeks=T[2],this.$d.days=T[3],this.$d.hours=T[4],this.$d.minutes=T[5],this.$d.seconds=T[6],this.calMilliseconds(),this}}return this}var y=x.prototype;return y.calMilliseconds=function(){var m=this;this.$ms=Object.keys(this.$d).reduce(function(D,V){return D+(m.$d[V]||0)*f[V]},0)},y.parseFromMilliseconds=function(){var m=this.$ms;this.$d.years=Y(m/o),m%=o,this.$d.months=Y(m/h),m%=h,this.$d.days=Y(m/c),m%=c,this.$d.hours=Y(m/a),m%=a,this.$d.minutes=Y(m/n),m%=n,this.$d.seconds=Y(m/s),m%=s,this.$d.milliseconds=m},y.toISOString=function(){var m=A(this.$d.years,"Y"),D=A(this.$d.months,"M"),V=+this.$d.days||0;this.$d.weeks&&(V+=7*this.$d.weeks);var k=A(V,"D"),U=A(this.$d.hours,"H"),T=A(this.$d.minutes,"M"),u=this.$d.seconds||0;this.$d.milliseconds&&(u+=this.$d.milliseconds/1e3,u=Math.round(1e3*u)/1e3);var v=A(u,"S"),_=m.negative||D.negative||k.negative||U.negative||T.negative||v.negative,w=U.format||T.format||v.format?"T":"",b=(_?"-":"")+"P"+m.format+D.format+k.format+w+U.format+T.format+v.format;return b==="P"||b==="-P"?"P0D":b},y.toJSON=function(){return this.toISOString()},y.format=function(m){var D=m||"YYYY-MM-DDTHH:mm:ss",V={Y:this.$d.years,YY:i.s(this.$d.years,2,"0"),YYYY:i.s(this.$d.years,4,"0"),M:this.$d.months,MM:i.s(this.$d.months,2,"0"),D:this.$d.days,DD:i.s(this.$d.days,2,"0"),H:this.$d.hours,HH:i.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:i.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:i.s(this.$d.seconds,2,"0"),SSS:i.s(this.$d.milliseconds,3,"0")};return D.replace(d,function(k,U){return U||String(V[k])})},y.as=function(m){return this.$ms/f[E(m)]},y.get=function(m){var D=this.$ms,V=E(m);return V==="milliseconds"?D%=1e3:D=V==="weeks"?Y(D/f[V]):this.$d[V],D||0},y.add=function(m,D,V){var k;return k=D?m*f[E(D)]:p(m)?m.$ms:j(m,this).$ms,j(this.$ms+k*(V?-1:1),this)},y.subtract=function(m,D){return this.add(m,D,!0)},y.locale=function(m){var D=this.clone();return D.$l=m,D},y.clone=function(){return j(this.$ms,this)},y.humanize=function(m){return r().add(this.$ms,"ms").locale(this.$l).fromNow(!m)},y.valueOf=function(){return this.asMilliseconds()},y.milliseconds=function(){return this.get("milliseconds")},y.asMilliseconds=function(){return this.as("milliseconds")},y.seconds=function(){return this.get("seconds")},y.asSeconds=function(){return this.as("seconds")},y.minutes=function(){return this.get("minutes")},y.asMinutes=function(){return this.as("minutes")},y.hours=function(){return this.get("hours")},y.asHours=function(){return this.as("hours")},y.days=function(){return this.get("days")},y.asDays=function(){return this.as("days")},y.weeks=function(){return this.get("weeks")},y.asWeeks=function(){return this.as("weeks")},y.months=function(){return this.get("months")},y.asMonths=function(){return this.as("months")},y.years=function(){return this.get("years")},y.asYears=function(){return this.as("years")},x}(),K=function(x,y,m){return x.add(y.years()*m,"y").add(y.months()*m,"M").add(y.days()*m,"d").add(y.hours()*m,"h").add(y.minutes()*m,"m").add(y.seconds()*m,"s").add(y.milliseconds()*m,"ms")};return function(x,y,m){r=m,i=m().$utils(),m.duration=function(k,U){var T=m.locale();return j(k,{$l:T},U)},m.isDuration=p;var D=y.prototype.add,V=y.prototype.subtract;y.prototype.add=function(k,U){return p(k)?K(this,k,1):D.bind(this)(k,U)},y.prototype.subtract=function(k,U){return p(k)?K(this,k,-1):V.bind(this)(k,U)}}})}(Pt)),Pt.exports}var ts=es();const rs=ur(ts);function kn(e,t){var i,s;let r="";if(e&&(t!=null&&t.length)&&((i=Object.keys(e))!=null&&i.length)&&((s=t==null?void 0:t.filter(n=>Object.keys(e).includes(n.name)))!=null&&s.length))for(const n of Object.keys(e))(t==null?void 0:t.filter(c=>c.name===n&&c.defaultValue!==e[n]))&&(r+=`${n}:${e[n]};`);return r}function xn(e){var i;const t=((i=e==null?void 0:e.repoName.split("/"))==null?void 0:i[1])||(e==null?void 0:e.repoName);if(!t)throw new Error("wrong componentPath "+(e==null?void 0:e.repoName));if(!(e!=null&&e.version))throw new Error("wrong version "+(e==null?void 0:e.version));const r=(e==null?void 0:e.iifePath)||"main.iife.js";if(!document.getElementById(t+"-script"))try{const s=document.createElement("script");s.id=t+"-script",s.src=`https://cdn.jsdelivr.net/npm/${e.repoName}@${e.version}/${r}`,e!=null&&e.local&&location.href.includes("localhost")&&(s.src=`${e.local}`),document.head.appendChild(s)}catch(s){console.warn(s)}}var lt={},cr,jn;function ns(){if(jn)return cr;jn=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,s=/^:\s*/,n=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,c=/^\s+|\s+$/g,d=`
|
|
1
|
+
var Ds=Object.defineProperty;var An=H=>{throw TypeError(H)};var Ns=(H,W,Z)=>W in H?Ds(H,W,{enumerable:!0,configurable:!0,writable:!0,value:Z}):H[W]=Z;var ye=(H,W,Z)=>Ns(H,typeof W!="symbol"?W+"":W,Z),Cn=(H,W,Z)=>W.has(H)||An("Cannot "+Z);var le=(H,W,Z)=>(Cn(H,W,"read from private field"),Z?Z.call(H):W.get(H)),br=(H,W,Z)=>W.has(H)?An("Cannot add the same private member more than once"):W instanceof WeakSet?W.add(H):W.set(H,Z),gr=(H,W,Z,gt)=>(Cn(H,W,"write to private field"),gt?gt.call(H,Z):W.set(H,Z),Z);(function(H){"use strict";var Ce,me;const W="5";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(W);const Z=1,gt=4,Rn=8,In=16,Pn=1,Ln=2,Ft="[",pr="[!",yr="]",ft={},ie=Symbol(),Ut=!1,_e=2,$r=4,pt=8,Wt=16,Ve=32,Ge=64,yt=128,de=256,$t=512,te=1024,Oe=2048,Je=4096,Xe=8192,wt=16384,Yn=32768,Bt=65536,wr=1<<19,kr=1<<20,kt=Symbol("$state"),xr=Symbol("legacy props"),Hn=Symbol("");var jr=Array.isArray,qn=Array.prototype.indexOf,Fn=Array.from,xt=Object.keys,jt=Object.defineProperty,qe=Object.getOwnPropertyDescriptor,Un=Object.getOwnPropertyDescriptors,Wn=Object.prototype,Bn=Array.prototype,Er=Object.getPrototypeOf;function Sr(e){for(var t=0;t<e.length;t++)e[t]()}const zn=typeof requestIdleCallback>"u"?e=>setTimeout(e,1):requestIdleCallback;let Et=!1,St=!1,zt=[],Gt=[];function Tr(){Et=!1;const e=zt.slice();zt=[],Sr(e)}function Mr(){St=!1;const e=Gt.slice();Gt=[],Sr(e)}function Vr(e){Et||(Et=!0,queueMicrotask(Tr)),zt.push(e)}function Gn(e){St||(St=!0,zn(Mr)),Gt.push(e)}function Jn(){Et&&Tr(),St&&Mr()}function Or(e){return e===this.v}function Xn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Dr(e){return!Xn(e,this.v)}function Kn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Zn(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Qn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function ei(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function ti(){throw new Error("https://svelte.dev/e/hydration_failed")}function ri(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function ni(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function ii(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function si(){throw new Error("https://svelte.dev/e/state_unsafe_local_read")}function ai(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}let oi=!1;function $e(e,t){var r={f:0,v:e,reactions:null,equals:Or,rv:0,wv:0};return r}function Q(e){return li($e(e))}function Nr(e,t=!1){const r=$e(e);return t||(r.equals=Dr),r}function li(e){return I!==null&&!xe&&I.f&_e&&(Se===null?mi([e]):Se.push(e)),e}function N(e,t){return I!==null&&!xe&&fn()&&I.f&(_e|Wt)&&(Se===null||!Se.includes(e))&&ai(),ui(e,t)}function ui(e,t){return e.equals(t)||(e.v,e.v=t,e.wv=Gr(),Ar(e,Oe),L!==null&&L.f&te&&!(L.f&(Ve|Ge))&&(Ne===null?_i([e]):Ne.push(e))),t}function Ar(e,t){var r=e.reactions;if(r!==null)for(var i=r.length,s=0;s<i;s++){var n=r[s],a=n.f;a&Oe||(Te(n,t),a&(te|de)&&(a&_e?Ar(n,Je):Nt(n)))}}function Cr(e){var t=_e|Oe,r=I!==null&&I.f&_e?I:null;return L===null||r!==null&&r.f&de?t|=de:L.f|=kr,{ctx:ce,deps:null,effects:null,equals:Or,f:t,fn:e,reactions:null,rv:0,v:null,wv:0,parent:r??L}}function Rr(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)Le(t[r])}}function ci(e){for(var t=e.parent;t!==null;){if(!(t.f&_e))return t;t=t.parent}return null}function fi(e){var t,r=L;Ee(ci(e));try{Rr(e),t=Xr(e)}finally{Ee(r)}return t}function Ir(e){var t=fi(e),r=(Pe||e.f&de)&&e.deps!==null?Je:te;Te(e,r),e.equals(t)||(e.v=t,e.wv=Gr())}function Jt(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let F=!1;function we(e){F=e}let B;function ke(e){if(e===null)throw Jt(),ft;return B=e}function Xt(){return ke(De(B))}function se(e){if(F){if(De(B)!==null)throw Jt(),ft;B=e}}function Pr(e=1){if(F){for(var t=e,r=B;t--;)r=De(r);B=r}}function di(){for(var e=0,t=B;;){if(t.nodeType===8){var r=t.data;if(r===yr){if(e===0)return t;e-=1}else(r===Ft||r===pr)&&(e+=1)}var i=De(t);t.remove(),t=i}}function z(e,t=null,r){if(typeof e!="object"||e===null||kt in e)return e;const i=Er(e);if(i!==Wn&&i!==Bn)return e;var s=new Map,n=jr(e),a=$e(0);n&&s.set("length",$e(e.length));var c;return new Proxy(e,{defineProperty(d,o,h){(!("value"in h)||h.configurable===!1||h.enumerable===!1||h.writable===!1)&&ni();var l=s.get(o);return l===void 0?(l=$e(h.value),s.set(o,l)):N(l,z(h.value,c)),!0},deleteProperty(d,o){var h=s.get(o);if(h===void 0)o in d&&s.set(o,$e(ie));else{if(n&&typeof o=="string"){var l=s.get("length"),f=Number(o);Number.isInteger(f)&&f<l.v&&N(l,f)}N(h,ie),Lr(a)}return!0},get(d,o,h){var j;if(o===kt)return e;var l=s.get(o),f=o in d;if(l===void 0&&(!f||(j=qe(d,o))!=null&&j.writable)&&(l=$e(z(f?d[o]:ie,c)),s.set(o,l)),l!==void 0){var p=g(l);return p===ie?void 0:p}return Reflect.get(d,o,h)},getOwnPropertyDescriptor(d,o){var h=Reflect.getOwnPropertyDescriptor(d,o);if(h&&"value"in h){var l=s.get(o);l&&(h.value=g(l))}else if(h===void 0){var f=s.get(o),p=f==null?void 0:f.v;if(f!==void 0&&p!==ie)return{enumerable:!0,configurable:!0,value:p,writable:!0}}return h},has(d,o){var p;if(o===kt)return!0;var h=s.get(o),l=h!==void 0&&h.v!==ie||Reflect.has(d,o);if(h!==void 0||L!==null&&(!l||(p=qe(d,o))!=null&&p.writable)){h===void 0&&(h=$e(l?z(d[o],c):ie),s.set(o,h));var f=g(h);if(f===ie)return!1}return l},set(d,o,h,l){var A;var f=s.get(o),p=o in d;if(n&&o==="length")for(var j=h;j<f.v;j+=1){var E=s.get(j+"");E!==void 0?N(E,ie):j in d&&(E=$e(ie),s.set(j+"",E))}f===void 0?(!p||(A=qe(d,o))!=null&&A.writable)&&(f=$e(void 0),N(f,z(h,c)),s.set(o,f)):(p=f.v!==ie,N(f,z(h,c)));var C=Reflect.getOwnPropertyDescriptor(d,o);if(C!=null&&C.set&&C.set.call(l,h),!p){if(n&&typeof o=="string"){var Y=s.get("length"),O=Number(o);Number.isInteger(O)&&O>=Y.v&&N(Y,O+1)}Lr(a)}return!0},ownKeys(d){g(a);var o=Reflect.ownKeys(d).filter(f=>{var p=s.get(f);return p===void 0||p.v!==ie});for(var[h,l]of s)l.v!==ie&&!(h in d)&&o.push(h);return o},setPrototypeOf(){ii()}})}function Lr(e,t=1){N(e,e.v+t)}var Yr,Hr,qr,Fr;function Kt(){if(Yr===void 0){Yr=window,Hr=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype;qr=qe(t,"firstChild").get,Fr=qe(t,"nextSibling").get,e.__click=void 0,e.__className="",e.__attributes=null,e.__styles=null,e.__e=void 0,Text.prototype.__t=void 0}}function Ke(e=""){return document.createTextNode(e)}function Ze(e){return qr.call(e)}function De(e){return Fr.call(e)}function ae(e,t){if(!F)return Ze(e);var r=Ze(B);return r===null&&(r=B.appendChild(Ke())),ke(r),r}function re(e,t=1,r=!1){let i=F?B:e;for(var s;t--;)s=i,i=De(i);if(!F)return i;var n=i==null?void 0:i.nodeType;if(r&&n!==3){var a=Ke();return i===null?s==null||s.after(a):i.before(a),ke(a),a}return ke(i),i}function hi(e){e.textContent=""}const Ur=0,vi=1;let Tt=!1,Mt=Ur,dt=!1,ht=null,Qe=!1,Zt=!1;function Wr(e){Qe=e}function Br(e){Zt=e}let Fe=[],et=0,As=[],I=null,xe=!1;function je(e){I=e}let L=null;function Ee(e){L=e}let Se=null;function mi(e){Se=e}let ne=null,ue=0,Ne=null;function _i(e){Ne=e}let zr=1,Vt=0,Pe=!1;function Gr(){return++zr}function vt(e){var l;var t=e.f;if(t&Oe)return!0;if(t&Je){var r=e.deps,i=(t&de)!==0;if(r!==null){var s,n,a=(t&$t)!==0,c=i&&L!==null&&!Pe,d=r.length;if(a||c){var o=e,h=o.parent;for(s=0;s<d;s++)n=r[s],(a||!((l=n==null?void 0:n.reactions)!=null&&l.includes(o)))&&(n.reactions??(n.reactions=[])).push(o);a&&(o.f^=$t),c&&h!==null&&!(h.f&de)&&(o.f^=de)}for(s=0;s<d;s++)if(n=r[s],vt(n)&&Ir(n),n.wv>e.wv)return!0}(!i||L!==null&&!Pe)&&Te(e,te)}return!1}function bi(e,t){for(var r=t;r!==null;){if(r.f&yt)try{r.fn(e);return}catch{r.f^=yt}r=r.parent}throw Tt=!1,e}function gi(e){return(e.f&wt)===0&&(e.parent===null||(e.parent.f&yt)===0)}function Ot(e,t,r,i){if(Tt){if(r===null&&(Tt=!1),gi(t))throw e;return}r!==null&&(Tt=!0);{bi(e,t);return}}function Jr(e,t,r=!0){var i=e.reactions;if(i!==null)for(var s=0;s<i.length;s++){var n=i[s];n.f&_e?Jr(n,t,!1):t===n&&(r?Te(n,Oe):n.f&te&&Te(n,Je),Nt(n))}}function Xr(e){var p;var t=ne,r=ue,i=Ne,s=I,n=Pe,a=Se,c=ce,d=xe,o=e.f;ne=null,ue=0,Ne=null,I=o&(Ve|Ge)?null:e,Pe=(o&de)!==0&&(!Qe||s===null||d),Se=null,ln(e.ctx),xe=!1,Vt++;try{var h=(0,e.fn)(),l=e.deps;if(ne!==null){var f;if(Dt(e,ue),l!==null&&ue>0)for(l.length=ue+ne.length,f=0;f<ne.length;f++)l[ue+f]=ne[f];else e.deps=l=ne;if(!Pe)for(f=ue;f<l.length;f++)((p=l[f]).reactions??(p.reactions=[])).push(e)}else l!==null&&ue<l.length&&(Dt(e,ue),l.length=ue);if(fn()&&Ne!==null&&!xe&&l!==null&&!(e.f&(_e|Je|Oe)))for(f=0;f<Ne.length;f++)Jr(Ne[f],e);return s!==null&&Vt++,h}finally{ne=t,ue=r,Ne=i,I=s,Pe=n,Se=a,ln(c),xe=d}}function pi(e,t){let r=t.reactions;if(r!==null){var i=qn.call(r,e);if(i!==-1){var s=r.length-1;s===0?r=t.reactions=null:(r[i]=r[s],r.pop())}}r===null&&t.f&_e&&(ne===null||!ne.includes(t))&&(Te(t,Je),t.f&(de|$t)||(t.f^=$t),Rr(t),Dt(t,0))}function Dt(e,t){var r=e.deps;if(r!==null)for(var i=t;i<r.length;i++)pi(e,r[i])}function Qt(e){var t=e.f;if(!(t&wt)){Te(e,te);var r=L,i=ce;L=e;try{t&Wt?Vi(e):rn(e),tn(e);var s=Xr(e);e.teardown=typeof s=="function"?s:null,e.wv=zr;var n=e.deps,a;Ut&&oi&&e.f&Oe}catch(c){Ot(c,e,r,i||e.ctx)}finally{L=r}}}function Kr(){if(et>1e3){et=0;try{ei()}catch(e){if(ht!==null)Ot(e,ht,null);else throw e}}et++}function Zr(e){var t=e.length;if(t!==0){Kr();var r=Qe;Qe=!0;try{for(var i=0;i<t;i++){var s=e[i];s.f&te||(s.f^=te);var n=wi(s);yi(n)}}finally{Qe=r}}}function yi(e){var t=e.length;if(t!==0)for(var r=0;r<t;r++){var i=e[r];if(!(i.f&(wt|Xe)))try{vt(i)&&(Qt(i),i.deps===null&&i.first===null&&i.nodes_start===null&&(i.teardown===null?nn(i):i.fn=null))}catch(s){Ot(s,i,null,i.ctx)}}}function $i(){if(dt=!1,et>1001)return;const e=Fe;Fe=[],Zr(e),dt||(et=0,ht=null)}function Nt(e){Mt===Ur&&(dt||(dt=!0,queueMicrotask($i))),ht=e;for(var t=e;t.parent!==null;){t=t.parent;var r=t.f;if(r&(Ge|Ve)){if(!(r&te))return;t.f^=te}}Fe.push(t)}function wi(e){var t=[],r=e.first;e:for(;r!==null;){var i=r.f,s=(i&Ve)!==0,n=s&&(i&te)!==0,a=r.next;if(!n&&!(i&Xe)){if(i&$r)t.push(r);else if(s)r.f^=te;else{var c=I;try{I=r,vt(r)&&Qt(r)}catch(h){Ot(h,r,null,r.ctx)}finally{I=c}}var d=r.first;if(d!==null){r=d;continue}}if(a===null){let h=r.parent;for(;h!==null;){if(e===h)break e;var o=h.next;if(o!==null){r=o;continue e}h=h.parent}}r=a}return t}function Ue(e){var t=Mt,r=Fe;try{Kr();const s=[];Mt=vi,Fe=s,dt=!1,Zr(r);var i=e==null?void 0:e();return Jn(),(Fe.length>0||s.length>0)&&Ue(),et=0,ht=null,i}finally{Mt=t,Fe=r}}function g(e){var t=e.f,r=(t&_e)!==0;if(I!==null&&!xe){Se!==null&&Se.includes(e)&&si();var i=I.deps;e.rv<Vt&&(e.rv=Vt,ne===null&&i!==null&&i[ue]===e?ue++:ne===null?ne=[e]:(!Pe||!ne.includes(e))&&ne.push(e))}else if(r&&e.deps===null&&e.effects===null){var s=e,n=s.parent;n!==null&&!(n.f&de)&&(s.f^=de)}return r&&(s=e,vt(s)&&Ir(s)),e.v}function er(e){var t=xe;try{return xe=!0,e()}finally{xe=t}}const ki=-7169;function Te(e,t){e.f=e.f&ki|t}function xi(e){L===null&&I===null&&Qn(),I!==null&&I.f&de&&L===null&&Zn(),Zt&&Kn()}function ji(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function We(e,t,r,i=!0){var s=(e&Ge)!==0,n=L,a={ctx:ce,deps:null,nodes_start:null,nodes_end:null,f:e|Oe,first:null,fn:t,last:null,next:null,parent:s?null:n,prev:null,teardown:null,transitions:null,wv:0};if(r){var c=Qe;try{Wr(!0),Qt(a),a.f|=Yn}catch(h){throw Le(a),h}finally{Wr(c)}}else t!==null&&Nt(a);var d=r&&a.deps===null&&a.first===null&&a.nodes_start===null&&a.teardown===null&&(a.f&(kr|yt))===0;if(!d&&!s&&i&&(n!==null&&ji(a,n),I!==null&&I.f&_e)){var o=I;(o.effects??(o.effects=[])).push(a)}return a}function Ei(e){const t=We(pt,null,!1);return Te(t,te),t.teardown=e,t}function Si(e){xi();var t=L!==null&&(L.f&Ve)!==0&&ce!==null&&!ce.m;if(t){var r=ce;(r.e??(r.e=[])).push({fn:e,effect:L,reaction:I})}else{var i=Qr(e);return i}}function Ti(e){const t=We(Ge,e,!0);return()=>{Le(t)}}function Mi(e){const t=We(Ge,e,!0);return(r={})=>new Promise(i=>{r.outro?nr(t,()=>{Le(t),i(void 0)}):(Le(t),i(void 0))})}function Qr(e){return We($r,e,!1)}function en(e){return We(pt,e,!0)}function be(e,t=[],r=Cr){const i=t.map(r);return tr(()=>e(...i.map(g)))}function tr(e,t=0){return We(pt|Wt|t,e,!0)}function rr(e,t=!0){return We(pt|Ve,e,!0,t)}function tn(e){var t=e.teardown;if(t!==null){const r=Zt,i=I;Br(!0),je(null);try{t.call(null)}finally{Br(r),je(i)}}}function rn(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){var i=r.next;Le(r,t),r=i}}function Vi(e){for(var t=e.first;t!==null;){var r=t.next;t.f&Ve||Le(t),t=r}}function Le(e,t=!0){var r=!1;if((t||e.f&wr)&&e.nodes_start!==null){for(var i=e.nodes_start,s=e.nodes_end;i!==null;){var n=i===s?null:De(i);i.remove(),i=n}r=!0}rn(e,t&&!r),Dt(e,0),Te(e,wt);var a=e.transitions;if(a!==null)for(const d of a)d.stop();tn(e);var c=e.parent;c!==null&&c.first!==null&&nn(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=null}function nn(e){var t=e.parent,r=e.prev,i=e.next;r!==null&&(r.next=i),i!==null&&(i.prev=r),t!==null&&(t.first===e&&(t.first=i),t.last===e&&(t.last=r))}function nr(e,t){var r=[];sn(e,r,!0),Oi(r,()=>{Le(e),t&&t()})}function Oi(e,t){var r=e.length;if(r>0){var i=()=>--r||t();for(var s of e)s.out(i)}else t()}function sn(e,t,r){if(!(e.f&Xe)){if(e.f^=Xe,e.transitions!==null)for(const a of e.transitions)(a.is_global||r)&&t.push(a);for(var i=e.first;i!==null;){var s=i.next,n=(i.f&Bt)!==0||(i.f&Ve)!==0;sn(i,t,n?r:!1),i=s}}}function an(e){on(e,!0)}function on(e,t){if(e.f&Xe){e.f^=Xe,e.f&te||(e.f^=te),vt(e)&&(Te(e,Oe),Nt(e));for(var r=e.first;r!==null;){var i=r.next,s=(r.f&Bt)!==0||(r.f&Ve)!==0;on(r,s?t:!1),r=i}if(e.transitions!==null)for(const n of e.transitions)(n.is_global||t)&&n.in()}}let ce=null;function ln(e){ce=e}function un(e,t=!1,r){ce={p:ce,c:null,e:null,m:!1,s:e,x:null,l:null}}function cn(e){const t=ce;if(t!==null){e!==void 0&&(t.x=e);const a=t.e;if(a!==null){var r=L,i=I;t.e=null;try{for(var s=0;s<a.length;s++){var n=a[s];Ee(n.effect),je(n.reaction),Qr(n.fn)}}finally{Ee(r),je(i)}}ce=t.p,t.m=!0}return e||{}}function fn(){return!0}const Di=["touchstart","touchmove"];function Ni(e){return Di.includes(e)}let dn=!1;function hn(){dn||(dn=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{var t;if(!e.defaultPrevented)for(const r of e.target.elements)(t=r.__on_r)==null||t.call(r)})},{capture:!0}))}function vn(e){var t=I,r=L;je(null),Ee(null);try{return e()}finally{je(t),Ee(r)}}function Ai(e,t,r,i=r){e.addEventListener(t,()=>vn(r));const s=e.__on_r;s?e.__on_r=()=>{s(),i(!0)}:e.__on_r=()=>i(!0),hn()}const mn=new Set,ir=new Set;function Ci(e,t,r,i={}){function s(n){if(i.capture||mt.call(t,n),!n.cancelBubble)return vn(()=>r==null?void 0:r.call(this,n))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?Vr(()=>{t.addEventListener(e,s,i)}):t.addEventListener(e,s,i),s}function tt(e,t,r,i,s){var n={capture:i,passive:s},a=Ci(e,t,r,n);(t===document.body||t===window||t===document)&&Ei(()=>{t.removeEventListener(e,a,n)})}function Ri(e){for(var t=0;t<e.length;t++)mn.add(e[t]);for(var r of ir)r(e)}function mt(e){var O;var t=this,r=t.ownerDocument,i=e.type,s=((O=e.composedPath)==null?void 0:O.call(e))||[],n=s[0]||e.target,a=0,c=e.__root;if(c){var d=s.indexOf(c);if(d!==-1&&(t===document||t===window)){e.__root=t;return}var o=s.indexOf(t);if(o===-1)return;d<=o&&(a=d)}if(n=s[a]||e.target,n!==t){jt(e,"currentTarget",{configurable:!0,get(){return n||r}});var h=I,l=L;je(null),Ee(null);try{for(var f,p=[];n!==null;){var j=n.assignedSlot||n.parentNode||n.host||null;try{var E=n["__"+i];if(E!==void 0&&!n.disabled)if(jr(E)){var[C,...Y]=E;C.apply(n,[e,...Y])}else E.call(n,e)}catch(A){f?p.push(A):f=A}if(e.cancelBubble||j===t||j===null)break;n=j}if(f){for(let A of p)queueMicrotask(()=>{throw A});throw f}}finally{e.__root=t,delete e.currentTarget,je(h),Ee(l)}}}let he;function Ii(){he=void 0}function Pi(e){let t=null,r=F;var i;if(F){for(t=B,he===void 0&&(he=Ze(document.head));he!==null&&(he.nodeType!==8||he.data!==Ft);)he=De(he);he===null?we(!1):he=ke(De(he))}F||(i=document.head.appendChild(Ke()));try{tr(()=>e(i),wr)}finally{r&&(we(!0),he=B,ke(t))}}function Li(e){var t=document.createElement("template");return t.innerHTML=e,t.content}function rt(e,t){var r=L;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function Ae(e,t){var r=(t&Pn)!==0,i=(t&Ln)!==0,s,n=!e.startsWith("<!>");return()=>{if(F)return rt(B,null),B;s===void 0&&(s=Li(n?e:"<!>"+e),r||(s=Ze(s)));var a=i||Hr?document.importNode(s,!0):s.cloneNode(!0);if(r){var c=Ze(a),d=a.lastChild;rt(c,d)}else rt(a,a);return a}}function Yi(e=""){if(!F){var t=Ke(e+"");return rt(t,t),t}var r=B;return r.nodeType!==3&&(r.before(r=Ke()),ke(r)),rt(r,r),r}function ge(e,t){if(F){L.nodes_end=B,Xt();return}e!==null&&e.before(t)}function Hi(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??(e.__t=e.nodeValue))&&(e.__t=r,e.nodeValue=r+"")}function _n(e,t){return bn(e,t)}function qi(e,t){Kt(),t.intro=t.intro??!1;const r=t.target,i=F,s=B;try{for(var n=Ze(r);n&&(n.nodeType!==8||n.data!==Ft);)n=De(n);if(!n)throw ft;we(!0),ke(n),Xt();const a=bn(e,{...t,anchor:n});if(B===null||B.nodeType!==8||B.data!==yr)throw Jt(),ft;return we(!1),a}catch(a){if(a===ft)return t.recover===!1&&ti(),Kt(),hi(r),we(!1),_n(e,t);throw a}finally{we(i),ke(s),Ii()}}const nt=new Map;function bn(e,{target:t,anchor:r,props:i={},events:s,context:n,intro:a=!0}){Kt();var c=new Set,d=l=>{for(var f=0;f<l.length;f++){var p=l[f];if(!c.has(p)){c.add(p);var j=Ni(p);t.addEventListener(p,mt,{passive:j});var E=nt.get(p);E===void 0?(document.addEventListener(p,mt,{passive:j}),nt.set(p,1)):nt.set(p,E+1)}}};d(Fn(mn)),ir.add(d);var o=void 0,h=Mi(()=>{var l=r??t.appendChild(Ke());return rr(()=>{if(n){un({});var f=ce;f.c=n}s&&(i.$$events=s),F&&rt(l,null),o=e(l,i)||{},F&&(L.nodes_end=B),n&&cn()}),()=>{var j;for(var f of c){t.removeEventListener(f,mt);var p=nt.get(f);--p===0?(document.removeEventListener(f,mt),nt.delete(f)):nt.set(f,p)}ir.delete(d),l!==r&&((j=l.parentNode)==null||j.removeChild(l))}});return sr.set(o,h),o}let sr=new WeakMap;function Fi(e,t){const r=sr.get(e);return r?(sr.delete(e),r(t)):Promise.resolve()}function it(e,t,r=!1){F&&Xt();var i=e,s=null,n=null,a=ie,c=r?Bt:0,d=!1;const o=(l,f=!0)=>{d=!0,h(f,l)},h=(l,f)=>{if(a===(a=l))return;let p=!1;if(F){const j=i.data===pr;!!a===j&&(i=di(),ke(i),we(!1),p=!0)}a?(s?an(s):f&&(s=rr(()=>f(i))),n&&nr(n,()=>{n=null})):(n?an(n):f&&(n=rr(()=>f(i))),s&&nr(s,()=>{s=null})),p&&we(!0)};tr(()=>{d=!1,t(o),d||h(null,null)},c),F&&(i=B)}function Ui(e,t){Vr(()=>{var r=e.getRootNode(),i=r.host?r:r.head??r.ownerDocument.head;if(!i.querySelector("#"+t.hash)){const s=document.createElement("style");s.id=t.hash,s.textContent=t.code,i.appendChild(s)}})}function st(e){if(F){var t=!1,r=()=>{if(!t){if(t=!0,e.hasAttribute("value")){var i=e.value;At(e,"value",null),e.value=i}if(e.hasAttribute("checked")){var s=e.checked;At(e,"checked",null),e.checked=s}}};e.__on_r=r,Gn(r),hn()}}function At(e,t,r,i){var s=e.__attributes??(e.__attributes={});F&&(s[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||s[t]!==(s[t]=r)&&(t==="style"&&"__styles"in e&&(e.__styles={}),t==="loading"&&(e[Hn]=r),r==null?e.removeAttribute(t):typeof r!="string"&&gn(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function ve(e,t,r){var i=I,s=L;let n=F;F&&we(!1),je(null),Ee(null);try{(ar.has(e.nodeName)||!customElements||customElements.get(e.tagName.toLowerCase())?gn(e).includes(t):r&&typeof r=="object")?e[t]=r:At(e,t,r==null?r:String(r))}finally{je(i),Ee(s),n&&we(!0)}}var ar=new Map;function gn(e){var t=ar.get(e.nodeName);if(t)return t;ar.set(e.nodeName,t=[]);for(var r,i=e,s=Element.prototype;s!==i;){r=Un(i);for(var n in r)r[n].set&&t.push(n);i=Er(i)}return t}function at(e,t,r=t){Ai(e,"input",i=>{var s=i?e.defaultValue:e.value;if(s=or(e)?lr(s):s,r(s),s!==(s=t())){var n=e.selectionStart,a=e.selectionEnd;e.value=s??"",a!==null&&(e.selectionStart=n,e.selectionEnd=Math.min(a,e.value.length))}}),(F&&e.defaultValue!==e.value||er(t)==null&&e.value)&&r(or(e)?lr(e.value):e.value),en(()=>{var i=t();or(e)&&i===lr(e.value)||e.type==="date"&&!i&&!e.value||i!==e.value&&(e.value=i??"")})}function or(e){var t=e.type;return t==="number"||t==="range"}function lr(e){return e===""?null:+e}let Ct=!1;function Wi(e){var t=Ct;try{return Ct=!1,[e(),Ct]}finally{Ct=t}}function _t(e,t,r,i){var K;var s=(r&Z)!==0,n=!0,a=(r&Rn)!==0,c=(r&In)!==0,d=!1,o;a?[o,d]=Wi(()=>e[t]):o=e[t];var h=kt in e||xr in e,l=a&&(((K=qe(e,t))==null?void 0:K.set)??(h&&t in e&&(x=>e[t]=x)))||void 0,f=i,p=!0,j=!1,E=()=>(j=!0,p&&(p=!1,c?f=er(i):f=i),f);o===void 0&&i!==void 0&&(l&&n&&ri(),o=E(),l&&l(o));var C;if(C=()=>{var x=e[t];return x===void 0?E():(p=!0,j=!1,x)},!(r>))return C;if(l){var Y=e.$$legacy;return function(x,y){return arguments.length>0?((!y||Y||d)&&l(y?C():x),x):C()}}var O=!1,A=Nr(o),ee=Cr(()=>{var x=C(),y=g(A);return O?(O=!1,y):A.v=x});return s||(ee.equals=Dr),function(x,y){if(arguments.length>0){const m=y?g(ee):a?z(x):x;return ee.equals(m)||(O=!0,N(A,m),j&&f!==void 0&&(f=m),er(()=>g(ee))),x}return g(ee)}}function Bi(e){return new zi(e)}class zi{constructor(t){br(this,Ce);br(this,me);var n;var r=new Map,i=(a,c)=>{var d=Nr(c);return r.set(a,d),d};const s=new Proxy({...t.props||{},$$events:{}},{get(a,c){return g(r.get(c)??i(c,Reflect.get(a,c)))},has(a,c){return c===xr?!0:(g(r.get(c)??i(c,Reflect.get(a,c))),Reflect.has(a,c))},set(a,c,d){return N(r.get(c)??i(c,d),d),Reflect.set(a,c,d)}});gr(this,me,(t.hydrate?qi:_n)(t.component,{target:t.target,anchor:t.anchor,props:s,context:t.context,intro:t.intro??!1,recover:t.recover})),(!((n=t==null?void 0:t.props)!=null&&n.$$host)||t.sync===!1)&&Ue(),gr(this,Ce,s.$$events);for(const a of Object.keys(le(this,me)))a==="$set"||a==="$destroy"||a==="$on"||jt(this,a,{get(){return le(this,me)[a]},set(c){le(this,me)[a]=c},enumerable:!0});le(this,me).$set=a=>{Object.assign(s,a)},le(this,me).$destroy=()=>{Fi(le(this,me))}}$set(t){le(this,me).$set(t)}$on(t,r){le(this,Ce)[t]=le(this,Ce)[t]||[];const i=(...s)=>r.call(this,...s);return le(this,Ce)[t].push(i),()=>{le(this,Ce)[t]=le(this,Ce)[t].filter(s=>s!==i)}}$destroy(){le(this,me).$destroy()}}Ce=new WeakMap,me=new WeakMap;let pn;typeof HTMLElement=="function"&&(pn=class extends HTMLElement{constructor(t,r,i){super();ye(this,"$$ctor");ye(this,"$$s");ye(this,"$$c");ye(this,"$$cn",!1);ye(this,"$$d",{});ye(this,"$$r",!1);ye(this,"$$p_d",{});ye(this,"$$l",{});ye(this,"$$l_u",new Map);ye(this,"$$me");this.$$ctor=t,this.$$s=r,i&&this.attachShadow({mode:"open"})}addEventListener(t,r,i){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const s=this.$$c.$on(t,r);this.$$l_u.set(r,s)}super.addEventListener(t,r,i)}removeEventListener(t,r,i){if(super.removeEventListener(t,r,i),this.$$c){const s=this.$$l_u.get(r);s&&(s(),this.$$l_u.delete(r))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(s){return n=>{const a=document.createElement("slot");s!=="default"&&(a.name=s),ge(n,a)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const r={},i=Gi(this);for(const s of this.$$s)s in i&&(s==="default"&&!this.$$d.children?(this.$$d.children=t(s),r.default=!0):r[s]=t(s));for(const s of this.attributes){const n=this.$$g_p(s.name);n in this.$$d||(this.$$d[n]=Rt(n,s.value,this.$$p_d,"toProp"))}for(const s in this.$$p_d)!(s in this.$$d)&&this[s]!==void 0&&(this.$$d[s]=this[s],delete this[s]);this.$$c=Bi({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:r,$$host:this}}),this.$$me=Ti(()=>{en(()=>{var s;this.$$r=!0;for(const n of xt(this.$$c)){if(!((s=this.$$p_d[n])!=null&&s.reflect))continue;this.$$d[n]=this.$$c[n];const a=Rt(n,this.$$d[n],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,a)}this.$$r=!1})});for(const s in this.$$l)for(const n of this.$$l[s]){const a=this.$$c.$on(s,n);this.$$l_u.set(n,a)}this.$$l={}}}attributeChangedCallback(t,r,i){var s;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Rt(t,i,this.$$p_d,"toProp"),(s=this.$$c)==null||s.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(t){return xt(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function Rt(e,t,r,i){var n;const s=(n=r[e])==null?void 0:n.type;if(t=s==="Boolean"&&typeof t!="boolean"?t!=null:t,!i||!r[e])return t;if(i==="toAttribute")switch(s){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(s){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Gi(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function Ji(e,t,r,i,s,n){let a=class extends pn{constructor(){super(e,r,s),this.$$p_d=t}static get observedAttributes(){return xt(t).map(c=>(t[c].attribute||c).toLowerCase())}};return xt(t).forEach(c=>{jt(a.prototype,c,{get(){return this.$$c&&c in this.$$c?this.$$c[c]:this.$$d[c]},set(d){var l;d=Rt(c,d,t),this.$$d[c]=d;var o=this.$$c;if(o){var h=(l=qe(o,c))==null?void 0:l.get;h?o[c]=d:o.$set({[c]:d})}}})}),i.forEach(c=>{jt(a.prototype,c,{get(){var d;return(d=this.$$c)==null?void 0:d[c]}})}),e.element=a,a}function ur(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var It={exports:{}},Xi=It.exports,yn;function Ki(){return yn||(yn=1,function(e,t){(function(r,i){e.exports=i()})(Xi,function(){var r=1e3,i=6e4,s=36e5,n="millisecond",a="second",c="minute",d="hour",o="day",h="week",l="month",f="quarter",p="year",j="date",E="Invalid Date",C=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,O={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(u){var v=["th","st","nd","rd"],_=u%100;return"["+u+(v[(_-20)%10]||v[_]||v[0])+"]"}},A=function(u,v,_){var w=String(u);return!w||w.length>=v?u:""+Array(v+1-w.length).join(_)+u},ee={s:A,z:function(u){var v=-u.utcOffset(),_=Math.abs(v),w=Math.floor(_/60),b=_%60;return(v<=0?"+":"-")+A(w,2,"0")+":"+A(b,2,"0")},m:function u(v,_){if(v.date()<_.date())return-u(_,v);var w=12*(_.year()-v.year())+(_.month()-v.month()),b=v.clone().add(w,l),S=_-b<0,M=v.clone().add(w+(S?-1:1),l);return+(-(w+(_-b)/(S?b-M:M-b))||0)},a:function(u){return u<0?Math.ceil(u)||0:Math.floor(u)},p:function(u){return{M:l,y:p,w:h,d:o,D:j,h:d,m:c,s:a,ms:n,Q:f}[u]||String(u||"").toLowerCase().replace(/s$/,"")},u:function(u){return u===void 0}},K="en",x={};x[K]=O;var y="$isDayjsObject",m=function(u){return u instanceof U||!(!u||!u[y])},D=function u(v,_,w){var b;if(!v)return K;if(typeof v=="string"){var S=v.toLowerCase();x[S]&&(b=S),_&&(x[S]=_,b=S);var M=v.split("-");if(!b&&M.length>1)return u(M[0])}else{var R=v.name;x[R]=v,b=R}return!w&&b&&(K=b),b||!w&&K},V=function(u,v){if(m(u))return u.clone();var _=typeof v=="object"?v:{};return _.date=u,_.args=arguments,new U(_)},k=ee;k.l=D,k.i=m,k.w=function(u,v){return V(u,{locale:v.$L,utc:v.$u,x:v.$x,$offset:v.$offset})};var U=function(){function u(_){this.$L=D(_.locale,null,!0),this.parse(_),this.$x=this.$x||_.x||{},this[y]=!0}var v=u.prototype;return v.parse=function(_){this.$d=function(w){var b=w.date,S=w.utc;if(b===null)return new Date(NaN);if(k.u(b))return new Date;if(b instanceof Date)return new Date(b);if(typeof b=="string"&&!/Z$/i.test(b)){var M=b.match(C);if(M){var R=M[2]-1||0,q=(M[7]||"0").substring(0,3);return S?new Date(Date.UTC(M[1],R,M[3]||1,M[4]||0,M[5]||0,M[6]||0,q)):new Date(M[1],R,M[3]||1,M[4]||0,M[5]||0,M[6]||0,q)}}return new Date(b)}(_),this.init()},v.init=function(){var _=this.$d;this.$y=_.getFullYear(),this.$M=_.getMonth(),this.$D=_.getDate(),this.$W=_.getDay(),this.$H=_.getHours(),this.$m=_.getMinutes(),this.$s=_.getSeconds(),this.$ms=_.getMilliseconds()},v.$utils=function(){return k},v.isValid=function(){return this.$d.toString()!==E},v.isSame=function(_,w){var b=V(_);return this.startOf(w)<=b&&b<=this.endOf(w)},v.isAfter=function(_,w){return V(_)<this.startOf(w)},v.isBefore=function(_,w){return this.endOf(w)<V(_)},v.$g=function(_,w,b){return k.u(_)?this[w]:this.set(b,_)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(_,w){var b=this,S=!!k.u(w)||w,M=k.p(_),R=function(Me,X){var fe=k.w(b.$u?Date.UTC(b.$y,X,Me):new Date(b.$y,X,Me),b);return S?fe:fe.endOf(o)},q=function(Me,X){return k.w(b.toDate()[Me].apply(b.toDate("s"),(S?[0,0,0,0]:[23,59,59,999]).slice(X)),b)},G=this.$W,J=this.$M,oe=this.$D,Re="set"+(this.$u?"UTC":"");switch(M){case p:return S?R(1,0):R(31,11);case l:return S?R(1,J):R(0,J+1);case h:var pe=this.$locale().weekStart||0,Ye=(G<pe?G+7:G)-pe;return R(S?oe-Ye:oe+(6-Ye),J);case o:case j:return q(Re+"Hours",0);case d:return q(Re+"Minutes",1);case c:return q(Re+"Seconds",2);case a:return q(Re+"Milliseconds",3);default:return this.clone()}},v.endOf=function(_){return this.startOf(_,!1)},v.$set=function(_,w){var b,S=k.p(_),M="set"+(this.$u?"UTC":""),R=(b={},b[o]=M+"Date",b[j]=M+"Date",b[l]=M+"Month",b[p]=M+"FullYear",b[d]=M+"Hours",b[c]=M+"Minutes",b[a]=M+"Seconds",b[n]=M+"Milliseconds",b)[S],q=S===o?this.$D+(w-this.$W):w;if(S===l||S===p){var G=this.clone().set(j,1);G.$d[R](q),G.init(),this.$d=G.set(j,Math.min(this.$D,G.daysInMonth())).$d}else R&&this.$d[R](q);return this.init(),this},v.set=function(_,w){return this.clone().$set(_,w)},v.get=function(_){return this[k.p(_)]()},v.add=function(_,w){var b,S=this;_=Number(_);var M=k.p(w),R=function(J){var oe=V(S);return k.w(oe.date(oe.date()+Math.round(J*_)),S)};if(M===l)return this.set(l,this.$M+_);if(M===p)return this.set(p,this.$y+_);if(M===o)return R(1);if(M===h)return R(7);var q=(b={},b[c]=i,b[d]=s,b[a]=r,b)[M]||1,G=this.$d.getTime()+_*q;return k.w(G,this)},v.subtract=function(_,w){return this.add(-1*_,w)},v.format=function(_){var w=this,b=this.$locale();if(!this.isValid())return b.invalidDate||E;var S=_||"YYYY-MM-DDTHH:mm:ssZ",M=k.z(this),R=this.$H,q=this.$m,G=this.$M,J=b.weekdays,oe=b.months,Re=b.meridiem,pe=function(X,fe,Ie,Be){return X&&(X[fe]||X(w,S))||Ie[fe].slice(0,Be)},Ye=function(X){return k.s(R%12||12,X,"0")},Me=Re||function(X,fe,Ie){var Be=X<12?"AM":"PM";return Ie?Be.toLowerCase():Be};return S.replace(Y,function(X,fe){return fe||function(Ie){switch(Ie){case"YY":return String(w.$y).slice(-2);case"YYYY":return k.s(w.$y,4,"0");case"M":return G+1;case"MM":return k.s(G+1,2,"0");case"MMM":return pe(b.monthsShort,G,oe,3);case"MMMM":return pe(oe,G);case"D":return w.$D;case"DD":return k.s(w.$D,2,"0");case"d":return String(w.$W);case"dd":return pe(b.weekdaysMin,w.$W,J,2);case"ddd":return pe(b.weekdaysShort,w.$W,J,3);case"dddd":return J[w.$W];case"H":return String(R);case"HH":return k.s(R,2,"0");case"h":return Ye(1);case"hh":return Ye(2);case"a":return Me(R,q,!0);case"A":return Me(R,q,!1);case"m":return String(q);case"mm":return k.s(q,2,"0");case"s":return String(w.$s);case"ss":return k.s(w.$s,2,"0");case"SSS":return k.s(w.$ms,3,"0");case"Z":return M}return null}(X)||M.replace(":","")})},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(_,w,b){var S,M=this,R=k.p(w),q=V(_),G=(q.utcOffset()-this.utcOffset())*i,J=this-q,oe=function(){return k.m(M,q)};switch(R){case p:S=oe()/12;break;case l:S=oe();break;case f:S=oe()/3;break;case h:S=(J-G)/6048e5;break;case o:S=(J-G)/864e5;break;case d:S=J/s;break;case c:S=J/i;break;case a:S=J/r;break;default:S=J}return b?S:k.a(S)},v.daysInMonth=function(){return this.endOf(l).$D},v.$locale=function(){return x[this.$L]},v.locale=function(_,w){if(!_)return this.$L;var b=this.clone(),S=D(_,w,!0);return S&&(b.$L=S),b},v.clone=function(){return k.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},u}(),T=U.prototype;return V.prototype=T,[["$ms",n],["$s",a],["$m",c],["$H",d],["$W",o],["$M",l],["$y",p],["$D",j]].forEach(function(u){T[u[1]]=function(v){return this.$g(v,u[0],u[1])}}),V.extend=function(u,v){return u.$i||(u(v,U,V),u.$i=!0),V},V.locale=D,V.isDayjs=m,V.unix=function(u){return V(1e3*u)},V.en=x[K],V.Ls=x,V.p={},V})}(It)),It.exports}var Zi=Ki();const ot=ur(Zi),$n={version:"0.50.0-alpha.22"};var Pt={exports:{}},Qi=Pt.exports,wn;function es(){return wn||(wn=1,function(e,t){(function(r,i){e.exports=i()})(Qi,function(){var r,i,s=1e3,n=6e4,a=36e5,c=864e5,d=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,o=31536e6,h=2628e6,l=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,f={years:o,months:h,days:c,hours:a,minutes:n,seconds:s,milliseconds:1,weeks:6048e5},p=function(x){return x instanceof ee},j=function(x,y,m){return new ee(x,m,y.$l)},E=function(x){return i.p(x)+"s"},C=function(x){return x<0},Y=function(x){return C(x)?Math.ceil(x):Math.floor(x)},O=function(x){return Math.abs(x)},A=function(x,y){return x?C(x)?{negative:!0,format:""+O(x)+y}:{negative:!1,format:""+x+y}:{negative:!1,format:""}},ee=function(){function x(m,D,V){var k=this;if(this.$d={},this.$l=V,m===void 0&&(this.$ms=0,this.parseFromMilliseconds()),D)return j(m*f[E(D)],this);if(typeof m=="number")return this.$ms=m,this.parseFromMilliseconds(),this;if(typeof m=="object")return Object.keys(m).forEach(function(u){k.$d[E(u)]=m[u]}),this.calMilliseconds(),this;if(typeof m=="string"){var U=m.match(l);if(U){var T=U.slice(2).map(function(u){return u!=null?Number(u):0});return this.$d.years=T[0],this.$d.months=T[1],this.$d.weeks=T[2],this.$d.days=T[3],this.$d.hours=T[4],this.$d.minutes=T[5],this.$d.seconds=T[6],this.calMilliseconds(),this}}return this}var y=x.prototype;return y.calMilliseconds=function(){var m=this;this.$ms=Object.keys(this.$d).reduce(function(D,V){return D+(m.$d[V]||0)*f[V]},0)},y.parseFromMilliseconds=function(){var m=this.$ms;this.$d.years=Y(m/o),m%=o,this.$d.months=Y(m/h),m%=h,this.$d.days=Y(m/c),m%=c,this.$d.hours=Y(m/a),m%=a,this.$d.minutes=Y(m/n),m%=n,this.$d.seconds=Y(m/s),m%=s,this.$d.milliseconds=m},y.toISOString=function(){var m=A(this.$d.years,"Y"),D=A(this.$d.months,"M"),V=+this.$d.days||0;this.$d.weeks&&(V+=7*this.$d.weeks);var k=A(V,"D"),U=A(this.$d.hours,"H"),T=A(this.$d.minutes,"M"),u=this.$d.seconds||0;this.$d.milliseconds&&(u+=this.$d.milliseconds/1e3,u=Math.round(1e3*u)/1e3);var v=A(u,"S"),_=m.negative||D.negative||k.negative||U.negative||T.negative||v.negative,w=U.format||T.format||v.format?"T":"",b=(_?"-":"")+"P"+m.format+D.format+k.format+w+U.format+T.format+v.format;return b==="P"||b==="-P"?"P0D":b},y.toJSON=function(){return this.toISOString()},y.format=function(m){var D=m||"YYYY-MM-DDTHH:mm:ss",V={Y:this.$d.years,YY:i.s(this.$d.years,2,"0"),YYYY:i.s(this.$d.years,4,"0"),M:this.$d.months,MM:i.s(this.$d.months,2,"0"),D:this.$d.days,DD:i.s(this.$d.days,2,"0"),H:this.$d.hours,HH:i.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:i.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:i.s(this.$d.seconds,2,"0"),SSS:i.s(this.$d.milliseconds,3,"0")};return D.replace(d,function(k,U){return U||String(V[k])})},y.as=function(m){return this.$ms/f[E(m)]},y.get=function(m){var D=this.$ms,V=E(m);return V==="milliseconds"?D%=1e3:D=V==="weeks"?Y(D/f[V]):this.$d[V],D||0},y.add=function(m,D,V){var k;return k=D?m*f[E(D)]:p(m)?m.$ms:j(m,this).$ms,j(this.$ms+k*(V?-1:1),this)},y.subtract=function(m,D){return this.add(m,D,!0)},y.locale=function(m){var D=this.clone();return D.$l=m,D},y.clone=function(){return j(this.$ms,this)},y.humanize=function(m){return r().add(this.$ms,"ms").locale(this.$l).fromNow(!m)},y.valueOf=function(){return this.asMilliseconds()},y.milliseconds=function(){return this.get("milliseconds")},y.asMilliseconds=function(){return this.as("milliseconds")},y.seconds=function(){return this.get("seconds")},y.asSeconds=function(){return this.as("seconds")},y.minutes=function(){return this.get("minutes")},y.asMinutes=function(){return this.as("minutes")},y.hours=function(){return this.get("hours")},y.asHours=function(){return this.as("hours")},y.days=function(){return this.get("days")},y.asDays=function(){return this.as("days")},y.weeks=function(){return this.get("weeks")},y.asWeeks=function(){return this.as("weeks")},y.months=function(){return this.get("months")},y.asMonths=function(){return this.as("months")},y.years=function(){return this.get("years")},y.asYears=function(){return this.as("years")},x}(),K=function(x,y,m){return x.add(y.years()*m,"y").add(y.months()*m,"M").add(y.days()*m,"d").add(y.hours()*m,"h").add(y.minutes()*m,"m").add(y.seconds()*m,"s").add(y.milliseconds()*m,"ms")};return function(x,y,m){r=m,i=m().$utils(),m.duration=function(k,U){var T=m.locale();return j(k,{$l:T},U)},m.isDuration=p;var D=y.prototype.add,V=y.prototype.subtract;y.prototype.add=function(k,U){return p(k)?K(this,k,1):D.bind(this)(k,U)},y.prototype.subtract=function(k,U){return p(k)?K(this,k,-1):V.bind(this)(k,U)}}})}(Pt)),Pt.exports}var ts=es();const rs=ur(ts);function kn(e,t){var i,s;let r="";if(e&&(t!=null&&t.length)&&((i=Object.keys(e))!=null&&i.length)&&((s=t==null?void 0:t.filter(n=>Object.keys(e).includes(n.name)))!=null&&s.length))for(const n of Object.keys(e))(t==null?void 0:t.filter(c=>c.name===n&&c.defaultValue!==e[n]))&&(r+=`${n}:${e[n]};`);return r}function xn(e){var i;const t=((i=e==null?void 0:e.repoName.split("/"))==null?void 0:i[1])||(e==null?void 0:e.repoName);if(!t)throw new Error("wrong componentPath "+(e==null?void 0:e.repoName));if(!(e!=null&&e.version))throw new Error("wrong version "+(e==null?void 0:e.version));const r=(e==null?void 0:e.iifePath)||"main.iife.js";if(!document.getElementById(t+"-script"))try{const s=document.createElement("script");s.id=t+"-script",s.src=`https://cdn.jsdelivr.net/npm/${e.repoName}@${e.version}/${r}`,e!=null&&e.local&&location.href.includes("localhost")&&(s.src=`${e.local}`),document.head.appendChild(s)}catch(s){console.warn(s)}}var lt={},cr,jn;function ns(){if(jn)return cr;jn=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,s=/^:\s*/,n=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,c=/^\s+|\s+$/g,d=`
|
|
2
2
|
`,o="/",h="*",l="",f="comment",p="declaration";cr=function(E,C){if(typeof E!="string")throw new TypeError("First argument must be a string");if(!E)return[];C=C||{};var Y=1,O=1;function A(T){var u=T.match(t);u&&(Y+=u.length);var v=T.lastIndexOf(d);O=~v?T.length-v:O+T.length}function ee(){var T={line:Y,column:O};return function(u){return u.position=new K(T),m(),u}}function K(T){this.start=T,this.end={line:Y,column:O},this.source=C.source}K.prototype.content=E;function x(T){var u=new Error(C.source+":"+Y+":"+O+": "+T);if(u.reason=T,u.filename=C.source,u.line=Y,u.column=O,u.source=E,!C.silent)throw u}function y(T){var u=T.exec(E);if(u){var v=u[0];return A(v),E=E.slice(v.length),u}}function m(){y(r)}function D(T){var u;for(T=T||[];u=V();)u!==!1&&T.push(u);return T}function V(){var T=ee();if(!(o!=E.charAt(0)||h!=E.charAt(1))){for(var u=2;l!=E.charAt(u)&&(h!=E.charAt(u)||o!=E.charAt(u+1));)++u;if(u+=2,l===E.charAt(u-1))return x("End of comment missing");var v=E.slice(2,u-2);return O+=2,A(v),E=E.slice(u),O+=2,T({type:f,comment:v})}}function k(){var T=ee(),u=y(i);if(u){if(V(),!y(s))return x("property missing ':'");var v=y(n),_=T({type:p,property:j(u[0].replace(e,l)),value:v?j(v[0].replace(e,l)):l});return y(a),_}}function U(){var T=[];D(T);for(var u;u=k();)u!==!1&&(T.push(u),D(T));return T}return m(),U()};function j(E){return E?E.replace(c,l):l}return cr}var En;function is(){if(En)return lt;En=1;var e=lt&<.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(lt,"__esModule",{value:!0}),lt.default=r;var t=e(ns());function r(i,s){var n=null;if(!i||typeof i!="string")return n;var a=(0,t.default)(i),c=typeof s=="function";return a.forEach(function(d){if(d.type==="declaration"){var o=d.property,h=d.value;c?s(o,h,d):h&&(n=n||{},n[o]=h)}}),n}return lt}var ss=is();const Sn=ur(ss),as=Sn.default||Sn,fr={vars:[{name:"--bs-primary",valueType:"color",theme:"bootstrap",defaultValue:"#07689f"},{name:"--bs-secondary",valueType:"color",theme:"bootstrap",defaultValue:"#c9d6df"},{name:"--bs-success",valueType:"color",theme:"bootstrap",defaultValue:"#11d3bc"},{name:"--bs-info",valueType:"color",theme:"bootstrap",defaultValue:"#a2d5f2"},{name:"--bs-warning",valueType:"color",theme:"bootstrap",defaultValue:"#ffc107"},{name:"--bs-danger",valueType:"color",theme:"bootstrap",defaultValue:"#f67280"}]},dr={vars:[{name:"--hb-slider-background-color",defaultValue:"#1abc9c",valueType:"color"}]};function ut(e,t,r,i,s,n,a,c){t().maxValue=g(r)*3600+g(i)*60+g(s),t().minValue=g(n)*3600+g(a)*60+g(c)}function Tn(e,t,r,i,s){!t()||!t().minValue&&t().minValue!==0||!t().maxValue&&t().maxValue!==0||(r()?N(s,"yes"):(i("dispatchTrack",t()),console.log(t())))}var os=Ae('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-10g1jan">'),ls=(e,t)=>g(t).paused?g(t).play():g(t).pause(),us=Ae('<i class="bi bi-play-fill svelte-10g1jan"></i>'),cs=Ae('<i class="bi bi-pause-fill svelte-10g1jan"></i>'),fs=Ae('<button class="btn btn-outline-dark svelte-10g1jan"><!></button>'),ds=Ae('<div style="width: 100%;margin-bottom:15px" class="svelte-10g1jan"><div style="display:inline-block; width:50px;" class="svelte-10g1jan"><!></div> <div style="display:inline-block;width:calc(100% - 60px);position:relative" class="svelte-10g1jan"><hb-range-slider></hb-range-slider></div></div>',2),hs=(e,t)=>t(e.detail),vs=Ae("<hb-form></hb-form>",2),ms=(e,t)=>{t("start")},_s=(e,t,r)=>{t(r().minValue)},bs=(e,t,r)=>{t(r().maxValue)},gs=(e,t)=>{t("end")},ps=Ae('<button class="btn btn-sm btn-primary svelte-10g1jan">send</button>'),ys=Ae('<button class="btn btn-sm btn-primary svelte-10g1jan" disabled>send</button>'),$s=Ae('<div id="card" class="card h-100 svelte-10g1jan"><div class="ratio ratio-16x9 svelte-10g1jan" style="background-color: black;"><video id="video" class="ratio ratio-16x9 svelte-10g1jan"><source type="video/mp4" class="svelte-10g1jan"> <track kind="captions" src="" srclang="en" label="English" class="svelte-10g1jan"> Your browser does not support the video tag.</video></div> <div class="card-body svelte-10g1jan"><!> <!> <div id="controls" class="svelte-10g1jan"><div style="flex-grow: 2" class="svelte-10g1jan"><button class="btn btn-sm btn-secondary svelte-10g1jan">▼</button> <button class="btn btn-sm btn-secondary svelte-10g1jan">▲</button> <input type="number" class="form-control form-custom-control-numbers svelte-10g1jan">h <input class="form-control form-custom-control-numbers svelte-10g1jan" type="number">m <input type="number" class="form-control form-custom-control-numbers svelte-10g1jan">s</div> <div style="flex-grow: 2;text-align:center" class="svelte-10g1jan"></div> <div style="flex-grow: 2;text-align:right" class="svelte-10g1jan"><input type="number" class="form-control form-custom-control-numbers svelte-10g1jan">h <input class="form-control form-custom-control-numbers svelte-10g1jan" type="number">m <input type="number" class="form-control form-custom-control-numbers svelte-10g1jan">s <button class="btn btn-sm btn-secondary svelte-10g1jan">▲</button> <button class="btn btn-sm btn-secondary svelte-10g1jan">▼</button></div></div></div> <div class="card-footer svelte-10g1jan"><span style="float:left;height:30px;line-height:30px" class="svelte-10g1jan"><!></span> <span style="float:right;height:30px;line-height:30px" class="svelte-10g1jan"><!></span></div></div>',2);const ws={hash:"svelte-10g1jan",code:`
|
|
3
3
|
@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");
|
package/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@htmlbricks/hb-editor-video",
|
|
3
|
-
"version": "0.50.0-alpha.
|
|
3
|
+
"version": "0.50.0-alpha.22",
|
|
4
4
|
"contributors": [],
|
|
5
5
|
"description": "",
|
|
6
6
|
"licenses": [
|
|
@@ -12,5 +12,9 @@
|
|
|
12
12
|
}
|
|
13
13
|
],
|
|
14
14
|
"main": "main.iife.js",
|
|
15
|
-
"dependencies":
|
|
15
|
+
"dependencies": {},
|
|
16
|
+
"publishConfig": {
|
|
17
|
+
"access": "public"
|
|
18
|
+
},
|
|
19
|
+
"private": false
|
|
16
20
|
}
|