@vkontakte/videoplayer 1.1.59-dev.50aa90ae.0 → 1.1.59-dev.5ccf8bf2.0
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/es2015.cjs.js +3 -3
- package/es2015.esm.js +3 -3
- package/es2018.cjs.js +3 -3
- package/es2018.esm.js +3 -3
- package/esnext.cjs.js +3 -3
- package/esnext.esm.js +3 -3
- package/evergreen.esm.js +3 -3
- package/package.json +5 -5
- package/types/config.d.ts +0 -3
package/evergreen.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vkontakte/videoplayer v1.1.59-dev.
|
|
3
|
-
*
|
|
2
|
+
* @vkontakte/videoplayer v1.1.59-dev.5ccf8bf2.0
|
|
3
|
+
* Mon, 31 Mar 2025 07:54:23 GMT
|
|
4
4
|
* https://st.mycdn.me/static/vkontakte-videoplayer/1-1-59/doc/
|
|
5
5
|
*/
|
|
6
6
|
var wo=Symbol("$state"),as=Symbol("$state metadata"),Dl=Symbol("legacy props"),Cm=Symbol("");var Bc=!0;var qp=globalThis.process?.env?.NODE_ENV;qp||console.warn("If bundling, conditions should include development or production. If not bundling, conditions or NODE_ENV should include development or production. See https://www.npmjs.com/package/esm-env for tips on setting conditions in popular bundlers and runtimes.");var Fe=qp&&!qp.toLowerCase().includes("prod");var kr=Array.isArray,Sm=Array.prototype.indexOf,Ol=Array.from,Kp=Object.keys,Qi=Object.defineProperty,yn=Object.getOwnPropertyDescriptor,Dc=Object.getOwnPropertyDescriptors,Qp=Object.prototype,km=Array.prototype,ls=Object.getPrototypeOf;function Cs(t){return typeof t=="function"}var Ht=()=>{};function Tm(t){return t()}function Ss(t){for(var e=0;e<t.length;e++)t[e]()}var Oc=!1,Em=!1,Gp=[],Im=[];function Pm(){Oc=!1;let t=Gp.slice();Gp=[],Ss(t)}function l_(){Em=!1;let t=Im.slice();Im=[],Ss(t)}function No(t){Oc||(Oc=!0,queueMicrotask(Pm)),Gp.push(t)}function Am(){Oc&&Pm(),Em&&l_()}function Hc(t){return t===this.v}function xa(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function Mm(t,e){return t!==e}function wa(t){return!xa(t,this.v)}function Lm(){if(Fe){let t=new Error(`derived_references_self
|
|
@@ -42,7 +42,7 @@ ${n.map(f=>`
|
|
|
42
42
|
${c}in ${f}`).join("")}
|
|
43
43
|
`}),Qi(t,"component_stack",{value:n});let p=t.stack;if(p){let f=p.split(`
|
|
44
44
|
`),v=[];for(let m=0;m<f.length;m++){let g=f[m];g.includes("svelte/src/internal")||v.push(g)}Qi(t,"stack",{value:v.join(`
|
|
45
|
-
`)})}if(rv(t,e),sv(e))throw t}function uv(t,e,i=0){var o=t.reactions;if(o!==null)for(var n=0;n<o.length;n++){var s=o[n];s.f&2?uv(s,e,i+1):e===s&&(i===0?Oo(s,2048):s.f&1024&&Oo(s,4096),Ma(s))}}function qc(t){var e=Ho,i=Sn,o=Qr,n=Ft,s=fs,a=Tr,l=At,c=Ir,p=t.f;Ho=null,Sn=0,Qr=null,Ft=p&96?null:t,fs=(p&256)!==0&&(!ps||n===null||c),Tr=null,Ul(t.ctx),Ir=!1,Yc++;try{var f=(0,t.fn)(),v=t.deps;if(Ho!==null){var m;if(Gl(t,Sn),v!==null&&Sn>0)for(v.length=Sn+Ho.length,m=0;m<Ho.length;m++)v[Sn+m]=Ho[m];else t.deps=v=Ho;if(!fs)for(m=Sn;m<v.length;m++)(v[m].reactions??=[]).push(t)}else v!==null&&Sn<v.length&&(Gl(t,Sn),v.length=Sn);if(Kr()&&Qr!==null&&!(t.f&6146))for(m=0;m<Qr.length;m++)uv(Qr[m],t);return n!==null&&Yc++,f}finally{Ho=e,Sn=i,Qr=o,Ft=n,fs=s,Tr=a,Ul(l),Ir=c}}function b_(t,e){let i=e.reactions;if(i!==null){var o=Sm.call(i,t);if(o!==-1){var n=i.length-1;n===0?i=e.reactions=null:(i[o]=i[n],i.pop())}}i===null&&e.f&2&&(Ho===null||!Ho.includes(e))&&(Oo(e,4096),e.f&768||(e.f^=512),Wc(e),Gl(e,0))}function Gl(t,e){var i=t.deps;if(i!==null)for(var o=e;o<i.length;o++)b_(t,i[o])}function Aa(t){var e=t.f;if(!(e&16384)){Oo(t,1024);var i=wt,o=At;if(wt=t,Fe){var n=Do;zl(t.component_function)}try{e&16?vv(t):ff(t),pf(t);var s=qc(t);t.teardown=typeof s=="function"?s:null,t.wv=dv;var a=t.deps;if(Fe&&qr&&t.f&2048&&a!==null)for(let c=0;c<a.length;c++){var l=a[c];l.trace_need_increase&&(l.wv=ql(),l.trace_need_increase=void 0,l.trace_v=void 0)}Fe&&Ql.push(t)}catch(c){Na(c,t,i,o||t.ctx)}finally{wt=i,Fe&&zl(n)}}}function av(){console.error("Last ten effects were: ",Ql.slice(-10).map(t=>t.fn)),Ql=[]}function pv(){if(Ra>1e3){Ra=0;try{Bm()}catch(t){if(Fe&&Qi(t,"stack",{value:""}),La!==null)if(Fe)try{Na(t,La,null,null)}catch(e){throw av(),e}else Na(t,La,null,null);else throw Fe&&av(),t}}Ra++}function fv(t){var e=t.length;if(e!==0){pv();var i=ps;ps=!0;try{for(var o=0;o<e;o++){var n=t[o];n.f&1024||(n.f^=1024);var s=[];mv(n,s),y_(s)}}finally{ps=i}}}function y_(t){var e=t.length;if(e!==0)for(var i=0;i<e;i++){var o=t[i];if(!(o.f&24576))try{ks(o)&&(Aa(o),o.deps===null&&o.first===null&&o.nodes_start===null&&(o.teardown===null?mf(o):o.fn=null))}catch(n){Na(n,o,null,o.ctx)}}}function x_(){if(Kl=!1,Ra>1001)return;let t=Xs;Xs=[],fv(t),Kl||(Ra=0,La=null,Fe&&(Ql=[]))}function Ma(t){Qc===cv&&(Kl||(Kl=!0,queueMicrotask(x_))),La=t;for(var e=t;e.parent!==null;){e=e.parent;var i=e.f;if(i&96){if(!(i&1024))return;e.f^=1024}}Xs.push(e)}function mv(t,e){var i=t.first,o=[];e:for(;i!==null;){var n=i.f,s=(n&32)!==0,a=s&&(n&1024)!==0,l=i.next;if(!a&&!(n&8192))if(n&8){if(s)i.f^=1024;else{var c=Ft;try{Ft=i,ks(i)&&Aa(i)}catch(m){Na(m,i,null,i.ctx)}finally{Ft=c}}var p=i.first;if(p!==null){i=p;continue}}else n&4&&o.push(i);if(l===null){let m=i.parent;for(;m!==null;){if(t===m)break e;var f=m.next;if(f!==null){i=f;continue e}m=m.parent}}i=l}for(var v=0;v<o.length;v++)p=o[v],e.push(p),mv(p,e)}function d(t){var e=Qc,i=Xs;try{pv();let n=[];Qc=$_,Xs=n,Kl=!1,fv(i);var o=t?.();return Am(),(Xs.length>0||n.length>0)&&d(),Ra=0,La=null,Fe&&(Ql=[]),o}finally{Qc=e,Xs=i}}async function to(){await Promise.resolve(),d()}function r(t){var e=t.f,i=(e&2)!==0;if(Fl!==null&&Fl.add(t),Ft!==null&&!Ir){Tr!==null&&Tr.includes(t)&&Wm();var o=Ft.deps;t.rv<Yc&&(t.rv=Yc,Ho===null&&o!==null&&o[Sn]===t?Sn++:Ho===null?Ho=[t]:(!fs||!Ho.includes(t))&&Ho.push(t))}else if(i&&t.deps===null&&t.effects===null){var n=t,s=n.parent;s!==null&&!(s.f&256)&&(n.f^=256)}if(i&&(n=t,ks(n)&&cf(n)),Fe&&qr&&Hl!==null&&Ft!==null&&Hl.reaction===Ft){if(t.debug)t.debug();else if(t.created){var a=Hl.entries.get(t);a===void 0&&(a={read:[]},Hl.entries.set(t,a)),a.read.push(ds("TracedAt"))}}return t.v}function xt(t){var e=Ir;try{return Ir=!0,t()}finally{Ir=e}}var w_=-7169;function Oo(t,e){t.f=t.f&w_|e}function Xc(t){if(!(typeof t!="object"||!t||t instanceof EventTarget)){if(wo in t)jc(t);else if(!Array.isArray(t))for(let e in t){let i=t[e];typeof i=="object"&&i&&wo in i&&jc(i)}}}function jc(t,e=new Set){if(typeof t=="object"&&t!==null&&!(t instanceof EventTarget)&&!e.has(t)){e.add(t),t instanceof Date&&t.getTime();for(let o in t)try{jc(t[o],e)}catch{}let i=ls(t);if(i!==Object.prototype&&i!==Array.prototype&&i!==Map.prototype&&i!==Set.prototype&&i!==Date.prototype){let o=Dc(i);for(let n in o){let s=o[n].get;if(s)try{s.call(t)}catch{}}}}}var nt=!1;function Yi(t){nt=t}var _t;function ri(t){if(t===null)throw Ys(),cs;return _t=t}function bi(){return ri(vo(_t))}function $(t){if(nt){if(vo(_t)!==null)throw Ys(),cs;_t=t}}function Te(t=1){if(nt){for(var e=t,i=_t;e--;)i=vo(i);_t=i}}function Da(){for(var t=0,e=_t;;){if(e.nodeType===8){var i=e.data;if(i===qs){if(t===0)return e;t-=1}else(i===Ca||i===Ws)&&(t+=1)}var o=vo(e);e.remove(),e=o}}function ke(t,e=null,i){var o=null;if(Fe&&qr&&(o=ds("CreatedAt")),typeof t!="object"||t===null||wo in t)return t;let n=ls(t);if(n!==Qp&&n!==km)return t;var s=new Map,a=kr(t),l=Ci(0);a&&s.set("length",Ci(t.length,o));var c;if(Fe)if(c={parent:e,owners:null},i){let p=i.v?.[as]?.owners;c.owners=p?new Set(p):null}else c.owners=e===null?At!==null?new Set([At.function]):null:new Set;return new Proxy(t,{defineProperty(p,f,v){(!("value"in v)||v.configurable===!1||v.enumerable===!1||v.writable===!1)&&Um();var m=s.get(f);return m===void 0?(m=Ci(v.value,o),s.set(f,m)):K(m,ke(v.value,c)),!0},deleteProperty(p,f){var v=s.get(f);if(v===void 0)f in p&&s.set(f,Ci(Li,o));else{if(a&&typeof f=="string"){var m=s.get("length"),g=Number(f);Number.isInteger(g)&&g<m.v&&K(m,g)}K(v,Li),gv(l)}return!0},get(p,f,v){if(Fe&&f===as)return c;if(f===wo)return t;var m=s.get(f),g=f in p;if(m===void 0&&(!g||yn(p,f)?.writable)&&(m=Ci(ke(g?p[f]:Li,c),o),s.set(f,m)),m!==void 0){var b=r(m);if(Fe){var w=b?.[as];w&&w?.parent!==c&&ef(c,w)}return b===Li?void 0:b}return Reflect.get(p,f,v)},getOwnPropertyDescriptor(p,f){var v=Reflect.getOwnPropertyDescriptor(p,f);if(v&&"value"in v){var m=s.get(f);m&&(v.value=r(m))}else if(v===void 0){var g=s.get(f),b=g?.v;if(g!==void 0&&b!==Li)return{enumerable:!0,configurable:!0,value:b,writable:!0}}return v},has(p,f){if(Fe&&f===as||f===wo)return!0;var v=s.get(f),m=v!==void 0&&v.v!==Li||Reflect.has(p,f);if(v!==void 0||wt!==null&&(!m||yn(p,f)?.writable)){v===void 0&&(v=Ci(m?ke(p[f],c):Li,o),s.set(f,v));var g=r(v);if(g===Li)return!1}return m},set(p,f,v,m){var g=s.get(f),b=f in p;if(a&&f==="length")for(var w=v;w<g.v;w+=1){var k=s.get(w+"");k!==void 0?K(k,Li):w in p&&(k=Ci(Li,o),s.set(w+"",k))}if(g===void 0?(!b||yn(p,f)?.writable)&&(g=Ci(void 0,o),K(g,ke(v,c)),s.set(f,g)):(b=g.v!==Li,K(g,ke(v,c))),Fe){var V=v?.[as];V&&V?.parent!==c&&ef(c,V),ev(c)}var F=Reflect.getOwnPropertyDescriptor(p,f);if(F?.set&&F.set.call(m,v),!b){if(a&&typeof f=="string"){var M=s.get("length"),H=Number(f);Number.isInteger(H)&&H>=M.v&&K(M,H+1)}gv(l)}return!0},ownKeys(p){r(l);var f=Reflect.ownKeys(p).filter(g=>{var b=s.get(g);return b===void 0||b.v!==Li});for(var[v,m]of s)m.v!==Li&&!(v in p)&&f.push(v);return f},setPrototypeOf(){zm()}})}function gv(t,e=1){K(t,t.v+e)}function Jc(t){return t!==null&&typeof t=="object"&&wo in t?t[wo]:t}function hv(){let t=Array.prototype,e=Array.__svelte_cleanup;e&&e();let{indexOf:i,lastIndexOf:o,includes:n}=t;t.indexOf=function(s,a){let l=i.call(this,s,a);if(l===-1){for(let c=a??0;c<this.length;c+=1)if(Jc(this[c])===s){Fc("array.indexOf(...)");break}}return l},t.lastIndexOf=function(s,a){let l=o.call(this,s,a??this.length-1);if(l===-1){for(let c=0;c<=(a??this.length-1);c+=1)if(Jc(this[c])===s){Fc("array.lastIndexOf(...)");break}}return l},t.includes=function(s,a){let l=n.call(this,s,a);if(!l){for(let c=0;c<this.length;c+=1)if(Jc(this[c])===s){Fc("array.includes(...)");break}}return l},Array.__svelte_cleanup=()=>{t.indexOf=i,t.lastIndexOf=o,t.includes=n}}var Js,_v,$v,bv;function ed(){if(Js===void 0){Js=window,_v=document;var t=Element.prototype,e=Node.prototype;$v=yn(e,"firstChild").get,bv=yn(e,"nextSibling").get,t.__click=void 0,t.__className="",t.__attributes=null,t.__styles=null,t.__e=void 0,Text.prototype.__t=void 0,Fe&&(t.__svelte_meta=null,hv())}}function Fo(t=""){return document.createTextNode(t)}function si(t){return $v.call(t)}function vo(t){return bv.call(t)}function y(t,e){if(!nt)return si(t);var i=si(_t);if(i===null)i=_t.appendChild(Fo());else if(e&&i.nodeType!==3){var o=Fo();return i?.before(o),ri(o),o}return ri(i),i}function ye(t,e){if(!nt){var i=si(t);return i.nodeType===8&&i.data===""?vo(i):i}if(e&&_t?.nodeType!==3){var o=Fo();return _t?.before(o),ri(o),o}return _t}function N(t,e=1,i=!1){let o=nt?_t:t;for(var n;e--;)n=o,o=vo(o);if(!nt)return o;var s=o?.nodeType;if(i&&s!==3){var a=Fo();return o===null?n?.after(a):o.before(a),ri(a),a}return ri(o),o}function jl(t){t.textContent=""}function gf(t){wt===null&&Ft===null&&Nm(t),Ft!==null&&Ft.f&256&&wt===null&&Vm(),Zc&&Rm(t)}function C_(t,e){var i=e.last;i===null?e.last=e.first=t:(i.next=t,t.prev=i,e.last=t)}function ea(t,e,i,o=!0){var n=(t&64)!==0,s=wt;if(Fe)for(;s!==null&&s.f&262144;)s=s.parent;var a={ctx:At,deps:null,nodes_start:null,nodes_end:null,f:t|2048,first:null,fn:e,last:null,next:null,parent:n?null:s,prev:null,teardown:null,transitions:null,wv:0};if(Fe&&(a.component_function=Do),i){var l=ps;try{Ea(!0),Aa(a),a.f|=32768}catch(f){throw Gi(a),f}finally{Ea(l)}}else e!==null&&Ma(a);var c=i&&a.deps===null&&a.first===null&&a.nodes_start===null&&a.teardown===null&&(a.f&1048704)===0;if(!c&&!n&&o&&(s!==null&&C_(a,s),Ft!==null&&Ft.f&2)){var p=Ft;(p.effects??=[]).push(a)}return a}function kn(t){let e=ea(8,null,!1);return Oo(e,1024),e.teardown=t,e}function ot(t){gf("$effect");var e=wt!==null&&(wt.f&32)!==0&&At!==null&&!At.m;if(Fe&&Qi(t,"name",{value:"$effect"}),e){var i=At;(i.e??=[]).push({fn:t,effect:wt,reaction:Ft})}else{var o=Jo(t);return o}}function Sa(t){return gf("$effect.pre"),Fe&&Qi(t,"name",{value:"$effect.pre"}),mo(t)}function td(t){let e=ea(64,t,!0);return()=>{Gi(e)}}function xv(t){let e=ea(64,t,!0);return(i={})=>new Promise(o=>{i.outro?on(e,()=>{Gi(e),o(void 0)}):(Gi(e),o(void 0))})}function Jo(t){return ea(4,t,!1)}function mo(t){return ea(8,t,!0)}function L(t,e=[],i=_){let o=e.map(i),n=()=>t(...o.map(r));return Fe&&Qi(n,"name",{value:"{expression}"}),ji(n)}function ji(t,e=0){return ea(24|e,t,!0)}function Ri(t,e=!0){return ea(40,t,!0,e)}function pf(t){var e=t.teardown;if(e!==null){let i=Zc,o=Ft;uf(!0),eo(null);try{e.call(null)}finally{uf(i),eo(o)}}}function ff(t,e=!1){var i=t.first;for(t.first=t.last=null;i!==null;){var o=i.next;Gi(i,e),i=o}}function vv(t){for(var e=t.first;e!==null;){var i=e.next;e.f&32||Gi(e),e=i}}function Gi(t,e=!0){var i=!1;if((e||t.f&524288)&&t.nodes_start!==null){for(var o=t.nodes_start,n=t.nodes_end;o!==null;){var s=o===n?null:vo(o);o.remove(),o=s}i=!0}ff(t,e&&!i),Gl(t,0),Oo(t,16384);var a=t.transitions;if(a!==null)for(let c of a)c.stop();pf(t);var l=t.parent;l!==null&&l.first!==null&&mf(t),Fe&&(t.component_function=null),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes_start=t.nodes_end=null}function mf(t){var e=t.parent,i=t.prev,o=t.next;i!==null&&(i.next=o),o!==null&&(o.prev=i),e!==null&&(e.first===t&&(e.first=o),e.last===t&&(e.last=i))}function on(t,e){var i=[];id(t,i,!0),hf(i,()=>{Gi(t),e&&e()})}function hf(t,e){var i=t.length;if(i>0){var o=()=>--i||e();for(var n of t)n.out(o)}else e()}function id(t,e,i){if(!(t.f&8192)){if(t.f^=8192,t.transitions!==null)for(let a of t.transitions)(a.is_global||i)&&e.push(a);for(var o=t.first;o!==null;){var n=o.next,s=(o.f&65536)!==0||(o.f&32)!==0;id(o,e,s?i:!1),o=n}}}function ms(t){wv(t,!0)}function wv(t,e){if(t.f&8192){t.f^=8192,t.f&1024||(t.f^=1024),ks(t)&&(Oo(t,2048),Ma(t));for(var i=t.first;i!==null;){var o=i.next,n=(i.f&65536)!==0||(i.f&32)!==0;wv(i,n?e:!1),i=o}if(t.transitions!==null)for(let s of t.transitions)(s.is_global||e)&&s.in()}}function _f(t,e){if(e){let i=document.body;t.autofocus=!0,No(()=>{document.activeElement===i&&t.focus()})}}function $f(t){var e=Ft,i=wt;eo(null),wi(null);try{return t()}finally{eo(e),wi(i)}}var bf=new Set,od=new Set;function ta(t){if(!nt)return;t.onload&&t.removeAttribute("onload"),t.onerror&&t.removeAttribute("onerror");let e=t.__e;e!==void 0&&(t.__e=void 0,queueMicrotask(()=>{t.isConnected&&t.dispatchEvent(e)}))}function yf(t,e,i,o={}){function n(s){if(o.capture||Oa.call(e,s),!s.cancelBubble)return $f(()=>i?.call(this,s))}return t.startsWith("pointer")||t.startsWith("touch")||t==="wheel"?No(()=>{e.addEventListener(t,n,o)}):e.addEventListener(t,n,o),n}function Dt(t,e,i,o,n){var s={capture:o,passive:n},a=yf(t,e,i,s);(e===document.body||e===window||e===document)&&kn(()=>{e.removeEventListener(t,a,s)})}function pt(t){for(var e=0;e<t.length;e++)bf.add(t[e]);for(var i of od)i(t)}function Oa(t){var e=this,i=e.ownerDocument,o=t.type,n=t.composedPath?.()||[],s=n[0]||t.target,a=0,l=t.__root;if(l){var c=n.indexOf(l);if(c!==-1&&(e===document||e===window)){t.__root=e;return}var p=n.indexOf(e);if(p===-1)return;c<=p&&(a=c)}if(s=n[a]||t.target,s!==e){Qi(t,"currentTarget",{configurable:!0,get(){return s||i}});var f=Ft,v=wt;eo(null),wi(null);try{for(var m,g=[];s!==null;){var b=s.assignedSlot||s.parentNode||s.host||null;try{var w=s["__"+o];if(w!==void 0&&!s.disabled)if(kr(w)){var[k,...V]=w;k.apply(s,[t,...V])}else w.call(s,t)}catch(F){m?g.push(F):m=F}if(t.cancelBubble||b===e||b===null)break;s=b}if(m){for(let F of g)queueMicrotask(()=>{throw F});throw m}}finally{t.__root=e,delete t.currentTarget,eo(f),wi(v)}}}var k_;function Cv(){k_=void 0}function Ha(t){var e=document.createElement("template");return e.innerHTML=t,e.content}function io(t,e){var i=wt;i.nodes_start===null&&(i.nodes_start=t,i.nodes_end=e)}function D(t,e){var i=(e&1)!==0,o=(e&2)!==0,n,s=!t.startsWith("<!>");return()=>{if(nt)return io(_t,null),_t;n===void 0&&(n=Ha(s?t:"<!>"+t),i||(n=si(n)));var a=o?document.importNode(n,!0):n.cloneNode(!0);if(i){var l=si(a),c=a.lastChild;io(l,c)}else io(a,a);return a}}function Ie(t,e,i="svg"){var o=!t.startsWith("<!>"),n=(e&1)!==0,s=`<${i}>${o?t:"<!>"+t}</${i}>`,a;return()=>{if(nt)return io(_t,null),_t;if(!a){var l=Ha(s),c=si(l);if(n)for(a=document.createDocumentFragment();si(c);)a.appendChild(si(c));else a=si(c)}var p=a.cloneNode(!0);if(n){var f=si(p),v=p.lastChild;io(f,v)}else io(p,p);return p}}function er(t=""){if(!nt){var e=Fo(t+"");return io(e,e),e}var i=_t;return i.nodeType!==3&&(i.before(i=Fo()),ri(i)),io(i,i),i}function Ye(){if(nt)return io(_t,null),_t;var t=document.createDocumentFragment(),e=document.createComment(""),i=Fo();return t.append(e,i),io(e,i),t}function x(t,e){if(nt){wt.nodes_end=_t,bi();return}t!==null&&t.before(e)}var I_=/\r/g;function kv(t){t=t.replace(I_,"");let e=5381,i=t.length;for(;i--;)e=(e<<5)-e^t.charCodeAt(i);return(e>>>0).toString(36)}function Tv(t){return t.endsWith("capture")&&t!=="gotpointercapture"&&t!=="lostpointercapture"}var E_=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function Iv(t){return E_.includes(t)}var P_=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected","webkitdirectory","defer","disablepictureinpicture","disableremoteplayback"];var A_={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function Ev(t){return t=t.toLowerCase(),A_[t]??t}var qw=[...P_,"formNoValidate","isMap","noModule","playsInline","readOnly","value","volume","defaultValue","defaultChecked","srcObject","noValidate","allowFullscreen","disablePictureInPicture","disableRemotePlayback"];var M_=["touchstart","touchmove"];function Pv(t){return M_.includes(t)}var L_=["textarea","script","style","title"];function Av(t){return L_.includes(t)}function xf(t){return t?.replace(/\//g,"/\u200B")}var Zl=!0;function nd(t){Zl=t}function Se(t,e){var i=e==null?"":typeof e=="object"?e+"":e;i!==(t.__t??=t.nodeValue)&&(t.__t=i,t.nodeValue=i+"")}function rd(t,e){return Mv(t,e)}function Cf(t,e){ed(),e.intro=e.intro??!1;let i=e.target,o=nt,n=_t;try{for(var s=si(i);s&&(s.nodeType!==8||s.data!==Ca);)s=vo(s);if(!s)throw cs;Yi(!0),ri(s),bi();let a=Mv(t,{...e,anchor:s});if(_t===null||_t.nodeType!==8||_t.data!==qs)throw Ys(),cs;return Yi(!1),a}catch(a){if(a===cs)return e.recover===!1&&Dm(),ed(),jl(i),Yi(!1),rd(t,e);throw a}finally{Yi(o),ri(n),Cv()}}var Fa=new Map;function Mv(t,{target:e,anchor:i,props:o={},events:n,context:s,intro:a=!0}){ed();var l=new Set,c=v=>{for(var m=0;m<v.length;m++){var g=v[m];if(!l.has(g)){l.add(g);var b=Pv(g);e.addEventListener(g,Oa,{passive:b});var w=Fa.get(g);w===void 0?(document.addEventListener(g,Oa,{passive:b}),Fa.set(g,1)):Fa.set(g,w+1)}}};c(Ol(bf)),od.add(c);var p=void 0,f=xv(()=>{var v=i??e.appendChild(Fo());return Ri(()=>{if(s){I({});var m=At;m.c=s}n&&(o.$$events=n),nt&&io(v,null),Zl=a,p=t(v,o)||{},Zl=!0,nt&&(wt.nodes_end=_t),s&&E()}),()=>{for(var m of l){e.removeEventListener(m,Oa);var g=Fa.get(m);--g===0?(document.removeEventListener(m,Oa),Fa.delete(m)):Fa.set(m,g)}od.delete(c),v!==i&&v.parentNode?.removeChild(v)}});return wf.set(p,f),p}var wf=new WeakMap;function Sf(t,e){let i=wf.get(t);return i?(wf.delete(t),i(e)):(Fe&&Zm(),Promise.resolve())}var Tf;function T(t){return Tf=t.target,new kf(t)}var kf=class{#t;#e;constructor(e){var i=new Map,o=(s,a)=>{var l=us(a);return i.set(s,l),l};let n=new Proxy({...e.props||{},$$events:{}},{get(s,a){return r(i.get(a)??o(a,Reflect.get(s,a)))},has(s,a){return a===Dl?!0:(r(i.get(a)??o(a,Reflect.get(s,a))),Reflect.has(s,a))},set(s,a,l){return K(i.get(a)??o(a,l),l),Reflect.set(s,a,l)}});this.#e=(e.hydrate?Cf:rd)(e.component,{target:e.target,anchor:e.anchor,props:n,context:e.context,intro:e.intro??!1,recover:e.recover}),(!e?.props?.$$host||e.sync===!1)&&d(),this.#t=n.$$events;for(let s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||Qi(this,s,{get(){return this.#e[s]},set(a){this.#e[s]=a},enumerable:!0});this.#e.$set=s=>{Object.assign(n,s)},this.#e.$destroy=()=>{Sf(this.#e)}}$set(e){this.#e.$set(e)}$on(e,i){this.#t[e]=this.#t[e]||[];let o=(...n)=>i.call(this,...n);return this.#t[e].push(o),()=>{this.#t[e]=this.#t[e].filter(n=>n!==o)}}$destroy(){this.#e.$destroy()}};var Lv="5";typeof window<"u"&&(window.__svelte||={v:new Set}).v.add(Lv);var Rv=new Map;function Vv(t,e){var i=Rv.get(t);i||(i=new Set,Rv.set(t,i)),i.add(e)}function O(t,e,i=!1){nt&&bi();var o=t,n=null,s=null,a=Li,l=i?65536:0,c=!1;let p=(v,m=!0)=>{c=!0,f(m,v)},f=(v,m)=>{if(a===(a=v))return;let g=!1;if(nt){let b=o.data===Ws;!!a===b&&(o=Da(),ri(o),Yi(!1),g=!0)}a?(n?ms(n):m&&(n=Ri(()=>m(o))),s&&on(s,()=>{s=null})):(s?ms(s):m&&(s=Ri(()=>m(o))),n&&on(n,()=>{n=null})),g&&Yi(!0)};ji(()=>{c=!1,e(p),c||f(null,null)},l),nt&&(o=_t)}function Xl(t,e,i){nt&&bi();var o=t,n=Li,s,a=Kr()?Mm:xa;ji(()=>{a(n,n=e())&&(s&&on(s),s=Ri(()=>i(o)))}),nt&&(o=_t)}var Is=null;function Pf(t){Is=t}function Fi(t,e){return e}function U_(t,e,i,o){for(var n=[],s=e.length,a=0;a<s;a++)id(e[a].e,n,!0);var l=s>0&&n.length===0&&i!==null;if(l){var c=i.parentNode;jl(c),c.append(i),o.clear(),Ts(t,e[0].prev,e[s-1].next)}hf(n,()=>{for(var p=0;p<s;p++){var f=e[p];l||(o.delete(f.k),Ts(t,f.prev,f.next)),Gi(f.e,!l)}})}function vi(t,e,i,o,n,s=null){var a=t,l={flags:e,items:new Map,first:null},c=(e&4)!==0;if(c){var p=t;a=nt?ri(si(p)):p.appendChild(Fo())}nt&&bi();var f=null,v=!1,m=Er(()=>{var g=i();return kr(g)?g:g==null?[]:Ol(g)});ji(()=>{var g=r(m),b=g.length;if(v&&b===0)return;v=b===0;let w=!1;if(nt){var k=a.data===Ws;k!==(b===0)&&(a=Da(),ri(a),Yi(!1),w=!0)}if(nt){for(var V=null,F,M=0;M<b;M++){if(_t.nodeType===8&&_t.data===qs){a=_t,w=!0,Yi(!1);break}var H=g[M],S=o(H,M);F=Dv(_t,l,V,null,H,S,M,n,e,i),l.items.set(S,F),V=F}b>0&&ri(Da())}nt||z_(g,l,a,n,e,o,i),s!==null&&(b===0?f?ms(f):f=Ri(()=>s(a)):f!==null&&on(f,()=>{f=null})),w&&Yi(!0),r(m)}),nt&&(a=_t)}function z_(t,e,i,o,n,s,a){var l=(n&8)!==0,c=(n&3)!==0,p=t.length,f=e.items,v=e.first,m=v,g,b=null,w,k=[],V=[],F,M,H,S;if(l)for(S=0;S<p;S+=1)F=t[S],M=s(F,S),H=f.get(M),H!==void 0&&(H.a?.measure(),(w??=new Set).add(H));for(S=0;S<p;S+=1){if(F=t[S],M=s(F,S),H=f.get(M),H===void 0){var q=m?m.e.nodes_start:i;b=Dv(q,e,b,b===null?e.first:b.next,F,M,S,o,n,a),f.set(M,b),k=[],V=[],m=b.next;continue}if(c&&W_(H,F,S,n),H.e.f&8192&&(ms(H.e),l&&(H.a?.unfix(),(w??=new Set).delete(H))),H!==m){if(g!==void 0&&g.has(H)){if(k.length<V.length){var W=V[0],U;b=W.prev;var ie=k[0],se=k[k.length-1];for(U=0;U<k.length;U+=1)Nv(k[U],W,i);for(U=0;U<V.length;U+=1)g.delete(V[U]);Ts(e,ie.prev,se.next),Ts(e,b,ie),Ts(e,se,W),m=W,b=se,S-=1,k=[],V=[]}else g.delete(H),Nv(H,m,i),Ts(e,H.prev,H.next),Ts(e,H,b===null?e.first:b.next),Ts(e,b,H),b=H;continue}for(k=[],V=[];m!==null&&m.k!==M;)m.e.f&8192||(g??=new Set).add(m),V.push(m),m=m.next;if(m===null)continue;H=m}k.push(H),b=H,m=H.next}if(m!==null||g!==void 0){for(var fe=g===void 0?[]:Ol(g);m!==null;)m.e.f&8192||fe.push(m),m=m.next;var J=fe.length;if(J>0){var xe=n&4&&p===0?i:null;if(l){for(S=0;S<J;S+=1)fe[S].a?.measure();for(S=0;S<J;S+=1)fe[S].a?.fix()}U_(e,fe,xe,f)}}l&&No(()=>{if(w!==void 0)for(H of w)H.a?.apply()}),wt.first=e.first&&e.first.e,wt.last=b&&b.e}function W_(t,e,i,o){o&1&&Pa(t.v,e),o&2?Pa(t.i,i):t.i=i}function Dv(t,e,i,o,n,s,a,l,c,p){var f=Is,v=(c&1)!==0,m=(c&16)===0,g=v?m?us(n):Ci(n):n,b=c&2?Ci(a):a;Fe&&v&&(g.debug=()=>{var k=typeof b=="number"?a:b.v;p()[k]});var w={i:b,v:g,k:s,a:null,e:null,prev:i,next:o};Is=w;try{return w.e=Ri(()=>l(t,g,b,p),nt),w.e.prev=i&&i.e,w.e.next=o&&o.e,i===null?e.first=w:(i.next=w,i.e.next=w.e),o!==null&&(o.prev=w,o.e.prev=w.e),w}finally{Is=f}}function Nv(t,e,i){for(var o=t.next?t.next.e.nodes_start:i,n=e?e.e.nodes_start:i,s=t.e.nodes_start;s!==o;){var a=vo(s);n.before(s),s=a}}function Ts(t,e,i){e===null?t.first=i:(e.next=i,e.e.next=i&&i.e),i!==null&&(i.prev=e,i.e.prev=e&&e.e)}function q_(t,e,i){if(!e||e===kv(String(i??"")))return;let o,n=t.__svelte_meta?.loc;n?o=`near ${n.file}:${n.line}:${n.column}`:Do?.[pi]&&(o=`in ${Do[pi]}`),jm(xf(o))}function Jl(t,e,i,o,n){var s=t,a="",l;ji(()=>{if(a===(a=e()??"")){nt&&bi();return}l!==void 0&&(Gi(l),l=void 0),a!==""&&(l=Ri(()=>{if(nt){for(var c=_t.data,p=bi(),f=p;p!==null&&(p.nodeType!==8||p.data!=="");)f=p,p=vo(p);if(p===null)throw Ys(),cs;Fe&&!n&&q_(p.parentNode,c,a),io(_t,f),s=ri(p);return}var v=a+"";i?v=`<svg>${v}</svg>`:o&&(v=`<math>${v}</math>`);var m=Ha(v);if((i||o)&&(m=si(m)),io(si(m),m.lastChild),i||o)for(;si(m);)s.before(si(m));else s.before(m)}))})}function De(t,e,i,o,n){nt&&bi();var s=e.$$slots?.[i],a=!1;s===!0&&(s=e[i==="default"?"children":i],a=!0),s===void 0?n!==null&&n(t):s(t,a?()=>o:o)}function oo(t,e,...i){var o=t,n=Ht,s;ji(()=>{n!==(n=e())&&(s&&(Gi(s),s=null),Fe&&n==null&&Om(),s=Ri(()=>n(o,...i)))},65536),nt&&(o=_t)}function Si(t,e,i){nt&&bi();var o=t,n,s;ji(()=>{n!==(n=e())&&(s&&(on(s),s=null),n&&(s=Ri(()=>i(o,n))))},65536),nt&&(o=_t)}function ec(t,e,i,o,n,s){let a=nt;nt&&bi();var l=Fe&&s&&At?.function[pi],c,p,f=null;nt&&_t.nodeType===1&&(f=_t,bi());var v=nt?_t:t,m,g=Is;ji(()=>{let b=e()||null;var w=n?n():i||b==="svg"?Ks:null;if(b!==c){var k=Is;Pf(g),m&&(b===null?on(m,()=>{m=null,p=null}):b===p?ms(m):(Gi(m),nd(!1))),b&&b!==p&&(m=Ri(()=>{if(f=nt?f:w?document.createElementNS(w,b):document.createElement(b),Fe&&s&&(f.__svelte_meta={loc:{file:l,line:s[0],column:s[1]}}),io(f,f),o){nt&&Av(b)&&f.append(document.createComment(""));var V=nt?si(f):f.appendChild(Fo());nt&&(V===null?Yi(!1):ri(V)),o(f,V)}wt.nodes_end=f,v.before(f)})),c=b,c&&(p=c),nd(!0),Pf(k)}},65536),a&&(Yi(!0),ri(v))}function oe(t,e){No(()=>{var i=t.getRootNode(),o=i.host?i:i.head??i.ownerDocument.head??Tf?.parentNode;if(!o?.querySelector("#"+e.hash)){let n=document.createElement("style");n.id=e.hash,n.textContent=e.code,o.appendChild(n),Fe&&Vv(e.hash,n)}})}function Ov(t){var e,i,o="";if(typeof t=="string"||typeof t=="number")o+=t;else if(typeof t=="object")if(Array.isArray(t)){var n=t.length;for(e=0;e<n;e++)t[e]&&(i=Ov(t[e]))&&(o&&(o+=" "),o+=i)}else for(i in t)t[i]&&(o&&(o+=" "),o+=i);return o}function Hv(){for(var t,e,i=0,o="",n=arguments.length;i<n;i++)(t=arguments[i])&&(e=Ov(t))&&(o&&(o+=" "),o+=e);return o}function tc(t){return typeof t=="object"?Hv(t):t??""}function zv(t,e){e?t.hasAttribute("selected")||t.setAttribute("selected",""):t.removeAttribute("selected")}function pe(t,e,i,o){var n=t.__attributes??={};if(nt&&(n[e]=t.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&t.nodeName==="LINK")){o||K_(t,e,i??"");return}n[e]!==(n[e]=i)&&(e==="style"&&"__styles"in t&&(t.__styles={}),e==="loading"&&(t[Cm]=i),i==null?t.removeAttribute(e):typeof i!="string"&&Wv(t).includes(e)?t[e]=i:t.setAttribute(e,i))}function Le(t,e,i,o,n=!1,s=!1,a=!1){let l=nt&&s;l&&Yi(!1);var c=e||{},p=t.tagName==="OPTION";for(var f in e)f in i||(i[f]=null);i.class&&(i.class=tc(i.class)),o!==void 0&&(i.class=i.class?i.class+" "+o:o);var v=Wv(t),m=t.__attributes??={};for(let M in i){let H=i[M];if(p&&M==="value"&&H==null){t.value=t.__value="",c[M]=H;continue}var g=c[M];if(H!==g){c[M]=H;var b=M[0]+M[1];if(b!=="$$"){if(b==="on"){let S={},q="$$"+M,W=M.slice(2);var w=Iv(W);if(Tv(W)&&(W=W.slice(0,-7),S.capture=!0),!w&&g){if(H!=null)continue;t.removeEventListener(W,c[q],S),c[q]=null}if(H!=null)if(w)t[`__${W}`]=H,pt([W]);else{let U=function(ie){c[M].call(this,ie)};var F=U;c[q]=yf(W,t,U,S)}else w&&(t[`__${W}`]=void 0)}else if(M==="style"&&H!=null)t.style.cssText=H+"";else if(M==="autofocus")_f(t,!!H);else if(!s&&(M==="__value"||M==="value"&&H!=null))t.value=t.__value=H;else if(M==="selected"&&p)zv(t,H);else{var k=M;n||(k=Ev(k));var V=k==="defaultValue"||k==="defaultChecked";if(H==null&&!s&&!V)if(m[M]=null,k==="value"||k==="checked"){let S=t;if(k==="value"){let q=S.defaultValue;S.removeAttribute(k),S.defaultValue=q}else{let q=S.defaultChecked;S.removeAttribute(k),S.defaultChecked=q}}else t.removeAttribute(M);else V||v.includes(k)&&(s||typeof H!="string")?t[k]=H:typeof H!="function"&&pe(t,k,H)}M==="style"&&"__styles"in t&&(t.__styles={})}}}return l&&Yi(!0),c}var Fv=new Map;function Wv(t){var e=Fv.get(t.nodeName);if(e)return e;Fv.set(t.nodeName,e=[]);for(var i,o=t,n=Element.prototype;n!==o;){i=Dc(o);for(var s in i)i[s].set&&e.push(s);o=ls(o)}return e}function K_(t,e,i){Fe&&(e==="srcset"&&Q_(t,i)||Af(t.getAttribute(e)??"",i)||Ym(e,t.outerHTML.replace(t.innerHTML,t.innerHTML&&"..."),String(i)))}function Af(t,e){return t===e?!0:new URL(t,document.baseURI).href===new URL(e,document.baseURI).href}function Uv(t){return t.split(",").map(e=>e.trim().split(" ").filter(Boolean))}function Q_(t,e){var i=Uv(t.srcset),o=Uv(e);return o.length===i.length&&o.every(([n,s],a)=>s===i[a][1]&&(Af(i[a][0],n)||Af(n,i[a][0])))}function Uo(t,e,i){var o=t.__className,n=G_(e,i);nt&&t.className===n?t.__className=n:(o!==n||nt&&t.className!==n)&&(e==null&&!i?t.removeAttribute("class"):t.className=n,t.__className=n)}function G_(t,e){return(t??"")+(e?" "+e:"")}function ne(t,e,i){if(i){if(t.classList.contains(e))return;t.classList.add(e)}else{if(!t.classList.contains(e))return;t.classList.remove(e)}}var Y_=Bc?()=>performance.now():()=>Date.now(),Ar={tick:t=>(Bc?requestAnimationFrame:Ht)(t),now:()=>Y_(),tasks:new Set};function qv(){let t=Ar.now();Ar.tasks.forEach(e=>{e.c(t)||(Ar.tasks.delete(e),e.f())}),Ar.tasks.size!==0&&Ar.tick(qv)}function Kv(t){let e;return Ar.tasks.size===0&&Ar.tick(qv),{promise:new Promise(i=>{Ar.tasks.add(e={c:t,f:i})}),abort(){Ar.tasks.delete(e)}}}function sd(t,e){t.dispatchEvent(new CustomEvent(e))}function J_(t){if(t==="float")return"cssFloat";if(t==="offset")return"cssOffset";if(t.startsWith("--"))return t;let e=t.split("-");return e.length===1?e[0]:e[0]+e.slice(1).map(i=>i[0].toUpperCase()+i.slice(1)).join("")}function Qv(t){let e={},i=t.split(";");for(let o of i){let[n,s]=o.split(":");if(!n||s===void 0)break;let a=J_(n.trim());e[a]=s.trim()}return e}var e$=t=>t;function Lf(t,e,i,o){var n=(t&1)!==0,s=(t&2)!==0,a=n&&s,l=(t&4)!==0,c=a?"both":n?"in":"out",p,f=e.inert,v=e.style.overflow,m,g;function b(){var M=Ft,H=wt;eo(null),wi(null);try{return p??=i()(e,o?.()??{},{direction:c})}finally{eo(M),wi(H)}}var w={is_global:l,in(){if(e.inert=f,!n){g?.abort(),g?.reset?.();return}s||m?.abort(),sd(e,"introstart"),m=Mf(e,b(),g,1,()=>{sd(e,"introend"),m?.abort(),m=p=void 0,e.style.overflow=v})},out(M){if(!s){M?.(),p=void 0;return}e.inert=!0,sd(e,"outrostart"),g=Mf(e,b(),m,0,()=>{sd(e,"outroend"),M?.()})},stop:()=>{m?.abort(),g?.abort()}},k=wt;if((k.transitions??=[]).push(w),n&&Zl){var V=l;if(!V){for(var F=k.parent;F&&F.f&65536;)for(;(F=F.parent)&&!(F.f&16););V=!F||(F.f&32768)!==0}V&&Jo(()=>{xt(()=>w.in())})}}function Mf(t,e,i,o,n){var s=o===1;if(Cs(e)){var a,l=!1;return No(()=>{if(!l){var k=e({direction:s?"in":"out"});a=Mf(t,k,i,o,n)}}),{abort:()=>{l=!0,a?.abort()},deactivate:()=>a.deactivate(),reset:()=>a.reset(),t:()=>a.t()}}if(i?.deactivate(),!e?.duration)return n(),{abort:Ht,deactivate:Ht,reset:Ht,t:()=>o};let{delay:c=0,css:p,tick:f,easing:v=e$}=e;var m=[];if(s&&i===void 0&&(f&&f(0,1),p)){var g=Qv(p(0,1));m.push(g,g)}var b=()=>1-o,w=t.animate(m,{duration:c});return w.onfinish=()=>{var k=i?.t()??1-o;i?.abort();var V=o-k,F=e.duration*Math.abs(V),M=[];if(F>0){var H=!1;if(p)for(var S=Math.ceil(F/16.666666666666668),q=0;q<=S;q+=1){var W=k+V*v(q/S),U=Qv(p(W,1-W));M.push(U),H||=U.overflow==="hidden"}H&&(t.style.overflow="hidden"),b=()=>{var ie=w.currentTime;return k+V*v(ie/F)},f&&Kv(()=>{if(w.playState!=="running")return!1;var ie=b();return f(ie,1-ie),!0})}w=t.animate(M,{duration:F,fill:"forwards"}),w.onfinish=()=>{b=()=>o,f?.(o,1-o),n()}},{abort:()=>{w&&(w.cancel(),w.effect=null,w.onfinish=Ht)},deactivate:()=>{n=Ht},reset:()=>{o===0&&f?.(1,0)},t:()=>b()}}var Rf=class t{#t=new WeakMap;#e;#i;static entries=new WeakMap;constructor(e){this.#i=e}observe(e,i){var o=this.#t.get(e)||new Set;return o.add(i),this.#t.set(e,o),this.#o().observe(e,this.#i),()=>{var n=this.#t.get(e);n.delete(i),n.size===0&&(this.#t.delete(e),this.#e.unobserve(e))}}#o(){return this.#e??(this.#e=new ResizeObserver(e=>{for(var i of e){t.entries.set(i.target,i);for(var o of this.#t.get(i.target)||[])o(i)}}))}};var o$=new Rf({box:"border-box"});function Yr(t,e,i){var o=o$.observe(t,()=>i(t[e]));Jo(()=>(xt(()=>i(t[e])),o))}function Gv(t,e){return t===e||t?.[wo]===e}function vt(t={},e,i,o){return Jo(()=>{var n,s;return mo(()=>{n=s,s=o?.()||[],xt(()=>{t!==i(...s)&&(e(t,...s),n&&Gv(i(...n),t)&&e(null,...n))})}),()=>{No(()=>{s&&Gv(i(...s),t)&&e(null,...s)})}}),t}function Mr(t=!1){let e=At,i=e.l.u;if(!i)return;let o=()=>Xc(e.s);if(t){let n=0,s={},a=_(()=>{let l=!1,c=e.s;for(let p in c)c[p]!==s[p]&&(s[p]=c[p],l=!0);return l&&n++,n});o=()=>r(a)}i.b.length&&Sa(()=>{Yv(e,o),Ss(i.b)}),ot(()=>{let n=xt(()=>i.m.map(Tm));return()=>{for(let s of n)typeof s=="function"&&s()}}),i.a.length&&ot(()=>{Yv(e,o),Ss(i.a)})}function Yv(t,e){if(t.l.s)for(let i of t.l.s)r(i);e()}function P(t,e,i){t.$$events||={},t.$$events[e]||=[],t.$$events[e].push(i)}function A(t){for(var e in t)e in this&&(this[e]=t[e])}if(Fe){let t=function(e){if(!(e in globalThis)){let i;Object.defineProperty(globalThis,e,{configurable:!0,get:()=>{if(i!==void 0)return i;Fm(e)},set:o=>{i=o}})}};r$=t,t("$state"),t("$effect"),t("$derived"),t("$inspect"),t("$props"),t("$bindable")}var r$;function Ut(t){At===null&&ka("onMount"),Wr&&At.l!==null?n$(At).m.push(t):ot(()=>{let e=xt(t);if(typeof e=="function")return e})}function tr(t){At===null&&ka("onDestroy"),Ut(()=>()=>xt(t))}function n$(t){var e=t.l;return e.u??={a:[],b:[],m:[]}}function ic(t,e,i){if(t==null)return e(void 0),i&&i(void 0),Ht;let o=xt(()=>t.subscribe(e,i));return o.unsubscribe?()=>o.unsubscribe():o}var Ua=[];function ir(t,e){return{subscribe:be(t,e).subscribe}}function be(t,e=Ht){let i=null,o=new Set;function n(l){if(xa(t,l)&&(t=l,i)){let c=!Ua.length;for(let p of o)p[1](),Ua.push(p,t);if(c){for(let p=0;p<Ua.length;p+=2)Ua[p][0](Ua[p+1]);Ua.length=0}}}function s(l){n(l(t))}function a(l,c=Ht){let p=[l,c];return o.add(p),o.size===1&&(i=e(n,s)||Ht),l(t),()=>{o.delete(p),o.size===0&&i&&(i(),i=null)}}return{set:n,update:s,subscribe:a}}function ai(t,e,i){let o=!Array.isArray(t),n=o?[t]:t;if(!n.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");let s=e.length<2;return ir(i,(a,l)=>{let c=!1,p=[],f=0,v=Ht,m=()=>{if(f)return;v();let b=e(o?p[0]:p,a,l);s?a(b):v=typeof b=="function"?b:Ht},g=n.map((b,w)=>ic(b,k=>{p[w]=k,f&=~(1<<w),c&&m()},()=>{f|=1<<w}));return c=!0,m(),function(){Ss(g),v(),c=!1}})}function Ae(t){let e;return ic(t,i=>e=i)(),e}var ld=!1,Vf=Symbol();function C(t,e,i){let o=i[e]??={store:null,source:us(void 0),unsubscribe:Ht};if(o.store!==t&&!(Vf in i))if(o.unsubscribe(),o.store=t??null,t==null)o.source.v=void 0,o.unsubscribe=Ht;else{var n=!0;o.unsubscribe=ic(t,s=>{n?o.source.v=s:K(o.source,s)}),n=!1}return t&&Vf in i?Ae(t):r(o.source)}function Je(){let t={};function e(){kn(()=>{for(var i in t)t[i].unsubscribe();Qi(t,Vf,{enumerable:!1,value:!0})})}return[t,e]}function Nf(t){var e=ld;try{return ld=!1,[t(),ld]}finally{ld=e}}var d$={get(t,e){if(!t.exclude.includes(e))return r(t.version),e in t.special?t.special[e]():t.props[e]},set(t,e,i){return e in t.special||(t.special[e]=u({get[e](){return t.props[e]}},e,4)),t.special[e](i),zc(t.version),!0},getOwnPropertyDescriptor(t,e){if(!t.exclude.includes(e)&&e in t.props)return{enumerable:!0,configurable:!0,value:t.props[e]}},deleteProperty(t,e){return t.exclude.includes(e)||(t.exclude.push(e),zc(t.version)),!0},has(t,e){return t.exclude.includes(e)?!1:e in t.props},ownKeys(t){return Reflect.ownKeys(t.props).filter(e=>!t.exclude.includes(e))}};function Oe(t,e){return new Proxy({props:t,exclude:e,special:{},version:Ci(0)},d$)}var u$={get(t,e){let i=t.props.length;for(;i--;){let o=t.props[i];if(Cs(o)&&(o=o()),typeof o=="object"&&o!==null&&e in o)return o[e]}},set(t,e,i){let o=t.props.length;for(;o--;){let n=t.props[o];Cs(n)&&(n=n());let s=yn(n,e);if(s&&s.set)return s.set(i),!0}return!1},getOwnPropertyDescriptor(t,e){let i=t.props.length;for(;i--;){let o=t.props[i];if(Cs(o)&&(o=o()),typeof o=="object"&&o!==null&&e in o){let n=yn(o,e);return n&&!n.configurable&&(n.configurable=!0),n}}},has(t,e){if(e===wo||e===Dl)return!1;for(let i of t.props)if(Cs(i)&&(i=i()),i!=null&&e in i)return!0;return!1},ownKeys(t){let e=[];for(let i of t.props){Cs(i)&&(i=i());for(let o in i)e.includes(o)||e.push(o)}return e}};function vs(...t){return new Proxy({props:t},u$)}function jv(t){for(var e=wt,i=wt;e!==null&&!(e.f&96);)e=e.parent;try{return wi(e),t()}finally{wi(i)}}function u(t,e,i,o){var n=(i&1)!==0,s=!Wr||(i&2)!==0,a=(i&8)!==0,l=(i&16)!==0,c=!1,p;a?[p,c]=Nf(()=>t[e]):p=t[e];var f=wo in t||Dl in t,v=a&&(yn(t,e)?.set??(f&&e in t&&(W=>t[e]=W)))||void 0,m=o,g=!0,b=!1,w=()=>(b=!0,g&&(g=!1,l?m=xt(o):m=o),m);p===void 0&&o!==void 0&&(v&&s&&Hm(e),p=w(),v&&v(p));var k;if(s)k=()=>{var W=t[e];return W===void 0?w():(g=!0,b=!1,W)};else{var V=jv(()=>(n?_:Er)(()=>t[e]));V.f|=131072,k=()=>{var W=r(V);return W!==void 0&&(m=void 0),W===void 0?m:W}}if(!(i&4))return k;if(v){var F=t.$$legacy;return function(W,U){return arguments.length>0?((!s||!U||F||c)&&v(U?k():W),W):k()}}var M=!1,H=!1,S=us(p),q=jv(()=>_(()=>{var W=k(),U=r(S);return M?(M=!1,H=!0,U):(H=!1,S.v=W)}));return n||(q.equals=wa),function(W,U){if(Fl!==null&&(M=H,k(),r(S)),arguments.length>0){let ie=U?r(q):s&&a?ke(W):W;return q.equals(ie)||(M=!0,K(S,ie),b&&m!==void 0&&(m=ie),xt(()=>r(q))),W}return r(q)}}var p$;typeof HTMLElement=="function"&&(p$=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(t,e,i){super(),this.$$ctor=t,this.$$s=e,i&&this.attachShadow({mode:"open"})}addEventListener(t,e,i){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(e),this.$$c){let o=this.$$c.$on(t,e);this.$$l_u.set(e,o)}super.addEventListener(t,e,i)}removeEventListener(t,e,i){if(super.removeEventListener(t,e,i),this.$$c){let o=this.$$l_u.get(e);o&&(o(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(n){return s=>{let a=document.createElement("slot");n!=="default"&&(a.name=n),x(s,a)}};var t=e;if(await Promise.resolve(),!this.$$cn||this.$$c)return;let i={},o=f$(this);for(let n of this.$$s)n in o&&(n==="default"&&!this.$$d.children?(this.$$d.children=e(n),i.default=!0):i[n]=e(n));for(let n of this.attributes){let s=this.$$g_p(n.name);s in this.$$d||(this.$$d[s]=Bf(s,n.value,this.$$p_d,"toProp"))}for(let n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=T({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:i,$$host:this}}),this.$$me=td(()=>{mo(()=>{this.$$r=!0;for(let n of Kp(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];let s=Bf(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(let n in this.$$l)for(let s of this.$$l[n]){let a=this.$$c.$on(n,s);this.$$l_u.set(s,a)}this.$$l={}}}attributeChangedCallback(t,e,i){this.$$r||(t=this.$$g_p(t),this.$$d[t]=Bf(t,i,this.$$p_d,"toProp"),this.$$c?.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(t){return Kp(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function Bf(t,e,i,o){let n=i[t]?.type;if(e=n==="Boolean"&&typeof e!="boolean"?e!=null:e,!o||!i[t])return e;if(o==="toAttribute")switch(n){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e??null;default:return e}else switch(n){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function f$(t){let e={};return t.childNodes.forEach(i=>{e[i.slot||"default"]=!0}),e}import{clientChecker as Tx}from"@vkontakte/videoplayer-core/evergreen";import"@vkontakte/videoplayer-core/evergreen";import{noop as Ep,safeStorage as Ix,throttleFn as Ex}from"@vkontakte/videoplayer-shared/evergreen";import{SeekAction as Px}from"@vkontakte/videoplayer-statistics/evergreen";import{InterfaceLanguage as v$,fillWithDefault as g$,VideoQuality as Xv}from"@vkontakte/videoplayer-shared/evergreen";var h$={isMobile:void 0,debugLog:!1,devNullLog:!1,defaultLanguage:v$.RU,downloadVKLanguages:!0,updateBuiltinLanguages:!0,isSmoothVideoRotate:!0,showSupport:!0,supportLink:"https://vk.com/support?act=new&from=v",showLogo:void 0,logoLink:"https://vk.com/video",logoType:"vk_video",volumeDefault:1,volumeMinRestore:.05,loaderDelay:500,minSubtitlesFontSize:13,autoSubtitlesTimeout:2e3,allowChangingFullscreenTarget:!0,trafficSavingLimit:Xv.Q_480P,highQualityLimit:Xv.Q_720P,episodeMinWidthPc:8,hideThumbTimerAfterTouch:!0,preventPauseOnVideoClick:!1,sentry:{dsn:"https://e349fd23c68f405388980d0868d0ff27@sentry.mvk.com/126",sampleRate:.01,whiteErrorCategoryList:[],blackErrorCategoryList:[],whiteErrorIdList:[],blackErrorIdList:[]},features:{autoplay:!0,statistics:!0,sentry:!0,preload:!0,subtitles:!0,episodes:!0,fullscreen:!0,timelinePreview:!0,mediaSession:!0,annotations:!0,slots:!0,annotationsInside:!1,pip:!0,dpip:!0,download:!0,liveRewind:!0,playbackRate:!0,trafficSaving:!0,episodesClustering:!0,copyVideoLink:!0,videoRotate:!0,interactiveGraph:!1,interactiveResponsiveUi:!1,seekToInteractive:!0,interactiveLastFrame:!1,interactiveTextPermanent:!0,interactiveHideTime:!0,interactivePlayPrevChapter:!0,interactiveTimeIndicator:!0,interactiveTimeOpenUri:!1,thumbTimer:!0,hotKeyMapModal:!0,hotKeyHelpers:!0,saveDebugInfoToFile:!1,saveTraceInfoToFile:!1,additionalButtons:!0,additionalButtonsDesktopControlPanelRight:!0,additionalSettingsMenuItems:!0,additionalContextMenuItems:!0,contextMenuButton:!0,audioLanguages:!1,saveRate:!1,fullscreenInternalTargetPlayerContainer:!1,endScreen:!0,autoplayNext:!0,nextPrevButtons:!0,previewNoEmptySpace:!1,exposeInternalsToGlobal:!1,skipInitialPlaybackRateValue:!1,qualityDetailsSubMenuEnabled:!1,showSlowVideoNotification:!1,forceAutoQualityWhenSevereStallHappens:!1,timeoutShowSlowVideoNotification:0,maxCountShowSlowVideoNotification:1,forcePlayerDisplayBlock:!1},controls:{showOnStartupAtAutoplay:!0,hideTimeout:500,hideTimeoutMobile:3e3,hideTimeoutInitial:200,hideTimeoutFullscreen:3e3,hideTimeoutCursor:3e3,hideTimeoutTooltips:1e3,collapseMobileUnmute:6e3,hide360IconTimeout:3e3,hideHotKeyHelpers:2e3,playbackRateMin:.25,playbackRateMax:2,playbackRateStep:.25,volumeStepKeyboard:.05,volumeStepWheel:.05,volumeBarTimeout:300,seekStepKeyboard:1e4,seekStepMobile:15e3,seekStepFrame:400},ads:{enable:void 0,initTimeout:2e3,loadTimeout:2e3,runtimeTimeout:5e3,slot:void 0,preview:void 0,isMobileGoToSiteButton:!0,useAdmanFromNPM:!1,volumeMultiplier:1,isVsidOriginal:!1},interactive:{historyMaxLength:100,noInteractionEventTimeout:3e4},view:{timelineSliderColor:null,timelineSliderHandleColor:null,timelineSliderFilledColor:null,timelineSliderLoadedColor:null,volumeSliderColor:null,volumeSliderHandleColor:null,volumeSliderFilledColor:null,controlsTimeColor:null,timelineSliderFilledActiveLiveColor:null,timelineSliderHandleActiveLiveColor:null,buttonColor:null,buttonToggleOnColor:null,focusedColor:null}},Jv=t=>g$(t,h$),eg=t=>Ia("ui-config",t),Qt=()=>Ta("ui-config");var oc="vk_player_debug_panel_opened";var tg="videoplayer",ig="videoplayer";var jr={KeyF:"f",KeyK:"k",KeyC:"c",KeyM:"m"},og=new Set(["ArrowLeft","ArrowRight","KeyL","KeyJ"]),ng=new Set(["Tab","Space","ArrowLeft","ArrowRight","ArrowUp","ArrowDown"]),rg=new Set(["ShiftRight","ShiftLeft"]);var sg=["TIMELINE"],nc=[...sg,"GRAPH_BUTTON"],Df=[...sg,"PLAY_BUTTON"],rc=[...nc,"PLAY_BUTTON"];var Zr=(s=>(s.XS="xs",s.S="s",s.M="m",s.L="l",s.XL="xl",s))(Zr||{}),oa={xs:0,s:1,m:2,l:3,xl:4};import{assertNonNullable as ag,VERSION as _$}from"@vkontakte/videoplayer-shared/evergreen";import{VERSION as $$}from"@vkontakte/videoplayer-core/evergreen";import{VERSION as b$}from"@vkontakte/videoplayer-statistics/evergreen";var cd="prod",za="1.1.59-dev.50aa90ae.0";var na=(t,e,i)=>{let o=document.createElement("a");o.href=t,o.download=`${e}.${i}`,o.style.display="none",o.click()};var lg=Symbol("storeContext"),cg=Symbol("microStoresContext"),dg=(t,e)=>{Ia(lg,t),Ia(cg,e),cd==="dev"&&(window.app={store:t,microStores:e})},Be=()=>{let t=Ta(lg);return ag(t,"Store context is empty!"),t},go=()=>{let t=Ta(cg);return ag(t,"MicroStores context is empty!"),t},Xt=(t,e)=>ud(t,t.getValue(),e),ud=(t,e,i)=>ir(e,o=>{let n=t.subscribe(s=>{o(s),i?.(s)});return()=>n.unsubscribe()}),ug=(t,e,i)=>{let o=t.info,{width:n,height:s}=Ae(i.ui.playerSize),a=o.throughputEstimation$.getValue()?.toFixed(0)??0,l=o.rttEstimation$.getValue()?.toFixed(0)??0,c=o.isAutoQualityEnabled$.getValue()?"auto":"manual",p=`${za} (core: ${$$}, stat: ${b$}, shared: ${_$})`,f=Ae(i.state.errorLog$),v=f.length?`
|
|
45
|
+
`)})}if(rv(t,e),sv(e))throw t}function uv(t,e,i=0){var o=t.reactions;if(o!==null)for(var n=0;n<o.length;n++){var s=o[n];s.f&2?uv(s,e,i+1):e===s&&(i===0?Oo(s,2048):s.f&1024&&Oo(s,4096),Ma(s))}}function qc(t){var e=Ho,i=Sn,o=Qr,n=Ft,s=fs,a=Tr,l=At,c=Ir,p=t.f;Ho=null,Sn=0,Qr=null,Ft=p&96?null:t,fs=(p&256)!==0&&(!ps||n===null||c),Tr=null,Ul(t.ctx),Ir=!1,Yc++;try{var f=(0,t.fn)(),v=t.deps;if(Ho!==null){var m;if(Gl(t,Sn),v!==null&&Sn>0)for(v.length=Sn+Ho.length,m=0;m<Ho.length;m++)v[Sn+m]=Ho[m];else t.deps=v=Ho;if(!fs)for(m=Sn;m<v.length;m++)(v[m].reactions??=[]).push(t)}else v!==null&&Sn<v.length&&(Gl(t,Sn),v.length=Sn);if(Kr()&&Qr!==null&&!(t.f&6146))for(m=0;m<Qr.length;m++)uv(Qr[m],t);return n!==null&&Yc++,f}finally{Ho=e,Sn=i,Qr=o,Ft=n,fs=s,Tr=a,Ul(l),Ir=c}}function b_(t,e){let i=e.reactions;if(i!==null){var o=Sm.call(i,t);if(o!==-1){var n=i.length-1;n===0?i=e.reactions=null:(i[o]=i[n],i.pop())}}i===null&&e.f&2&&(Ho===null||!Ho.includes(e))&&(Oo(e,4096),e.f&768||(e.f^=512),Wc(e),Gl(e,0))}function Gl(t,e){var i=t.deps;if(i!==null)for(var o=e;o<i.length;o++)b_(t,i[o])}function Aa(t){var e=t.f;if(!(e&16384)){Oo(t,1024);var i=wt,o=At;if(wt=t,Fe){var n=Do;zl(t.component_function)}try{e&16?vv(t):ff(t),pf(t);var s=qc(t);t.teardown=typeof s=="function"?s:null,t.wv=dv;var a=t.deps;if(Fe&&qr&&t.f&2048&&a!==null)for(let c=0;c<a.length;c++){var l=a[c];l.trace_need_increase&&(l.wv=ql(),l.trace_need_increase=void 0,l.trace_v=void 0)}Fe&&Ql.push(t)}catch(c){Na(c,t,i,o||t.ctx)}finally{wt=i,Fe&&zl(n)}}}function av(){console.error("Last ten effects were: ",Ql.slice(-10).map(t=>t.fn)),Ql=[]}function pv(){if(Ra>1e3){Ra=0;try{Bm()}catch(t){if(Fe&&Qi(t,"stack",{value:""}),La!==null)if(Fe)try{Na(t,La,null,null)}catch(e){throw av(),e}else Na(t,La,null,null);else throw Fe&&av(),t}}Ra++}function fv(t){var e=t.length;if(e!==0){pv();var i=ps;ps=!0;try{for(var o=0;o<e;o++){var n=t[o];n.f&1024||(n.f^=1024);var s=[];mv(n,s),y_(s)}}finally{ps=i}}}function y_(t){var e=t.length;if(e!==0)for(var i=0;i<e;i++){var o=t[i];if(!(o.f&24576))try{ks(o)&&(Aa(o),o.deps===null&&o.first===null&&o.nodes_start===null&&(o.teardown===null?mf(o):o.fn=null))}catch(n){Na(n,o,null,o.ctx)}}}function x_(){if(Kl=!1,Ra>1001)return;let t=Xs;Xs=[],fv(t),Kl||(Ra=0,La=null,Fe&&(Ql=[]))}function Ma(t){Qc===cv&&(Kl||(Kl=!0,queueMicrotask(x_))),La=t;for(var e=t;e.parent!==null;){e=e.parent;var i=e.f;if(i&96){if(!(i&1024))return;e.f^=1024}}Xs.push(e)}function mv(t,e){var i=t.first,o=[];e:for(;i!==null;){var n=i.f,s=(n&32)!==0,a=s&&(n&1024)!==0,l=i.next;if(!a&&!(n&8192))if(n&8){if(s)i.f^=1024;else{var c=Ft;try{Ft=i,ks(i)&&Aa(i)}catch(m){Na(m,i,null,i.ctx)}finally{Ft=c}}var p=i.first;if(p!==null){i=p;continue}}else n&4&&o.push(i);if(l===null){let m=i.parent;for(;m!==null;){if(t===m)break e;var f=m.next;if(f!==null){i=f;continue e}m=m.parent}}i=l}for(var v=0;v<o.length;v++)p=o[v],e.push(p),mv(p,e)}function d(t){var e=Qc,i=Xs;try{pv();let n=[];Qc=$_,Xs=n,Kl=!1,fv(i);var o=t?.();return Am(),(Xs.length>0||n.length>0)&&d(),Ra=0,La=null,Fe&&(Ql=[]),o}finally{Qc=e,Xs=i}}async function to(){await Promise.resolve(),d()}function r(t){var e=t.f,i=(e&2)!==0;if(Fl!==null&&Fl.add(t),Ft!==null&&!Ir){Tr!==null&&Tr.includes(t)&&Wm();var o=Ft.deps;t.rv<Yc&&(t.rv=Yc,Ho===null&&o!==null&&o[Sn]===t?Sn++:Ho===null?Ho=[t]:(!fs||!Ho.includes(t))&&Ho.push(t))}else if(i&&t.deps===null&&t.effects===null){var n=t,s=n.parent;s!==null&&!(s.f&256)&&(n.f^=256)}if(i&&(n=t,ks(n)&&cf(n)),Fe&&qr&&Hl!==null&&Ft!==null&&Hl.reaction===Ft){if(t.debug)t.debug();else if(t.created){var a=Hl.entries.get(t);a===void 0&&(a={read:[]},Hl.entries.set(t,a)),a.read.push(ds("TracedAt"))}}return t.v}function xt(t){var e=Ir;try{return Ir=!0,t()}finally{Ir=e}}var w_=-7169;function Oo(t,e){t.f=t.f&w_|e}function Xc(t){if(!(typeof t!="object"||!t||t instanceof EventTarget)){if(wo in t)jc(t);else if(!Array.isArray(t))for(let e in t){let i=t[e];typeof i=="object"&&i&&wo in i&&jc(i)}}}function jc(t,e=new Set){if(typeof t=="object"&&t!==null&&!(t instanceof EventTarget)&&!e.has(t)){e.add(t),t instanceof Date&&t.getTime();for(let o in t)try{jc(t[o],e)}catch{}let i=ls(t);if(i!==Object.prototype&&i!==Array.prototype&&i!==Map.prototype&&i!==Set.prototype&&i!==Date.prototype){let o=Dc(i);for(let n in o){let s=o[n].get;if(s)try{s.call(t)}catch{}}}}}var nt=!1;function Yi(t){nt=t}var _t;function ri(t){if(t===null)throw Ys(),cs;return _t=t}function bi(){return ri(vo(_t))}function $(t){if(nt){if(vo(_t)!==null)throw Ys(),cs;_t=t}}function Te(t=1){if(nt){for(var e=t,i=_t;e--;)i=vo(i);_t=i}}function Da(){for(var t=0,e=_t;;){if(e.nodeType===8){var i=e.data;if(i===qs){if(t===0)return e;t-=1}else(i===Ca||i===Ws)&&(t+=1)}var o=vo(e);e.remove(),e=o}}function ke(t,e=null,i){var o=null;if(Fe&&qr&&(o=ds("CreatedAt")),typeof t!="object"||t===null||wo in t)return t;let n=ls(t);if(n!==Qp&&n!==km)return t;var s=new Map,a=kr(t),l=Ci(0);a&&s.set("length",Ci(t.length,o));var c;if(Fe)if(c={parent:e,owners:null},i){let p=i.v?.[as]?.owners;c.owners=p?new Set(p):null}else c.owners=e===null?At!==null?new Set([At.function]):null:new Set;return new Proxy(t,{defineProperty(p,f,v){(!("value"in v)||v.configurable===!1||v.enumerable===!1||v.writable===!1)&&Um();var m=s.get(f);return m===void 0?(m=Ci(v.value,o),s.set(f,m)):K(m,ke(v.value,c)),!0},deleteProperty(p,f){var v=s.get(f);if(v===void 0)f in p&&s.set(f,Ci(Li,o));else{if(a&&typeof f=="string"){var m=s.get("length"),g=Number(f);Number.isInteger(g)&&g<m.v&&K(m,g)}K(v,Li),gv(l)}return!0},get(p,f,v){if(Fe&&f===as)return c;if(f===wo)return t;var m=s.get(f),g=f in p;if(m===void 0&&(!g||yn(p,f)?.writable)&&(m=Ci(ke(g?p[f]:Li,c),o),s.set(f,m)),m!==void 0){var b=r(m);if(Fe){var w=b?.[as];w&&w?.parent!==c&&ef(c,w)}return b===Li?void 0:b}return Reflect.get(p,f,v)},getOwnPropertyDescriptor(p,f){var v=Reflect.getOwnPropertyDescriptor(p,f);if(v&&"value"in v){var m=s.get(f);m&&(v.value=r(m))}else if(v===void 0){var g=s.get(f),b=g?.v;if(g!==void 0&&b!==Li)return{enumerable:!0,configurable:!0,value:b,writable:!0}}return v},has(p,f){if(Fe&&f===as||f===wo)return!0;var v=s.get(f),m=v!==void 0&&v.v!==Li||Reflect.has(p,f);if(v!==void 0||wt!==null&&(!m||yn(p,f)?.writable)){v===void 0&&(v=Ci(m?ke(p[f],c):Li,o),s.set(f,v));var g=r(v);if(g===Li)return!1}return m},set(p,f,v,m){var g=s.get(f),b=f in p;if(a&&f==="length")for(var w=v;w<g.v;w+=1){var k=s.get(w+"");k!==void 0?K(k,Li):w in p&&(k=Ci(Li,o),s.set(w+"",k))}if(g===void 0?(!b||yn(p,f)?.writable)&&(g=Ci(void 0,o),K(g,ke(v,c)),s.set(f,g)):(b=g.v!==Li,K(g,ke(v,c))),Fe){var V=v?.[as];V&&V?.parent!==c&&ef(c,V),ev(c)}var F=Reflect.getOwnPropertyDescriptor(p,f);if(F?.set&&F.set.call(m,v),!b){if(a&&typeof f=="string"){var M=s.get("length"),H=Number(f);Number.isInteger(H)&&H>=M.v&&K(M,H+1)}gv(l)}return!0},ownKeys(p){r(l);var f=Reflect.ownKeys(p).filter(g=>{var b=s.get(g);return b===void 0||b.v!==Li});for(var[v,m]of s)m.v!==Li&&!(v in p)&&f.push(v);return f},setPrototypeOf(){zm()}})}function gv(t,e=1){K(t,t.v+e)}function Jc(t){return t!==null&&typeof t=="object"&&wo in t?t[wo]:t}function hv(){let t=Array.prototype,e=Array.__svelte_cleanup;e&&e();let{indexOf:i,lastIndexOf:o,includes:n}=t;t.indexOf=function(s,a){let l=i.call(this,s,a);if(l===-1){for(let c=a??0;c<this.length;c+=1)if(Jc(this[c])===s){Fc("array.indexOf(...)");break}}return l},t.lastIndexOf=function(s,a){let l=o.call(this,s,a??this.length-1);if(l===-1){for(let c=0;c<=(a??this.length-1);c+=1)if(Jc(this[c])===s){Fc("array.lastIndexOf(...)");break}}return l},t.includes=function(s,a){let l=n.call(this,s,a);if(!l){for(let c=0;c<this.length;c+=1)if(Jc(this[c])===s){Fc("array.includes(...)");break}}return l},Array.__svelte_cleanup=()=>{t.indexOf=i,t.lastIndexOf=o,t.includes=n}}var Js,_v,$v,bv;function ed(){if(Js===void 0){Js=window,_v=document;var t=Element.prototype,e=Node.prototype;$v=yn(e,"firstChild").get,bv=yn(e,"nextSibling").get,t.__click=void 0,t.__className="",t.__attributes=null,t.__styles=null,t.__e=void 0,Text.prototype.__t=void 0,Fe&&(t.__svelte_meta=null,hv())}}function Fo(t=""){return document.createTextNode(t)}function si(t){return $v.call(t)}function vo(t){return bv.call(t)}function y(t,e){if(!nt)return si(t);var i=si(_t);if(i===null)i=_t.appendChild(Fo());else if(e&&i.nodeType!==3){var o=Fo();return i?.before(o),ri(o),o}return ri(i),i}function ye(t,e){if(!nt){var i=si(t);return i.nodeType===8&&i.data===""?vo(i):i}if(e&&_t?.nodeType!==3){var o=Fo();return _t?.before(o),ri(o),o}return _t}function N(t,e=1,i=!1){let o=nt?_t:t;for(var n;e--;)n=o,o=vo(o);if(!nt)return o;var s=o?.nodeType;if(i&&s!==3){var a=Fo();return o===null?n?.after(a):o.before(a),ri(a),a}return ri(o),o}function jl(t){t.textContent=""}function gf(t){wt===null&&Ft===null&&Nm(t),Ft!==null&&Ft.f&256&&wt===null&&Vm(),Zc&&Rm(t)}function C_(t,e){var i=e.last;i===null?e.last=e.first=t:(i.next=t,t.prev=i,e.last=t)}function ea(t,e,i,o=!0){var n=(t&64)!==0,s=wt;if(Fe)for(;s!==null&&s.f&262144;)s=s.parent;var a={ctx:At,deps:null,nodes_start:null,nodes_end:null,f:t|2048,first:null,fn:e,last:null,next:null,parent:n?null:s,prev:null,teardown:null,transitions:null,wv:0};if(Fe&&(a.component_function=Do),i){var l=ps;try{Ea(!0),Aa(a),a.f|=32768}catch(f){throw Gi(a),f}finally{Ea(l)}}else e!==null&&Ma(a);var c=i&&a.deps===null&&a.first===null&&a.nodes_start===null&&a.teardown===null&&(a.f&1048704)===0;if(!c&&!n&&o&&(s!==null&&C_(a,s),Ft!==null&&Ft.f&2)){var p=Ft;(p.effects??=[]).push(a)}return a}function kn(t){let e=ea(8,null,!1);return Oo(e,1024),e.teardown=t,e}function ot(t){gf("$effect");var e=wt!==null&&(wt.f&32)!==0&&At!==null&&!At.m;if(Fe&&Qi(t,"name",{value:"$effect"}),e){var i=At;(i.e??=[]).push({fn:t,effect:wt,reaction:Ft})}else{var o=Jo(t);return o}}function Sa(t){return gf("$effect.pre"),Fe&&Qi(t,"name",{value:"$effect.pre"}),mo(t)}function td(t){let e=ea(64,t,!0);return()=>{Gi(e)}}function xv(t){let e=ea(64,t,!0);return(i={})=>new Promise(o=>{i.outro?on(e,()=>{Gi(e),o(void 0)}):(Gi(e),o(void 0))})}function Jo(t){return ea(4,t,!1)}function mo(t){return ea(8,t,!0)}function L(t,e=[],i=_){let o=e.map(i),n=()=>t(...o.map(r));return Fe&&Qi(n,"name",{value:"{expression}"}),ji(n)}function ji(t,e=0){return ea(24|e,t,!0)}function Ri(t,e=!0){return ea(40,t,!0,e)}function pf(t){var e=t.teardown;if(e!==null){let i=Zc,o=Ft;uf(!0),eo(null);try{e.call(null)}finally{uf(i),eo(o)}}}function ff(t,e=!1){var i=t.first;for(t.first=t.last=null;i!==null;){var o=i.next;Gi(i,e),i=o}}function vv(t){for(var e=t.first;e!==null;){var i=e.next;e.f&32||Gi(e),e=i}}function Gi(t,e=!0){var i=!1;if((e||t.f&524288)&&t.nodes_start!==null){for(var o=t.nodes_start,n=t.nodes_end;o!==null;){var s=o===n?null:vo(o);o.remove(),o=s}i=!0}ff(t,e&&!i),Gl(t,0),Oo(t,16384);var a=t.transitions;if(a!==null)for(let c of a)c.stop();pf(t);var l=t.parent;l!==null&&l.first!==null&&mf(t),Fe&&(t.component_function=null),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes_start=t.nodes_end=null}function mf(t){var e=t.parent,i=t.prev,o=t.next;i!==null&&(i.next=o),o!==null&&(o.prev=i),e!==null&&(e.first===t&&(e.first=o),e.last===t&&(e.last=i))}function on(t,e){var i=[];id(t,i,!0),hf(i,()=>{Gi(t),e&&e()})}function hf(t,e){var i=t.length;if(i>0){var o=()=>--i||e();for(var n of t)n.out(o)}else e()}function id(t,e,i){if(!(t.f&8192)){if(t.f^=8192,t.transitions!==null)for(let a of t.transitions)(a.is_global||i)&&e.push(a);for(var o=t.first;o!==null;){var n=o.next,s=(o.f&65536)!==0||(o.f&32)!==0;id(o,e,s?i:!1),o=n}}}function ms(t){wv(t,!0)}function wv(t,e){if(t.f&8192){t.f^=8192,t.f&1024||(t.f^=1024),ks(t)&&(Oo(t,2048),Ma(t));for(var i=t.first;i!==null;){var o=i.next,n=(i.f&65536)!==0||(i.f&32)!==0;wv(i,n?e:!1),i=o}if(t.transitions!==null)for(let s of t.transitions)(s.is_global||e)&&s.in()}}function _f(t,e){if(e){let i=document.body;t.autofocus=!0,No(()=>{document.activeElement===i&&t.focus()})}}function $f(t){var e=Ft,i=wt;eo(null),wi(null);try{return t()}finally{eo(e),wi(i)}}var bf=new Set,od=new Set;function ta(t){if(!nt)return;t.onload&&t.removeAttribute("onload"),t.onerror&&t.removeAttribute("onerror");let e=t.__e;e!==void 0&&(t.__e=void 0,queueMicrotask(()=>{t.isConnected&&t.dispatchEvent(e)}))}function yf(t,e,i,o={}){function n(s){if(o.capture||Oa.call(e,s),!s.cancelBubble)return $f(()=>i?.call(this,s))}return t.startsWith("pointer")||t.startsWith("touch")||t==="wheel"?No(()=>{e.addEventListener(t,n,o)}):e.addEventListener(t,n,o),n}function Dt(t,e,i,o,n){var s={capture:o,passive:n},a=yf(t,e,i,s);(e===document.body||e===window||e===document)&&kn(()=>{e.removeEventListener(t,a,s)})}function pt(t){for(var e=0;e<t.length;e++)bf.add(t[e]);for(var i of od)i(t)}function Oa(t){var e=this,i=e.ownerDocument,o=t.type,n=t.composedPath?.()||[],s=n[0]||t.target,a=0,l=t.__root;if(l){var c=n.indexOf(l);if(c!==-1&&(e===document||e===window)){t.__root=e;return}var p=n.indexOf(e);if(p===-1)return;c<=p&&(a=c)}if(s=n[a]||t.target,s!==e){Qi(t,"currentTarget",{configurable:!0,get(){return s||i}});var f=Ft,v=wt;eo(null),wi(null);try{for(var m,g=[];s!==null;){var b=s.assignedSlot||s.parentNode||s.host||null;try{var w=s["__"+o];if(w!==void 0&&!s.disabled)if(kr(w)){var[k,...V]=w;k.apply(s,[t,...V])}else w.call(s,t)}catch(F){m?g.push(F):m=F}if(t.cancelBubble||b===e||b===null)break;s=b}if(m){for(let F of g)queueMicrotask(()=>{throw F});throw m}}finally{t.__root=e,delete t.currentTarget,eo(f),wi(v)}}}var k_;function Cv(){k_=void 0}function Ha(t){var e=document.createElement("template");return e.innerHTML=t,e.content}function io(t,e){var i=wt;i.nodes_start===null&&(i.nodes_start=t,i.nodes_end=e)}function D(t,e){var i=(e&1)!==0,o=(e&2)!==0,n,s=!t.startsWith("<!>");return()=>{if(nt)return io(_t,null),_t;n===void 0&&(n=Ha(s?t:"<!>"+t),i||(n=si(n)));var a=o?document.importNode(n,!0):n.cloneNode(!0);if(i){var l=si(a),c=a.lastChild;io(l,c)}else io(a,a);return a}}function Ie(t,e,i="svg"){var o=!t.startsWith("<!>"),n=(e&1)!==0,s=`<${i}>${o?t:"<!>"+t}</${i}>`,a;return()=>{if(nt)return io(_t,null),_t;if(!a){var l=Ha(s),c=si(l);if(n)for(a=document.createDocumentFragment();si(c);)a.appendChild(si(c));else a=si(c)}var p=a.cloneNode(!0);if(n){var f=si(p),v=p.lastChild;io(f,v)}else io(p,p);return p}}function er(t=""){if(!nt){var e=Fo(t+"");return io(e,e),e}var i=_t;return i.nodeType!==3&&(i.before(i=Fo()),ri(i)),io(i,i),i}function Ye(){if(nt)return io(_t,null),_t;var t=document.createDocumentFragment(),e=document.createComment(""),i=Fo();return t.append(e,i),io(e,i),t}function x(t,e){if(nt){wt.nodes_end=_t,bi();return}t!==null&&t.before(e)}var I_=/\r/g;function kv(t){t=t.replace(I_,"");let e=5381,i=t.length;for(;i--;)e=(e<<5)-e^t.charCodeAt(i);return(e>>>0).toString(36)}function Tv(t){return t.endsWith("capture")&&t!=="gotpointercapture"&&t!=="lostpointercapture"}var E_=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function Iv(t){return E_.includes(t)}var P_=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected","webkitdirectory","defer","disablepictureinpicture","disableremoteplayback"];var A_={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function Ev(t){return t=t.toLowerCase(),A_[t]??t}var qw=[...P_,"formNoValidate","isMap","noModule","playsInline","readOnly","value","volume","defaultValue","defaultChecked","srcObject","noValidate","allowFullscreen","disablePictureInPicture","disableRemotePlayback"];var M_=["touchstart","touchmove"];function Pv(t){return M_.includes(t)}var L_=["textarea","script","style","title"];function Av(t){return L_.includes(t)}function xf(t){return t?.replace(/\//g,"/\u200B")}var Zl=!0;function nd(t){Zl=t}function Se(t,e){var i=e==null?"":typeof e=="object"?e+"":e;i!==(t.__t??=t.nodeValue)&&(t.__t=i,t.nodeValue=i+"")}function rd(t,e){return Mv(t,e)}function Cf(t,e){ed(),e.intro=e.intro??!1;let i=e.target,o=nt,n=_t;try{for(var s=si(i);s&&(s.nodeType!==8||s.data!==Ca);)s=vo(s);if(!s)throw cs;Yi(!0),ri(s),bi();let a=Mv(t,{...e,anchor:s});if(_t===null||_t.nodeType!==8||_t.data!==qs)throw Ys(),cs;return Yi(!1),a}catch(a){if(a===cs)return e.recover===!1&&Dm(),ed(),jl(i),Yi(!1),rd(t,e);throw a}finally{Yi(o),ri(n),Cv()}}var Fa=new Map;function Mv(t,{target:e,anchor:i,props:o={},events:n,context:s,intro:a=!0}){ed();var l=new Set,c=v=>{for(var m=0;m<v.length;m++){var g=v[m];if(!l.has(g)){l.add(g);var b=Pv(g);e.addEventListener(g,Oa,{passive:b});var w=Fa.get(g);w===void 0?(document.addEventListener(g,Oa,{passive:b}),Fa.set(g,1)):Fa.set(g,w+1)}}};c(Ol(bf)),od.add(c);var p=void 0,f=xv(()=>{var v=i??e.appendChild(Fo());return Ri(()=>{if(s){I({});var m=At;m.c=s}n&&(o.$$events=n),nt&&io(v,null),Zl=a,p=t(v,o)||{},Zl=!0,nt&&(wt.nodes_end=_t),s&&E()}),()=>{for(var m of l){e.removeEventListener(m,Oa);var g=Fa.get(m);--g===0?(document.removeEventListener(m,Oa),Fa.delete(m)):Fa.set(m,g)}od.delete(c),v!==i&&v.parentNode?.removeChild(v)}});return wf.set(p,f),p}var wf=new WeakMap;function Sf(t,e){let i=wf.get(t);return i?(wf.delete(t),i(e)):(Fe&&Zm(),Promise.resolve())}var Tf;function T(t){return Tf=t.target,new kf(t)}var kf=class{#t;#e;constructor(e){var i=new Map,o=(s,a)=>{var l=us(a);return i.set(s,l),l};let n=new Proxy({...e.props||{},$$events:{}},{get(s,a){return r(i.get(a)??o(a,Reflect.get(s,a)))},has(s,a){return a===Dl?!0:(r(i.get(a)??o(a,Reflect.get(s,a))),Reflect.has(s,a))},set(s,a,l){return K(i.get(a)??o(a,l),l),Reflect.set(s,a,l)}});this.#e=(e.hydrate?Cf:rd)(e.component,{target:e.target,anchor:e.anchor,props:n,context:e.context,intro:e.intro??!1,recover:e.recover}),(!e?.props?.$$host||e.sync===!1)&&d(),this.#t=n.$$events;for(let s of Object.keys(this.#e))s==="$set"||s==="$destroy"||s==="$on"||Qi(this,s,{get(){return this.#e[s]},set(a){this.#e[s]=a},enumerable:!0});this.#e.$set=s=>{Object.assign(n,s)},this.#e.$destroy=()=>{Sf(this.#e)}}$set(e){this.#e.$set(e)}$on(e,i){this.#t[e]=this.#t[e]||[];let o=(...n)=>i.call(this,...n);return this.#t[e].push(o),()=>{this.#t[e]=this.#t[e].filter(n=>n!==o)}}$destroy(){this.#e.$destroy()}};var Lv="5";typeof window<"u"&&(window.__svelte||={v:new Set}).v.add(Lv);var Rv=new Map;function Vv(t,e){var i=Rv.get(t);i||(i=new Set,Rv.set(t,i)),i.add(e)}function O(t,e,i=!1){nt&&bi();var o=t,n=null,s=null,a=Li,l=i?65536:0,c=!1;let p=(v,m=!0)=>{c=!0,f(m,v)},f=(v,m)=>{if(a===(a=v))return;let g=!1;if(nt){let b=o.data===Ws;!!a===b&&(o=Da(),ri(o),Yi(!1),g=!0)}a?(n?ms(n):m&&(n=Ri(()=>m(o))),s&&on(s,()=>{s=null})):(s?ms(s):m&&(s=Ri(()=>m(o))),n&&on(n,()=>{n=null})),g&&Yi(!0)};ji(()=>{c=!1,e(p),c||f(null,null)},l),nt&&(o=_t)}function Xl(t,e,i){nt&&bi();var o=t,n=Li,s,a=Kr()?Mm:xa;ji(()=>{a(n,n=e())&&(s&&on(s),s=Ri(()=>i(o)))}),nt&&(o=_t)}var Is=null;function Pf(t){Is=t}function Fi(t,e){return e}function U_(t,e,i,o){for(var n=[],s=e.length,a=0;a<s;a++)id(e[a].e,n,!0);var l=s>0&&n.length===0&&i!==null;if(l){var c=i.parentNode;jl(c),c.append(i),o.clear(),Ts(t,e[0].prev,e[s-1].next)}hf(n,()=>{for(var p=0;p<s;p++){var f=e[p];l||(o.delete(f.k),Ts(t,f.prev,f.next)),Gi(f.e,!l)}})}function vi(t,e,i,o,n,s=null){var a=t,l={flags:e,items:new Map,first:null},c=(e&4)!==0;if(c){var p=t;a=nt?ri(si(p)):p.appendChild(Fo())}nt&&bi();var f=null,v=!1,m=Er(()=>{var g=i();return kr(g)?g:g==null?[]:Ol(g)});ji(()=>{var g=r(m),b=g.length;if(v&&b===0)return;v=b===0;let w=!1;if(nt){var k=a.data===Ws;k!==(b===0)&&(a=Da(),ri(a),Yi(!1),w=!0)}if(nt){for(var V=null,F,M=0;M<b;M++){if(_t.nodeType===8&&_t.data===qs){a=_t,w=!0,Yi(!1);break}var H=g[M],S=o(H,M);F=Dv(_t,l,V,null,H,S,M,n,e,i),l.items.set(S,F),V=F}b>0&&ri(Da())}nt||z_(g,l,a,n,e,o,i),s!==null&&(b===0?f?ms(f):f=Ri(()=>s(a)):f!==null&&on(f,()=>{f=null})),w&&Yi(!0),r(m)}),nt&&(a=_t)}function z_(t,e,i,o,n,s,a){var l=(n&8)!==0,c=(n&3)!==0,p=t.length,f=e.items,v=e.first,m=v,g,b=null,w,k=[],V=[],F,M,H,S;if(l)for(S=0;S<p;S+=1)F=t[S],M=s(F,S),H=f.get(M),H!==void 0&&(H.a?.measure(),(w??=new Set).add(H));for(S=0;S<p;S+=1){if(F=t[S],M=s(F,S),H=f.get(M),H===void 0){var q=m?m.e.nodes_start:i;b=Dv(q,e,b,b===null?e.first:b.next,F,M,S,o,n,a),f.set(M,b),k=[],V=[],m=b.next;continue}if(c&&W_(H,F,S,n),H.e.f&8192&&(ms(H.e),l&&(H.a?.unfix(),(w??=new Set).delete(H))),H!==m){if(g!==void 0&&g.has(H)){if(k.length<V.length){var W=V[0],U;b=W.prev;var ie=k[0],se=k[k.length-1];for(U=0;U<k.length;U+=1)Nv(k[U],W,i);for(U=0;U<V.length;U+=1)g.delete(V[U]);Ts(e,ie.prev,se.next),Ts(e,b,ie),Ts(e,se,W),m=W,b=se,S-=1,k=[],V=[]}else g.delete(H),Nv(H,m,i),Ts(e,H.prev,H.next),Ts(e,H,b===null?e.first:b.next),Ts(e,b,H),b=H;continue}for(k=[],V=[];m!==null&&m.k!==M;)m.e.f&8192||(g??=new Set).add(m),V.push(m),m=m.next;if(m===null)continue;H=m}k.push(H),b=H,m=H.next}if(m!==null||g!==void 0){for(var fe=g===void 0?[]:Ol(g);m!==null;)m.e.f&8192||fe.push(m),m=m.next;var J=fe.length;if(J>0){var xe=n&4&&p===0?i:null;if(l){for(S=0;S<J;S+=1)fe[S].a?.measure();for(S=0;S<J;S+=1)fe[S].a?.fix()}U_(e,fe,xe,f)}}l&&No(()=>{if(w!==void 0)for(H of w)H.a?.apply()}),wt.first=e.first&&e.first.e,wt.last=b&&b.e}function W_(t,e,i,o){o&1&&Pa(t.v,e),o&2?Pa(t.i,i):t.i=i}function Dv(t,e,i,o,n,s,a,l,c,p){var f=Is,v=(c&1)!==0,m=(c&16)===0,g=v?m?us(n):Ci(n):n,b=c&2?Ci(a):a;Fe&&v&&(g.debug=()=>{var k=typeof b=="number"?a:b.v;p()[k]});var w={i:b,v:g,k:s,a:null,e:null,prev:i,next:o};Is=w;try{return w.e=Ri(()=>l(t,g,b,p),nt),w.e.prev=i&&i.e,w.e.next=o&&o.e,i===null?e.first=w:(i.next=w,i.e.next=w.e),o!==null&&(o.prev=w,o.e.prev=w.e),w}finally{Is=f}}function Nv(t,e,i){for(var o=t.next?t.next.e.nodes_start:i,n=e?e.e.nodes_start:i,s=t.e.nodes_start;s!==o;){var a=vo(s);n.before(s),s=a}}function Ts(t,e,i){e===null?t.first=i:(e.next=i,e.e.next=i&&i.e),i!==null&&(i.prev=e,i.e.prev=e&&e.e)}function q_(t,e,i){if(!e||e===kv(String(i??"")))return;let o,n=t.__svelte_meta?.loc;n?o=`near ${n.file}:${n.line}:${n.column}`:Do?.[pi]&&(o=`in ${Do[pi]}`),jm(xf(o))}function Jl(t,e,i,o,n){var s=t,a="",l;ji(()=>{if(a===(a=e()??"")){nt&&bi();return}l!==void 0&&(Gi(l),l=void 0),a!==""&&(l=Ri(()=>{if(nt){for(var c=_t.data,p=bi(),f=p;p!==null&&(p.nodeType!==8||p.data!=="");)f=p,p=vo(p);if(p===null)throw Ys(),cs;Fe&&!n&&q_(p.parentNode,c,a),io(_t,f),s=ri(p);return}var v=a+"";i?v=`<svg>${v}</svg>`:o&&(v=`<math>${v}</math>`);var m=Ha(v);if((i||o)&&(m=si(m)),io(si(m),m.lastChild),i||o)for(;si(m);)s.before(si(m));else s.before(m)}))})}function De(t,e,i,o,n){nt&&bi();var s=e.$$slots?.[i],a=!1;s===!0&&(s=e[i==="default"?"children":i],a=!0),s===void 0?n!==null&&n(t):s(t,a?()=>o:o)}function oo(t,e,...i){var o=t,n=Ht,s;ji(()=>{n!==(n=e())&&(s&&(Gi(s),s=null),Fe&&n==null&&Om(),s=Ri(()=>n(o,...i)))},65536),nt&&(o=_t)}function Si(t,e,i){nt&&bi();var o=t,n,s;ji(()=>{n!==(n=e())&&(s&&(on(s),s=null),n&&(s=Ri(()=>i(o,n))))},65536),nt&&(o=_t)}function ec(t,e,i,o,n,s){let a=nt;nt&&bi();var l=Fe&&s&&At?.function[pi],c,p,f=null;nt&&_t.nodeType===1&&(f=_t,bi());var v=nt?_t:t,m,g=Is;ji(()=>{let b=e()||null;var w=n?n():i||b==="svg"?Ks:null;if(b!==c){var k=Is;Pf(g),m&&(b===null?on(m,()=>{m=null,p=null}):b===p?ms(m):(Gi(m),nd(!1))),b&&b!==p&&(m=Ri(()=>{if(f=nt?f:w?document.createElementNS(w,b):document.createElement(b),Fe&&s&&(f.__svelte_meta={loc:{file:l,line:s[0],column:s[1]}}),io(f,f),o){nt&&Av(b)&&f.append(document.createComment(""));var V=nt?si(f):f.appendChild(Fo());nt&&(V===null?Yi(!1):ri(V)),o(f,V)}wt.nodes_end=f,v.before(f)})),c=b,c&&(p=c),nd(!0),Pf(k)}},65536),a&&(Yi(!0),ri(v))}function oe(t,e){No(()=>{var i=t.getRootNode(),o=i.host?i:i.head??i.ownerDocument.head??Tf?.parentNode;if(!o?.querySelector("#"+e.hash)){let n=document.createElement("style");n.id=e.hash,n.textContent=e.code,o.appendChild(n),Fe&&Vv(e.hash,n)}})}function Ov(t){var e,i,o="";if(typeof t=="string"||typeof t=="number")o+=t;else if(typeof t=="object")if(Array.isArray(t)){var n=t.length;for(e=0;e<n;e++)t[e]&&(i=Ov(t[e]))&&(o&&(o+=" "),o+=i)}else for(i in t)t[i]&&(o&&(o+=" "),o+=i);return o}function Hv(){for(var t,e,i=0,o="",n=arguments.length;i<n;i++)(t=arguments[i])&&(e=Ov(t))&&(o&&(o+=" "),o+=e);return o}function tc(t){return typeof t=="object"?Hv(t):t??""}function zv(t,e){e?t.hasAttribute("selected")||t.setAttribute("selected",""):t.removeAttribute("selected")}function pe(t,e,i,o){var n=t.__attributes??={};if(nt&&(n[e]=t.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&t.nodeName==="LINK")){o||K_(t,e,i??"");return}n[e]!==(n[e]=i)&&(e==="style"&&"__styles"in t&&(t.__styles={}),e==="loading"&&(t[Cm]=i),i==null?t.removeAttribute(e):typeof i!="string"&&Wv(t).includes(e)?t[e]=i:t.setAttribute(e,i))}function Le(t,e,i,o,n=!1,s=!1,a=!1){let l=nt&&s;l&&Yi(!1);var c=e||{},p=t.tagName==="OPTION";for(var f in e)f in i||(i[f]=null);i.class&&(i.class=tc(i.class)),o!==void 0&&(i.class=i.class?i.class+" "+o:o);var v=Wv(t),m=t.__attributes??={};for(let M in i){let H=i[M];if(p&&M==="value"&&H==null){t.value=t.__value="",c[M]=H;continue}var g=c[M];if(H!==g){c[M]=H;var b=M[0]+M[1];if(b!=="$$"){if(b==="on"){let S={},q="$$"+M,W=M.slice(2);var w=Iv(W);if(Tv(W)&&(W=W.slice(0,-7),S.capture=!0),!w&&g){if(H!=null)continue;t.removeEventListener(W,c[q],S),c[q]=null}if(H!=null)if(w)t[`__${W}`]=H,pt([W]);else{let U=function(ie){c[M].call(this,ie)};var F=U;c[q]=yf(W,t,U,S)}else w&&(t[`__${W}`]=void 0)}else if(M==="style"&&H!=null)t.style.cssText=H+"";else if(M==="autofocus")_f(t,!!H);else if(!s&&(M==="__value"||M==="value"&&H!=null))t.value=t.__value=H;else if(M==="selected"&&p)zv(t,H);else{var k=M;n||(k=Ev(k));var V=k==="defaultValue"||k==="defaultChecked";if(H==null&&!s&&!V)if(m[M]=null,k==="value"||k==="checked"){let S=t;if(k==="value"){let q=S.defaultValue;S.removeAttribute(k),S.defaultValue=q}else{let q=S.defaultChecked;S.removeAttribute(k),S.defaultChecked=q}}else t.removeAttribute(M);else V||v.includes(k)&&(s||typeof H!="string")?t[k]=H:typeof H!="function"&&pe(t,k,H)}M==="style"&&"__styles"in t&&(t.__styles={})}}}return l&&Yi(!0),c}var Fv=new Map;function Wv(t){var e=Fv.get(t.nodeName);if(e)return e;Fv.set(t.nodeName,e=[]);for(var i,o=t,n=Element.prototype;n!==o;){i=Dc(o);for(var s in i)i[s].set&&e.push(s);o=ls(o)}return e}function K_(t,e,i){Fe&&(e==="srcset"&&Q_(t,i)||Af(t.getAttribute(e)??"",i)||Ym(e,t.outerHTML.replace(t.innerHTML,t.innerHTML&&"..."),String(i)))}function Af(t,e){return t===e?!0:new URL(t,document.baseURI).href===new URL(e,document.baseURI).href}function Uv(t){return t.split(",").map(e=>e.trim().split(" ").filter(Boolean))}function Q_(t,e){var i=Uv(t.srcset),o=Uv(e);return o.length===i.length&&o.every(([n,s],a)=>s===i[a][1]&&(Af(i[a][0],n)||Af(n,i[a][0])))}function Uo(t,e,i){var o=t.__className,n=G_(e,i);nt&&t.className===n?t.__className=n:(o!==n||nt&&t.className!==n)&&(e==null&&!i?t.removeAttribute("class"):t.className=n,t.__className=n)}function G_(t,e){return(t??"")+(e?" "+e:"")}function ne(t,e,i){if(i){if(t.classList.contains(e))return;t.classList.add(e)}else{if(!t.classList.contains(e))return;t.classList.remove(e)}}var Y_=Bc?()=>performance.now():()=>Date.now(),Ar={tick:t=>(Bc?requestAnimationFrame:Ht)(t),now:()=>Y_(),tasks:new Set};function qv(){let t=Ar.now();Ar.tasks.forEach(e=>{e.c(t)||(Ar.tasks.delete(e),e.f())}),Ar.tasks.size!==0&&Ar.tick(qv)}function Kv(t){let e;return Ar.tasks.size===0&&Ar.tick(qv),{promise:new Promise(i=>{Ar.tasks.add(e={c:t,f:i})}),abort(){Ar.tasks.delete(e)}}}function sd(t,e){t.dispatchEvent(new CustomEvent(e))}function J_(t){if(t==="float")return"cssFloat";if(t==="offset")return"cssOffset";if(t.startsWith("--"))return t;let e=t.split("-");return e.length===1?e[0]:e[0]+e.slice(1).map(i=>i[0].toUpperCase()+i.slice(1)).join("")}function Qv(t){let e={},i=t.split(";");for(let o of i){let[n,s]=o.split(":");if(!n||s===void 0)break;let a=J_(n.trim());e[a]=s.trim()}return e}var e$=t=>t;function Lf(t,e,i,o){var n=(t&1)!==0,s=(t&2)!==0,a=n&&s,l=(t&4)!==0,c=a?"both":n?"in":"out",p,f=e.inert,v=e.style.overflow,m,g;function b(){var M=Ft,H=wt;eo(null),wi(null);try{return p??=i()(e,o?.()??{},{direction:c})}finally{eo(M),wi(H)}}var w={is_global:l,in(){if(e.inert=f,!n){g?.abort(),g?.reset?.();return}s||m?.abort(),sd(e,"introstart"),m=Mf(e,b(),g,1,()=>{sd(e,"introend"),m?.abort(),m=p=void 0,e.style.overflow=v})},out(M){if(!s){M?.(),p=void 0;return}e.inert=!0,sd(e,"outrostart"),g=Mf(e,b(),m,0,()=>{sd(e,"outroend"),M?.()})},stop:()=>{m?.abort(),g?.abort()}},k=wt;if((k.transitions??=[]).push(w),n&&Zl){var V=l;if(!V){for(var F=k.parent;F&&F.f&65536;)for(;(F=F.parent)&&!(F.f&16););V=!F||(F.f&32768)!==0}V&&Jo(()=>{xt(()=>w.in())})}}function Mf(t,e,i,o,n){var s=o===1;if(Cs(e)){var a,l=!1;return No(()=>{if(!l){var k=e({direction:s?"in":"out"});a=Mf(t,k,i,o,n)}}),{abort:()=>{l=!0,a?.abort()},deactivate:()=>a.deactivate(),reset:()=>a.reset(),t:()=>a.t()}}if(i?.deactivate(),!e?.duration)return n(),{abort:Ht,deactivate:Ht,reset:Ht,t:()=>o};let{delay:c=0,css:p,tick:f,easing:v=e$}=e;var m=[];if(s&&i===void 0&&(f&&f(0,1),p)){var g=Qv(p(0,1));m.push(g,g)}var b=()=>1-o,w=t.animate(m,{duration:c});return w.onfinish=()=>{var k=i?.t()??1-o;i?.abort();var V=o-k,F=e.duration*Math.abs(V),M=[];if(F>0){var H=!1;if(p)for(var S=Math.ceil(F/16.666666666666668),q=0;q<=S;q+=1){var W=k+V*v(q/S),U=Qv(p(W,1-W));M.push(U),H||=U.overflow==="hidden"}H&&(t.style.overflow="hidden"),b=()=>{var ie=w.currentTime;return k+V*v(ie/F)},f&&Kv(()=>{if(w.playState!=="running")return!1;var ie=b();return f(ie,1-ie),!0})}w=t.animate(M,{duration:F,fill:"forwards"}),w.onfinish=()=>{b=()=>o,f?.(o,1-o),n()}},{abort:()=>{w&&(w.cancel(),w.effect=null,w.onfinish=Ht)},deactivate:()=>{n=Ht},reset:()=>{o===0&&f?.(1,0)},t:()=>b()}}var Rf=class t{#t=new WeakMap;#e;#i;static entries=new WeakMap;constructor(e){this.#i=e}observe(e,i){var o=this.#t.get(e)||new Set;return o.add(i),this.#t.set(e,o),this.#o().observe(e,this.#i),()=>{var n=this.#t.get(e);n.delete(i),n.size===0&&(this.#t.delete(e),this.#e.unobserve(e))}}#o(){return this.#e??(this.#e=new ResizeObserver(e=>{for(var i of e){t.entries.set(i.target,i);for(var o of this.#t.get(i.target)||[])o(i)}}))}};var o$=new Rf({box:"border-box"});function Yr(t,e,i){var o=o$.observe(t,()=>i(t[e]));Jo(()=>(xt(()=>i(t[e])),o))}function Gv(t,e){return t===e||t?.[wo]===e}function vt(t={},e,i,o){return Jo(()=>{var n,s;return mo(()=>{n=s,s=o?.()||[],xt(()=>{t!==i(...s)&&(e(t,...s),n&&Gv(i(...n),t)&&e(null,...n))})}),()=>{No(()=>{s&&Gv(i(...s),t)&&e(null,...s)})}}),t}function Mr(t=!1){let e=At,i=e.l.u;if(!i)return;let o=()=>Xc(e.s);if(t){let n=0,s={},a=_(()=>{let l=!1,c=e.s;for(let p in c)c[p]!==s[p]&&(s[p]=c[p],l=!0);return l&&n++,n});o=()=>r(a)}i.b.length&&Sa(()=>{Yv(e,o),Ss(i.b)}),ot(()=>{let n=xt(()=>i.m.map(Tm));return()=>{for(let s of n)typeof s=="function"&&s()}}),i.a.length&&ot(()=>{Yv(e,o),Ss(i.a)})}function Yv(t,e){if(t.l.s)for(let i of t.l.s)r(i);e()}function P(t,e,i){t.$$events||={},t.$$events[e]||=[],t.$$events[e].push(i)}function A(t){for(var e in t)e in this&&(this[e]=t[e])}if(Fe){let t=function(e){if(!(e in globalThis)){let i;Object.defineProperty(globalThis,e,{configurable:!0,get:()=>{if(i!==void 0)return i;Fm(e)},set:o=>{i=o}})}};r$=t,t("$state"),t("$effect"),t("$derived"),t("$inspect"),t("$props"),t("$bindable")}var r$;function Ut(t){At===null&&ka("onMount"),Wr&&At.l!==null?n$(At).m.push(t):ot(()=>{let e=xt(t);if(typeof e=="function")return e})}function tr(t){At===null&&ka("onDestroy"),Ut(()=>()=>xt(t))}function n$(t){var e=t.l;return e.u??={a:[],b:[],m:[]}}function ic(t,e,i){if(t==null)return e(void 0),i&&i(void 0),Ht;let o=xt(()=>t.subscribe(e,i));return o.unsubscribe?()=>o.unsubscribe():o}var Ua=[];function ir(t,e){return{subscribe:be(t,e).subscribe}}function be(t,e=Ht){let i=null,o=new Set;function n(l){if(xa(t,l)&&(t=l,i)){let c=!Ua.length;for(let p of o)p[1](),Ua.push(p,t);if(c){for(let p=0;p<Ua.length;p+=2)Ua[p][0](Ua[p+1]);Ua.length=0}}}function s(l){n(l(t))}function a(l,c=Ht){let p=[l,c];return o.add(p),o.size===1&&(i=e(n,s)||Ht),l(t),()=>{o.delete(p),o.size===0&&i&&(i(),i=null)}}return{set:n,update:s,subscribe:a}}function ai(t,e,i){let o=!Array.isArray(t),n=o?[t]:t;if(!n.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");let s=e.length<2;return ir(i,(a,l)=>{let c=!1,p=[],f=0,v=Ht,m=()=>{if(f)return;v();let b=e(o?p[0]:p,a,l);s?a(b):v=typeof b=="function"?b:Ht},g=n.map((b,w)=>ic(b,k=>{p[w]=k,f&=~(1<<w),c&&m()},()=>{f|=1<<w}));return c=!0,m(),function(){Ss(g),v(),c=!1}})}function Ae(t){let e;return ic(t,i=>e=i)(),e}var ld=!1,Vf=Symbol();function C(t,e,i){let o=i[e]??={store:null,source:us(void 0),unsubscribe:Ht};if(o.store!==t&&!(Vf in i))if(o.unsubscribe(),o.store=t??null,t==null)o.source.v=void 0,o.unsubscribe=Ht;else{var n=!0;o.unsubscribe=ic(t,s=>{n?o.source.v=s:K(o.source,s)}),n=!1}return t&&Vf in i?Ae(t):r(o.source)}function Je(){let t={};function e(){kn(()=>{for(var i in t)t[i].unsubscribe();Qi(t,Vf,{enumerable:!1,value:!0})})}return[t,e]}function Nf(t){var e=ld;try{return ld=!1,[t(),ld]}finally{ld=e}}var d$={get(t,e){if(!t.exclude.includes(e))return r(t.version),e in t.special?t.special[e]():t.props[e]},set(t,e,i){return e in t.special||(t.special[e]=u({get[e](){return t.props[e]}},e,4)),t.special[e](i),zc(t.version),!0},getOwnPropertyDescriptor(t,e){if(!t.exclude.includes(e)&&e in t.props)return{enumerable:!0,configurable:!0,value:t.props[e]}},deleteProperty(t,e){return t.exclude.includes(e)||(t.exclude.push(e),zc(t.version)),!0},has(t,e){return t.exclude.includes(e)?!1:e in t.props},ownKeys(t){return Reflect.ownKeys(t.props).filter(e=>!t.exclude.includes(e))}};function Oe(t,e){return new Proxy({props:t,exclude:e,special:{},version:Ci(0)},d$)}var u$={get(t,e){let i=t.props.length;for(;i--;){let o=t.props[i];if(Cs(o)&&(o=o()),typeof o=="object"&&o!==null&&e in o)return o[e]}},set(t,e,i){let o=t.props.length;for(;o--;){let n=t.props[o];Cs(n)&&(n=n());let s=yn(n,e);if(s&&s.set)return s.set(i),!0}return!1},getOwnPropertyDescriptor(t,e){let i=t.props.length;for(;i--;){let o=t.props[i];if(Cs(o)&&(o=o()),typeof o=="object"&&o!==null&&e in o){let n=yn(o,e);return n&&!n.configurable&&(n.configurable=!0),n}}},has(t,e){if(e===wo||e===Dl)return!1;for(let i of t.props)if(Cs(i)&&(i=i()),i!=null&&e in i)return!0;return!1},ownKeys(t){let e=[];for(let i of t.props){Cs(i)&&(i=i());for(let o in i)e.includes(o)||e.push(o)}return e}};function vs(...t){return new Proxy({props:t},u$)}function jv(t){for(var e=wt,i=wt;e!==null&&!(e.f&96);)e=e.parent;try{return wi(e),t()}finally{wi(i)}}function u(t,e,i,o){var n=(i&1)!==0,s=!Wr||(i&2)!==0,a=(i&8)!==0,l=(i&16)!==0,c=!1,p;a?[p,c]=Nf(()=>t[e]):p=t[e];var f=wo in t||Dl in t,v=a&&(yn(t,e)?.set??(f&&e in t&&(W=>t[e]=W)))||void 0,m=o,g=!0,b=!1,w=()=>(b=!0,g&&(g=!1,l?m=xt(o):m=o),m);p===void 0&&o!==void 0&&(v&&s&&Hm(e),p=w(),v&&v(p));var k;if(s)k=()=>{var W=t[e];return W===void 0?w():(g=!0,b=!1,W)};else{var V=jv(()=>(n?_:Er)(()=>t[e]));V.f|=131072,k=()=>{var W=r(V);return W!==void 0&&(m=void 0),W===void 0?m:W}}if(!(i&4))return k;if(v){var F=t.$$legacy;return function(W,U){return arguments.length>0?((!s||!U||F||c)&&v(U?k():W),W):k()}}var M=!1,H=!1,S=us(p),q=jv(()=>_(()=>{var W=k(),U=r(S);return M?(M=!1,H=!0,U):(H=!1,S.v=W)}));return n||(q.equals=wa),function(W,U){if(Fl!==null&&(M=H,k(),r(S)),arguments.length>0){let ie=U?r(q):s&&a?ke(W):W;return q.equals(ie)||(M=!0,K(S,ie),b&&m!==void 0&&(m=ie),xt(()=>r(q))),W}return r(q)}}var p$;typeof HTMLElement=="function"&&(p$=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(t,e,i){super(),this.$$ctor=t,this.$$s=e,i&&this.attachShadow({mode:"open"})}addEventListener(t,e,i){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(e),this.$$c){let o=this.$$c.$on(t,e);this.$$l_u.set(e,o)}super.addEventListener(t,e,i)}removeEventListener(t,e,i){if(super.removeEventListener(t,e,i),this.$$c){let o=this.$$l_u.get(e);o&&(o(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(n){return s=>{let a=document.createElement("slot");n!=="default"&&(a.name=n),x(s,a)}};var t=e;if(await Promise.resolve(),!this.$$cn||this.$$c)return;let i={},o=f$(this);for(let n of this.$$s)n in o&&(n==="default"&&!this.$$d.children?(this.$$d.children=e(n),i.default=!0):i[n]=e(n));for(let n of this.attributes){let s=this.$$g_p(n.name);s in this.$$d||(this.$$d[s]=Bf(s,n.value,this.$$p_d,"toProp"))}for(let n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=T({component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:i,$$host:this}}),this.$$me=td(()=>{mo(()=>{this.$$r=!0;for(let n of Kp(this.$$c)){if(!this.$$p_d[n]?.reflect)continue;this.$$d[n]=this.$$c[n];let s=Bf(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(let n in this.$$l)for(let s of this.$$l[n]){let a=this.$$c.$on(n,s);this.$$l_u.set(s,a)}this.$$l={}}}attributeChangedCallback(t,e,i){this.$$r||(t=this.$$g_p(t),this.$$d[t]=Bf(t,i,this.$$p_d,"toProp"),this.$$c?.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)})}$$g_p(t){return Kp(this.$$p_d).find(e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t)||t}});function Bf(t,e,i,o){let n=i[t]?.type;if(e=n==="Boolean"&&typeof e!="boolean"?e!=null:e,!o||!i[t])return e;if(o==="toAttribute")switch(n){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e??null;default:return e}else switch(n){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function f$(t){let e={};return t.childNodes.forEach(i=>{e[i.slot||"default"]=!0}),e}import{clientChecker as Tx}from"@vkontakte/videoplayer-core/evergreen";import"@vkontakte/videoplayer-core/evergreen";import{noop as Ep,safeStorage as Ix,throttleFn as Ex}from"@vkontakte/videoplayer-shared/evergreen";import{SeekAction as Px}from"@vkontakte/videoplayer-statistics/evergreen";import{InterfaceLanguage as v$,fillWithDefault as g$,VideoQuality as Xv}from"@vkontakte/videoplayer-shared/evergreen";var h$={isMobile:void 0,debugLog:!1,devNullLog:!1,defaultLanguage:v$.RU,downloadVKLanguages:!0,updateBuiltinLanguages:!0,isSmoothVideoRotate:!0,showSupport:!0,supportLink:"https://vk.com/support?act=new&from=v",showLogo:void 0,logoLink:"https://vk.com/video",logoType:"vk_video",volumeDefault:1,volumeMinRestore:.05,loaderDelay:500,minSubtitlesFontSize:13,autoSubtitlesTimeout:2e3,allowChangingFullscreenTarget:!0,trafficSavingLimit:Xv.Q_480P,highQualityLimit:Xv.Q_720P,episodeMinWidthPc:8,hideThumbTimerAfterTouch:!0,preventPauseOnVideoClick:!1,sentry:{dsn:"https://e349fd23c68f405388980d0868d0ff27@sentry.mvk.com/126",sampleRate:.01,whiteErrorCategoryList:[],blackErrorCategoryList:[],whiteErrorIdList:[],blackErrorIdList:[]},features:{autoplay:!0,statistics:!0,sentry:!0,preload:!0,subtitles:!0,episodes:!0,fullscreen:!0,timelinePreview:!0,mediaSession:!0,annotations:!0,slots:!0,annotationsInside:!1,pip:!0,dpip:!0,download:!0,liveRewind:!0,playbackRate:!0,trafficSaving:!0,episodesClustering:!0,copyVideoLink:!0,videoRotate:!0,interactiveGraph:!1,interactiveResponsiveUi:!1,seekToInteractive:!0,interactiveLastFrame:!1,interactiveTextPermanent:!0,interactiveHideTime:!0,interactivePlayPrevChapter:!0,interactiveTimeIndicator:!0,interactiveTimeOpenUri:!1,thumbTimer:!0,hotKeyMapModal:!0,hotKeyHelpers:!0,saveDebugInfoToFile:!1,saveTraceInfoToFile:!1,additionalButtons:!0,additionalButtonsDesktopControlPanelRight:!0,additionalSettingsMenuItems:!0,additionalContextMenuItems:!0,contextMenuButton:!0,audioLanguages:!1,saveRate:!1,fullscreenInternalTargetPlayerContainer:!1,endScreen:!0,autoplayNext:!0,nextPrevButtons:!0,previewNoEmptySpace:!1,exposeInternalsToGlobal:!1,skipInitialPlaybackRateValue:!1,qualityDetailsSubMenuEnabled:!1,showSlowVideoNotification:!1,forceAutoQualityWhenSevereStallHappens:!1,timeoutShowSlowVideoNotification:0,maxCountShowSlowVideoNotification:1,forcePlayerDisplayBlock:!1},controls:{showOnStartupAtAutoplay:!0,hideTimeout:500,hideTimeoutMobile:3e3,hideTimeoutInitial:200,hideTimeoutFullscreen:3e3,hideTimeoutCursor:3e3,hideTimeoutTooltips:1e3,collapseMobileUnmute:6e3,hide360IconTimeout:3e3,hideHotKeyHelpers:2e3,playbackRateMin:.25,playbackRateMax:2,playbackRateStep:.25,volumeStepKeyboard:.05,volumeStepWheel:.05,volumeBarTimeout:300,seekStepKeyboard:1e4,seekStepMobile:15e3,seekStepFrame:400},ads:{enable:void 0,initTimeout:2e3,loadTimeout:2e3,runtimeTimeout:5e3,slot:void 0,preview:void 0,isMobileGoToSiteButton:!0,useAdmanFromNPM:!1,volumeMultiplier:1,isVsidOriginal:!1},interactive:{historyMaxLength:100,noInteractionEventTimeout:3e4},view:{timelineSliderColor:null,timelineSliderHandleColor:null,timelineSliderFilledColor:null,timelineSliderLoadedColor:null,volumeSliderColor:null,volumeSliderHandleColor:null,volumeSliderFilledColor:null,controlsTimeColor:null,timelineSliderFilledActiveLiveColor:null,timelineSliderHandleActiveLiveColor:null,buttonColor:null,buttonToggleOnColor:null,focusedColor:null}},Jv=t=>g$(t,h$),eg=t=>Ia("ui-config",t),Qt=()=>Ta("ui-config");var oc="vk_player_debug_panel_opened";var tg="videoplayer",ig="videoplayer";var jr={KeyF:"f",KeyK:"k",KeyC:"c",KeyM:"m"},og=new Set(["ArrowLeft","ArrowRight","KeyL","KeyJ"]),ng=new Set(["Tab","Space","ArrowLeft","ArrowRight","ArrowUp","ArrowDown"]),rg=new Set(["ShiftRight","ShiftLeft"]);var sg=["TIMELINE"],nc=[...sg,"GRAPH_BUTTON"],Df=[...sg,"PLAY_BUTTON"],rc=[...nc,"PLAY_BUTTON"];var Zr=(s=>(s.XS="xs",s.S="s",s.M="m",s.L="l",s.XL="xl",s))(Zr||{}),oa={xs:0,s:1,m:2,l:3,xl:4};import{assertNonNullable as ag,VERSION as _$}from"@vkontakte/videoplayer-shared/evergreen";import{VERSION as $$}from"@vkontakte/videoplayer-core/evergreen";import{VERSION as b$}from"@vkontakte/videoplayer-statistics/evergreen";var cd="prod",za="1.1.59-dev.5ccf8bf2.0";var na=(t,e,i)=>{let o=document.createElement("a");o.href=t,o.download=`${e}.${i}`,o.style.display="none",o.click()};var lg=Symbol("storeContext"),cg=Symbol("microStoresContext"),dg=(t,e)=>{Ia(lg,t),Ia(cg,e),cd==="dev"&&(window.app={store:t,microStores:e})},Be=()=>{let t=Ta(lg);return ag(t,"Store context is empty!"),t},go=()=>{let t=Ta(cg);return ag(t,"MicroStores context is empty!"),t},Xt=(t,e)=>ud(t,t.getValue(),e),ud=(t,e,i)=>ir(e,o=>{let n=t.subscribe(s=>{o(s),i?.(s)});return()=>n.unsubscribe()}),ug=(t,e,i)=>{let o=t.info,{width:n,height:s}=Ae(i.ui.playerSize),a=o.throughputEstimation$.getValue()?.toFixed(0)??0,l=o.rttEstimation$.getValue()?.toFixed(0)??0,c=o.isAutoQualityEnabled$.getValue()?"auto":"manual",p=`${za} (core: ${$$}, stat: ${b$}, shared: ${_$})`,f=Ae(i.state.errorLog$),v=f.length?`
|
|
46
46
|
`+f.map((V,F)=>{let M=`${F}) Type: ${V.id}
|
|
47
47
|
`,H=`Message: ${V.message} (${V.thrown})
|
|
48
48
|
`,S=`Trace: ${V.thrown?.stack}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vkontakte/videoplayer",
|
|
3
|
-
"version": "1.1.59-dev.
|
|
3
|
+
"version": "1.1.59-dev.5ccf8bf2.0",
|
|
4
4
|
"author": "vk.com",
|
|
5
5
|
"description": "Videoplayer based on the vk.com platform",
|
|
6
6
|
"homepage": "https://vk.com",
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
],
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@adtech/rbadman": "2.2.57",
|
|
53
|
-
"@vkontakte/videoplayer-core": "2.0.129-dev.
|
|
54
|
-
"@vkontakte/videoplayer-interactive": "1.0.34-dev.
|
|
55
|
-
"@vkontakte/videoplayer-shared": "1.0.
|
|
56
|
-
"@vkontakte/videoplayer-statistics": "1.0.75-dev.
|
|
53
|
+
"@vkontakte/videoplayer-core": "2.0.129-dev.26e89d23.0",
|
|
54
|
+
"@vkontakte/videoplayer-interactive": "1.0.34-dev.792dfc6b.0",
|
|
55
|
+
"@vkontakte/videoplayer-shared": "1.0.56",
|
|
56
|
+
"@vkontakte/videoplayer-statistics": "1.0.75-dev.35dc6f00.0"
|
|
57
57
|
}
|
|
58
58
|
}
|
package/types/config.d.ts
CHANGED
|
@@ -38,9 +38,6 @@ export interface IUIConfig {
|
|
|
38
38
|
volumeMultiplier: number;
|
|
39
39
|
isVsidOriginal: boolean;
|
|
40
40
|
};
|
|
41
|
-
/**
|
|
42
|
-
* Если нет ранее сохранённого значения громкости будет использовано это
|
|
43
|
-
*/
|
|
44
41
|
volumeDefault: number;
|
|
45
42
|
volumeMinRestore: number;
|
|
46
43
|
loaderDelay: Milliseconds;
|