@htmlbricks/hb-editor-video 0.61.52 → 0.61.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/main.iife.js CHANGED
@@ -1,5 +1,5 @@
1
1
  (function(Er){"use strict";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add("5");const Yn=1,Fn=4,Hn=8,qn=16,Un=1,Bn=2,Sr="[",er="[!",Mr="]",st={},G=Symbol(),Wn="http://www.w3.org/1999/xhtml",Tr=!1;var Jn=Array.isArray,Zn=Array.prototype.indexOf,Gn=Array.from,Dt=Object.keys,Vt=Object.defineProperty,Je=Object.getOwnPropertyDescriptor,Kn=Object.getOwnPropertyDescriptors,Qn=Object.prototype,Xn=Array.prototype,zr=Object.getPrototypeOf,Dr=Object.isExtensible;function es(e){for(var t=0;t<e.length;t++)e[t]()}function Vr(){var e,t,r=new Promise((n,s)=>{e=n,t=s});return{promise:r,resolve:e,reject:t}}const K=2,Ot=4,tr=8,Te=16,ze=32,je=64,Nt=128,be=512,Q=1024,se=2048,De=4096,ge=8192,Ye=16384,rr=32768,it=65536,Or=1<<17,nr=1<<18,Ze=1<<19,ts=1<<20,pt=32768,sr=1<<21,ir=1<<22,Fe=1<<23,At=Symbol("$state"),Nr=Symbol("legacy props"),rs=Symbol(""),ot=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Ar=3,at=8;function ns(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function ss(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function is(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function os(e){throw new Error("https://svelte.dev/e/effect_orphan")}function as(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function ls(){throw new Error("https://svelte.dev/e/hydration_failed")}function us(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function cs(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function fs(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function ds(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function vs(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Ct(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function hs(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let N=!1;function pe(e){N=e}let F;function fe(e){if(e===null)throw Ct(),st;return F=e}function or(){return fe(we(F))}function ie(e){if(N){if(we(F)!==null)throw Ct(),st;F=e}}function ar(e=1){if(N){for(var t=e,r=F;t--;)r=we(r);F=r}}function Cr(e=!0){for(var t=0,r=F;;){if(r.nodeType===at){var n=r.data;if(n===Mr){if(t===0)return r;t-=1}else(n===Sr||n===er)&&(t+=1)}var s=we(r);e&&r.remove(),r=s}}function bs(e){if(!e||e.nodeType!==at)throw Ct(),st;return e.data}function Lr(e){return e===this.v}function ms(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Rr(e){return!ms(e,this.v)}let _s=!1,de=null;function lt(e){de=e}function Pr(e,t=!1,r){de={p:de,i:!1,c:null,e:null,s:e,x:null,l:null}}function Ir(e){var t=de,r=t.e;if(r!==null){t.e=null;for(var n of r)sn(n)}return e!==void 0&&(t.x=e),t.i=!0,de=t.p,e??{}}function jr(){return!0}let Ge=[];function Yr(){var e=Ge;Ge=[],es(e)}function yt(e){if(Ge.length===0&&!wt){var t=Ge;queueMicrotask(()=>{t===Ge&&Yr()})}Ge.push(e)}function gs(){for(;Ge.length>0;)Yr()}function Fr(e){var t=O;if(t===null)return D.f|=Fe,e;if((t.f&rr)===0){if((t.f&Nt)===0)throw e;t.b.error(e)}else ut(e,t)}function ut(e,t){for(;t!==null;){if((t.f&Nt)!==0)try{t.b.error(e);return}catch(r){e=r}t=t.parent}throw e}const Lt=new Set;let Y=null,Rt=null,le=null,ye=[],Pt=null,lr=!1,wt=!1;class me{committed=!1;current=new Map;previous=new Map;#t=new Set;#e=new Set;#r=0;#n=0;#l=null;#o=[];#a=[];skipped_effects=new Set;is_fork=!1;process(t){ye=[],Rt=null,this.apply();var r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const n of t)this.#s(n,r);this.is_fork||this.#u(),this.#n>0||this.is_fork?(this.#i(r.effects),this.#i(r.render_effects),this.#i(r.block_effects)):(Rt=this,Y=null,qr(r.render_effects),qr(r.effects),Rt=null,this.#l?.resolve()),le=null}#s(t,r){t.f^=Q;for(var n=t.first;n!==null;){var s=n.f,i=(s&(ze|je))!==0,o=i&&(s&Q)!==0,a=o||(s&ge)!==0||this.skipped_effects.has(n);if((n.f&Nt)!==0&&n.b?.is_pending()&&(r={parent:r,effect:n,effects:[],render_effects:[],block_effects:[]}),!a&&n.fn!==null){i?n.f^=Q:(s&Ot)!==0?r.effects.push(n):St(n)&&((n.f&Te)!==0&&r.block_effects.push(n),Mt(n));var l=n.first;if(l!==null){n=l;continue}}var u=n.parent;for(n=n.next;n===null&&u!==null;)u===r.effect&&(this.#i(r.effects),this.#i(r.render_effects),this.#i(r.block_effects),r=r.parent),n=u.next,u=u.parent}}#i(t){for(const r of t)((r.f&se)!==0?this.#o:this.#a).push(r),ee(r,Q)}capture(t,r){this.previous.has(t)||this.previous.set(t,r),(t.f&Fe)===0&&(this.current.set(t,t.v),le?.set(t,t.v))}activate(){Y=this,this.apply()}deactivate(){Y=null,le=null}flush(){if(this.activate(),ye.length>0){if(Hr(),Y!==null&&Y!==this)return}else this.#r===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#u(){if(this.#n===0){for(const t of this.#t)t();this.#t.clear()}this.#r===0&&this.#c()}#c(){if(Lt.size>1){this.previous.clear();var t=le,r=!0,n={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const s of Lt){if(s===this){r=!1;continue}const i=[];for(const[a,l]of this.current){if(s.current.has(a))if(r&&l!==s.current.get(a))s.current.set(a,l);else continue;i.push(a)}if(i.length===0)continue;const o=[...s.current.keys()].filter(a=>!this.current.has(a));if(o.length>0){const a=new Set,l=new Map;for(const u of i)Ur(u,o,a,l);if(ye.length>0){Y=s,s.apply();for(const u of ye)s.#s(u,n);ye=[],s.deactivate()}}}Y=null,le=t}this.committed=!0,Lt.delete(this)}increment(t){this.#r+=1,t&&(this.#n+=1)}decrement(t){this.#r-=1,t&&(this.#n-=1),this.revive()}revive(){for(const t of this.#o)ee(t,se),Ke(t);for(const t of this.#a)ee(t,De),Ke(t);this.#o=[],this.#a=[],this.flush()}oncommit(t){this.#t.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#l??=Vr()).promise}static ensure(){if(Y===null){const t=Y=new me;Lt.add(Y),wt||me.enqueue(()=>{Y===t&&t.flush()})}return Y}static enqueue(t){yt(t)}apply(){}}function ct(e){var t=wt;wt=!0;try{for(var r;;){if(gs(),ye.length===0&&(Y?.flush(),ye.length===0))return Pt=null,r;Hr()}}finally{wt=t}}function Hr(){var e=Xe;lr=!0;try{var t=0;for(dn(!0);ye.length>0;){var r=me.ensure();if(t++>1e3){var n,s;ps()}r.process(ye),He.clear()}}finally{lr=!1,dn(e),Pt=null}}function ps(){try{as()}catch(e){ut(e,Pt)}}let Ve=null;function qr(e){var t=e.length;if(t!==0){for(var r=0;r<t;){var n=e[r++];if((n.f&(Ye|ge))===0&&St(n)&&(Ve=new Set,Mt(n),n.deps===null&&n.first===null&&n.nodes_start===null&&(n.teardown===null&&n.ac===null?ln(n):n.fn=null),Ve?.size>0)){He.clear();for(const s of Ve){if((s.f&(Ye|ge))!==0)continue;const i=[s];let o=s.parent;for(;o!==null;)Ve.has(o)&&(Ve.delete(o),i.push(o)),o=o.parent;for(let a=i.length-1;a>=0;a--){const l=i[a];(l.f&(Ye|ge))===0&&Mt(l)}}Ve.clear()}}Ve=null}}function Ur(e,t,r,n){if(!r.has(e)&&(r.add(e),e.reactions!==null))for(const s of e.reactions){const i=s.f;(i&K)!==0?Ur(s,t,r,n):(i&(ir|Te))!==0&&(i&se)===0&&Br(s,t,n)&&(ee(s,se),Ke(s))}}function Br(e,t,r){const n=r.get(e);if(n!==void 0)return n;if(e.deps!==null)for(const s of e.deps){if(t.includes(s))return!0;if((s.f&K)!==0&&Br(s,t,r))return r.set(s,!0),!0}return r.set(e,!1),!1}function Ke(e){for(var t=Pt=e;t.parent!==null;){t=t.parent;var r=t.f;if(lr&&t===O&&(r&Te)!==0&&(r&nr)===0)return;if((r&(je|ze))!==0){if((r&Q)===0)return;t.f^=Q}}ye.push(t)}function ys(e){let t=0,r=$t(0),n;return()=>{Ft()&&(h(r),vr(()=>(t===0&&(n=br(()=>e(()=>xt(r)))),t+=1,()=>{yt(()=>{t-=1,t===0&&(n?.(),n=void 0,xt(r))})})))}}var ws=it|Ze|Nt;function $s(e,t,r){new xs(e,t,r)}class xs{parent;#t=!1;#e;#r=N?F:null;#n;#l;#o;#a=null;#s=null;#i=null;#u=null;#c=null;#v=0;#f=0;#h=!1;#d=null;#p=ys(()=>(this.#d=$t(this.#v),()=>{this.#d=null}));constructor(t,r,n){this.#e=t,this.#n=r,this.#l=n,this.parent=O.b,this.#t=!!this.#n.pending,this.#o=hr(()=>{if(O.b=this,N){const i=this.#r;or(),i.nodeType===at&&i.data===er?this.#w():this.#y()}else{var s=this.#_();try{this.#a=Ae(()=>n(s))}catch(i){this.error(i)}this.#f>0?this.#m():this.#t=!1}return()=>{this.#c?.remove()}},ws),N&&(this.#e=F)}#y(){try{this.#a=Ae(()=>this.#l(this.#e))}catch(t){this.error(t)}this.#t=!1}#w(){const t=this.#n.pending;t&&(this.#s=Ae(()=>t(this.#e)),me.enqueue(()=>{var r=this.#_();this.#a=this.#b(()=>(me.ensure(),Ae(()=>this.#l(r)))),this.#f>0?this.#m():(kt(this.#s,()=>{this.#s=null}),this.#t=!1)}))}#_(){var t=this.#e;return this.#t&&(this.#c=Oe(),this.#e.before(this.#c),t=this.#c),t}is_pending(){return this.#t||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#n.pending}#b(t){var r=O,n=D,s=de;ve(this.#o),X(this.#o),lt(this.#o.ctx);try{return t()}catch(i){return Fr(i),null}finally{ve(r),X(n),lt(s)}}#m(){const t=this.#n.pending;this.#a!==null&&(this.#u=document.createDocumentFragment(),this.#u.append(this.#c),fn(this.#a,this.#u)),this.#s===null&&(this.#s=Ae(()=>t(this.#e)))}#g(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#g(t);return}this.#f+=t,this.#f===0&&(this.#t=!1,this.#s&&kt(this.#s,()=>{this.#s=null}),this.#u&&(this.#e.before(this.#u),this.#u=null))}update_pending_count(t){this.#g(t),this.#v+=t,this.#d&&jt(this.#d,this.#v)}get_effect_pending(){return this.#p(),h(this.#d)}error(t){var r=this.#n.onerror;let n=this.#n.failed;if(this.#h||!r&&!n)throw t;this.#a&&(ae(this.#a),this.#a=null),this.#s&&(ae(this.#s),this.#s=null),this.#i&&(ae(this.#i),this.#i=null),N&&(fe(this.#r),ar(),fe(Cr()));var s=!1,i=!1;const o=()=>{if(s){hs();return}s=!0,i&&vs(),me.ensure(),this.#v=0,this.#i!==null&&kt(this.#i,()=>{this.#i=null}),this.#t=this.has_pending_snippet(),this.#a=this.#b(()=>(this.#h=!1,Ae(()=>this.#l(this.#e)))),this.#f>0?this.#m():this.#t=!1};var a=D;try{X(null),i=!0,r?.(t,o),i=!1}catch(l){ut(l,this.#o&&this.#o.parent)}finally{X(a)}n&&yt(()=>{this.#i=this.#b(()=>{me.ensure(),this.#h=!0;try{return Ae(()=>{n(this.#e,()=>t,()=>o)})}catch(l){return ut(l,this.#o.parent),null}finally{this.#h=!1}})})}}function ks(e,t,r,n){const s=ur;if(r.length===0&&e.length===0){n(t.map(s));return}var i=Y,o=O,a=Es();function l(){Promise.all(r.map(u=>Ss(u))).then(u=>{a();try{n([...t.map(s),...u])}catch(g){(o.f&Ye)===0&&ut(g,o)}i?.deactivate(),It()}).catch(u=>{ut(u,o)})}e.length>0?Promise.all(e).then(()=>{a();try{return l()}finally{i?.deactivate(),It()}}):l()}function Es(){var e=O,t=D,r=de,n=Y;return function(i=!0){ve(e),X(t),lt(r),i&&n?.activate()}}function It(){ve(null),X(null),lt(null)}function ur(e){var t=K|se,r=D!==null&&(D.f&K)!==0?D:null;return O!==null&&(O.f|=Ze),{ctx:de,deps:null,effects:null,equals:Lr,f:t,fn:e,reactions:null,rv:0,v:G,wv:0,parent:r??O,ac:null}}function Ss(e,t){let r=O;r===null&&ns();var n=r.b,s=void 0,i=$t(G),o=!D,a=new Map;return js(()=>{var l=Vr();s=l.promise;try{Promise.resolve(e()).then(l.resolve,l.reject).then(()=>{u===Y&&u.committed&&u.deactivate(),It()})}catch(c){l.reject(c),It()}var u=Y;if(o){var g=!n.is_pending();n.update_pending_count(1),u.increment(g),a.get(u)?.reject(ot),a.delete(u),a.set(u,l)}const _=(c,b=void 0)=>{if(u.activate(),b)b!==ot&&(i.f|=Fe,jt(i,b));else{(i.f&Fe)!==0&&(i.f^=Fe),jt(i,c);for(const[S,C]of a){if(a.delete(S),S===u)break;C.reject(ot)}}o&&(n.update_pending_count(-1),u.decrement(g))};l.promise.then(_,c=>_(null,c||"unknown"))}),nn(()=>{for(const l of a.values())l.reject(ot)}),new Promise(l=>{function u(g){function _(){g===s?l(i):u(s)}g.then(_,_)}u(s)})}function Ms(e){const t=ur(e);return t.equals=Rr,t}function Wr(e){var t=e.effects;if(t!==null){e.effects=null;for(var r=0;r<t.length;r+=1)ae(t[r])}}function Ts(e){for(var t=e.parent;t!==null;){if((t.f&K)===0)return t;t=t.parent}return null}function cr(e){var t,r=O;ve(Ts(e));try{e.f&=~pt,Wr(e),t=gn(e)}finally{ve(r)}return t}function Jr(e){var t=cr(e);if(e.equals(t)||(e.v=t,e.wv=mn()),!et)if(le!==null)Ft()&&le.set(e,e.v);else{var r=(e.f&be)===0?De:Q;ee(e,r)}}let fr=new Set;const He=new Map;let Zr=!1;function $t(e,t){var r={f:0,v:e,reactions:null,equals:Lr,rv:0,wv:0};return r}function P(e,t){const r=$t(e);return Us(r),r}function zs(e,t=!1,r=!0){const n=$t(e);return t||(n.equals=Rr),n}function z(e,t,r=!1){D!==null&&(!xe||(D.f&Or)!==0)&&jr()&&(D.f&(K|Te|ir|Or))!==0&&!Ce?.includes(e)&&ds();let n=r?Qe(t):t;return jt(e,n)}function jt(e,t){if(!e.equals(t)){var r=e.v;et?He.set(e,t):He.set(e,r),e.v=t;var n=me.ensure();n.capture(e,r),(e.f&K)!==0&&((e.f&se)!==0&&cr(e),ee(e,(e.f&be)!==0?Q:De)),e.wv=mn(),Gr(e,se),O!==null&&(O.f&Q)!==0&&(O.f&(ze|je))===0&&(he===null?Bs([e]):he.push(e)),!n.is_fork&&fr.size>0&&!Zr&&Ds()}return t}function Ds(){Zr=!1;const e=Array.from(fr);for(const t of e)(t.f&Q)!==0&&ee(t,De),St(t)&&Mt(t);fr.clear()}function xt(e){z(e,e.v+1)}function Gr(e,t){var r=e.reactions;if(r!==null)for(var n=r.length,s=0;s<n;s++){var i=r[s],o=i.f,a=(o&se)===0;if(a&&ee(i,t),(o&K)!==0){var l=i;le?.delete(l),(o&pt)===0&&(o&be&&(i.f|=pt),Gr(l,De))}else a&&((o&Te)!==0&&Ve!==null&&Ve.add(i),Ke(i))}}function Qe(e){if(typeof e!="object"||e===null||At in e)return e;const t=zr(e);if(t!==Qn&&t!==Xn)return e;var r=new Map,n=Jn(e),s=P(0),i=tt,o=a=>{if(tt===i)return a();var l=D,u=tt;X(null),bn(i);var g=a();return X(l),bn(u),g};return n&&r.set("length",P(e.length)),new Proxy(e,{defineProperty(a,l,u){(!("value"in u)||u.configurable===!1||u.enumerable===!1||u.writable===!1)&&cs();var g=r.get(l);return g===void 0?g=o(()=>{var _=P(u.value);return r.set(l,_),_}):z(g,u.value,!0),!0},deleteProperty(a,l){var u=r.get(l);if(u===void 0){if(l in a){const g=o(()=>P(G));r.set(l,g),xt(s)}}else z(u,G),xt(s);return!0},get(a,l,u){if(l===At)return e;var g=r.get(l),_=l in a;if(g===void 0&&(!_||Je(a,l)?.writable)&&(g=o(()=>{var b=Qe(_?a[l]:G),S=P(b);return S}),r.set(l,g)),g!==void 0){var c=h(g);return c===G?void 0:c}return Reflect.get(a,l,u)},getOwnPropertyDescriptor(a,l){var u=Reflect.getOwnPropertyDescriptor(a,l);if(u&&"value"in u){var g=r.get(l);g&&(u.value=h(g))}else if(u===void 0){var _=r.get(l),c=_?.v;if(_!==void 0&&c!==G)return{enumerable:!0,configurable:!0,value:c,writable:!0}}return u},has(a,l){if(l===At)return!0;var u=r.get(l),g=u!==void 0&&u.v!==G||Reflect.has(a,l);if(u!==void 0||O!==null&&(!g||Je(a,l)?.writable)){u===void 0&&(u=o(()=>{var c=g?Qe(a[l]):G,b=P(c);return b}),r.set(l,u));var _=h(u);if(_===G)return!1}return g},set(a,l,u,g){var _=r.get(l),c=l in a;if(n&&l==="length")for(var b=u;b<_.v;b+=1){var S=r.get(b+"");S!==void 0?z(S,G):b in a&&(S=o(()=>P(G)),r.set(b+"",S))}if(_===void 0)(!c||Je(a,l)?.writable)&&(_=o(()=>P(void 0)),z(_,Qe(u)),r.set(l,_));else{c=_.v!==G;var C=o(()=>Qe(u));z(_,C)}var H=Reflect.getOwnPropertyDescriptor(a,l);if(H?.set&&H.set.call(g,u),!c){if(n&&typeof l=="string"){var V=r.get("length"),L=Number(l);Number.isInteger(L)&&L>=V.v&&z(V,L+1)}xt(s)}return!0},ownKeys(a){h(s);var l=Reflect.ownKeys(a).filter(_=>{var c=r.get(_);return c===void 0||c.v!==G});for(var[u,g]of r)g.v!==G&&!(u in a)&&l.push(u);return l},setPrototypeOf(){fs()}})}var Kr,Qr,Xr,en;function dr(){if(Kr===void 0){Kr=window,Qr=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,r=Text.prototype;Xr=Je(t,"firstChild").get,en=Je(t,"nextSibling").get,Dr(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Dr(r)&&(r.__t=void 0)}}function Oe(e=""){return document.createTextNode(e)}function ft(e){return Xr.call(e)}function we(e){return en.call(e)}function oe(e,t){if(!N)return ft(e);var r=ft(F);return r===null&&(r=F.appendChild(Oe())),fe(r),r}function te(e,t=1,r=!1){let n=N?F:e;for(var s;t--;)s=n,n=we(n);if(!N)return n;if(r&&n?.nodeType!==Ar){var i=Oe();return n===null?s?.after(i):n.before(i),fe(i),i}return fe(n),n}function Vs(e){e.textContent=""}function Os(){return!1}let tn=!1;function rn(){tn||(tn=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(const t of e.target.elements)t.__on_r?.()})},{capture:!0}))}function Yt(e){var t=D,r=O;X(null),ve(null);try{return e()}finally{X(t),ve(r)}}function Ns(e,t,r,n=r){e.addEventListener(t,()=>Yt(r));const s=e.__on_r;s?e.__on_r=()=>{s(),n(!0)}:e.__on_r=()=>n(!0),rn()}function As(e){O===null&&(D===null&&os(),is()),et&&ss()}function Cs(e,t){var r=t.last;r===null?t.last=t.first=e:(r.next=e,e.prev=r,t.last=e)}function $e(e,t,r,n=!0){var s=O;s!==null&&(s.f&ge)!==0&&(e|=ge);var i={ctx:de,deps:null,nodes_start:null,nodes_end:null,f:e|se|be,first:null,fn:t,last:null,next:null,parent:s,b:s&&s.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(r)try{Mt(i),i.f|=rr}catch(l){throw ae(i),l}else t!==null&&Ke(i);if(n){var o=i;if(r&&o.deps===null&&o.teardown===null&&o.nodes_start===null&&o.first===o.last&&(o.f&Ze)===0&&(o=o.first,(e&Te)!==0&&(e&it)!==0&&o!==null&&(o.f|=it)),o!==null&&(o.parent=s,s!==null&&Cs(o,s),D!==null&&(D.f&K)!==0&&(e&je)===0)){var a=D;(a.effects??=[]).push(o)}}return i}function Ft(){return D!==null&&!xe}function nn(e){const t=$e(tr,null,!1);return ee(t,Q),t.teardown=e,t}function Ls(e){As();var t=O.f,r=!D&&(t&ze)!==0&&(t&rr)===0;if(r){var n=de;(n.e??=[]).push(e)}else return sn(e)}function sn(e){return $e(Ot|ts,e,!1)}function Rs(e){me.ensure();const t=$e(je|Ze,e,!0);return()=>{ae(t)}}function Ps(e){me.ensure();const t=$e(je|Ze,e,!0);return(r={})=>new Promise(n=>{r.outro?kt(t,()=>{ae(t),n(void 0)}):(ae(t),n(void 0))})}function Is(e){return $e(Ot,e,!1)}function js(e){return $e(ir|Ze,e,!0)}function vr(e,t=0){return $e(tr|t,e,!0)}function Ne(e,t=[],r=[],n=[],s=!1){ks(n,t,r,i=>{$e(s?Ot:tr,()=>e(...i.map(h)),!0)})}function hr(e,t=0){var r=$e(Te|t,e,!0);return r}function Ae(e,t=!0){return $e(ze|Ze,e,!0,t)}function on(e){var t=e.teardown;if(t!==null){const r=et,n=D;vn(!0),X(null);try{t.call(null)}finally{vn(r),X(n)}}}function an(e,t=!1){var r=e.first;for(e.first=e.last=null;r!==null;){const s=r.ac;s!==null&&Yt(()=>{s.abort(ot)});var n=r.next;(r.f&je)!==0?r.parent=null:ae(r,t),r=n}}function Ys(e){for(var t=e.first;t!==null;){var r=t.next;(t.f&ze)===0&&ae(t),t=r}}function ae(e,t=!0){var r=!1;(t||(e.f&nr)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(Fs(e.nodes_start,e.nodes_end),r=!0),an(e,t&&!r),Ht(e,0),ee(e,Ye);var n=e.transitions;if(n!==null)for(const i of n)i.stop();on(e);var s=e.parent;s!==null&&s.first!==null&&ln(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function Fs(e,t){for(;e!==null;){var r=e===t?null:we(e);e.remove(),e=r}}function ln(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 kt(e,t,r=!0){var n=[];un(e,n,!0),Hs(n,()=>{r&&ae(e),t&&t()})}function Hs(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var s of e)s.out(n)}else t()}function un(e,t,r){if((e.f&ge)===0){if(e.f^=ge,e.transitions!==null)for(const o of e.transitions)(o.is_global||r)&&t.push(o);for(var n=e.first;n!==null;){var s=n.next,i=(n.f&it)!==0||(n.f&ze)!==0&&(e.f&Te)!==0;un(n,t,i?r:!1),n=s}}}function qs(e){cn(e,!0)}function cn(e,t){if((e.f&ge)!==0){e.f^=ge,(e.f&Q)===0&&(ee(e,se),Ke(e));for(var r=e.first;r!==null;){var n=r.next,s=(r.f&it)!==0||(r.f&ze)!==0;cn(r,s?t:!1),r=n}if(e.transitions!==null)for(const i of e.transitions)(i.is_global||t)&&i.in()}}function fn(e,t){for(var r=e.nodes_start,n=e.nodes_end;r!==null;){var s=r===n?null:we(r);t.append(r),r=s}}let Xe=!1;function dn(e){Xe=e}let et=!1;function vn(e){et=e}let D=null,xe=!1;function X(e){D=e}let O=null;function ve(e){O=e}let Ce=null;function Us(e){D!==null&&(Ce===null?Ce=[e]:Ce.push(e))}let re=null,ue=0,he=null;function Bs(e){he=e}let hn=1,Et=0,tt=Et;function bn(e){tt=e}function mn(){return++hn}function St(e){var t=e.f;if((t&se)!==0)return!0;if(t&K&&(e.f&=~pt),(t&De)!==0){var r=e.deps;if(r!==null)for(var n=r.length,s=0;s<n;s++){var i=r[s];if(St(i)&&Jr(i),i.wv>e.wv)return!0}(t&be)!==0&&le===null&&ee(e,Q)}return!1}function _n(e,t,r=!0){var n=e.reactions;if(n!==null&&!Ce?.includes(e))for(var s=0;s<n.length;s++){var i=n[s];(i.f&K)!==0?_n(i,t,!1):t===i&&(r?ee(i,se):(i.f&Q)!==0&&ee(i,De),Ke(i))}}function gn(e){var t=re,r=ue,n=he,s=D,i=Ce,o=de,a=xe,l=tt,u=e.f;re=null,ue=0,he=null,D=(u&(ze|je))===0?e:null,Ce=null,lt(e.ctx),xe=!1,tt=++Et,e.ac!==null&&(Yt(()=>{e.ac.abort(ot)}),e.ac=null);try{e.f|=sr;var g=e.fn,_=g(),c=e.deps;if(re!==null){var b;if(Ht(e,ue),c!==null&&ue>0)for(c.length=ue+re.length,b=0;b<re.length;b++)c[ue+b]=re[b];else e.deps=c=re;if(Xe&&Ft()&&(e.f&be)!==0)for(b=ue;b<c.length;b++)(c[b].reactions??=[]).push(e)}else c!==null&&ue<c.length&&(Ht(e,ue),c.length=ue);if(jr()&&he!==null&&!xe&&c!==null&&(e.f&(K|De|se))===0)for(b=0;b<he.length;b++)_n(he[b],e);return s!==null&&s!==e&&(Et++,he!==null&&(n===null?n=he:n.push(...he))),(e.f&Fe)!==0&&(e.f^=Fe),_}catch(S){return Fr(S)}finally{e.f^=sr,re=t,ue=r,he=n,D=s,Ce=i,lt(o),xe=a,tt=l}}function Ws(e,t){let r=t.reactions;if(r!==null){var n=Zn.call(r,e);if(n!==-1){var s=r.length-1;s===0?r=t.reactions=null:(r[n]=r[s],r.pop())}}r===null&&(t.f&K)!==0&&(re===null||!re.includes(t))&&(ee(t,De),(t.f&be)!==0&&(t.f^=be,t.f&=~pt),Wr(t),Ht(t,0))}function Ht(e,t){var r=e.deps;if(r!==null)for(var n=t;n<r.length;n++)Ws(e,r[n])}function Mt(e){var t=e.f;if((t&Ye)===0){ee(e,Q);var r=O,n=Xe;O=e,Xe=!0;try{(t&Te)!==0?Ys(e):an(e),on(e);var s=gn(e);e.teardown=typeof s=="function"?s:null,e.wv=hn;var i;Tr&&_s&&(e.f&se)!==0&&e.deps}finally{Xe=n,O=r}}}async function Js(){await Promise.resolve(),ct()}function h(e){var t=e.f,r=(t&K)!==0;if(D!==null&&!xe){var n=O!==null&&(O.f&Ye)!==0;if(!n&&!Ce?.includes(e)){var s=D.deps;if((D.f&sr)!==0)e.rv<Et&&(e.rv=Et,re===null&&s!==null&&s[ue]===e?ue++:re===null?re=[e]:re.includes(e)||re.push(e));else{(D.deps??=[]).push(e);var i=e.reactions;i===null?e.reactions=[D]:i.includes(D)||i.push(D)}}}if(et){if(He.has(e))return He.get(e);if(r){var o=e,a=o.v;return((o.f&Q)===0&&o.reactions!==null||yn(o))&&(a=cr(o)),He.set(o,a),a}}else if(r){if(o=e,le?.has(o))return le.get(o);St(o)&&Jr(o),Xe&&Ft()&&(o.f&be)===0&&pn(o)}else if(le?.has(e))return le.get(e);if((e.f&Fe)!==0)throw e.v;return e.v}function pn(e){if(e.deps!==null){e.f^=be;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&K)!==0&&(t.f&be)===0&&pn(t)}}function yn(e){if(e.v===G)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(He.has(t)||(t.f&K)!==0&&yn(t))return!0;return!1}function br(e){var t=xe;try{return xe=!0,e()}finally{xe=t}}const Zs=-7169;function ee(e,t){e.f=e.f&Zs|t}const wn=new Set,mr=new Set;function Gs(e,t,r,n={}){function s(i){if(n.capture||Tt.call(t,i),!i.cancelBubble)return Yt(()=>r?.call(this,i))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?yt(()=>{t.addEventListener(e,s,n)}):t.addEventListener(e,s,n),s}function rt(e,t,r,n,s){var i={capture:n,passive:s},o=Gs(e,t,r,i);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&nn(()=>{t.removeEventListener(e,o,i)})}function Ks(e){for(var t=0;t<e.length;t++)wn.add(e[t]);for(var r of mr)r(e)}let $n=null;function Tt(e){var t=this,r=t.ownerDocument,n=e.type,s=e.composedPath?.()||[],i=s[0]||e.target;$n=e;var o=0,a=$n===e&&e.__root;if(a){var l=s.indexOf(a);if(l!==-1&&(t===document||t===window)){e.__root=t;return}var u=s.indexOf(t);if(u===-1)return;l<=u&&(o=l)}if(i=s[o]||e.target,i!==t){Vt(e,"currentTarget",{configurable:!0,get(){return i||r}});var g=D,_=O;X(null),ve(null);try{for(var c,b=[];i!==null;){var S=i.assignedSlot||i.parentNode||i.host||null;try{var C=i["__"+n];C!=null&&(!i.disabled||e.target===i)&&C.call(i,e)}catch(H){c?b.push(H):c=H}if(e.cancelBubble||S===t||S===null)break;i=S}if(c){for(let H of b)queueMicrotask(()=>{throw H});throw c}}finally{e.__root=t,delete e.currentTarget,X(g),ve(_)}}}function Qs(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function dt(e,t){var r=O;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function Le(e,t){var r=(t&Un)!==0,n=(t&Bn)!==0,s,i=!e.startsWith("<!>");return()=>{if(N)return dt(F,null),F;s===void 0&&(s=Qs(i?e:"<!>"+e),r||(s=ft(s)));var o=n||Qr?document.importNode(s,!0):s.cloneNode(!0);if(r){var a=ft(o),l=o.lastChild;dt(a,l)}else dt(o,o);return o}}function Xs(e=""){if(!N){var t=Oe(e+"");return dt(t,t),t}var r=F;return r.nodeType!==Ar&&(r.before(r=Oe()),fe(r)),dt(r,r),r}function _e(e,t){if(N){O.nodes_end=F,or();return}e!==null&&e.before(t)}const ei=["touchstart","touchmove"];function ti(e){return ei.includes(e)}function ri(e,t){var r=t==null?"":typeof t=="object"?t+"":t;r!==(e.__t??=e.nodeValue)&&(e.__t=r,e.nodeValue=r+"")}function xn(e,t){return kn(e,t)}function ni(e,t){dr(),t.intro=t.intro??!1;const r=t.target,n=N,s=F;try{for(var i=ft(r);i&&(i.nodeType!==at||i.data!==Sr);)i=we(i);if(!i)throw st;pe(!0),fe(i);const o=kn(e,{...t,anchor:i});return pe(!1),o}catch(o){if(o instanceof Error&&o.message.split(`
2
- `).some(a=>a.startsWith("https://svelte.dev/e/")))throw o;return o!==st&&console.warn("Failed to hydrate: ",o),t.recover===!1&&ls(),dr(),Vs(r),pe(!1),xn(e,t)}finally{pe(n),fe(s)}}const vt=new Map;function kn(e,{target:t,anchor:r,props:n={},events:s,context:i,intro:o=!0}){dr();var a=new Set,l=_=>{for(var c=0;c<_.length;c++){var b=_[c];if(!a.has(b)){a.add(b);var S=ti(b);t.addEventListener(b,Tt,{passive:S});var C=vt.get(b);C===void 0?(document.addEventListener(b,Tt,{passive:S}),vt.set(b,1)):vt.set(b,C+1)}}};l(Gn(wn)),mr.add(l);var u=void 0,g=Ps(()=>{var _=r??t.appendChild(Oe());return $s(_,{pending:()=>{}},c=>{if(i){Pr({});var b=de;b.c=i}if(s&&(n.$$events=s),N&&dt(c,null),u=e(c,n)||{},N&&(O.nodes_end=F,F===null||F.nodeType!==at||F.data!==Mr))throw Ct(),st;i&&Ir()}),()=>{for(var c of a){t.removeEventListener(c,Tt);var b=vt.get(c);--b===0?(document.removeEventListener(c,Tt),vt.delete(c)):vt.set(c,b)}mr.delete(l),_!==r&&_.parentNode?.removeChild(_)}});return _r.set(u,g),u}let _r=new WeakMap;function si(e,t){const r=_r.get(e);return r?(_r.delete(e),r(t)):Promise.resolve()}class ii{anchor;#t=new Map;#e=new Map;#r=new Map;#n=!0;constructor(t,r=!0){this.anchor=t,this.#n=r}#l=()=>{var t=Y;if(this.#t.has(t)){var r=this.#t.get(t),n=this.#e.get(r);if(n)qs(n);else{var s=this.#r.get(r);s&&(this.#e.set(r,s.effect),this.#r.delete(r),s.fragment.lastChild.remove(),this.anchor.before(s.fragment),n=s.effect)}for(const[i,o]of this.#t){if(this.#t.delete(i),i===t)break;const a=this.#r.get(o);a&&(ae(a.effect),this.#r.delete(o))}for(const[i,o]of this.#e){if(i===r)continue;const a=()=>{if(Array.from(this.#t.values()).includes(i)){var u=document.createDocumentFragment();fn(o,u),u.append(Oe()),this.#r.set(i,{effect:o,fragment:u})}else ae(o);this.#e.delete(i)};this.#n||!n?kt(o,a,!1):a()}}};#o=t=>{this.#t.delete(t);const r=Array.from(this.#t.values());for(const[n,s]of this.#r)r.includes(n)||(ae(s.effect),this.#r.delete(n))};ensure(t,r){var n=Y,s=Os();if(r&&!this.#e.has(t)&&!this.#r.has(t))if(s){var i=document.createDocumentFragment(),o=Oe();i.append(o),this.#r.set(t,{effect:Ae(()=>r(o)),fragment:i})}else this.#e.set(t,Ae(()=>r(this.anchor)));if(this.#t.set(n,t),s){for(const[a,l]of this.#e)a===t?n.skipped_effects.delete(l):n.skipped_effects.add(l);for(const[a,l]of this.#r)a===t?n.skipped_effects.delete(l.effect):n.skipped_effects.add(l.effect);n.oncommit(this.#l),n.ondiscard(this.#o)}else N&&(this.anchor=F),this.#l()}}function ht(e,t,r=!1){N&&or();var n=new ii(e),s=r?it:0;function i(o,a){if(N){const u=bs(e)===er;if(o===u){var l=Cr();fe(l),n.anchor=l,pe(!1),n.ensure(o,a),pe(!0);return}}n.ensure(o,a)}hr(()=>{var o=!1;t((a,l=!0)=>{o=!0,i(l,a)}),o||i(!1,null)},s)}function oi(e,t){let r=null,n=N;var s;if(N){r=F;for(var i=ft(document.head);i!==null&&(i.nodeType!==at||i.data!==e);)i=we(i);if(i===null)pe(!1);else{var o=we(i);i.remove(),fe(o)}}N||(s=document.head.appendChild(Oe()));try{hr(()=>t(s),nr)}finally{n&&(pe(!0),fe(r))}}function ai(e,t){Is(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const s=document.createElement("style");s.id=t.hash,s.textContent=t.code,n.appendChild(s)}})}function li(e,t,r){var n=""+e;return n}function ui(e,t){return e==null?null:String(e)}function En(e,t,r,n,s,i){var o=e.__className;if(N||o!==r||o===void 0){var a=li(r);(!N||a!==e.getAttribute("class"))&&(a==null?e.removeAttribute("class"):e.className=a),e.__className=r}return i}function Sn(e,t,r,n){var s=e.__style;if(N||s!==t){var i=ui(t);(!N||i!==e.getAttribute("style"))&&(i==null?e.removeAttribute("style"):e.style.cssText=i),e.__style=t}return n}const ci=Symbol("is custom element"),fi=Symbol("is html");function bt(e){if(N){var t=!1,r=()=>{if(!t){if(t=!0,e.hasAttribute("value")){var n=e.value;qt(e,"value",null),e.value=n}if(e.hasAttribute("checked")){var s=e.checked;qt(e,"checked",null),e.checked=s}}};e.__on_r=r,yt(r),rn()}}function qt(e,t,r,n){var s=di(e);N&&(s[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||s[t]!==(s[t]=r)&&(t==="loading"&&(e[rs]=r),r==null?e.removeAttribute(t):typeof r!="string"&&Mn(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function qe(e,t,r){var n=D,s=O;let i=N;N&&pe(!1),X(null),ve(null);try{t!=="style"&&(gr.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?Mn(e).includes(t):r&&typeof r=="object")?e[t]=r:qt(e,t,r==null?r:String(r))}finally{X(n),ve(s),i&&pe(!0)}}function di(e){return e.__attributes??={[ci]:e.nodeName.includes("-"),[fi]:e.namespaceURI===Wn}}var gr=new Map;function Mn(e){var t=e.getAttribute("is")||e.nodeName,r=gr.get(t);if(r)return r;gr.set(t,r=[]);for(var n,s=e,i=Element.prototype;i!==s;){n=Kn(s);for(var o in n)n[o].set&&r.push(o);s=zr(s)}return r}function mt(e,t,r=t){var n=new WeakSet;Ns(e,"input",async s=>{var i=s?e.defaultValue:e.value;if(i=pr(e)?yr(i):i,r(i),Y!==null&&n.add(Y),await Js(),i!==(i=t())){var o=e.selectionStart,a=e.selectionEnd,l=e.value.length;if(e.value=i??"",a!==null){var u=e.value.length;o===a&&a===l&&u>l?(e.selectionStart=u,e.selectionEnd=u):(e.selectionStart=o,e.selectionEnd=Math.min(a,u))}}}),(N&&e.defaultValue!==e.value||br(t)==null&&e.value)&&(r(pr(e)?yr(e.value):e.value),Y!==null&&n.add(Y)),vr(()=>{var s=t();if(e===document.activeElement){var i=Rt??Y;if(n.has(i))return}pr(e)&&s===yr(e.value)||e.type==="date"&&!s&&!e.value||s!==e.value&&(e.value=s??"")})}function pr(e){var t=e.type;return t==="number"||t==="range"}function yr(e){return e===""?null:+e}let Ut=!1;function vi(e){var t=Ut;try{return Ut=!1,[e(),Ut]}finally{Ut=t}}function Bt(e,t,r,n){var s=(r&Hn)!==0,i=(r&qn)!==0,o=n,a=!0,l=()=>(a&&(a=!1,o=i?br(n):n),o),u;if(s){var g=At in e||Nr in e;u=Je(e,t)?.set??(g&&t in e?L=>e[t]=L:void 0)}var _,c=!1;s?[_,c]=vi(()=>e[t]):_=e[t],_===void 0&&n!==void 0&&(_=l(),u&&(us(),u(_)));var b;if(b=()=>{var L=e[t];return L===void 0?l():(a=!0,L)},(r&Fn)===0)return b;if(u){var S=e.$$legacy;return(function(L,B){return arguments.length>0?((!B||S||c)&&u(B?b():L),L):b()})}var C=!1,H=((r&Yn)!==0?ur:Ms)(()=>(C=!1,b()));s&&h(H);var V=O;return(function(L,B){if(arguments.length>0){const Re=B?h(H):s?Qe(L):L;return z(H,Re),C=!0,o!==void 0&&(o=Re),L}return et&&C||(V.f&Ye)!==0?H.v:h(H)})}function hi(e){return new bi(e)}class bi{#t;#e;constructor(t){var r=new Map,n=(i,o)=>{var a=zs(o,!1,!1);return r.set(i,a),a};const s=new Proxy({...t.props||{},$$events:{}},{get(i,o){return h(r.get(o)??n(o,Reflect.get(i,o)))},has(i,o){return o===Nr?!0:(h(r.get(o)??n(o,Reflect.get(i,o))),Reflect.has(i,o))},set(i,o,a){return z(r.get(o)??n(o,a),a),Reflect.set(i,o,a)}});this.#e=(t.hydrate?ni:xn)(t.component,{target:t.target,anchor:t.anchor,props:s,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&ct(),this.#t=s.$$events;for(const i of Object.keys(this.#e))i==="$set"||i==="$destroy"||i==="$on"||Vt(this,i,{get(){return this.#e[i]},set(o){this.#e[i]=o},enumerable:!0});this.#e.$set=i=>{Object.assign(s,i)},this.#e.$destroy=()=>{si(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const n=(...s)=>r.call(this,...s);return this.#t[t].push(n),()=>{this.#t[t]=this.#t[t].filter(s=>s!==n)}}$destroy(){this.#e.$destroy()}}let Tn;typeof HTMLElement=="function"&&(Tn=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 s=>{const i=document.createElement("slot");n!=="default"&&(i.name=n),_e(s,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=mi(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 s=this.$$g_p(n.name);s in this.$$d||(this.$$d[s]=Wt(s,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=hi({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Rs(()=>{vr(()=>{this.$$r=!0;for(const n of Dt(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const s=Wt(n,this.$$d[n],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,s)}this.$$r=!1})});for(const n in this.$$l)for(const s of this.$$l[n]){const i=this.$$c.$on(n,s);this.$$l_u.set(s,i)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Wt(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 Dt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Wt(e,t,r,n){const s=r[e]?.type;if(t=s==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="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 mi(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function _i(e,t,r,n,s,i){let o=class extends Tn{constructor(){super(e,r,s),this.$$p_d=t}static get observedAttributes(){return Dt(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Dt(t).forEach(a=>{Vt(o.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(l){l=Wt(a,l,t),this.$$d[a]=l;var u=this.$$c;if(u){var g=Je(u,a)?.get;g?u[a]=l:u.$set({[a]:l})}}})}),n.forEach(a=>{Vt(o.prototype,a,{get(){return this.$$c?.[a]}})}),e.element=o,o}function zn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Jt={exports:{}},gi=Jt.exports,Dn;function pi(){return Dn||(Dn=1,(function(e,t){(function(r,n){e.exports=n()})(gi,(function(){var r=1e3,n=6e4,s=36e5,i="millisecond",o="second",a="minute",l="hour",u="day",g="week",_="month",c="quarter",b="year",S="date",C="Invalid Date",H=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,V=/\[([^\]]+)]|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,L={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(y){var m=["th","st","nd","rd"],f=y%100;return"["+y+(m[(f-20)%10]||m[f]||m[0])+"]"}},B=function(y,m,f){var w=String(y);return!w||w.length>=m?y:""+Array(m+1-w.length).join(f)+y},Re={s:B,z:function(y){var m=-y.utcOffset(),f=Math.abs(m),w=Math.floor(f/60),d=f%60;return(m<=0?"+":"-")+B(w,2,"0")+":"+B(d,2,"0")},m:function y(m,f){if(m.date()<f.date())return-y(f,m);var w=12*(f.year()-m.year())+(f.month()-m.month()),d=m.clone().add(w,_),E=f-d<0,k=m.clone().add(w+(E?-1:1),_);return+(-(w+(f-d)/(E?d-k:k-d))||0)},a:function(y){return y<0?Math.ceil(y)||0:Math.floor(y)},p:function(y){return{M:_,y:b,w:g,d:u,D:S,h:l,m:a,s:o,ms:i,Q:c}[y]||String(y||"").toLowerCase().replace(/s$/,"")},u:function(y){return y===void 0}},ke="en",T={};T[ke]=L;var $="$isDayjsObject",v=function(y){return y instanceof q||!(!y||!y[$])},A=function y(m,f,w){var d;if(!m)return ke;if(typeof m=="string"){var E=m.toLowerCase();T[E]&&(d=E),f&&(T[E]=f,d=E);var k=m.split("-");if(!d&&k.length>1)return y(k[0])}else{var R=m.name;T[R]=m,d=R}return!w&&d&&(ke=d),d||!w&&ke},M=function(y,m){if(v(y))return y.clone();var f=typeof m=="object"?m:{};return f.date=y,f.args=arguments,new q(f)},x=Re;x.l=A,x.i=v,x.w=function(y,m){return M(y,{locale:m.$L,utc:m.$u,x:m.$x,$offset:m.$offset})};var q=(function(){function y(f){this.$L=A(f.locale,null,!0),this.parse(f),this.$x=this.$x||f.x||{},this[$]=!0}var m=y.prototype;return m.parse=function(f){this.$d=(function(w){var d=w.date,E=w.utc;if(d===null)return new Date(NaN);if(x.u(d))return new Date;if(d instanceof Date)return new Date(d);if(typeof d=="string"&&!/Z$/i.test(d)){var k=d.match(H);if(k){var R=k[2]-1||0,I=(k[7]||"0").substring(0,3);return E?new Date(Date.UTC(k[1],R,k[3]||1,k[4]||0,k[5]||0,k[6]||0,I)):new Date(k[1],R,k[3]||1,k[4]||0,k[5]||0,k[6]||0,I)}}return new Date(d)})(f),this.init()},m.init=function(){var f=this.$d;this.$y=f.getFullYear(),this.$M=f.getMonth(),this.$D=f.getDate(),this.$W=f.getDay(),this.$H=f.getHours(),this.$m=f.getMinutes(),this.$s=f.getSeconds(),this.$ms=f.getMilliseconds()},m.$utils=function(){return x},m.isValid=function(){return this.$d.toString()!==C},m.isSame=function(f,w){var d=M(f);return this.startOf(w)<=d&&d<=this.endOf(w)},m.isAfter=function(f,w){return M(f)<this.startOf(w)},m.isBefore=function(f,w){return this.endOf(w)<M(f)},m.$g=function(f,w,d){return x.u(f)?this[w]:this.set(d,f)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(f,w){var d=this,E=!!x.u(w)||w,k=x.p(f),R=function(Se,Z){var ce=x.w(d.$u?Date.UTC(d.$y,Z,Se):new Date(d.$y,Z,Se),d);return E?ce:ce.endOf(u)},I=function(Se,Z){return x.w(d.toDate()[Se].apply(d.toDate("s"),(E?[0,0,0,0]:[23,59,59,999]).slice(Z)),d)},U=this.$W,J=this.$M,ne=this.$D,Ue="set"+(this.$u?"UTC":"");switch(k){case b:return E?R(1,0):R(31,11);case _:return E?R(1,J):R(0,J+1);case g:var Ee=this.$locale().weekStart||0,Pe=(U<Ee?U+7:U)-Ee;return R(E?ne-Pe:ne+(6-Pe),J);case u:case S:return I(Ue+"Hours",0);case l:return I(Ue+"Minutes",1);case a:return I(Ue+"Seconds",2);case o:return I(Ue+"Milliseconds",3);default:return this.clone()}},m.endOf=function(f){return this.startOf(f,!1)},m.$set=function(f,w){var d,E=x.p(f),k="set"+(this.$u?"UTC":""),R=(d={},d[u]=k+"Date",d[S]=k+"Date",d[_]=k+"Month",d[b]=k+"FullYear",d[l]=k+"Hours",d[a]=k+"Minutes",d[o]=k+"Seconds",d[i]=k+"Milliseconds",d)[E],I=E===u?this.$D+(w-this.$W):w;if(E===_||E===b){var U=this.clone().set(S,1);U.$d[R](I),U.init(),this.$d=U.set(S,Math.min(this.$D,U.daysInMonth())).$d}else R&&this.$d[R](I);return this.init(),this},m.set=function(f,w){return this.clone().$set(f,w)},m.get=function(f){return this[x.p(f)]()},m.add=function(f,w){var d,E=this;f=Number(f);var k=x.p(w),R=function(J){var ne=M(E);return x.w(ne.date(ne.date()+Math.round(J*f)),E)};if(k===_)return this.set(_,this.$M+f);if(k===b)return this.set(b,this.$y+f);if(k===u)return R(1);if(k===g)return R(7);var I=(d={},d[a]=n,d[l]=s,d[o]=r,d)[k]||1,U=this.$d.getTime()+f*I;return x.w(U,this)},m.subtract=function(f,w){return this.add(-1*f,w)},m.format=function(f){var w=this,d=this.$locale();if(!this.isValid())return d.invalidDate||C;var E=f||"YYYY-MM-DDTHH:mm:ssZ",k=x.z(this),R=this.$H,I=this.$m,U=this.$M,J=d.weekdays,ne=d.months,Ue=d.meridiem,Ee=function(Z,ce,Me,Be){return Z&&(Z[ce]||Z(w,E))||Me[ce].slice(0,Be)},Pe=function(Z){return x.s(R%12||12,Z,"0")},Se=Ue||function(Z,ce,Me){var Be=Z<12?"AM":"PM";return Me?Be.toLowerCase():Be};return E.replace(V,(function(Z,ce){return ce||(function(Me){switch(Me){case"YY":return String(w.$y).slice(-2);case"YYYY":return x.s(w.$y,4,"0");case"M":return U+1;case"MM":return x.s(U+1,2,"0");case"MMM":return Ee(d.monthsShort,U,ne,3);case"MMMM":return Ee(ne,U);case"D":return w.$D;case"DD":return x.s(w.$D,2,"0");case"d":return String(w.$W);case"dd":return Ee(d.weekdaysMin,w.$W,J,2);case"ddd":return Ee(d.weekdaysShort,w.$W,J,3);case"dddd":return J[w.$W];case"H":return String(R);case"HH":return x.s(R,2,"0");case"h":return Pe(1);case"hh":return Pe(2);case"a":return Se(R,I,!0);case"A":return Se(R,I,!1);case"m":return String(I);case"mm":return x.s(I,2,"0");case"s":return String(w.$s);case"ss":return x.s(w.$s,2,"0");case"SSS":return x.s(w.$ms,3,"0");case"Z":return k}return null})(Z)||k.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(f,w,d){var E,k=this,R=x.p(w),I=M(f),U=(I.utcOffset()-this.utcOffset())*n,J=this-I,ne=function(){return x.m(k,I)};switch(R){case b:E=ne()/12;break;case _:E=ne();break;case c:E=ne()/3;break;case g:E=(J-U)/6048e5;break;case u:E=(J-U)/864e5;break;case l:E=J/s;break;case a:E=J/n;break;case o:E=J/r;break;default:E=J}return d?E:x.a(E)},m.daysInMonth=function(){return this.endOf(_).$D},m.$locale=function(){return T[this.$L]},m.locale=function(f,w){if(!f)return this.$L;var d=this.clone(),E=A(f,w,!0);return E&&(d.$L=E),d},m.clone=function(){return x.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},y})(),W=q.prototype;return M.prototype=W,[["$ms",i],["$s",o],["$m",a],["$H",l],["$W",u],["$M",_],["$y",b],["$D",S]].forEach((function(y){W[y[1]]=function(m){return this.$g(m,y[0],y[1])}})),M.extend=function(y,m){return y.$i||(y(m,q,M),y.$i=!0),M},M.locale=A,M.isDayjs=v,M.unix=function(y){return M(1e3*y)},M.en=T[ke],M.Ls=T,M.p={},M}))})(Jt)),Jt.exports}var yi=pi();const _t=zn(yi),Vn={version:"0.61.52"};var Zt={exports:{}},wi=Zt.exports,On;function $i(){return On||(On=1,(function(e,t){(function(r,n){e.exports=n()})(wi,(function(){var r,n,s=1e3,i=6e4,o=36e5,a=864e5,l=/\[([^\]]+)]|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,g=2628e6,_=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,c={years:u,months:g,days:a,hours:o,minutes:i,seconds:s,milliseconds:1,weeks:6048e5},b=function(T){return T instanceof Re},S=function(T,$,v){return new Re(T,v,$.$l)},C=function(T){return n.p(T)+"s"},H=function(T){return T<0},V=function(T){return H(T)?Math.ceil(T):Math.floor(T)},L=function(T){return Math.abs(T)},B=function(T,$){return T?H(T)?{negative:!0,format:""+L(T)+$}:{negative:!1,format:""+T+$}:{negative:!1,format:""}},Re=(function(){function T(v,A,M){var x=this;if(this.$d={},this.$l=M,v===void 0&&(this.$ms=0,this.parseFromMilliseconds()),A)return S(v*c[C(A)],this);if(typeof v=="number")return this.$ms=v,this.parseFromMilliseconds(),this;if(typeof v=="object")return Object.keys(v).forEach((function(y){x.$d[C(y)]=v[y]})),this.calMilliseconds(),this;if(typeof v=="string"){var q=v.match(_);if(q){var W=q.slice(2).map((function(y){return y!=null?Number(y):0}));return this.$d.years=W[0],this.$d.months=W[1],this.$d.weeks=W[2],this.$d.days=W[3],this.$d.hours=W[4],this.$d.minutes=W[5],this.$d.seconds=W[6],this.calMilliseconds(),this}}return this}var $=T.prototype;return $.calMilliseconds=function(){var v=this;this.$ms=Object.keys(this.$d).reduce((function(A,M){return A+(v.$d[M]||0)*c[M]}),0)},$.parseFromMilliseconds=function(){var v=this.$ms;this.$d.years=V(v/u),v%=u,this.$d.months=V(v/g),v%=g,this.$d.days=V(v/a),v%=a,this.$d.hours=V(v/o),v%=o,this.$d.minutes=V(v/i),v%=i,this.$d.seconds=V(v/s),v%=s,this.$d.milliseconds=v},$.toISOString=function(){var v=B(this.$d.years,"Y"),A=B(this.$d.months,"M"),M=+this.$d.days||0;this.$d.weeks&&(M+=7*this.$d.weeks);var x=B(M,"D"),q=B(this.$d.hours,"H"),W=B(this.$d.minutes,"M"),y=this.$d.seconds||0;this.$d.milliseconds&&(y+=this.$d.milliseconds/1e3,y=Math.round(1e3*y)/1e3);var m=B(y,"S"),f=v.negative||A.negative||x.negative||q.negative||W.negative||m.negative,w=q.format||W.format||m.format?"T":"",d=(f?"-":"")+"P"+v.format+A.format+x.format+w+q.format+W.format+m.format;return d==="P"||d==="-P"?"P0D":d},$.toJSON=function(){return this.toISOString()},$.format=function(v){var A=v||"YYYY-MM-DDTHH:mm:ss",M={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 A.replace(l,(function(x,q){return q||String(M[x])}))},$.as=function(v){return this.$ms/c[C(v)]},$.get=function(v){var A=this.$ms,M=C(v);return M==="milliseconds"?A%=1e3:A=M==="weeks"?V(A/c[M]):this.$d[M],A||0},$.add=function(v,A,M){var x;return x=A?v*c[C(A)]:b(v)?v.$ms:S(v,this).$ms,S(this.$ms+x*(M?-1:1),this)},$.subtract=function(v,A){return this.add(v,A,!0)},$.locale=function(v){var A=this.clone();return A.$l=v,A},$.clone=function(){return S(this.$ms,this)},$.humanize=function(v){return r().add(this.$ms,"ms").locale(this.$l).fromNow(!v)},$.valueOf=function(){return this.asMilliseconds()},$.milliseconds=function(){return this.get("milliseconds")},$.asMilliseconds=function(){return this.as("milliseconds")},$.seconds=function(){return this.get("seconds")},$.asSeconds=function(){return this.as("seconds")},$.minutes=function(){return this.get("minutes")},$.asMinutes=function(){return this.as("minutes")},$.hours=function(){return this.get("hours")},$.asHours=function(){return this.as("hours")},$.days=function(){return this.get("days")},$.asDays=function(){return this.as("days")},$.weeks=function(){return this.get("weeks")},$.asWeeks=function(){return this.as("weeks")},$.months=function(){return this.get("months")},$.asMonths=function(){return this.as("months")},$.years=function(){return this.get("years")},$.asYears=function(){return this.as("years")},T})(),ke=function(T,$,v){return T.add($.years()*v,"y").add($.months()*v,"M").add($.days()*v,"d").add($.hours()*v,"h").add($.minutes()*v,"m").add($.seconds()*v,"s").add($.milliseconds()*v,"ms")};return function(T,$,v){r=v,n=v().$utils(),v.duration=function(x,q){var W=v.locale();return S(x,{$l:W},q)},v.isDuration=b;var A=$.prototype.add,M=$.prototype.subtract;$.prototype.add=function(x,q){return b(x)?ke(this,x,1):A.bind(this)(x,q)},$.prototype.subtract=function(x,q){return b(x)?ke(this,x,-1):M.bind(this)(x,q)}}}))})(Zt)),Zt.exports}var xi=$i();const ki=zn(xi);var nt={},Nn;function Ei(){if(Nn)return nt;Nn=1,Object.defineProperty(nt,"__esModule",{value:!0}),nt.LanguageTranslator=void 0,nt.getChildStyleToPass=e,nt.addComponent=t;function e(n,s){var i,o,a="";try{if(n&&s?.length&&(!((i=Object.keys(n))===null||i===void 0)&&i.length)&&(!((o=s?.filter(function(c){return Object.keys(n).includes(c.name)}))===null||o===void 0)&&o.length))for(var l=function(c){var b=s?.filter(function(S){return S.name===c&&S.defaultValue!==n[c]});b&&(a+="".concat(c,":").concat(n[c],";"))},u=0,g=Object.keys(n);u<g.length;u++){var _=g[u];l(_)}}catch(c){console.error("error getting child style to pass",c)}finally{return a}}function t(n){var s,i=((s=n?.repoName.split("/"))===null||s===void 0?void 0:s[1])||n?.repoName;if(!i)throw new Error("wrong componentPath "+n?.repoName);if(!n?.version)throw new Error("wrong version "+n?.version);var o=n?.iifePath||"main.iife.js";if(!document.getElementById(i+"-script"))try{var a=document.createElement("script");if(a.id=i+"-script",a.src="https://cdn.jsdelivr.net/npm/".concat(n.repoName,"@").concat(n.version,"/").concat(o),n?.local)a.src="".concat(n.local);else if(location.href.includes("localhost:6006")){var l=i.split("-")[0];a.src="http://localhost:6006/webcomponents/".concat(i.replace(l+"-",""),"/").concat(o)}document.head.appendChild(a)}catch(u){console.warn(u)}}var r=(function(){function n(s){if(this.lang="",!s?.dictionary)throw new Error("no dictionary provided");this.dictionary=s.dictionary,this.setLang(s?.lang)}return n.prototype.setLang=function(s){s||(s=n.getDefaultLang()),this.lang=s},n.prototype.translateWord=function(s,i){return n.getDictionaryWord(s,this.dictionary,i||this.lang)},n.prototype.translateDate=function(s,i,o){return n.formatDate(s,i,o||this.lang)},n.getDefaultLang=function(){var s,i,o,a="en";return navigator?.languages&&(!((o=(i=(s=navigator.languages[0])===null||s===void 0?void 0:s.split("-")[0])===null||i===void 0?void 0:i.toLowerCase())===null||o===void 0)&&o.length)&&(a=navigator.languages[0].split("-")[0].toLowerCase()),a},n.getDictionaryWord=function(s,i,o){var a;if(!s)throw new Error("no wordKey provided");if(!i)throw new Error("no dictionary provided");if(o&&(!((a=i[o])===null||a===void 0)&&a[s]))return i[o][s];var l="",u=n.getDefaultLang();if(!o||u!==o){var g=i?.[u];g?.[s]&&(l=g[s])}return l},n.formatDate=function(s,i,o){if(!s)throw new Error("no date provided");if(typeof s.getMonth!="function")throw new Error("wrong date format");var a=new Intl.DateTimeFormat(o||n.getDefaultLang(),i);return a.format(s)},n})();return nt.LanguageTranslator=r,nt}var An=Ei(),Si=Le('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-10svzuv"/>'),Mi=Le('<i class="bi bi-play-fill svelte-10svzuv"></i>'),Ti=Le('<i class="bi bi-pause-fill svelte-10svzuv"></i>'),zi=Le('<button class="btn btn-outline-dark svelte-10svzuv"><!></button>'),Di=Le('<div style="width: 100%;margin-bottom:15px" class="svelte-10svzuv"><div style="display:inline-block; width:50px;" class="svelte-10svzuv"><!></div> <div style="display:inline-block;width:calc(100% - 60px);position:relative" class="svelte-10svzuv"><hb-range-slider></hb-range-slider></div></div>',2),Vi=Le("<hb-form></hb-form>",2),Oi=Le('<button class="btn btn-sm btn-primary svelte-10svzuv">send</button>'),Ni=Le('<button class="btn btn-sm btn-primary svelte-10svzuv" disabled>send</button>'),Ai=Le('<div id="card" class="card h-100 svelte-10svzuv"><div class="ratio ratio-16x9 svelte-10svzuv" style="background-color: black;"><video id="video" class="ratio ratio-16x9 svelte-10svzuv"><source type="video/mp4" class="svelte-10svzuv"/> <track kind="captions" src="" srclang="en" label="English" class="svelte-10svzuv"/> Your browser does not support the video tag.</video></div> <div class="card-body svelte-10svzuv"><!> <!> <div id="controls" class="svelte-10svzuv"><div style="flex-grow: 2" class="svelte-10svzuv"><button class="btn btn-sm btn-secondary svelte-10svzuv">▼</button> <button class="btn btn-sm btn-secondary svelte-10svzuv">▲</button> <input type="number" class="form-control form-custom-control-numbers svelte-10svzuv"/>h <input class="form-control form-custom-control-numbers svelte-10svzuv" type="number"/>m <input type="number" class="form-control form-custom-control-numbers svelte-10svzuv"/>s</div> <div style="flex-grow: 2;text-align:center" class="svelte-10svzuv"></div> <div style="flex-grow: 2;text-align:right" class="svelte-10svzuv"><input type="number" class="form-control form-custom-control-numbers svelte-10svzuv"/>h <input class="form-control form-custom-control-numbers svelte-10svzuv" type="number"/>m <input type="number" class="form-control form-custom-control-numbers svelte-10svzuv"/>s <button class="btn btn-sm btn-secondary svelte-10svzuv">▲</button> <button class="btn btn-sm btn-secondary svelte-10svzuv">▼</button></div></div></div> <div class="card-footer svelte-10svzuv"><span style="float:left;height:30px;line-height:30px" class="svelte-10svzuv"><!></span> <span style="float:right;height:30px;line-height:30px" class="svelte-10svzuv"><!></span></div></div>',2);const Ci={hash:"svelte-10svzuv",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");
2
+ `).some(a=>a.startsWith("https://svelte.dev/e/")))throw o;return o!==st&&console.warn("Failed to hydrate: ",o),t.recover===!1&&ls(),dr(),Vs(r),pe(!1),xn(e,t)}finally{pe(n),fe(s)}}const vt=new Map;function kn(e,{target:t,anchor:r,props:n={},events:s,context:i,intro:o=!0}){dr();var a=new Set,l=_=>{for(var c=0;c<_.length;c++){var b=_[c];if(!a.has(b)){a.add(b);var S=ti(b);t.addEventListener(b,Tt,{passive:S});var C=vt.get(b);C===void 0?(document.addEventListener(b,Tt,{passive:S}),vt.set(b,1)):vt.set(b,C+1)}}};l(Gn(wn)),mr.add(l);var u=void 0,g=Ps(()=>{var _=r??t.appendChild(Oe());return $s(_,{pending:()=>{}},c=>{if(i){Pr({});var b=de;b.c=i}if(s&&(n.$$events=s),N&&dt(c,null),u=e(c,n)||{},N&&(O.nodes_end=F,F===null||F.nodeType!==at||F.data!==Mr))throw Ct(),st;i&&Ir()}),()=>{for(var c of a){t.removeEventListener(c,Tt);var b=vt.get(c);--b===0?(document.removeEventListener(c,Tt),vt.delete(c)):vt.set(c,b)}mr.delete(l),_!==r&&_.parentNode?.removeChild(_)}});return _r.set(u,g),u}let _r=new WeakMap;function si(e,t){const r=_r.get(e);return r?(_r.delete(e),r(t)):Promise.resolve()}class ii{anchor;#t=new Map;#e=new Map;#r=new Map;#n=!0;constructor(t,r=!0){this.anchor=t,this.#n=r}#l=()=>{var t=Y;if(this.#t.has(t)){var r=this.#t.get(t),n=this.#e.get(r);if(n)qs(n);else{var s=this.#r.get(r);s&&(this.#e.set(r,s.effect),this.#r.delete(r),s.fragment.lastChild.remove(),this.anchor.before(s.fragment),n=s.effect)}for(const[i,o]of this.#t){if(this.#t.delete(i),i===t)break;const a=this.#r.get(o);a&&(ae(a.effect),this.#r.delete(o))}for(const[i,o]of this.#e){if(i===r)continue;const a=()=>{if(Array.from(this.#t.values()).includes(i)){var u=document.createDocumentFragment();fn(o,u),u.append(Oe()),this.#r.set(i,{effect:o,fragment:u})}else ae(o);this.#e.delete(i)};this.#n||!n?kt(o,a,!1):a()}}};#o=t=>{this.#t.delete(t);const r=Array.from(this.#t.values());for(const[n,s]of this.#r)r.includes(n)||(ae(s.effect),this.#r.delete(n))};ensure(t,r){var n=Y,s=Os();if(r&&!this.#e.has(t)&&!this.#r.has(t))if(s){var i=document.createDocumentFragment(),o=Oe();i.append(o),this.#r.set(t,{effect:Ae(()=>r(o)),fragment:i})}else this.#e.set(t,Ae(()=>r(this.anchor)));if(this.#t.set(n,t),s){for(const[a,l]of this.#e)a===t?n.skipped_effects.delete(l):n.skipped_effects.add(l);for(const[a,l]of this.#r)a===t?n.skipped_effects.delete(l.effect):n.skipped_effects.add(l.effect);n.oncommit(this.#l),n.ondiscard(this.#o)}else N&&(this.anchor=F),this.#l()}}function ht(e,t,r=!1){N&&or();var n=new ii(e),s=r?it:0;function i(o,a){if(N){const u=bs(e)===er;if(o===u){var l=Cr();fe(l),n.anchor=l,pe(!1),n.ensure(o,a),pe(!0);return}}n.ensure(o,a)}hr(()=>{var o=!1;t((a,l=!0)=>{o=!0,i(l,a)}),o||i(!1,null)},s)}function oi(e,t){let r=null,n=N;var s;if(N){r=F;for(var i=ft(document.head);i!==null&&(i.nodeType!==at||i.data!==e);)i=we(i);if(i===null)pe(!1);else{var o=we(i);i.remove(),fe(o)}}N||(s=document.head.appendChild(Oe()));try{hr(()=>t(s),nr)}finally{n&&(pe(!0),fe(r))}}function ai(e,t){Is(()=>{var r=e.getRootNode(),n=r.host?r:r.head??r.ownerDocument.head;if(!n.querySelector("#"+t.hash)){const s=document.createElement("style");s.id=t.hash,s.textContent=t.code,n.appendChild(s)}})}function li(e,t,r){var n=""+e;return n}function ui(e,t){return e==null?null:String(e)}function En(e,t,r,n,s,i){var o=e.__className;if(N||o!==r||o===void 0){var a=li(r);(!N||a!==e.getAttribute("class"))&&(a==null?e.removeAttribute("class"):e.className=a),e.__className=r}return i}function Sn(e,t,r,n){var s=e.__style;if(N||s!==t){var i=ui(t);(!N||i!==e.getAttribute("style"))&&(i==null?e.removeAttribute("style"):e.style.cssText=i),e.__style=t}return n}const ci=Symbol("is custom element"),fi=Symbol("is html");function bt(e){if(N){var t=!1,r=()=>{if(!t){if(t=!0,e.hasAttribute("value")){var n=e.value;qt(e,"value",null),e.value=n}if(e.hasAttribute("checked")){var s=e.checked;qt(e,"checked",null),e.checked=s}}};e.__on_r=r,yt(r),rn()}}function qt(e,t,r,n){var s=di(e);N&&(s[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||s[t]!==(s[t]=r)&&(t==="loading"&&(e[rs]=r),r==null?e.removeAttribute(t):typeof r!="string"&&Mn(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function qe(e,t,r){var n=D,s=O;let i=N;N&&pe(!1),X(null),ve(null);try{t!=="style"&&(gr.has(e.getAttribute("is")||e.nodeName)||!customElements||customElements.get(e.getAttribute("is")||e.tagName.toLowerCase())?Mn(e).includes(t):r&&typeof r=="object")?e[t]=r:qt(e,t,r==null?r:String(r))}finally{X(n),ve(s),i&&pe(!0)}}function di(e){return e.__attributes??={[ci]:e.nodeName.includes("-"),[fi]:e.namespaceURI===Wn}}var gr=new Map;function Mn(e){var t=e.getAttribute("is")||e.nodeName,r=gr.get(t);if(r)return r;gr.set(t,r=[]);for(var n,s=e,i=Element.prototype;i!==s;){n=Kn(s);for(var o in n)n[o].set&&r.push(o);s=zr(s)}return r}function mt(e,t,r=t){var n=new WeakSet;Ns(e,"input",async s=>{var i=s?e.defaultValue:e.value;if(i=pr(e)?yr(i):i,r(i),Y!==null&&n.add(Y),await Js(),i!==(i=t())){var o=e.selectionStart,a=e.selectionEnd,l=e.value.length;if(e.value=i??"",a!==null){var u=e.value.length;o===a&&a===l&&u>l?(e.selectionStart=u,e.selectionEnd=u):(e.selectionStart=o,e.selectionEnd=Math.min(a,u))}}}),(N&&e.defaultValue!==e.value||br(t)==null&&e.value)&&(r(pr(e)?yr(e.value):e.value),Y!==null&&n.add(Y)),vr(()=>{var s=t();if(e===document.activeElement){var i=Rt??Y;if(n.has(i))return}pr(e)&&s===yr(e.value)||e.type==="date"&&!s&&!e.value||s!==e.value&&(e.value=s??"")})}function pr(e){var t=e.type;return t==="number"||t==="range"}function yr(e){return e===""?null:+e}let Ut=!1;function vi(e){var t=Ut;try{return Ut=!1,[e(),Ut]}finally{Ut=t}}function Bt(e,t,r,n){var s=(r&Hn)!==0,i=(r&qn)!==0,o=n,a=!0,l=()=>(a&&(a=!1,o=i?br(n):n),o),u;if(s){var g=At in e||Nr in e;u=Je(e,t)?.set??(g&&t in e?L=>e[t]=L:void 0)}var _,c=!1;s?[_,c]=vi(()=>e[t]):_=e[t],_===void 0&&n!==void 0&&(_=l(),u&&(us(),u(_)));var b;if(b=()=>{var L=e[t];return L===void 0?l():(a=!0,L)},(r&Fn)===0)return b;if(u){var S=e.$$legacy;return(function(L,B){return arguments.length>0?((!B||S||c)&&u(B?b():L),L):b()})}var C=!1,H=((r&Yn)!==0?ur:Ms)(()=>(C=!1,b()));s&&h(H);var V=O;return(function(L,B){if(arguments.length>0){const Re=B?h(H):s?Qe(L):L;return z(H,Re),C=!0,o!==void 0&&(o=Re),L}return et&&C||(V.f&Ye)!==0?H.v:h(H)})}function hi(e){return new bi(e)}class bi{#t;#e;constructor(t){var r=new Map,n=(i,o)=>{var a=zs(o,!1,!1);return r.set(i,a),a};const s=new Proxy({...t.props||{},$$events:{}},{get(i,o){return h(r.get(o)??n(o,Reflect.get(i,o)))},has(i,o){return o===Nr?!0:(h(r.get(o)??n(o,Reflect.get(i,o))),Reflect.has(i,o))},set(i,o,a){return z(r.get(o)??n(o,a),a),Reflect.set(i,o,a)}});this.#e=(t.hydrate?ni:xn)(t.component,{target:t.target,anchor:t.anchor,props:s,context:t.context,intro:t.intro??!1,recover:t.recover}),(!t?.props?.$$host||t.sync===!1)&&ct(),this.#t=s.$$events;for(const i of Object.keys(this.#e))i==="$set"||i==="$destroy"||i==="$on"||Vt(this,i,{get(){return this.#e[i]},set(o){this.#e[i]=o},enumerable:!0});this.#e.$set=i=>{Object.assign(s,i)},this.#e.$destroy=()=>{si(this.#e)}}$set(t){this.#e.$set(t)}$on(t,r){this.#t[t]=this.#t[t]||[];const n=(...s)=>r.call(this,...s);return this.#t[t].push(n),()=>{this.#t[t]=this.#t[t].filter(s=>s!==n)}}$destroy(){this.#e.$destroy()}}let Tn;typeof HTMLElement=="function"&&(Tn=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 s=>{const i=document.createElement("slot");n!=="default"&&(i.name=n),_e(s,i)}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},r=mi(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 s=this.$$g_p(n.name);s in this.$$d||(this.$$d[s]=Wt(s,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=hi({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$host:this}}),this.$$me=Rs(()=>{vr(()=>{this.$$r=!0;for(const n of Dt(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];const s=Wt(n,this.$$d[n],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,s)}this.$$r=!1})});for(const n in this.$$l)for(const s of this.$$l[n]){const i=this.$$c.$on(n,s);this.$$l_u.set(s,i)}this.$$l={}}}attributeChangedCallback(e,t,r){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Wt(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 Dt(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function Wt(e,t,r,n){const s=r[e]?.type;if(t=s==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="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 mi(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}function _i(e,t,r,n,s,i){let o=class extends Tn{constructor(){super(e,r,s),this.$$p_d=t}static get observedAttributes(){return Dt(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Dt(t).forEach(a=>{Vt(o.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(l){l=Wt(a,l,t),this.$$d[a]=l;var u=this.$$c;if(u){var g=Je(u,a)?.get;g?u[a]=l:u.$set({[a]:l})}}})}),n.forEach(a=>{Vt(o.prototype,a,{get(){return this.$$c?.[a]}})}),e.element=o,o}function zn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Jt={exports:{}},gi=Jt.exports,Dn;function pi(){return Dn||(Dn=1,(function(e,t){(function(r,n){e.exports=n()})(gi,(function(){var r=1e3,n=6e4,s=36e5,i="millisecond",o="second",a="minute",l="hour",u="day",g="week",_="month",c="quarter",b="year",S="date",C="Invalid Date",H=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,V=/\[([^\]]+)]|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,L={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(y){var m=["th","st","nd","rd"],f=y%100;return"["+y+(m[(f-20)%10]||m[f]||m[0])+"]"}},B=function(y,m,f){var w=String(y);return!w||w.length>=m?y:""+Array(m+1-w.length).join(f)+y},Re={s:B,z:function(y){var m=-y.utcOffset(),f=Math.abs(m),w=Math.floor(f/60),d=f%60;return(m<=0?"+":"-")+B(w,2,"0")+":"+B(d,2,"0")},m:function y(m,f){if(m.date()<f.date())return-y(f,m);var w=12*(f.year()-m.year())+(f.month()-m.month()),d=m.clone().add(w,_),E=f-d<0,k=m.clone().add(w+(E?-1:1),_);return+(-(w+(f-d)/(E?d-k:k-d))||0)},a:function(y){return y<0?Math.ceil(y)||0:Math.floor(y)},p:function(y){return{M:_,y:b,w:g,d:u,D:S,h:l,m:a,s:o,ms:i,Q:c}[y]||String(y||"").toLowerCase().replace(/s$/,"")},u:function(y){return y===void 0}},ke="en",T={};T[ke]=L;var $="$isDayjsObject",v=function(y){return y instanceof q||!(!y||!y[$])},A=function y(m,f,w){var d;if(!m)return ke;if(typeof m=="string"){var E=m.toLowerCase();T[E]&&(d=E),f&&(T[E]=f,d=E);var k=m.split("-");if(!d&&k.length>1)return y(k[0])}else{var R=m.name;T[R]=m,d=R}return!w&&d&&(ke=d),d||!w&&ke},M=function(y,m){if(v(y))return y.clone();var f=typeof m=="object"?m:{};return f.date=y,f.args=arguments,new q(f)},x=Re;x.l=A,x.i=v,x.w=function(y,m){return M(y,{locale:m.$L,utc:m.$u,x:m.$x,$offset:m.$offset})};var q=(function(){function y(f){this.$L=A(f.locale,null,!0),this.parse(f),this.$x=this.$x||f.x||{},this[$]=!0}var m=y.prototype;return m.parse=function(f){this.$d=(function(w){var d=w.date,E=w.utc;if(d===null)return new Date(NaN);if(x.u(d))return new Date;if(d instanceof Date)return new Date(d);if(typeof d=="string"&&!/Z$/i.test(d)){var k=d.match(H);if(k){var R=k[2]-1||0,I=(k[7]||"0").substring(0,3);return E?new Date(Date.UTC(k[1],R,k[3]||1,k[4]||0,k[5]||0,k[6]||0,I)):new Date(k[1],R,k[3]||1,k[4]||0,k[5]||0,k[6]||0,I)}}return new Date(d)})(f),this.init()},m.init=function(){var f=this.$d;this.$y=f.getFullYear(),this.$M=f.getMonth(),this.$D=f.getDate(),this.$W=f.getDay(),this.$H=f.getHours(),this.$m=f.getMinutes(),this.$s=f.getSeconds(),this.$ms=f.getMilliseconds()},m.$utils=function(){return x},m.isValid=function(){return this.$d.toString()!==C},m.isSame=function(f,w){var d=M(f);return this.startOf(w)<=d&&d<=this.endOf(w)},m.isAfter=function(f,w){return M(f)<this.startOf(w)},m.isBefore=function(f,w){return this.endOf(w)<M(f)},m.$g=function(f,w,d){return x.u(f)?this[w]:this.set(d,f)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(f,w){var d=this,E=!!x.u(w)||w,k=x.p(f),R=function(Se,Z){var ce=x.w(d.$u?Date.UTC(d.$y,Z,Se):new Date(d.$y,Z,Se),d);return E?ce:ce.endOf(u)},I=function(Se,Z){return x.w(d.toDate()[Se].apply(d.toDate("s"),(E?[0,0,0,0]:[23,59,59,999]).slice(Z)),d)},U=this.$W,J=this.$M,ne=this.$D,Ue="set"+(this.$u?"UTC":"");switch(k){case b:return E?R(1,0):R(31,11);case _:return E?R(1,J):R(0,J+1);case g:var Ee=this.$locale().weekStart||0,Pe=(U<Ee?U+7:U)-Ee;return R(E?ne-Pe:ne+(6-Pe),J);case u:case S:return I(Ue+"Hours",0);case l:return I(Ue+"Minutes",1);case a:return I(Ue+"Seconds",2);case o:return I(Ue+"Milliseconds",3);default:return this.clone()}},m.endOf=function(f){return this.startOf(f,!1)},m.$set=function(f,w){var d,E=x.p(f),k="set"+(this.$u?"UTC":""),R=(d={},d[u]=k+"Date",d[S]=k+"Date",d[_]=k+"Month",d[b]=k+"FullYear",d[l]=k+"Hours",d[a]=k+"Minutes",d[o]=k+"Seconds",d[i]=k+"Milliseconds",d)[E],I=E===u?this.$D+(w-this.$W):w;if(E===_||E===b){var U=this.clone().set(S,1);U.$d[R](I),U.init(),this.$d=U.set(S,Math.min(this.$D,U.daysInMonth())).$d}else R&&this.$d[R](I);return this.init(),this},m.set=function(f,w){return this.clone().$set(f,w)},m.get=function(f){return this[x.p(f)]()},m.add=function(f,w){var d,E=this;f=Number(f);var k=x.p(w),R=function(J){var ne=M(E);return x.w(ne.date(ne.date()+Math.round(J*f)),E)};if(k===_)return this.set(_,this.$M+f);if(k===b)return this.set(b,this.$y+f);if(k===u)return R(1);if(k===g)return R(7);var I=(d={},d[a]=n,d[l]=s,d[o]=r,d)[k]||1,U=this.$d.getTime()+f*I;return x.w(U,this)},m.subtract=function(f,w){return this.add(-1*f,w)},m.format=function(f){var w=this,d=this.$locale();if(!this.isValid())return d.invalidDate||C;var E=f||"YYYY-MM-DDTHH:mm:ssZ",k=x.z(this),R=this.$H,I=this.$m,U=this.$M,J=d.weekdays,ne=d.months,Ue=d.meridiem,Ee=function(Z,ce,Me,Be){return Z&&(Z[ce]||Z(w,E))||Me[ce].slice(0,Be)},Pe=function(Z){return x.s(R%12||12,Z,"0")},Se=Ue||function(Z,ce,Me){var Be=Z<12?"AM":"PM";return Me?Be.toLowerCase():Be};return E.replace(V,(function(Z,ce){return ce||(function(Me){switch(Me){case"YY":return String(w.$y).slice(-2);case"YYYY":return x.s(w.$y,4,"0");case"M":return U+1;case"MM":return x.s(U+1,2,"0");case"MMM":return Ee(d.monthsShort,U,ne,3);case"MMMM":return Ee(ne,U);case"D":return w.$D;case"DD":return x.s(w.$D,2,"0");case"d":return String(w.$W);case"dd":return Ee(d.weekdaysMin,w.$W,J,2);case"ddd":return Ee(d.weekdaysShort,w.$W,J,3);case"dddd":return J[w.$W];case"H":return String(R);case"HH":return x.s(R,2,"0");case"h":return Pe(1);case"hh":return Pe(2);case"a":return Se(R,I,!0);case"A":return Se(R,I,!1);case"m":return String(I);case"mm":return x.s(I,2,"0");case"s":return String(w.$s);case"ss":return x.s(w.$s,2,"0");case"SSS":return x.s(w.$ms,3,"0");case"Z":return k}return null})(Z)||k.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(f,w,d){var E,k=this,R=x.p(w),I=M(f),U=(I.utcOffset()-this.utcOffset())*n,J=this-I,ne=function(){return x.m(k,I)};switch(R){case b:E=ne()/12;break;case _:E=ne();break;case c:E=ne()/3;break;case g:E=(J-U)/6048e5;break;case u:E=(J-U)/864e5;break;case l:E=J/s;break;case a:E=J/n;break;case o:E=J/r;break;default:E=J}return d?E:x.a(E)},m.daysInMonth=function(){return this.endOf(_).$D},m.$locale=function(){return T[this.$L]},m.locale=function(f,w){if(!f)return this.$L;var d=this.clone(),E=A(f,w,!0);return E&&(d.$L=E),d},m.clone=function(){return x.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},y})(),W=q.prototype;return M.prototype=W,[["$ms",i],["$s",o],["$m",a],["$H",l],["$W",u],["$M",_],["$y",b],["$D",S]].forEach((function(y){W[y[1]]=function(m){return this.$g(m,y[0],y[1])}})),M.extend=function(y,m){return y.$i||(y(m,q,M),y.$i=!0),M},M.locale=A,M.isDayjs=v,M.unix=function(y){return M(1e3*y)},M.en=T[ke],M.Ls=T,M.p={},M}))})(Jt)),Jt.exports}var yi=pi();const _t=zn(yi),Vn={version:"0.61.53"};var Zt={exports:{}},wi=Zt.exports,On;function $i(){return On||(On=1,(function(e,t){(function(r,n){e.exports=n()})(wi,(function(){var r,n,s=1e3,i=6e4,o=36e5,a=864e5,l=/\[([^\]]+)]|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,g=2628e6,_=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,c={years:u,months:g,days:a,hours:o,minutes:i,seconds:s,milliseconds:1,weeks:6048e5},b=function(T){return T instanceof Re},S=function(T,$,v){return new Re(T,v,$.$l)},C=function(T){return n.p(T)+"s"},H=function(T){return T<0},V=function(T){return H(T)?Math.ceil(T):Math.floor(T)},L=function(T){return Math.abs(T)},B=function(T,$){return T?H(T)?{negative:!0,format:""+L(T)+$}:{negative:!1,format:""+T+$}:{negative:!1,format:""}},Re=(function(){function T(v,A,M){var x=this;if(this.$d={},this.$l=M,v===void 0&&(this.$ms=0,this.parseFromMilliseconds()),A)return S(v*c[C(A)],this);if(typeof v=="number")return this.$ms=v,this.parseFromMilliseconds(),this;if(typeof v=="object")return Object.keys(v).forEach((function(y){x.$d[C(y)]=v[y]})),this.calMilliseconds(),this;if(typeof v=="string"){var q=v.match(_);if(q){var W=q.slice(2).map((function(y){return y!=null?Number(y):0}));return this.$d.years=W[0],this.$d.months=W[1],this.$d.weeks=W[2],this.$d.days=W[3],this.$d.hours=W[4],this.$d.minutes=W[5],this.$d.seconds=W[6],this.calMilliseconds(),this}}return this}var $=T.prototype;return $.calMilliseconds=function(){var v=this;this.$ms=Object.keys(this.$d).reduce((function(A,M){return A+(v.$d[M]||0)*c[M]}),0)},$.parseFromMilliseconds=function(){var v=this.$ms;this.$d.years=V(v/u),v%=u,this.$d.months=V(v/g),v%=g,this.$d.days=V(v/a),v%=a,this.$d.hours=V(v/o),v%=o,this.$d.minutes=V(v/i),v%=i,this.$d.seconds=V(v/s),v%=s,this.$d.milliseconds=v},$.toISOString=function(){var v=B(this.$d.years,"Y"),A=B(this.$d.months,"M"),M=+this.$d.days||0;this.$d.weeks&&(M+=7*this.$d.weeks);var x=B(M,"D"),q=B(this.$d.hours,"H"),W=B(this.$d.minutes,"M"),y=this.$d.seconds||0;this.$d.milliseconds&&(y+=this.$d.milliseconds/1e3,y=Math.round(1e3*y)/1e3);var m=B(y,"S"),f=v.negative||A.negative||x.negative||q.negative||W.negative||m.negative,w=q.format||W.format||m.format?"T":"",d=(f?"-":"")+"P"+v.format+A.format+x.format+w+q.format+W.format+m.format;return d==="P"||d==="-P"?"P0D":d},$.toJSON=function(){return this.toISOString()},$.format=function(v){var A=v||"YYYY-MM-DDTHH:mm:ss",M={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 A.replace(l,(function(x,q){return q||String(M[x])}))},$.as=function(v){return this.$ms/c[C(v)]},$.get=function(v){var A=this.$ms,M=C(v);return M==="milliseconds"?A%=1e3:A=M==="weeks"?V(A/c[M]):this.$d[M],A||0},$.add=function(v,A,M){var x;return x=A?v*c[C(A)]:b(v)?v.$ms:S(v,this).$ms,S(this.$ms+x*(M?-1:1),this)},$.subtract=function(v,A){return this.add(v,A,!0)},$.locale=function(v){var A=this.clone();return A.$l=v,A},$.clone=function(){return S(this.$ms,this)},$.humanize=function(v){return r().add(this.$ms,"ms").locale(this.$l).fromNow(!v)},$.valueOf=function(){return this.asMilliseconds()},$.milliseconds=function(){return this.get("milliseconds")},$.asMilliseconds=function(){return this.as("milliseconds")},$.seconds=function(){return this.get("seconds")},$.asSeconds=function(){return this.as("seconds")},$.minutes=function(){return this.get("minutes")},$.asMinutes=function(){return this.as("minutes")},$.hours=function(){return this.get("hours")},$.asHours=function(){return this.as("hours")},$.days=function(){return this.get("days")},$.asDays=function(){return this.as("days")},$.weeks=function(){return this.get("weeks")},$.asWeeks=function(){return this.as("weeks")},$.months=function(){return this.get("months")},$.asMonths=function(){return this.as("months")},$.years=function(){return this.get("years")},$.asYears=function(){return this.as("years")},T})(),ke=function(T,$,v){return T.add($.years()*v,"y").add($.months()*v,"M").add($.days()*v,"d").add($.hours()*v,"h").add($.minutes()*v,"m").add($.seconds()*v,"s").add($.milliseconds()*v,"ms")};return function(T,$,v){r=v,n=v().$utils(),v.duration=function(x,q){var W=v.locale();return S(x,{$l:W},q)},v.isDuration=b;var A=$.prototype.add,M=$.prototype.subtract;$.prototype.add=function(x,q){return b(x)?ke(this,x,1):A.bind(this)(x,q)},$.prototype.subtract=function(x,q){return b(x)?ke(this,x,-1):M.bind(this)(x,q)}}}))})(Zt)),Zt.exports}var xi=$i();const ki=zn(xi);var nt={},Nn;function Ei(){if(Nn)return nt;Nn=1,Object.defineProperty(nt,"__esModule",{value:!0}),nt.LanguageTranslator=void 0,nt.getChildStyleToPass=e,nt.addComponent=t;function e(n,s){var i,o,a="";try{if(n&&s?.length&&(!((i=Object.keys(n))===null||i===void 0)&&i.length)&&(!((o=s?.filter(function(c){return Object.keys(n).includes(c.name)}))===null||o===void 0)&&o.length))for(var l=function(c){var b=s?.filter(function(S){return S.name===c&&S.defaultValue!==n[c]});b&&(a+="".concat(c,":").concat(n[c],";"))},u=0,g=Object.keys(n);u<g.length;u++){var _=g[u];l(_)}}catch(c){console.error("error getting child style to pass",c)}finally{return a}}function t(n){var s,i=((s=n?.repoName.split("/"))===null||s===void 0?void 0:s[1])||n?.repoName;if(!i)throw new Error("wrong componentPath "+n?.repoName);if(!n?.version)throw new Error("wrong version "+n?.version);var o=n?.iifePath||"main.iife.js";if(!document.getElementById(i+"-script"))try{var a=document.createElement("script");if(a.id=i+"-script",a.src="https://cdn.jsdelivr.net/npm/".concat(n.repoName,"@").concat(n.version,"/").concat(o),n?.local)a.src="".concat(n.local);else if(location.href.includes("localhost:6006")){var l=i.split("-")[0];a.src="http://localhost:6006/webcomponents/".concat(i.replace(l+"-",""),"/").concat(o)}document.head.appendChild(a)}catch(u){console.warn(u)}}var r=(function(){function n(s){if(this.lang="",!s?.dictionary)throw new Error("no dictionary provided");this.dictionary=s.dictionary,this.setLang(s?.lang)}return n.prototype.setLang=function(s){s||(s=n.getDefaultLang()),this.lang=s},n.prototype.translateWord=function(s,i){return n.getDictionaryWord(s,this.dictionary,i||this.lang)},n.prototype.translateDate=function(s,i,o){return n.formatDate(s,i,o||this.lang)},n.getDefaultLang=function(){var s,i,o,a="en";return navigator?.languages&&(!((o=(i=(s=navigator.languages[0])===null||s===void 0?void 0:s.split("-")[0])===null||i===void 0?void 0:i.toLowerCase())===null||o===void 0)&&o.length)&&(a=navigator.languages[0].split("-")[0].toLowerCase()),a},n.getDictionaryWord=function(s,i,o){var a;if(!s)throw new Error("no wordKey provided");if(!i)throw new Error("no dictionary provided");if(o&&(!((a=i[o])===null||a===void 0)&&a[s]))return i[o][s];var l="",u=n.getDefaultLang();if(!o||u!==o){var g=i?.[u];g?.[s]&&(l=g[s])}return l},n.formatDate=function(s,i,o){if(!s)throw new Error("no date provided");if(typeof s.getMonth!="function")throw new Error("wrong date format");var a=new Intl.DateTimeFormat(o||n.getDefaultLang(),i);return a.format(s)},n})();return nt.LanguageTranslator=r,nt}var An=Ei(),Si=Le('<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css" class="svelte-10svzuv"/>'),Mi=Le('<i class="bi bi-play-fill svelte-10svzuv"></i>'),Ti=Le('<i class="bi bi-pause-fill svelte-10svzuv"></i>'),zi=Le('<button class="btn btn-outline-dark svelte-10svzuv"><!></button>'),Di=Le('<div style="width: 100%;margin-bottom:15px" class="svelte-10svzuv"><div style="display:inline-block; width:50px;" class="svelte-10svzuv"><!></div> <div style="display:inline-block;width:calc(100% - 60px);position:relative" class="svelte-10svzuv"><hb-range-slider></hb-range-slider></div></div>',2),Vi=Le("<hb-form></hb-form>",2),Oi=Le('<button class="btn btn-sm btn-primary svelte-10svzuv">send</button>'),Ni=Le('<button class="btn btn-sm btn-primary svelte-10svzuv" disabled>send</button>'),Ai=Le('<div id="card" class="card h-100 svelte-10svzuv"><div class="ratio ratio-16x9 svelte-10svzuv" style="background-color: black;"><video id="video" class="ratio ratio-16x9 svelte-10svzuv"><source type="video/mp4" class="svelte-10svzuv"/> <track kind="captions" src="" srclang="en" label="English" class="svelte-10svzuv"/> Your browser does not support the video tag.</video></div> <div class="card-body svelte-10svzuv"><!> <!> <div id="controls" class="svelte-10svzuv"><div style="flex-grow: 2" class="svelte-10svzuv"><button class="btn btn-sm btn-secondary svelte-10svzuv">▼</button> <button class="btn btn-sm btn-secondary svelte-10svzuv">▲</button> <input type="number" class="form-control form-custom-control-numbers svelte-10svzuv"/>h <input class="form-control form-custom-control-numbers svelte-10svzuv" type="number"/>m <input type="number" class="form-control form-custom-control-numbers svelte-10svzuv"/>s</div> <div style="flex-grow: 2;text-align:center" class="svelte-10svzuv"></div> <div style="flex-grow: 2;text-align:right" class="svelte-10svzuv"><input type="number" class="form-control form-custom-control-numbers svelte-10svzuv"/>h <input class="form-control form-custom-control-numbers svelte-10svzuv" type="number"/>m <input type="number" class="form-control form-custom-control-numbers svelte-10svzuv"/>s <button class="btn btn-sm btn-secondary svelte-10svzuv">▲</button> <button class="btn btn-sm btn-secondary svelte-10svzuv">▼</button></div></div></div> <div class="card-footer svelte-10svzuv"><span style="float:left;height:30px;line-height:30px" class="svelte-10svzuv"><!></span> <span style="float:right;height:30px;line-height:30px" class="svelte-10svzuv"><!></span></div></div>',2);const Ci={hash:"svelte-10svzuv",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");
3
3
  @import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@latest/font/bootstrap-icons.css");
4
4
  /*!
5
5
  * Bootstrap v5.3.8 (https://getbootstrap.com/)
package/manifest.json CHANGED
@@ -206,5 +206,5 @@
206
206
  "size": {},
207
207
  "iifePath": "main.iife.js",
208
208
  "repoName": "@htmlbricks/hb-editor-video",
209
- "version": "0.61.52"
209
+ "version": "0.61.53"
210
210
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-editor-video",
3
- "version": "0.61.52",
3
+ "version": "0.61.53",
4
4
  "contributors": [],
5
5
  "description": "",
6
6
  "licenses": [