@htmlbricks/hb-editor-video 0.50.0-alpha.9 → 0.60.1
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 +39 -30
- package/main.iife.js.map +1 -0
- package/manifest.json +1 -1
- package/package.json +6 -2
- package/types/webcomponent.type.d.json +1 -0
- package/types/webcomponent_events.type.d.json +1 -0
package/main.iife.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
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.009"};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
|
-
`,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
|
-
@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");
|
|
1
|
+
(function(gr){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Fn=1,Hn=4,qn=8,Un=16,Wn=1,Bn=2,qt="[",yr="[!",$r="]",Ze={},J=Symbol(),zn="http://www.w3.org/1999/xhtml",wr=!1;var xr=Array.isArray,Gn=Array.prototype.indexOf,Xn=Array.from,wt=Object.keys,Ke=Object.defineProperty,Ye=Object.getOwnPropertyDescriptor,Jn=Object.getOwnPropertyDescriptors,Zn=Object.prototype,Kn=Array.prototype,kr=Object.getPrototypeOf,Er=Object.isExtensible;function jr(e){for(var t=0;t<e.length;t++)e[t]()}function Qn(){var e,t,r=new Promise((n,i)=>{e=n,t=i});return{promise:r,resolve:e,reject:t}}const oe=2,Ut=4,Wt=8,Qe=16,ke=32,Oe=64,Sr=128,le=256,xt=512,Z=1024,ue=2048,Ne=4096,De=8192,Fe=16384,Bt=32768,zt=65536,Tr=1<<17,Mr=1<<18,et=1<<19,ei=1<<20,Gt=1<<21,Xt=1<<22,He=1<<23,kt=Symbol("$state"),Or=Symbol("legacy props"),ti=Symbol(""),Jt=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Nr=3,mt=8;function ri(){throw new Error("https://svelte.dev/e/await_outside_boundary")}function ni(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function ii(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function si(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function oi(e){throw new Error("https://svelte.dev/e/effect_orphan")}function ai(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function li(){throw new Error("https://svelte.dev/e/hydration_failed")}function ui(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function fi(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function ci(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function di(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Et(e){console.warn("https://svelte.dev/e/hydration_mismatch")}let L=!1;function pe(e){L=e}let B;function be(e){if(e===null)throw Et(),Ze;return B=e}function Zt(){return be(Ee(B))}function ne(e){if(L){if(Ee(B)!==null)throw Et(),Ze;B=e}}function Dr(e=1){if(L){for(var t=e,r=B;t--;)r=Ee(r);B=r}}function hi(){for(var e=0,t=B;;){if(t.nodeType===mt){var r=t.data;if(r===$r){if(e===0)return t;e-=1}else(r===qt||r===yr)&&(e+=1)}var n=Ee(t);t.remove(),t=n}}function vi(e){if(!e||e.nodeType!==mt)throw Et(),Ze;return e.data}function Vr(e){return e===this.v}function _i(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Ar(e){return!_i(e,this.v)}let mi=!1,_e=null;function jt(e){_e=e}function Rr(e,t=!1,r){_e={p:_e,c:null,e:null,s:e,x:null,l:null}}function Cr(e){var t=_e,r=t.e;if(r!==null){t.e=null;for(var n of r)tn(n)}return e!==void 0&&(t.x=e),_e=t.p,e??{}}function Ir(){return!0}const pi=new WeakMap;function bi(e){var t=A;if(t===null)return C.f|=He,e;if((t.f&Bt)===0){if((t.f&Sr)===0)throw!t.parent&&e instanceof Error&&Pr(e),e;t.b.error(e)}else Kt(e,t)}function Kt(e,t){for(;t!==null;){if((t.f&Sr)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e instanceof Error&&Pr(e),e}function Pr(e){const t=pi.get(e);t&&(Ke(e,"message",{value:t.message}),Ke(e,"stack",{value:t.stack}))}const gi=typeof requestIdleCallback>"u"?e=>setTimeout(e,1):requestIdleCallback;let pt=[],bt=[];function Lr(){var e=pt;pt=[],jr(e)}function Yr(){var e=bt;bt=[],jr(e)}function yi(e){pt.length===0&&queueMicrotask(Lr),pt.push(e)}function $i(e){bt.length===0&&gi(Yr),bt.push(e)}function wi(){pt.length>0&&Lr(),bt.length>0&&Yr()}function xi(){const e=A.b;return e===null&&ri(),e}function Qt(e){var t=oe|ue,r=C!==null&&(C.f&oe)!==0?C:null;return A===null||r!==null&&(r.f&le)!==0?t|=le:A.f|=et,{ctx:_e,deps:null,effects:null,equals:Vr,f:t,fn:e,reactions:null,rv:0,v:J,wv:0,parent:r??A,ac:null}}function ki(e,t){let r=A;r===null&&ni();var n=r.b,i=void 0,s=nr(J),o=null,l=!C;return Fi(()=>{try{var a=e();o&&Promise.resolve(a).catch(()=>{})}catch(v){a=Promise.reject(v)}var u=()=>a;i=o?.then(u,u)??Promise.resolve(a),o=i;var c=q,d=n.is_pending();l&&(n.update_pending_count(1),d||c.increment());const $=(v,g=void 0)=>{o=null,d||c.activate(),g?g!==Jt&&(s.f|=He,ir(s,g)):((s.f&He)!==0&&(s.f^=He),ir(s,v)),l&&(n.update_pending_count(-1),d||c.decrement()),qr()};if(i.then($,v=>$(null,v||"unknown")),c)return()=>{queueMicrotask(()=>c.neuter())}}),new Promise(a=>{function u(c){function d(){c===i?a(s):u(i)}c.then(d,d)}u(i)})}function Ei(e){const t=Qt(e);return t.equals=Ar,t}function Fr(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)Ae(t[r])}}function ji(e){for(var t=e.parent;t!==null;){if((t.f&oe)===0)return t;t=t.parent}return null}function er(e){var t,r=A;$e(ji(e));try{Fr(e),t=pn(e)}finally{$e(r)}return t}function Hr(e){var t=er(e);if(e.equals(t)||(e.v=t,e.wv=_n()),!Ge){var r=(Re||(e.f&le)!==0)&&e.deps!==null?Ne:Z;se(e,r)}}function Si(e,t,r){const n=Qt;if(t.length===0){r(e.map(n));return}var i=q,s=A,o=Ti(),l=xi();Promise.all(t.map(a=>ki(a))).then(a=>{i?.activate(),o();try{r([...e.map(n),...a])}catch(u){(s.f&Fe)===0&&Kt(u,s)}i?.deactivate(),qr()}).catch(a=>{l.error(a)})}function Ti(){var e=A,t=C,r=_e,n=q;return function(){$e(e),fe(t),jt(r),n?.activate()}}function qr(){$e(null),fe(null),jt(null)}const tr=new Set;let q=null,St=null,Ur=new Set,Tt=[];function Wr(){const e=Tt.shift();Tt.length>0&&queueMicrotask(Wr),e()}let qe=[],Mt=null,rr=!1,Ot=!1;class Ue{current=new Map;#t=new Map;#e=new Set;#r=0;#u=null;#f=!1;#i=[];#o=[];#s=[];#n=[];#a=[];#c=[];#d=[];skipped_effects=new Set;process(t){qe=[],St=null;for(const i of t)this.#v(i);if(this.#i.length===0&&this.#r===0){this.#h();var r=this.#s,n=this.#n;this.#s=[],this.#n=[],this.#a=[],St=q,q=null,zr(r),zr(n),q===null?q=this:tr.delete(this),this.#u?.resolve()}else this.#l(this.#s),this.#l(this.#n),this.#l(this.#a);for(const i of this.#i)st(i);for(const i of this.#o)st(i);this.#i=[],this.#o=[]}#v(t){t.f^=Z;for(var r=t.first;r!==null;){var n=r.f,i=(n&(ke|Oe))!==0,s=i&&(n&Z)!==0,o=s||(n&De)!==0||this.skipped_effects.has(r);if(!o&&r.fn!==null){if(i)r.f^=Z;else if((n&Ut)!==0)this.#n.push(r);else if((n&Z)===0)if((n&Xt)!==0){var l=r.b?.is_pending()?this.#o:this.#i;l.push(r)}else Dt(r)&&((r.f&Qe)!==0&&this.#a.push(r),st(r));var a=r.first;if(a!==null){r=a;continue}}var u=r.parent;for(r=r.next;r===null&&u!==null;)r=u.next,u=u.parent}}#l(t){for(const r of t)((r.f&ue)!==0?this.#c:this.#d).push(r),se(r,Z);t.length=0}capture(t,r){this.#t.has(t)||this.#t.set(t,r),this.current.set(t,t.v)}activate(){q=this}deactivate(){q=null,St=null;for(const t of Ur)if(Ur.delete(t),t(),q!==null)break}neuter(){this.#f=!0}flush(){qe.length>0?Br():this.#h(),q===this&&(this.#r===0&&tr.delete(this),this.deactivate())}#h(){if(!this.#f)for(const t of this.#e)t();this.#e.clear()}increment(){this.#r+=1}decrement(){if(this.#r-=1,this.#r===0){for(const t of this.#c)se(t,ue),rt(t);for(const t of this.#d)se(t,Ne),rt(t);this.#s=[],this.#n=[],this.flush()}else this.deactivate()}add_callback(t){this.#e.add(t)}settled(){return(this.#u??=Qn()).promise}static ensure(){if(q===null){const t=q=new Ue;tr.add(q),Ot||Ue.enqueue(()=>{q===t&&t.flush()})}return q}static enqueue(t){Tt.length===0&&queueMicrotask(Wr),Tt.unshift(t)}}function tt(e){var t=Ot;Ot=!0;try{for(var r;;){if(wi(),qe.length===0&&(q?.flush(),qe.length===0))return Mt=null,r;Br()}}finally{Ot=t}}function Br(){var e=it;rr=!0;try{var t=0;for(cn(!0);qe.length>0;){var r=Ue.ensure();if(t++>1e3){var n,i;Mi()}r.process(qe),Ve.clear()}}finally{rr=!1,cn(e),Mt=null}}function Mi(){try{ai()}catch(e){Kt(e,Mt)}}let We=null;function zr(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(Fe|De))===0&&Dt(n)&&(We=[],st(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?an(n):n.fn=null),We?.length>0)){Ve.clear();for(const i of We)st(i);We=[]}}We=null}}function rt(e){for(var t=Mt=e;t.parent!==null;){t=t.parent;var r=t.f;if(rr&&t===A&&(r&Qe)!==0)return;if((r&(Oe|ke))!==0){if((r&Z)===0)return;t.f^=Z}}qe.push(t)}const Ve=new Map;function nr(e,t){var r={f:0,v:e,reactions:null,equals:Vr,rv:0,wv:0};return r}function Y(e,t){const r=nr(e);return Bi(r),r}function Oi(e,t=!1,r=!0){const n=nr(e);return t||(n.equals=Ar),n}function R(e,t,r=!1){C!==null&&(!ye||(C.f&Tr)!==0)&&Ir()&&(C.f&(oe|Qe|Xt|Tr))!==0&&!Se?.includes(e)&&di();let n=r?Be(t):t;return ir(e,n)}function ir(e,t){if(!e.equals(t)){var r=e.v;Ge?Ve.set(e,t):Ve.set(e,r),e.v=t;var n=Ue.ensure();n.capture(e,r),(e.f&oe)!==0&&((e.f&ue)!==0&&er(e),se(e,(e.f&le)===0?Z:Ne)),e.wv=_n(),Gr(e,ue),A!==null&&(A.f&Z)!==0&&(A.f&(ke|Oe))===0&&(ce===null?zi([e]):ce.push(e))}return t}function sr(e){R(e,e.v+1)}function Gr(e,t){var r=e.reactions;if(r!==null)for(var n=r.length,i=0;i<n;i++){var s=r[i],o=s.f,l=(o&ue)===0;l&&se(s,t),(o&oe)!==0?Gr(s,Ne):l&&((o&Qe)!==0&&We!==null&&We.push(s),rt(s))}}function Be(e){if(typeof e!="object"||e===null||kt in e)return e;const t=kr(e);if(t!==Zn&&t!==Kn)return e;var r=new Map,n=xr(e),i=Y(0),s=Xe,o=l=>{if(Xe===s)return l();var a=C,u=Xe;fe(null),vn(s);var c=l();return fe(a),vn(u),c};return n&&r.set("length",Y(e.length)),new Proxy(e,{defineProperty(l,a,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&fi();var c=r.get(a);return c===void 0?c=o(()=>{var d=Y(u.value);return r.set(a,d),d}):R(c,u.value,!0),!0},deleteProperty(l,a){var u=r.get(a);if(u===void 0){if(a in l){const c=o(()=>Y(J));r.set(a,c),sr(i)}}else R(u,J),sr(i);return!0},get(l,a,u){if(a===kt)return e;var c=r.get(a),d=a in l;if(c===void 0&&(!d||Ye(l,a)?.writable)&&(c=o(()=>{var v=Be(d?l[a]:J),g=Y(v);return g}),r.set(a,c)),c!==void 0){var $=b(c);return $===J?void 0:$}return Reflect.get(l,a,u)},getOwnPropertyDescriptor(l,a){var u=Reflect.getOwnPropertyDescriptor(l,a);if(u&&"value"in u){var c=r.get(a);c&&(u.value=b(c))}else if(u===void 0){var d=r.get(a),$=d?.v;if(d!==void 0&&$!==J)return{enumerable:!0,configurable:!0,value:$,writable:!0}}return u},has(l,a){if(a===kt)return!0;var u=r.get(a),c=u!==void 0&&u.v!==J||Reflect.has(l,a);if(u!==void 0||A!==null&&(!c||Ye(l,a)?.writable)){u===void 0&&(u=o(()=>{var $=c?Be(l[a]):J,v=Y($);return v}),r.set(a,u));var d=b(u);if(d===J)return!1}return c},set(l,a,u,c){var d=r.get(a),$=a in l;if(n&&a==="length")for(var v=u;v<d.v;v+=1){var g=r.get(v+"");g!==void 0?R(g,J):v in l&&(g=o(()=>Y(J)),r.set(v+"",g))}if(d===void 0)(!$||Ye(l,a)?.writable)&&(d=o(()=>Y(void 0)),R(d,Be(u)),r.set(a,d));else{$=d.v!==J;var k=o(()=>Be(u));R(d,k)}var I=Reflect.getOwnPropertyDescriptor(l,a);if(I?.set&&I.set.call(c,u),!$){if(n&&typeof a=="string"){var M=r.get("length"),j=Number(a);Number.isInteger(j)&&j>=M.v&&R(M,j+1)}sr(i)}return!0},ownKeys(l){b(i);var a=Reflect.ownKeys(l).filter(d=>{var $=r.get(d);return $===void 0||$.v!==J});for(var[u,c]of r)c.v!==J&&!(u in l)&&a.push(u);return a},setPrototypeOf(){ci()}})}var Xr,Jr,Zr,Kr;function or(){if(Xr===void 0){Xr=window,Jr=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;Zr=Ye(t,"firstChild").get,Kr=Ye(t,"nextSibling").get,Er(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Er(r)&&(r.__t=void 0)}}function ze(e=""){return document.createTextNode(e)}function nt(e){return Zr.call(e)}function Ee(e){return Kr.call(e)}function ie(e,t){if(!L)return nt(e);var r=nt(B);return r===null&&(r=B.appendChild(ze())),be(r),r}function K(e,t=1,r=!1){let n=L?B:e;for(var i;t--;)i=n,n=Ee(n);if(!L)return n;if(r&&n?.nodeType!==Nr){var s=ze();return n===null?i?.after(s):n.before(s),be(s),s}return be(n),n}function Ni(e){e.textContent=""}function Di(){return!1}let Qr=!1;function en(){Qr||(Qr=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(const t of e.target.elements)t.__on_r?.()})},{capture:!0}))}function Nt(e){var t=C,r=A;fe(null),$e(null);try{return e()}finally{fe(t),$e(r)}}function Vi(e,t,r,n=r){e.addEventListener(t,()=>Nt(r));const i=e.__on_r;i?e.__on_r=()=>{i(),n(!0)}:e.__on_r=()=>n(!0),en()}function Ai(e){A===null&&C===null&&oi(),C!==null&&(C.f&le)!==0&&A===null&&si(),Ge&&ii()}function Ri(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function ge(e,t,r,n=!0){var i=A;i!==null&&(i.f&De)!==0&&(e|=De);var s={ctx:_e,deps:null,nodes_start:null,nodes_end:null,f:e|ue,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(r)try{st(s),s.f|=Bt}catch(a){throw Ae(s),a}else t!==null&&rt(s);if(n){var o=s;if(r&&o.deps===null&&o.teardown===null&&o.nodes_start===null&&o.first===o.last&&(o.f&et)===0&&(o=o.first),o!==null&&(o.parent=i,i!==null&&Ri(o,i),C!==null&&(C.f&oe)!==0&&(e&Oe)===0)){var l=C;(l.effects??=[]).push(o)}}return s}function Ci(e){const t=ge(Wt,null,!1);return se(t,Z),t.teardown=e,t}function Ii(e){Ai();var t=A.f,r=!C&&(t&ke)!==0&&(t&Bt)===0;if(r){var n=_e;(n.e??=[]).push(e)}else return tn(e)}function tn(e){return ge(Ut|ei,e,!1)}function Pi(e){Ue.ensure();const t=ge(Oe|et,e,!0);return()=>{Ae(t)}}function Li(e){Ue.ensure();const t=ge(Oe|et,e,!0);return(r={})=>new Promise(n=>{r.outro?ln(t,()=>{Ae(t),n(void 0)}):(Ae(t),n(void 0))})}function Yi(e){return ge(Ut,e,!1)}function Fi(e){return ge(Xt|et,e,!0)}function rn(e,t=0){return ge(Wt|t,e,!0)}function je(e,t=[],r=[]){Si(t,r,n=>{ge(Wt,()=>e(...n.map(b)),!0)})}function nn(e,t=0){var r=ge(Qe|t,e,!0);return r}function ar(e,t=!0){return ge(ke|et,e,!0,t)}function sn(e){var t=e.teardown;if(t!==null){const r=Ge,n=C;dn(!0),fe(null);try{t.call(null)}finally{dn(r),fe(n)}}}function on(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const i=r.ac;i!==null&&Nt(()=>{i.abort(Jt)});var n=r.next;(r.f&Oe)!==0?r.parent=null:Ae(r,t),r=n}}function Hi(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&ke)===0&&Ae(t),t=r}}function Ae(e,t=!0){var r=!1;(t||(e.f&Mr)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(qi(e.nodes_start,e.nodes_end),r=!0),on(e,t&&!r),Vt(e,0),se(e,Fe);var n=e.transitions;if(n!==null)for(const s of n)s.stop();sn(e);var i=e.parent;i!==null&&i.first!==null&&an(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function qi(e,t){for(;e!==null;){var r=e===t?null:Ee(e);e.remove(),e=r}}function an(e){var t=e.parent,r=e.prev,n=e.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),t!==null&&(t.first===e&&(t.first=n),t.last===e&&(t.last=r))}function ln(e,t){var r=[];un(e,r,!0),Ui(r,()=>{Ae(e),t&&t()})}function Ui(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var i of e)i.out(n)}else t()}function un(e,t,r){if((e.f&De)===0){if(e.f^=De,e.transitions!==null)for(const o of e.transitions)(o.is_global||r)&&t.push(o);for(var n=e.first;n!==null;){var i=n.next,s=(n.f&zt)!==0||(n.f&ke)!==0;un(n,t,s?r:!1),n=i}}}function Wi(e){fn(e,!0)}function fn(e,t){if((e.f&De)!==0){e.f^=De,(e.f&Z)===0&&(se(e,ue),rt(e));for(var r=e.first;r!==null;){var n=r.next,i=(r.f&zt)!==0||(r.f&ke)!==0;fn(r,i?t:!1),r=n}if(e.transitions!==null)for(const s of e.transitions)(s.is_global||t)&&s.in()}}let it=!1;function cn(e){it=e}let Ge=!1;function dn(e){Ge=e}let C=null,ye=!1;function fe(e){C=e}let A=null;function $e(e){A=e}let Se=null;function Bi(e){C!==null&&(Se===null?Se=[e]:Se.push(e))}let Q=null,ae=0,ce=null;function zi(e){ce=e}let hn=1,gt=0,Xe=gt;function vn(e){Xe=e}let Re=!1;function _n(){return++hn}function Dt(e){var t=e.f;if((t&ue)!==0)return!0;if((t&Ne)!==0){var r=e.deps,n=(t&le)!==0;if(r!==null){var i,s,o=(t&xt)!==0,l=n&&A!==null&&!Re,a=r.length;if((o||l)&&(A===null||(A.f&Fe)===0)){var u=e,c=u.parent;for(i=0;i<a;i++)s=r[i],(o||!s?.reactions?.includes(u))&&(s.reactions??=[]).push(u);o&&(u.f^=xt),l&&c!==null&&(c.f&le)===0&&(u.f^=le)}for(i=0;i<a;i++)if(s=r[i],Dt(s)&&Hr(s),s.wv>e.wv)return!0}(!n||A!==null&&!Re)&&se(e,Z)}return!1}function mn(e,t,r=!0){var n=e.reactions;if(n!==null&&!Se?.includes(e))for(var i=0;i<n.length;i++){var s=n[i];(s.f&oe)!==0?mn(s,t,!1):t===s&&(r?se(s,ue):(s.f&Z)!==0&&se(s,Ne),rt(s))}}function pn(e){var t=Q,r=ae,n=ce,i=C,s=Re,o=Se,l=_e,a=ye,u=Xe,c=e.f;Q=null,ae=0,ce=null,Re=(c&le)!==0&&(ye||!it||C===null),C=(c&(ke|Oe))===0?e:null,Se=null,jt(e.ctx),ye=!1,Xe=++gt,e.ac!==null&&(Nt(()=>{e.ac.abort(Jt)}),e.ac=null);try{e.f|=Gt;var d=e.fn,$=d(),v=e.deps;if(Q!==null){var g;if(Vt(e,ae),v!==null&&ae>0)for(v.length=ae+Q.length,g=0;g<Q.length;g++)v[ae+g]=Q[g];else e.deps=v=Q;if(!Re||(c&oe)!==0&&e.reactions!==null)for(g=ae;g<v.length;g++)(v[g].reactions??=[]).push(e)}else v!==null&&ae<v.length&&(Vt(e,ae),v.length=ae);if(Ir()&&ce!==null&&!ye&&v!==null&&(e.f&(oe|Ne|ue))===0)for(g=0;g<ce.length;g++)mn(ce[g],e);return i!==null&&i!==e&&(gt++,ce!==null&&(n===null?n=ce:n.push(...ce))),(e.f&He)!==0&&(e.f^=He),$}catch(k){return bi(k)}finally{e.f^=Gt,Q=t,ae=r,ce=n,C=i,Re=s,Se=o,jt(l),ye=a,Xe=u}}function Gi(e,t){let r=t.reactions;if(r!==null){var n=Gn.call(r,e);if(n!==-1){var i=r.length-1;i===0?r=t.reactions=null:(r[n]=r[i],r.pop())}}r===null&&(t.f&oe)!==0&&(Q===null||!Q.includes(t))&&(se(t,Ne),(t.f&(le|xt))===0&&(t.f^=xt),Fr(t),Vt(t,0))}function Vt(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)Gi(e,r[n])}function st(e){var t=e.f;if((t&Fe)===0){se(e,Z);var r=A,n=it;A=e,it=!0;try{(t&Qe)!==0?Hi(e):on(e),sn(e);var i=pn(e);e.teardown=typeof i=="function"?i:null,e.wv=hn;var s;wr&&mi&&(e.f&ue)!==0&&e.deps}finally{it=n,A=r}}}async function Xi(){await Promise.resolve(),tt()}function b(e){var t=e.f,r=(t&oe)!==0;if(C!==null&&!ye){var n=A!==null&&(A.f&Fe)!==0;if(!n&&!Se?.includes(e)){var i=C.deps;if((C.f&Gt)!==0)e.rv<gt&&(e.rv=gt,Q===null&&i!==null&&i[ae]===e?ae++:Q===null?Q=[e]:(!Re||!Q.includes(e))&&Q.push(e));else{(C.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[C]:s.includes(C)||s.push(C)}}}else if(r&&e.deps===null&&e.effects===null){var o=e,l=o.parent;l!==null&&(l.f&le)===0&&(o.f^=le)}if(Ge){if(Ve.has(e))return Ve.get(e);if(r){o=e;var a=o.v;return((o.f&Z)===0&&o.reactions!==null||bn(o))&&(a=er(o)),Ve.set(o,a),a}}else r&&(o=e,Dt(o)&&Hr(o));if((e.f&He)!==0)throw e.v;return e.v}function bn(e){if(e.v===J)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Ve.has(t)||(t.f&oe)!==0&&bn(t))return!0;return!1}function gn(e){var t=ye;try{return ye=!0,e()}finally{ye=t}}const Ji=-7169;function se(e,t){e.f=e.f&Ji|t}const yn=new Set,lr=new Set;function Zi(e,t,r,n={}){function i(s){if(n.capture||yt.call(t,s),!s.cancelBubble)return Nt(()=>r?.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?yi(()=>{t.addEventListener(e,i,n)}):t.addEventListener(e,i,n),i}function ot(e,t,r,n,i){var s={capture:n,passive:i},o=Zi(e,t,r,s);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Ci(()=>{t.removeEventListener(e,o,s)})}function Ki(e){for(var t=0;t<e.length;t++)yn.add(e[t]);for(var r of lr)r(e)}let $n=null;function yt(e){var t=this,r=t.ownerDocument,n=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;$n=e;var o=0,l=$n===e&&e.__root;if(l){var a=i.indexOf(l);if(a!==-1&&(t===document||t===window)){e.__root=t;return}var u=i.indexOf(t);if(u===-1)return;a<=u&&(o=a)}if(s=i[o]||e.target,s!==t){Ke(e,"currentTarget",{configurable:!0,get(){return s||r}});var c=C,d=A;fe(null),$e(null);try{for(var $,v=[];s!==null;){var g=s.assignedSlot||s.parentNode||s.host||null;try{var k=s["__"+n];if(k!=null&&(!s.disabled||e.target===s))if(xr(k)){var[I,...M]=k;I.apply(s,[e,...M])}else k.call(s,e)}catch(j){$?v.push(j):$=j}if(e.cancelBubble||g===t||g===null)break;s=g}if($){for(let j of v)queueMicrotask(()=>{throw j});throw $}}finally{e.__root=t,delete e.currentTarget,fe(c),$e(d)}}}let de;function Qi(){de=void 0}function es(e){let t=null,r=L;var n;if(L){for(t=B,de===void 0&&(de=nt(document.head));de!==null&&(de.nodeType!==mt||de.data!==qt);)de=Ee(de);de===null?pe(!1):de=be(Ee(de))}L||(n=document.head.appendChild(ze()));try{nn(()=>e(n),Mr)}finally{r&&(pe(!0),de=B,be(t))}}function ts(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function at(e,t){var r=A;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function Te(e,t){var r=(t&Wn)!==0,n=(t&Bn)!==0,i,s=!e.startsWith("<!>");return()=>{if(L)return at(B,null),B;i===void 0&&(i=ts(s?e:"<!>"+e),r||(i=nt(i)));var o=n||Jr?document.importNode(i,!0):i.cloneNode(!0);if(r){var l=nt(o),a=o.lastChild;at(l,a)}else at(o,o);return o}}function rs(e=""){if(!L){var t=ze(e+"");return at(t,t),t}var r=B;return r.nodeType!==Nr&&(r.before(r=ze()),be(r)),at(r,r),r}function me(e,t){if(L){A.nodes_end=B,Zt();return}e!==null&&e.before(t)}const ns=["touchstart","touchmove"];function is(e){return ns.includes(e)}function ss(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=r+"")}function wn(e,t){return xn(e,t)}function os(e,t){or(),t.intro=t.intro??!1;const r=t.target,n=L,i=B;try{for(var s=nt(r);s&&(s.nodeType!==mt||s.data!==qt);)s=Ee(s);if(!s)throw Ze;pe(!0),be(s),Zt();const o=xn(e,{...t,anchor:s});if(B===null||B.nodeType!==mt||B.data!==$r)throw Et(),Ze;return pe(!1),o}catch(o){if(o instanceof Error&&o.message.split(`
|
|
2
|
+
`).some(l=>l.startsWith("https://svelte.dev/e/")))throw o;return o!==Ze&&console.warn("Failed to hydrate: ",o),t.recover===!1&&li(),or(),Ni(r),pe(!1),wn(e,t)}finally{pe(n),be(i),Qi()}}const lt=new Map;function xn(e,{target:t,anchor:r,props:n={},events:i,context:s,intro:o=!0}){or();var l=new Set,a=d=>{for(var $=0;$<d.length;$++){var v=d[$];if(!l.has(v)){l.add(v);var g=is(v);t.addEventListener(v,yt,{passive:g});var k=lt.get(v);k===void 0?(document.addEventListener(v,yt,{passive:g}),lt.set(v,1)):lt.set(v,k+1)}}};a(Xn(yn)),lr.add(a);var u=void 0,c=Li(()=>{var d=r??t.appendChild(ze());return ar(()=>{if(s){Rr({});var $=_e;$.c=s}i&&(n.$$events=i),L&&at(d,null),u=e(d,n)||{},L&&(A.nodes_end=B),s&&Cr()}),()=>{for(var $ of l){t.removeEventListener($,yt);var v=lt.get($);--v===0?(document.removeEventListener($,yt),lt.delete($)):lt.set($,v)}lr.delete(a),d!==r&&d.parentNode?.removeChild(d)}});return ur.set(u,c),u}let ur=new WeakMap;function as(e,t){const r=ur.get(e);return r?(ur.delete(e),r(t)):Promise.resolve()}function ut(e,t,r=!1){L&&Zt();var n=e,i=null,s=null,o=J,l=r?zt:0,a=!1;const u=(v,g=!0)=>{a=!0,$(g,v)};var c=null;function d(){c!==null&&(c.lastChild.remove(),n.before(c),c=null);var v=o?i:s,g=o?s:i;v&&Wi(v),g&&ln(g,()=>{o?s=null:i=null})}const $=(v,g)=>{if(o===(o=v))return;let k=!1;if(L){const te=vi(n)===yr;!!o===te&&(n=hi(),be(n),pe(!1),k=!0)}var I=Di(),M=n;if(I&&(c=document.createDocumentFragment(),c.append(M=ze())),o?i??=g&&ar(()=>g(M)):s??=g&&ar(()=>g(M)),I){var j=q,F=o?i:s,ee=o?s:i;F&&j.skipped_effects.delete(F),ee&&j.skipped_effects.add(ee),j.add_callback(d)}else d();k&&pe(!0)};nn(()=>{a=!1,t(u),a||$(null,null)},l),L&&(n=B)}function ls(e,t){Yi(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,n.appendChild(i)}})}function us(e,t,r){var n=""+e;return n}function fs(e,t){return e==null?null:String(e)}function kn(e,t,r,n,i,s){var o=e.__className;if(L||o!==r||o===void 0){var l=us(r);(!L||l!==e.getAttribute("class"))&&(l==null?e.removeAttribute("class"):e.className=l),e.__className=r}return s}function En(e,t,r,n){var i=e.__style;if(L||i!==t){var s=fs(t);(!L||s!==e.getAttribute("style"))&&(s==null?e.removeAttribute("style"):e.style.cssText=s),e.__style=t}return n}const cs=Symbol("is custom element"),ds=Symbol("is html");function ft(e){if(L){var t=!1,r=()=>{if(!t){if(t=!0,e.hasAttribute("value")){var n=e.value;At(e,"value",null),e.value=n}if(e.hasAttribute("checked")){var i=e.checked;At(e,"checked",null),e.checked=i}}};e.__on_r=r,$i(r),en()}}function At(e,t,r,n){var i=hs(e);L&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||i[t]!==(i[t]=r)&&(t==="loading"&&(e[ti]=r),r==null?e.removeAttribute(t):typeof r!="string"&&jn(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function Ce(e,t,r){var n=C,i=A;let s=L;L&&pe(!1),fe(null),$e(null);try{t!=="style"&&(fr.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?jn(e).includes(t):r&&typeof r=="object")?e[t]=r:At(e,t,r==null?r:String(r))}finally{fe(n),$e(i),s&&pe(!0)}}function hs(e){return e.__attributes??={[cs]:e.nodeName.includes("-"),[ds]:e.namespaceURI===zn}}var fr=new Map;function jn(e){var t=e.getAttribute("is")||e.nodeName,r=fr.get(t);if(r)return r;fr.set(t,r=[]);for(var n,i=e,s=Element.prototype;s!==i;){n=Jn(i);for(var o in n)n[o].set&&r.push(o);i=kr(i)}return r}function ct(e,t,r=t){var n=new WeakSet;Vi(e,"input",async i=>{var s=i?e.defaultValue:e.value;if(s=cr(e)?dr(s):s,r(s),q!==null&&n.add(q),await Xi(),s!==(s=t())){var o=e.selectionStart,l=e.selectionEnd;e.value=s??"",l!==null&&(e.selectionStart=o,e.selectionEnd=Math.min(l,e.value.length))}}),(L&&e.defaultValue!==e.value||gn(t)==null&&e.value)&&(r(cr(e)?dr(e.value):e.value),q!==null&&n.add(q)),rn(()=>{var i=t();if(e===document.activeElement){var s=St??q;if(n.has(s))return}cr(e)&&i===dr(e.value)||e.type==="date"&&!i&&!e.value||i!==e.value&&(e.value=i??"")})}function cr(e){var t=e.type;return t==="number"||t==="range"}function dr(e){return e===""?null:+e}let Rt=!1;function vs(e){var t=Rt;try{return Rt=!1,[e(),Rt]}finally{Rt=t}}function Ct(e,t,r,n){var i=(r&qn)!==0,s=(r&Un)!==0,o=n,l=!0,a=()=>(l&&(l=!1,o=s?gn(n):n),o),u;if(i){var c=kt in e||Or in e;u=Ye(e,t)?.set??(c&&t in e?j=>e[t]=j:void 0)}var d,$=!1;i?[d,$]=vs(()=>e[t]):d=e[t],d===void 0&&n!==void 0&&(d=a(),u&&(ui(),u(d)));var v;if(v=()=>{var j=e[t];return j===void 0?a():(l=!0,j)},(r&Hn)===0)return v;if(u){var g=e.$$legacy;return(function(j,F){return arguments.length>0?((!F||g||$)&&u(F?v():j),j):v()})}var k=!1,I=((r&Fn)!==0?Qt:Ei)(()=>(k=!1,v()));i&&b(I);var M=A;return(function(j,F){if(arguments.length>0){const ee=F?b(I):i?Be(j):j;return R(I,ee),k=!0,o!==void 0&&(o=ee),j}return Ge&&k||(M.f&Fe)!==0?I.v:b(I)})}function _s(e){return new ms(e)}class ms{#t;#e;constructor(t){var r=new Map,n=(s,o)=>{var l=Oi(o,!1,!1);return r.set(s,l),l};const i=new Proxy({...t.props||{},$$events:{}},{get(s,o){return b(r.get(o)??n(o,Reflect.get(s,o)))},has(s,o){return o===Or?!0:(b(r.get(o)??n(o,Reflect.get(s,o))),Reflect.has(s,o))},set(s,o,l){return R(r.get(o)??n(o,l),l),Reflect.set(s,o,l)}});this.#e=(t.hydrate?os:wn)(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)&&tt(),this.#t=i.$$events;for(const s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||Ke(this,s,{get(){return this.#e[s]},set(o){this.#e[s]=o},enumerable:!0});this.#e.$set=s=>{Object.assign(i,s)},this.#e.$destroy=()=>{as(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const n=(...i)=>r.call(this,...i);return this.#t[t].push(n),()=>{this.#t[t]=this.#t[t].filter(i=>i!==n)}}$destroy(){this.#e.$destroy()}}let Sn;typeof HTMLElement=="function"&&(Sn=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,r){super(),this.$$ctor=e,this.$$s=t,r&&this.attachShadow({mode:"open"})}addEventListener(e,t,r){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,r)}removeEventListener(e,t,r){if(super.removeEventListener(e,t,r),this.$$c){const n=this.$$l_u.get(t);n&&(n(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(n){return i=>{const s=document.createElement("slot");n!=="default"&&(s.name=n),me(i,s)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=ps(this);for(const n of this.$$s)n in r&&(n==="default"&&!this.$$d.children?(this.$$d.children=e(n),t.default=!0):t[n]=e(n));for(const n of this.attributes){const i=this.$$g_p(n.name);i in this.$$d||(this.$$d[i]=It(i,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=_s({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Pi(()=>{rn(()=>{this.$$r=!0;for(const n of wt(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const i=It(n,this.$$d[n],this.$$p_d,"toAttribute");i==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,i)}this.$$r=!1})});for(const n in this.$$l)for(const i of this.$$l[n]){const s=this.$$c.$on(n,i);this.$$l_u.set(i,s)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=It(e,r,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(e){return wt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function It(e,t,r,n){const i=r[e]?.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="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 ps(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function bs(e,t,r,n,i,s){let o=class extends Sn{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return wt(t).map(l=>(t[l].attribute||l).toLowerCase())}};return wt(t).forEach(l=>{Ke(o.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(a){a=It(l,a,t),this.$$d[l]=a;var u=this.$$c;if(u){var c=Ye(u,l)?.get;c?u[l]=a:u.$set({[l]:a})}}})}),n.forEach(l=>{Ke(o.prototype,l,{get(){return this.$$c?.[l]}})}),e.element=o,o}function hr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Pt={exports:{}},gs=Pt.exports,Tn;function ys(){return Tn||(Tn=1,(function(e,t){(function(r,n){e.exports=n()})(gs,(function(){var r=1e3,n=6e4,i=36e5,s="millisecond",o="second",l="minute",a="hour",u="day",c="week",d="month",$="quarter",v="year",g="date",k="Invalid Date",I=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,M=/\[([^\]]+)]|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,j={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(f){var h=["th","st","nd","rd"],_=f%100;return"["+f+(h[(_-20)%10]||h[_]||h[0])+"]"}},F=function(f,h,_){var x=String(f);return!x||x.length>=h?f:""+Array(h+1-x.length).join(_)+f},ee={s:F,z:function(f){var h=-f.utcOffset(),_=Math.abs(h),x=Math.floor(_/60),m=_%60;return(h<=0?"+":"-")+F(x,2,"0")+":"+F(m,2,"0")},m:function f(h,_){if(h.date()<_.date())return-f(_,h);var x=12*(_.year()-h.year())+(_.month()-h.month()),m=h.clone().add(x,d),O=_-m<0,T=h.clone().add(x+(O?-1:1),d);return+(-(x+(_-m)/(O?m-T:T-m))||0)},a:function(f){return f<0?Math.ceil(f)||0:Math.floor(f)},p:function(f){return{M:d,y:v,w:c,d:u,D:g,h:a,m:l,s:o,ms:s,Q:$}[f]||String(f||"").toLowerCase().replace(/s$/,"")},u:function(f){return f===void 0}},te="en",D={};D[te]=j;var w="$isDayjsObject",p=function(f){return f instanceof U||!(!f||!f[w])},V=function f(h,_,x){var m;if(!h)return te;if(typeof h=="string"){var O=h.toLowerCase();D[O]&&(m=O),_&&(D[O]=_,m=O);var T=h.split("-");if(!m&&T.length>1)return f(T[0])}else{var P=h.name;D[P]=h,m=P}return!x&&m&&(te=m),m||!x&&te},N=function(f,h){if(p(f))return f.clone();var _=typeof h=="object"?h:{};return _.date=f,_.args=arguments,new U(_)},E=ee;E.l=V,E.i=p,E.w=function(f,h){return N(f,{locale:h.$L,utc:h.$u,x:h.$x,$offset:h.$offset})};var U=(function(){function f(_){this.$L=V(_.locale,null,!0),this.parse(_),this.$x=this.$x||_.x||{},this[w]=!0}var h=f.prototype;return h.parse=function(_){this.$d=(function(x){var m=x.date,O=x.utc;if(m===null)return new Date(NaN);if(E.u(m))return new Date;if(m instanceof Date)return new Date(m);if(typeof m=="string"&&!/Z$/i.test(m)){var T=m.match(I);if(T){var P=T[2]-1||0,W=(T[7]||"0").substring(0,3);return O?new Date(Date.UTC(T[1],P,T[3]||1,T[4]||0,T[5]||0,T[6]||0,W)):new Date(T[1],P,T[3]||1,T[4]||0,T[5]||0,T[6]||0,W)}}return new Date(m)})(_),this.init()},h.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()},h.$utils=function(){return E},h.isValid=function(){return this.$d.toString()!==k},h.isSame=function(_,x){var m=N(_);return this.startOf(x)<=m&&m<=this.endOf(x)},h.isAfter=function(_,x){return N(_)<this.startOf(x)},h.isBefore=function(_,x){return this.endOf(x)<N(_)},h.$g=function(_,x,m){return E.u(_)?this[x]:this.set(m,_)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(_,x){var m=this,O=!!E.u(x)||x,T=E.p(_),P=function(he,G){var ve=E.w(m.$u?Date.UTC(m.$y,G,he):new Date(m.$y,G,he),m);return O?ve:ve.endOf(u)},W=function(he,G){return E.w(m.toDate()[he].apply(m.toDate("s"),(O?[0,0,0,0]:[23,59,59,999]).slice(G)),m)},z=this.$W,X=this.$M,re=this.$D,we="set"+(this.$u?"UTC":"");switch(T){case v:return O?P(1,0):P(31,11);case d:return O?P(1,X):P(0,X+1);case c:var xe=this.$locale().weekStart||0,Ie=(z<xe?z+7:z)-xe;return P(O?re-Ie:re+(6-Ie),X);case u:case g:return W(we+"Hours",0);case a:return W(we+"Minutes",1);case l:return W(we+"Seconds",2);case o:return W(we+"Milliseconds",3);default:return this.clone()}},h.endOf=function(_){return this.startOf(_,!1)},h.$set=function(_,x){var m,O=E.p(_),T="set"+(this.$u?"UTC":""),P=(m={},m[u]=T+"Date",m[g]=T+"Date",m[d]=T+"Month",m[v]=T+"FullYear",m[a]=T+"Hours",m[l]=T+"Minutes",m[o]=T+"Seconds",m[s]=T+"Milliseconds",m)[O],W=O===u?this.$D+(x-this.$W):x;if(O===d||O===v){var z=this.clone().set(g,1);z.$d[P](W),z.init(),this.$d=z.set(g,Math.min(this.$D,z.daysInMonth())).$d}else P&&this.$d[P](W);return this.init(),this},h.set=function(_,x){return this.clone().$set(_,x)},h.get=function(_){return this[E.p(_)]()},h.add=function(_,x){var m,O=this;_=Number(_);var T=E.p(x),P=function(X){var re=N(O);return E.w(re.date(re.date()+Math.round(X*_)),O)};if(T===d)return this.set(d,this.$M+_);if(T===v)return this.set(v,this.$y+_);if(T===u)return P(1);if(T===c)return P(7);var W=(m={},m[l]=n,m[a]=i,m[o]=r,m)[T]||1,z=this.$d.getTime()+_*W;return E.w(z,this)},h.subtract=function(_,x){return this.add(-1*_,x)},h.format=function(_){var x=this,m=this.$locale();if(!this.isValid())return m.invalidDate||k;var O=_||"YYYY-MM-DDTHH:mm:ssZ",T=E.z(this),P=this.$H,W=this.$m,z=this.$M,X=m.weekdays,re=m.months,we=m.meridiem,xe=function(G,ve,Pe,Me){return G&&(G[ve]||G(x,O))||Pe[ve].slice(0,Me)},Ie=function(G){return E.s(P%12||12,G,"0")},he=we||function(G,ve,Pe){var Me=G<12?"AM":"PM";return Pe?Me.toLowerCase():Me};return O.replace(M,(function(G,ve){return ve||(function(Pe){switch(Pe){case"YY":return String(x.$y).slice(-2);case"YYYY":return E.s(x.$y,4,"0");case"M":return z+1;case"MM":return E.s(z+1,2,"0");case"MMM":return xe(m.monthsShort,z,re,3);case"MMMM":return xe(re,z);case"D":return x.$D;case"DD":return E.s(x.$D,2,"0");case"d":return String(x.$W);case"dd":return xe(m.weekdaysMin,x.$W,X,2);case"ddd":return xe(m.weekdaysShort,x.$W,X,3);case"dddd":return X[x.$W];case"H":return String(P);case"HH":return E.s(P,2,"0");case"h":return Ie(1);case"hh":return Ie(2);case"a":return he(P,W,!0);case"A":return he(P,W,!1);case"m":return String(W);case"mm":return E.s(W,2,"0");case"s":return String(x.$s);case"ss":return E.s(x.$s,2,"0");case"SSS":return E.s(x.$ms,3,"0");case"Z":return T}return null})(G)||T.replace(":","")}))},h.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},h.diff=function(_,x,m){var O,T=this,P=E.p(x),W=N(_),z=(W.utcOffset()-this.utcOffset())*n,X=this-W,re=function(){return E.m(T,W)};switch(P){case v:O=re()/12;break;case d:O=re();break;case $:O=re()/3;break;case c:O=(X-z)/6048e5;break;case u:O=(X-z)/864e5;break;case a:O=X/i;break;case l:O=X/n;break;case o:O=X/r;break;default:O=X}return m?O:E.a(O)},h.daysInMonth=function(){return this.endOf(d).$D},h.$locale=function(){return D[this.$L]},h.locale=function(_,x){if(!_)return this.$L;var m=this.clone(),O=V(_,x,!0);return O&&(m.$L=O),m},h.clone=function(){return E.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},f})(),S=U.prototype;return N.prototype=S,[["$ms",s],["$s",o],["$m",l],["$H",a],["$W",u],["$M",d],["$y",v],["$D",g]].forEach((function(f){S[f[1]]=function(h){return this.$g(h,f[0],f[1])}})),N.extend=function(f,h){return f.$i||(f(h,U,N),f.$i=!0),N},N.locale=V,N.isDayjs=p,N.unix=function(f){return N(1e3*f)},N.en=D[te],N.Ls=D,N.p={},N}))})(Pt)),Pt.exports}var $s=ys();const dt=hr($s),Mn={version:"0.60.1"};var Lt={exports:{}},ws=Lt.exports,On;function xs(){return On||(On=1,(function(e,t){(function(r,n){e.exports=n()})(ws,(function(){var r,n,i=1e3,s=6e4,o=36e5,l=864e5,a=/\[([^\]]+)]|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,u=31536e6,c=2628e6,d=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,$={years:u,months:c,days:l,hours:o,minutes:s,seconds:i,milliseconds:1,weeks:6048e5},v=function(D){return D instanceof ee},g=function(D,w,p){return new ee(D,p,w.$l)},k=function(D){return n.p(D)+"s"},I=function(D){return D<0},M=function(D){return I(D)?Math.ceil(D):Math.floor(D)},j=function(D){return Math.abs(D)},F=function(D,w){return D?I(D)?{negative:!0,format:""+j(D)+w}:{negative:!1,format:""+D+w}:{negative:!1,format:""}},ee=(function(){function D(p,V,N){var E=this;if(this.$d={},this.$l=N,p===void 0&&(this.$ms=0,this.parseFromMilliseconds()),V)return g(p*$[k(V)],this);if(typeof p=="number")return this.$ms=p,this.parseFromMilliseconds(),this;if(typeof p=="object")return Object.keys(p).forEach((function(f){E.$d[k(f)]=p[f]})),this.calMilliseconds(),this;if(typeof p=="string"){var U=p.match(d);if(U){var S=U.slice(2).map((function(f){return f!=null?Number(f):0}));return this.$d.years=S[0],this.$d.months=S[1],this.$d.weeks=S[2],this.$d.days=S[3],this.$d.hours=S[4],this.$d.minutes=S[5],this.$d.seconds=S[6],this.calMilliseconds(),this}}return this}var w=D.prototype;return w.calMilliseconds=function(){var p=this;this.$ms=Object.keys(this.$d).reduce((function(V,N){return V+(p.$d[N]||0)*$[N]}),0)},w.parseFromMilliseconds=function(){var p=this.$ms;this.$d.years=M(p/u),p%=u,this.$d.months=M(p/c),p%=c,this.$d.days=M(p/l),p%=l,this.$d.hours=M(p/o),p%=o,this.$d.minutes=M(p/s),p%=s,this.$d.seconds=M(p/i),p%=i,this.$d.milliseconds=p},w.toISOString=function(){var p=F(this.$d.years,"Y"),V=F(this.$d.months,"M"),N=+this.$d.days||0;this.$d.weeks&&(N+=7*this.$d.weeks);var E=F(N,"D"),U=F(this.$d.hours,"H"),S=F(this.$d.minutes,"M"),f=this.$d.seconds||0;this.$d.milliseconds&&(f+=this.$d.milliseconds/1e3,f=Math.round(1e3*f)/1e3);var h=F(f,"S"),_=p.negative||V.negative||E.negative||U.negative||S.negative||h.negative,x=U.format||S.format||h.format?"T":"",m=(_?"-":"")+"P"+p.format+V.format+E.format+x+U.format+S.format+h.format;return m==="P"||m==="-P"?"P0D":m},w.toJSON=function(){return this.toISOString()},w.format=function(p){var V=p||"YYYY-MM-DDTHH:mm:ss",N={Y:this.$d.years,YY:n.s(this.$d.years,2,"0"),YYYY:n.s(this.$d.years,4,"0"),M:this.$d.months,MM:n.s(this.$d.months,2,"0"),D:this.$d.days,DD:n.s(this.$d.days,2,"0"),H:this.$d.hours,HH:n.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:n.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:n.s(this.$d.seconds,2,"0"),SSS:n.s(this.$d.milliseconds,3,"0")};return V.replace(a,(function(E,U){return U||String(N[E])}))},w.as=function(p){return this.$ms/$[k(p)]},w.get=function(p){var V=this.$ms,N=k(p);return N==="milliseconds"?V%=1e3:V=N==="weeks"?M(V/$[N]):this.$d[N],V||0},w.add=function(p,V,N){var E;return E=V?p*$[k(V)]:v(p)?p.$ms:g(p,this).$ms,g(this.$ms+E*(N?-1:1),this)},w.subtract=function(p,V){return this.add(p,V,!0)},w.locale=function(p){var V=this.clone();return V.$l=p,V},w.clone=function(){return g(this.$ms,this)},w.humanize=function(p){return r().add(this.$ms,"ms").locale(this.$l).fromNow(!p)},w.valueOf=function(){return this.asMilliseconds()},w.milliseconds=function(){return this.get("milliseconds")},w.asMilliseconds=function(){return this.as("milliseconds")},w.seconds=function(){return this.get("seconds")},w.asSeconds=function(){return this.as("seconds")},w.minutes=function(){return this.get("minutes")},w.asMinutes=function(){return this.as("minutes")},w.hours=function(){return this.get("hours")},w.asHours=function(){return this.as("hours")},w.days=function(){return this.get("days")},w.asDays=function(){return this.as("days")},w.weeks=function(){return this.get("weeks")},w.asWeeks=function(){return this.as("weeks")},w.months=function(){return this.get("months")},w.asMonths=function(){return this.as("months")},w.years=function(){return this.get("years")},w.asYears=function(){return this.as("years")},D})(),te=function(D,w,p){return D.add(w.years()*p,"y").add(w.months()*p,"M").add(w.days()*p,"d").add(w.hours()*p,"h").add(w.minutes()*p,"m").add(w.seconds()*p,"s").add(w.milliseconds()*p,"ms")};return function(D,w,p){r=p,n=p().$utils(),p.duration=function(E,U){var S=p.locale();return g(E,{$l:S},U)},p.isDuration=v;var V=w.prototype.add,N=w.prototype.subtract;w.prototype.add=function(E,U){return v(E)?te(this,E,1):V.bind(this)(E,U)},w.prototype.subtract=function(E,U){return v(E)?te(this,E,-1):N.bind(this)(E,U)}}}))})(Lt)),Lt.exports}var ks=xs();const Es=hr(ks);function Nn(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 r=e?.iifePath||"main.iife.js";if(!document.getElementById(t+"-script"))try{const n=document.createElement("script");if(n.id=t+"-script",n.src=`https://cdn.jsdelivr.net/npm/${e.repoName}@${e.version}/${r}`,e?.local)n.src=`${e.local}`;else if(location.href.includes("localhost:6006")){const i=t.split("-")[0];n.src=`http://localhost:6006/webcomponents/${t.replace(i+"-","")}/${r}`}document.head.appendChild(n)}catch(n){console.warn(n)}}var ht={},vr,Dn;function js(){if(Dn)return vr;Dn=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,l=/^\s+|\s+$/g,a=`
|
|
3
|
+
`,u="/",c="*",d="",$="comment",v="declaration";vr=function(k,I){if(typeof k!="string")throw new TypeError("First argument must be a string");if(!k)return[];I=I||{};var M=1,j=1;function F(S){var f=S.match(t);f&&(M+=f.length);var h=S.lastIndexOf(a);j=~h?S.length-h:j+S.length}function ee(){var S={line:M,column:j};return function(f){return f.position=new te(S),p(),f}}function te(S){this.start=S,this.end={line:M,column:j},this.source=I.source}te.prototype.content=k;function D(S){var f=new Error(I.source+":"+M+":"+j+": "+S);if(f.reason=S,f.filename=I.source,f.line=M,f.column=j,f.source=k,!I.silent)throw f}function w(S){var f=S.exec(k);if(f){var h=f[0];return F(h),k=k.slice(h.length),f}}function p(){w(r)}function V(S){var f;for(S=S||[];f=N();)f!==!1&&S.push(f);return S}function N(){var S=ee();if(!(u!=k.charAt(0)||c!=k.charAt(1))){for(var f=2;d!=k.charAt(f)&&(c!=k.charAt(f)||u!=k.charAt(f+1));)++f;if(f+=2,d===k.charAt(f-1))return D("End of comment missing");var h=k.slice(2,f-2);return j+=2,F(h),k=k.slice(f),j+=2,S({type:$,comment:h})}}function E(){var S=ee(),f=w(n);if(f){if(N(),!w(i))return D("property missing ':'");var h=w(s),_=S({type:v,property:g(f[0].replace(e,d)),value:h?g(h[0].replace(e,d)):d});return w(o),_}}function U(){var S=[];V(S);for(var f;f=E();)f!==!1&&(S.push(f),V(S));return S}return p(),U()};function g(k){return k?k.replace(l,d):d}return vr}var Vn;function Ss(){if(Vn)return ht;Vn=1;var e=ht&&ht.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(ht,"__esModule",{value:!0}),ht.default=r;var t=e(js());function r(n,i){var s=null;if(!n||typeof n!="string")return s;var o=(0,t.default)(n),l=typeof i=="function";return o.forEach(function(a){if(a.type==="declaration"){var u=a.property,c=a.value;l?i(u,c,a):c&&(s=s||{},s[u]=c)}}),s}return ht}var Ts=Ss();const An=hr(Ts);An.default;function vt(e,t,r,n,i,s,o,l){t().maxValue=b(r)*3600+b(n)*60+b(i),t().minValue=b(s)*3600+b(o)*60+b(l)}function Rn(e,t,r,n,i){!t()||!t().minValue&&t().minValue!==0||!t().maxValue&&t().maxValue!==0||(r()?R(i,"yes"):(n("dispatchTrack",t()),console.log(t())))}var Ms=Te('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-1ijpt0x"/>'),Os=(e,t)=>b(t).paused?b(t).play():b(t).pause(),Ns=Te('<i class="bi bi-play-fill svelte-1ijpt0x"></i>'),Ds=Te('<i class="bi bi-pause-fill svelte-1ijpt0x"></i>'),Vs=Te('<button class="btn btn-outline-dark svelte-1ijpt0x"><!></button>'),As=Te('<div style="width: 100%;margin-bottom:15px" class="svelte-1ijpt0x"><div style="display:inline-block; width:50px;" class="svelte-1ijpt0x"><!></div> <div style="display:inline-block;width:calc(100% - 60px);position:relative" class="svelte-1ijpt0x"><hb-range-slider></hb-range-slider></div></div>',2),Rs=(e,t)=>t(e.detail),Cs=Te("<hb-form></hb-form>",2),Is=(e,t)=>{t("start")},Ps=(e,t,r)=>{t(r().minValue)},Ls=(e,t,r)=>{t(r().maxValue)},Ys=(e,t)=>{t("end")},Fs=Te('<button class="btn btn-sm btn-primary svelte-1ijpt0x">send</button>'),Hs=Te('<button class="btn btn-sm btn-primary svelte-1ijpt0x" disabled>send</button>'),qs=Te('<div id="card" class="card h-100 svelte-1ijpt0x"><div class="ratio ratio-16x9 svelte-1ijpt0x" style="background-color: black;"><video id="video" class="ratio ratio-16x9 svelte-1ijpt0x"><source type="video/mp4" class="svelte-1ijpt0x"/> <track kind="captions" src="" srclang="en" label="English" class="svelte-1ijpt0x"/> Your browser does not support the video tag.</video></div> <div class="card-body svelte-1ijpt0x"><!> <!> <div id="controls" class="svelte-1ijpt0x"><div style="flex-grow: 2" class="svelte-1ijpt0x"><button class="btn btn-sm btn-secondary svelte-1ijpt0x">▼</button> <button class="btn btn-sm btn-secondary svelte-1ijpt0x">▲</button> <input type="number" class="form-control form-custom-control-numbers svelte-1ijpt0x"/>h <input class="form-control form-custom-control-numbers svelte-1ijpt0x" type="number"/>m <input type="number" class="form-control form-custom-control-numbers svelte-1ijpt0x"/>s</div> <div style="flex-grow: 2;text-align:center" class="svelte-1ijpt0x"></div> <div style="flex-grow: 2;text-align:right" class="svelte-1ijpt0x"><input type="number" class="form-control form-custom-control-numbers svelte-1ijpt0x"/>h <input class="form-control form-custom-control-numbers svelte-1ijpt0x" type="number"/>m <input type="number" class="form-control form-custom-control-numbers svelte-1ijpt0x"/>s <button class="btn btn-sm btn-secondary svelte-1ijpt0x">▲</button> <button class="btn btn-sm btn-secondary svelte-1ijpt0x">▼</button></div></div></div> <div class="card-footer svelte-1ijpt0x"><span style="float:left;height:30px;line-height:30px" class="svelte-1ijpt0x"><!></span> <span style="float:right;height:30px;line-height:30px" class="svelte-1ijpt0x"><!></span></div></div>',2);const Us={hash:"svelte-1ijpt0x",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");
|
|
5
5
|
/*!
|
|
6
6
|
* Bootstrap v5.1.0 (https://getbootstrap.com/)
|
|
7
7
|
* Copyright 2011-2021 The Bootstrap Authors
|
|
8
8
|
* Copyright 2011-2021 Twitter, Inc.
|
|
9
9
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
10
|
-
*/:host {--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-primary: #0d6efd;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #212529;--bs-primary-rgb: 13, 110, 253;--bs-secondary-rgb: 108, 117, 125;--bs-success-rgb: 25, 135, 84;--bs-info-rgb: 13, 202, 240;--bs-warning-rgb: 255, 193, 7;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 33, 37, 41;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg-rgb: 255, 255, 255;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size: 1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-bg: #fff;}.svelte-
|
|
11
|
-
.svelte-
|
|
12
|
-
.svelte-
|
|
10
|
+
*/:host {--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-primary: #0d6efd;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #212529;--bs-primary-rgb: 13, 110, 253;--bs-secondary-rgb: 108, 117, 125;--bs-success-rgb: 25, 135, 84;--bs-info-rgb: 13, 202, 240;--bs-warning-rgb: 255, 193, 7;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 33, 37, 41;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg-rgb: 255, 255, 255;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size: 1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-bg: #fff;}.svelte-1ijpt0x,
|
|
11
|
+
.svelte-1ijpt0x::before,
|
|
12
|
+
.svelte-1ijpt0x::after {box-sizing:border-box;}
|
|
13
13
|
@media (prefers-reduced-motion: no-preference) {:host {scroll-behavior:smooth;}
|
|
14
14
|
}
|
|
15
15
|
@media (min-width: 1200px) {
|
|
@@ -19,16 +19,16 @@ var Ds=Object.defineProperty;var An=H=>{throw TypeError(H)};var Ns=(H,W,Z)=>W in
|
|
|
19
19
|
@media (min-width: 1200px) {
|
|
20
20
|
}
|
|
21
21
|
@media (min-width: 1200px) {
|
|
22
|
-
}button.svelte-
|
|
23
|
-
button.svelte-
|
|
22
|
+
}button.svelte-1ijpt0x {border-radius:0;}button.svelte-1ijpt0x:focus:not(:focus-visible) {outline:0;}input.svelte-1ijpt0x,
|
|
23
|
+
button.svelte-1ijpt0x {margin:0;font-family:inherit;font-size:inherit;line-height:inherit;}button.svelte-1ijpt0x {text-transform:none;}button.svelte-1ijpt0x {-webkit-appearance:button;}button.svelte-1ijpt0x:not(:disabled) {cursor:pointer;}.svelte-1ijpt0x::-moz-focus-inner {padding:0;border-style:none;}
|
|
24
24
|
@media (min-width: 1200px) {
|
|
25
|
-
}.svelte-
|
|
26
|
-
.svelte-
|
|
27
|
-
.svelte-
|
|
28
|
-
.svelte-
|
|
29
|
-
.svelte-
|
|
30
|
-
.svelte-
|
|
31
|
-
.svelte-
|
|
25
|
+
}.svelte-1ijpt0x::-webkit-datetime-edit-fields-wrapper,
|
|
26
|
+
.svelte-1ijpt0x::-webkit-datetime-edit-text,
|
|
27
|
+
.svelte-1ijpt0x::-webkit-datetime-edit-minute,
|
|
28
|
+
.svelte-1ijpt0x::-webkit-datetime-edit-hour-field,
|
|
29
|
+
.svelte-1ijpt0x::-webkit-datetime-edit-day-field,
|
|
30
|
+
.svelte-1ijpt0x::-webkit-datetime-edit-month-field,
|
|
31
|
+
.svelte-1ijpt0x::-webkit-datetime-edit-year-field {padding:0;}.svelte-1ijpt0x::-webkit-inner-spin-button {height:auto;}
|
|
32
32
|
/* rtl:raw:
|
|
33
33
|
[type="tel"],
|
|
34
34
|
[type="url"],
|
|
@@ -36,17 +36,17 @@ button.svelte-10g1jan {margin:0;font-family:inherit;font-size:inherit;line-heigh
|
|
|
36
36
|
[type="number"] {
|
|
37
37
|
direction: ltr;
|
|
38
38
|
}
|
|
39
|
-
*/.svelte-
|
|
39
|
+
*/.svelte-1ijpt0x::-webkit-search-decoration {-webkit-appearance:none;}.svelte-1ijpt0x::-webkit-color-swatch-wrapper {padding:0;}.svelte-1ijpt0x::file-selector-button {font:inherit;}.svelte-1ijpt0x::-webkit-file-upload-button {font:inherit;-webkit-appearance:button;}.card.svelte-1ijpt0x {position:relative;display:flex;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#fff;background-clip:border-box;border:1px solid rgba(0, 0, 0, 0.125);border-radius:0.25rem;}.card-body.svelte-1ijpt0x {flex:1 1 auto;padding:1rem 1rem;}.card-footer.svelte-1ijpt0x {padding:0.5rem 1rem;background-color:rgba(0, 0, 0, 0.03);border-top:1px solid rgba(0, 0, 0, 0.125);}.card-footer.svelte-1ijpt0x:last-child {border-radius:0 0 calc(0.25rem - 1px) calc(0.25rem - 1px);}
|
|
40
40
|
@media (min-width: 576px) {
|
|
41
|
-
}.btn.svelte-
|
|
42
|
-
@media (prefers-reduced-motion: reduce) {.btn.svelte-
|
|
43
|
-
}.btn.svelte-
|
|
44
|
-
@media (prefers-reduced-motion: reduce) {.form-control.svelte-
|
|
45
|
-
}.form-control.svelte-
|
|
46
|
-
@media (prefers-reduced-motion: reduce) {.form-control.svelte-
|
|
47
|
-
}.form-control.svelte-
|
|
48
|
-
@media (prefers-reduced-motion: reduce) {.form-control.svelte-
|
|
49
|
-
}.form-control.svelte-
|
|
41
|
+
}.btn.svelte-1ijpt0x {display:inline-block;font-weight:400;line-height:1.5;color:#212529;text-align:center;text-decoration:none;vertical-align:middle;cursor:pointer;user-select:none;background-color:transparent;border:1px solid transparent;padding:0.375rem 0.75rem;font-size:1rem;border-radius:0.25rem;transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;}
|
|
42
|
+
@media (prefers-reduced-motion: reduce) {.btn.svelte-1ijpt0x {transition:none;}
|
|
43
|
+
}.btn.svelte-1ijpt0x:hover {color:#212529;} .btn.svelte-1ijpt0x:focus {outline:0;box-shadow:0 0 0 0.25rem rgba(13, 110, 253, 0.25);}.btn.svelte-1ijpt0x:disabled {pointer-events:none;opacity:0.65;}.btn-primary.svelte-1ijpt0x {color:#fff;background-color:#0d6efd;border-color:#0d6efd;}.btn-primary.svelte-1ijpt0x:hover {color:#fff;background-color:rgb(11.05, 93.5, 215.05);border-color:rgb(10.4, 88, 202.4);} .btn-primary.svelte-1ijpt0x:focus {color:#fff;background-color:rgb(11.05, 93.5, 215.05);border-color:rgb(10.4, 88, 202.4);box-shadow:0 0 0 0.25rem rgba(49.3, 131.75, 253.3, 0.5);} .btn-primary.svelte-1ijpt0x:active {color:#fff;background-color:rgb(10.4, 88, 202.4);border-color:rgb(9.75, 82.5, 189.75);} .btn-primary.svelte-1ijpt0x:active:focus {box-shadow:0 0 0 0.25rem rgba(49.3, 131.75, 253.3, 0.5);}.btn-primary.svelte-1ijpt0x:disabled {color:#fff;background-color:#0d6efd;border-color:#0d6efd;}.btn-secondary.svelte-1ijpt0x {color:#fff;background-color:#6c757d;border-color:#6c757d;}.btn-secondary.svelte-1ijpt0x:hover {color:#fff;background-color:rgb(91.8, 99.45, 106.25);border-color:rgb(86.4, 93.6, 100);} .btn-secondary.svelte-1ijpt0x:focus {color:#fff;background-color:rgb(91.8, 99.45, 106.25);border-color:rgb(86.4, 93.6, 100);box-shadow:0 0 0 0.25rem rgba(130.05, 137.7, 144.5, 0.5);} .btn-secondary.svelte-1ijpt0x:active {color:#fff;background-color:rgb(86.4, 93.6, 100);border-color:rgb(81, 87.75, 93.75);} .btn-secondary.svelte-1ijpt0x:active:focus {box-shadow:0 0 0 0.25rem rgba(130.05, 137.7, 144.5, 0.5);}.btn-secondary.svelte-1ijpt0x:disabled {color:#fff;background-color:#6c757d;border-color:#6c757d;}.btn-outline-dark.svelte-1ijpt0x {color:#212529;border-color:#212529;}.btn-outline-dark.svelte-1ijpt0x:hover {color:#fff;background-color:#212529;border-color:#212529;} .btn-outline-dark.svelte-1ijpt0x:focus {box-shadow:0 0 0 0.25rem rgba(33, 37, 41, 0.5);} .btn-outline-dark.svelte-1ijpt0x:active {color:#fff;background-color:#212529;border-color:#212529;} .btn-outline-dark.svelte-1ijpt0x:active:focus {box-shadow:0 0 0 0.25rem rgba(33, 37, 41, 0.5);}.btn-outline-dark.svelte-1ijpt0x:disabled {color:#212529;background-color:transparent;}.btn-sm.svelte-1ijpt0x {padding:0.25rem 0.5rem;font-size:0.875rem;border-radius:0.2rem;}.form-control.svelte-1ijpt0x {display:block;width:100%;padding:0.375rem 0.75rem;font-size:1rem;font-weight:400;line-height:1.5;color:#212529;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;appearance:none;border-radius:0.25rem;transition:border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;}
|
|
44
|
+
@media (prefers-reduced-motion: reduce) {.form-control.svelte-1ijpt0x {transition:none;}
|
|
45
|
+
}.form-control.svelte-1ijpt0x:focus {color:#212529;background-color:#fff;border-color:rgb(134, 182.5, 254);outline:0;box-shadow:0 0 0 0.25rem rgba(13, 110, 253, 0.25);}.form-control.svelte-1ijpt0x::-webkit-date-and-time-value {height:1.5em;}.form-control.svelte-1ijpt0x::placeholder {color:#6c757d;opacity:1;}.form-control.svelte-1ijpt0x:disabled {background-color:#e9ecef;opacity:1;}.form-control.svelte-1ijpt0x::file-selector-button {padding:0.375rem 0.75rem;margin:-0.375rem -0.75rem;margin-inline-end:0.75rem;color:#212529;background-color:#e9ecef;pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:1px;border-radius:0;transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;}
|
|
46
|
+
@media (prefers-reduced-motion: reduce) {.form-control.svelte-1ijpt0x::file-selector-button {transition:none;}
|
|
47
|
+
}.form-control.svelte-1ijpt0x:hover:not(:disabled):not([readonly])::file-selector-button {background-color:rgb(221.35, 224.2, 227.05);}.form-control.svelte-1ijpt0x::-webkit-file-upload-button {padding:0.375rem 0.75rem;margin:-0.375rem -0.75rem;margin-inline-end:0.75rem;color:#212529;background-color:#e9ecef;pointer-events:none;border-color:inherit;border-style:solid;border-width:0;border-inline-end-width:1px;border-radius:0;transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;}
|
|
48
|
+
@media (prefers-reduced-motion: reduce) {.form-control.svelte-1ijpt0x::-webkit-file-upload-button {transition:none;}
|
|
49
|
+
}.form-control.svelte-1ijpt0x:hover:not(:disabled):not([readonly])::-webkit-file-upload-button {background-color:rgb(221.35, 224.2, 227.05);}
|
|
50
50
|
@media (prefers-reduced-motion: reduce) {
|
|
51
51
|
}
|
|
52
52
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -56,7 +56,7 @@ button.svelte-10g1jan {margin:0;font-family:inherit;font-size:inherit;line-heigh
|
|
|
56
56
|
@media (prefers-reduced-motion: reduce) {
|
|
57
57
|
}
|
|
58
58
|
@media (prefers-reduced-motion: reduce) {
|
|
59
|
-
}.ratio.svelte-
|
|
59
|
+
}.ratio.svelte-1ijpt0x {position:relative;width:100%;}.ratio.svelte-1ijpt0x::before {display:block;padding-top:var(--bs-aspect-ratio);content:"";}.ratio.svelte-1ijpt0x > :where(.svelte-1ijpt0x) {position:absolute;top:0;left:0;width:100%;height:100%;}.ratio-16x9.svelte-1ijpt0x {--bs-aspect-ratio: 56.25%;}
|
|
60
60
|
@media (min-width: 576px) {
|
|
61
61
|
}
|
|
62
62
|
@media (min-width: 768px) {
|
|
@@ -66,7 +66,16 @@ button.svelte-10g1jan {margin:0;font-family:inherit;font-size:inherit;line-heigh
|
|
|
66
66
|
@media (min-width: 1200px) {
|
|
67
67
|
}
|
|
68
68
|
@media (min-width: 1400px) {
|
|
69
|
-
}:host {font-family:"Roboto", sans-serif;}.form-custom-control-numbers.svelte-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
69
|
+
}:host {font-family:"Roboto", sans-serif;}.form-custom-control-numbers.svelte-1ijpt0x {width:40px;display:inline-block;padding:0px;}#controls.svelte-1ijpt0x {display:flex;justify-content:space-around;flex-flow:row wrap;align-items:stretch;}`};function Cn(e,t){Rr(t,!0),ls(e,Us);/**
|
|
70
|
+
* Svelte Video Gallery WebComponent
|
|
71
|
+
* =====================
|
|
72
|
+
*
|
|
73
|
+
* @contributors: Dario Caruso <dev@dariocaruso.info> (https://dariocaruso.info)
|
|
74
|
+
*
|
|
75
|
+
* @license: MIT License
|
|
76
|
+
*
|
|
77
|
+
*/dt.extend(Es);let r=Ct(t,"id",7,""),n=Ct(t,"src",7,""),i=Ct(t,"track",23,()=>({maxValue:0,minValue:0})),s=Ct(t,"form",7),o=Y(void 0),l=Y(0),a=Y(void 0),u=Y(void 0),c=Y(void 0),d=Y(void 0),$=Y(void 0),v=Y(void 0),g=Y(0),k=Y("no"),I=Y(!0),M=Y(void 0),j=Y(void 0),F=Y(!0);Be({});let ee=Y(""),te=Y("");Ii(()=>{s()&&R(I,!1),i()&&typeof i()=="string"&&i(JSON.parse(i())),console.log("reload all"),console.log(b(j),"log",b(l)),i()&&R(j,i().minValue<(b(j)||0)?b(j)||0:i().minValue,!0),console.log(b(j),"log2")});function D(y,H){t.$$host.dispatchEvent(new CustomEvent(y,{detail:H}))}function w(y){b(M).currentTime=y}Nn({repoName:"@htmlbricks/hb-range-slider",version:Mn.version}),Nn({repoName:"@htmlbricks/hb-form",version:Mn.version});function p(y){i().minValue=y.minValue,i().maxValue=y.maxValue,b(M).currentTime=y.positionValReal,R(j,y.positionValReal,!0),V(),b(M).currentTime<i().minValue&&w(i().minValue),b(M).currentTime>i().maxValue&&w(i().maxValue),D("changeTrackValues",{minVaule:i().minValue,maxValue:i().maxValue})}function V(){R(a,parseInt((i().maxValue/3600).toString()),!0),R(u,parseInt((i().maxValue/3600).toString()),!0),R(c,parseInt(((i().maxValue-Number(b(a))*60)/60).toString()),!0),R(d,parseInt(((i().minValue-Number(b(u))*60)/60).toString()),!0),R($,i().maxValue-Number(b(a))*3600-Number(b(c))*60),R(v,i().minValue-Number(b(u))*3600-Number(b(d))*60)}function N(y){R(g,y.target.duration,!0),R(o,b(g),!0),(!i().maxValue||i().maxValue>b(o))&&(i().maxValue=b(o)),(!i().minValue||i().minValue<b(l))&&(i().minValue=b(l)),R(M,t.$$host?.shadowRoot?.querySelector("#video"),!0),V(),console.log("videoElement",b(M)),b(g)/5>100||b(g)/5}function E(y){switch(y){case"start":b(M).currentTime<i().maxValue&&(i().minValue=b(M).currentTime);break;case"end":b(M).currentTime>i().minValue&&(i().maxValue=b(M).currentTime);break;default:return console.error("no vaild point for cue")}V(),D("changeTrackValues",{minVaule:i().minValue,maxValue:i().maxValue})}function U(y){console.log("formSubmit",y._valid),R(I,y._valid,!0),b(k)==="yes"&&(y._valid&&!(!i()||!i().minValue&&i().minValue!==0||!i().maxValue&&i().maxValue!==0)&&D("dispatchTrack",Object.assign(i(),y)),console.log(i())),b(k)!=="no"&&R(k,"no")}function S(y){R(I,y._valid,!0)}function f(y){b(M).currentTime>i().maxValue?(b(M).pause(),w(i().maxValue)):b(M).currentTime<i().minValue-.01&&(b(M).pause(),w(i().minValue)),R(j,b(M).currentTime,!0)}var h={get id(){return r()},set id(y=""){r(y),tt()},get src(){return n()},set src(y=""){n(y),tt()},get track(){return i()},set track(y={maxValue:0,minValue:0}){i(y),tt()},get form(){return s()},set form(y){s(y),tt()}},_=qs();es(y=>{var H=Ms();me(y,H)});var x=ie(_),m=ie(x),O=ie(m);Dr(3),ne(m),ne(x);var T=K(x,2),P=ie(T);{var W=y=>{var H=As(),Je=ie(H),mr=ie(Je);{var pr=$t=>{var Ht=Vs();Ht.__click=[Os,M];var Zs=ie(Ht);{var Ks=_t=>{var br=Ns();me(_t,br)},Qs=_t=>{var br=Ds();me(_t,br)};ut(Zs,_t=>{b(F)?_t(Ks):_t(Qs,!1)})}ne(Ht),me($t,Ht)};ut(mr,$t=>{b(M)&&$t(pr)})}ne(Je);var Yn=K(Je,2),Le=ie(Yn);En(Le,b(te)+";--hb-slider-background-color: red;"),je(()=>Ce(Le,"max",b(o).toString())),je(()=>Ce(Le,"min",b(l).toString())),je(()=>Ce(Le,"maxval",i().maxValue.toString())),je(()=>Ce(Le,"minval",i().minValue.toString())),je(()=>Ce(Le,"position_value",b(j).toString())),kn(Le,1,"svelte-1ijpt0x"),ne(Yn),ne(H),ot("changeRangeValues",Le,$t=>{p($t.detail)}),me(y,H)};ut(P,y=>{b(g)&&i()&&y(W)})}var z=K(P,2);{var X=y=>{var H=Cs();Ce(H,"hide_submit","yes"),En(H,b(ee)+"margin:40px auto 20px auto; display:block"),H.__change=[Rs,S],je(()=>Ce(H,"submitted",b(k))),je(()=>Ce(H,"schema",s())),kn(H,1,"svelte-1ijpt0x"),ot("submit",H,Je=>U(Je.detail)),me(y,H)};ut(z,y=>{s()&&y(X)})}var re=K(z,2),we=ie(re),xe=ie(we);xe.__click=[Is,E];var Ie=K(xe,2);Ie.__click=[Ps,w,i];var he=K(Ie,2);ft(he),he.__change=[vt,i,a,c,$,u,d,v];var G=K(he,2);ft(G),G.__change=[vt,i,a,c,$,u,d,v];var ve=K(G,2);ft(ve),ve.__change=[vt,i,a,c,$,u,d,v],Dr(),ne(we);var Pe=K(we,4),Me=ie(Pe);ft(Me),Me.__change=[vt,i,a,c,$,u,d,v];var Yt=K(Me,2);ft(Yt),Yt.__change=[vt,i,a,c,$,u,d,v];var Ft=K(Yt,2);ft(Ft),Ft.__change=[vt,i,a,c,$,u,d,v];var In=K(Ft,2);In.__click=[Ls,w,i];var Ws=K(In,2);Ws.__click=[Ys,E],ne(Pe),ne(re),ne(T);var Pn=K(T,2),_r=ie(Pn),Bs=ie(_r);{var zs=y=>{var H=rs();je((Je,mr,pr)=>ss(H,`duration:
|
|
78
|
+
${Je??""}
|
|
79
|
+
${mr??""}
|
|
80
|
+
${pr??""}`),[()=>dt.duration((i().maxValue-i().minValue)*1e3).hours()?dt.duration((i().maxValue-i().minValue)*1e3).format("H")+" hours":"",()=>dt.duration((i().maxValue-i().minValue)*1e3).minutes()?dt.duration((i().maxValue-i().minValue)*1e3).format("m")+" minutes":"",()=>dt.duration(parseInt(((i().maxValue-i().minValue)*1e3).toString())).format("s.SSS")+" seconds"]),me(y,H)};ut(Bs,y=>{i()?.maxValue&&y(zs)})}ne(_r);var Ln=K(_r,2),Gs=ie(Ln);{var Xs=y=>{var H=Fs();H.__click=[Rn,i,s,D,k],me(y,H)},Js=y=>{var H=Hs();H.__click=[Rn,i,s,D,k],me(y,H)};ut(Gs,y=>{b(I)?y(Xs):y(Js,!1)})}return ne(Ln),ne(Pn),ne(_),je(()=>At(O,"src",n())),ot("play",m,()=>R(F,!1)),ot("pause",m,()=>R(F,!0)),ot("timeupdate",m,y=>f()),ot("loadedmetadata",m,y=>N(y)),ct(he,()=>b(u),y=>R(u,y)),ct(G,()=>b(d),y=>R(d,y)),ct(ve,()=>b(v),y=>R(v,y)),ct(Me,()=>b(a),y=>R(a,y)),ct(Yt,()=>b(c),y=>R(c,y)),ct(Ft,()=>b($),y=>R($,y)),me(e,_),Cr(h)}Ki(["click","change"]),customElements.define("hb-editor-video",bs(Cn,{id:{},src:{},track:{},form:{}},[],[],!0)),gr.Component=Cn,Object.defineProperty(gr,Symbol.toStringTag,{value:"Module"})})(this["editor-video"]=this["editor-video"]||{});
|
|
81
|
+
//# sourceMappingURL=main.iife.js.map
|