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