UNPKG

todoctor

Version:

CLI tool to analyze and report TODO comments in JavaScript and TypeScript Git repositories

13 lines 630 kB
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Todoctor</title> <meta name="theme-color" content="#2c7f50" /> <link href="./favicon.ico" sizes="any" rel="icon" /> <link type="image/svg+xml" href="./icon.svg" rel="icon" /> <link href="./apple-touch-icon.png" rel="apple-touch-icon" /> <style>::selection{color:#f5fefe;color:lab(98.946% -3.24333 -1.07776);background-color:#45b164fc;background-color:lab(64.7709% -45.2644 29.8149/.99)}*{box-sizing:border-box}body{min-inline-size:320px;font-family:var(--font-family-base);color:var(--color-content-primary);background:var(--color-background-primary);margin:0}h1{font:var(--font-2xl)}h2{margin-block:var(--space-l)var(--space-m);font:var(--font-xl)}h3{margin-block:var(--space-l)var(--space-m);font:var(--font-l);font-weight:600}button{appearance:button}button,input,select,optgroup,textarea{font:inherit}a,select:not(:disabled),button:not(:disabled){cursor:pointer}a{color:var(--color-content-brand);text-underline-offset:.25em;border-radius:var(--border-radius);outline:none;text-decoration:underline;transition:box-shadow .2s;display:inline-block}a:focus-visible{background:var(--color-overlay-brand);box-shadow:0 0 0 2px var(--color-border-brand);text-decoration:none}p{text-wrap:pretty}@media print{p{widows:2}}#root{grid-template-rows:auto 1fr auto;min-block-size:100dvb;display:grid}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--color-background-brand:#45b164;--color-background-primary:#f2fff6;--color-background-secondary:#cde5d4;--color-background-tertiary:#e5f7eb;--color-content-brand:#00722e;--color-content-primary:#353c3c;--color-content-secondary:#6b7373;--color-border-brand:#00722e;--color-border-primary:#7a8282;--color-border-secondary:#373c38;--color-overlay-brand:#00722e4d;--color-additional-primary:#53be70;--color-additional-secondary:#00bfa8;--color-additional-tertiary:#00bad2;--color-additional-quaternary:#30aff8;--color-additional-quinary:#819eff;--color-additional-senary:#b48df4}@supports (color:lab(0% 0 0)){:root{--color-background-brand:lab(64.7709% -45.2644 29.8149);--color-background-primary:lab(99.1785% -7.73594 3.9625);--color-background-secondary:lab(88.8724% -10.8509 5.55993);--color-background-tertiary:lab(95.6984% -7.73674 3.96301);--color-content-brand:lab(41.5195% -45.916 31.0557);--color-content-primary:lab(24.7058% -3.24371 -1.07324);--color-content-secondary:lab(47.9059% -3.24351 -1.07577);--color-border-brand:lab(41.5195% -45.916 31.0557);--color-border-primary:lab(53.7059% -3.24348 -1.07614);--color-border-secondary:lab(24.7353% -3.09579 1.58586);--color-overlay-brand:lab(41.5195% -45.916 31.0557/.3);--color-additional-primary:lab(69.418% -45.1896 29.6823);--color-additional-secondary:lab(69.4017% -53.0097 -.368965);--color-additional-tertiary:lab(68.62% -40.6874 -27.5688);--color-additional-quaternary:lab(67.343% -15.8069 -46.8398);--color-additional-quinary:lab(66.1267% 10.32 -53.8714);--color-additional-senary:lab(65.4352% 30.79 -46.8461)}}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--color-background-brand:#67d283;--color-background-primary:#353c3c;--color-background-secondary:#2a2f2c;--color-background-tertiary:#303737;--color-content-brand:#67d283;--color-content-primary:#f2fff6;--color-content-secondary:#afc0b4;--color-border-brand:#67d283;--color-border-primary:#424949;--color-border-secondary:#373c38;--color-overlay-brand:#67d2834d;--color-additional-primary:#67d283;--color-additional-secondary:#00d5bb;--color-additional-tertiary:#00cfe9;--color-additional-quaternary:#5ec2ff;--color-additional-quinary:#9bb4ff;--color-additional-senary:#c5a2ff}@supports (color:lab(0% 0 0)){:root[data-theme=dark]{--color-background-brand:lab(76.3874% -45.0956 29.5179);--color-background-primary:lab(24.7058% -3.24371 -1.07324);--color-background-secondary:lab(18.9351% -3.09783 1.5871);--color-background-tertiary:lab(22.3858% -3.24374 -1.07282);--color-content-brand:lab(76.3874% -45.0956 29.5179);--color-content-primary:lab(99.1785% -7.73594 3.9625);--color-content-secondary:lab(75.978% -7.74276 3.96663);--color-border-brand:lab(76.3874% -45.0956 29.5179);--color-border-primary:lab(30.5058% -3.24364 -1.07409);--color-border-secondary:lab(24.7353% -3.09579 1.58586);--color-overlay-brand:lab(76.3874% -45.0956 29.5179/.3);--color-additional-primary:lab(76.3874% -45.0956 29.5179);--color-additional-secondary:lab(76.3619% -52.8027 -.377679);--color-additional-tertiary:lab(75.5906% -40.9653 -27.6476);--color-additional-quaternary:lab(74.3387% -16.5917 -46.9682);--color-additional-quinary:lab(73.1377% 9.52545 -54.0017);--color-additional-senary:lab(72.4339% 30.4029 -46.9497)}}:root{--space-2xs:clamp(.25rem,.125rem + .5vi,.375rem);--space-xs:clamp(.5rem,.25rem + 1vi,.75rem);--space-s:clamp(.75rem,.5rem + 1vi,1rem);--space-m:clamp(1rem,.75rem + 1vi,1.25rem);--space-l:clamp(1.5rem,1.25rem + 1vi,1.75rem);--space-xl:clamp(2rem,1rem + 4vi,3rem);--space-2xl:clamp(3rem,2rem + 4vi,4rem);--border-radius:8px;--font-family-base:georgia,serif;--font-size-2xs:clamp(.88rem,-.9vi + 1.11rem,.39rem);--font-size-xs:clamp(.9rem,-.65vi + 1.06rem,.54rem);--font-size-s:clamp(.92rem,-.29vi + .99rem,.76rem);--font-size-m:clamp(.94rem,.23vi + .88rem,1.06rem);--font-size-l:clamp(.96rem,.97vi + .71rem,1.49rem);--font-size-xl:clamp(.98rem,2.01vi + .47rem,2.08rem);--font-size-2xl:clamp(.99rem,3.49vi + .12rem,2.92rem);--font-2xs:400 var(--font-size-2xs)/1.75 var(--font-family-base);--font-xs:400 var(--font-size-xs)/1.75 var(--font-family-base);--font-s:400 var(--font-size-s)/1.75 var(--font-family-base);--font-m:400 var(--font-size-m)/1.75 var(--font-family-base);--font-l:400 var(--font-size-l)/1.75 var(--font-family-base);--font-xl:600 var(--font-size-xl)/1.5 var(--font-family-base);--font-2xl:600 var(--font-size-2xl)/1.15 var(--font-family-base)}</style> <script type="module" crossorigin>var za=Object.defineProperty;var $a=(e,t,n)=>t in e?za(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var k=(e,t,n)=>$a(e,typeof t!="symbol"?t+"":t,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))i(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&i(a)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function i(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();const T3=!1;var wn=Array.isArray,Ha=Array.prototype.indexOf,qi=Array.from,Fo=Object.defineProperty,Bt=Object.getOwnPropertyDescriptor,To=Object.getOwnPropertyDescriptors,Ba=Object.prototype,Na=Array.prototype,Ki=Object.getPrototypeOf,Z3=Object.isExtensible;function Le(e){return typeof e=="function"}const xe=()=>{};function Wa(e){return e()}function pi(e){for(var t=0;t<e.length;t++)e[t]()}function ja(e,t){if(Array.isArray(e))return e;if(!(Symbol.iterator in e))return Array.from(e);const n=[];for(const i of e)if(n.push(i),n.length===t)break;return n}const nt=2,Zo=4,Sn=8,Ji=16,Ft=32,ke=64,Qi=128,W1=256,rn=512,z1=1024,ut=2048,qt=4096,At=8192,t3=16384,Lo=32768,_2=65536,Ga=1<<17,Ya=1<<19,Eo=1<<20,mi=1<<21,lt=Symbol("$state"),Io=Symbol("legacy props"),Ua=Symbol("");function Vo(e){return e===this.v}function zo(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function e3(e){return!zo(e,this.v)}function Xa(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function qa(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function Ka(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Ja(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Qa(){throw new Error("https://svelte.dev/e/hydration_failed")}function tr(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function er(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function nr(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function ir(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}let Ae=!1,sr=!1;function or(){Ae=!0}const n3=1,i3=2,$o=4,ar=8,rr=16,lr=1,cr=2,ur=4,dr=8,fr=16,hr=1,gr=2,s3="[",o3="[!",a3="]",le={},E1=Symbol(),pr="http://www.w3.org/1999/xhtml",mr="http://www.w3.org/2000/svg",vr="@attach";function Ho(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}let c1=null;function L3(e){c1=e}function T1(e,t=!1,n){var i=c1={p:c1,c:null,d:!1,e:null,m:!1,s:e,x:null,l:null};Ae&&!t&&(c1.l={s:null,u:null,r1:[],r2:l2(!1)}),l3(()=>{i.d=!0})}function Z1(e){const t=c1;if(t!==null){const a=t.e;if(a!==null){var n=X,i=o1;t.e=null;try{for(var s=0;s<a.length;s++){var o=a[s];Wt(o.effect),ft(o.reaction),y2(o.fn)}}finally{Wt(n),ft(i)}}c1=t.p,t.m=!0}return{}}function Cn(){return!Ae||c1!==null&&c1.l===null}function oe(e){if(typeof e!="object"||e===null||lt in e)return e;const t=Ki(e);if(t!==Ba&&t!==Na)return e;var n=new Map,i=wn(e),s=_t(0),o=o1,a=r=>{var l=o1;ft(o);var c=r();return ft(l),c};return i&&n.set("length",_t(e.length)),new Proxy(e,{defineProperty(r,l,c){return(!("value"in c)||c.configurable===!1||c.enumerable===!1||c.writable===!1)&&er(),a(()=>{var u=n.get(l);u===void 0?(u=_t(c.value),n.set(l,u)):T(u,c.value,!0)}),!0},deleteProperty(r,l){var c=n.get(l);if(c===void 0){if(l in r){const f=a(()=>_t(E1));n.set(l,f),$n(s)}}else{if(i&&typeof l=="string"){var u=n.get("length"),d=Number(l);Number.isInteger(d)&&d<u.v&&T(u,d)}T(c,E1),$n(s)}return!0},get(r,l,c){var h;if(l===lt)return e;var u=n.get(l),d=l in r;if(u===void 0&&(!d||(h=Bt(r,l))!=null&&h.writable)&&(u=a(()=>{var g=oe(d?r[l]:E1),p=_t(g);return p}),n.set(l,u)),u!==void 0){var f=y(u);return f===E1?void 0:f}return Reflect.get(r,l,c)},getOwnPropertyDescriptor(r,l){var c=Reflect.getOwnPropertyDescriptor(r,l);if(c&&"value"in c){var u=n.get(l);u&&(c.value=y(u))}else if(c===void 0){var d=n.get(l),f=d==null?void 0:d.v;if(d!==void 0&&f!==E1)return{enumerable:!0,configurable:!0,value:f,writable:!0}}return c},has(r,l){var f;if(l===lt)return!0;var c=n.get(l),u=c!==void 0&&c.v!==E1||Reflect.has(r,l);if(c!==void 0||X!==null&&(!u||(f=Bt(r,l))!=null&&f.writable)){c===void 0&&(c=a(()=>{var h=u?oe(r[l]):E1,g=_t(h);return g}),n.set(l,c));var d=y(c);if(d===E1)return!1}return u},set(r,l,c,u){var M;var d=n.get(l),f=l in r;if(i&&l==="length")for(var h=c;h<d.v;h+=1){var g=n.get(h+"");g!==void 0?T(g,E1):h in r&&(g=a(()=>_t(E1)),n.set(h+"",g))}if(d===void 0)(!f||(M=Bt(r,l))!=null&&M.writable)&&(d=a(()=>{var x=_t(void 0);return T(x,oe(c)),x}),n.set(l,d));else{f=d.v!==E1;var p=a(()=>oe(c));T(d,p)}var m=Reflect.getOwnPropertyDescriptor(r,l);if(m!=null&&m.set&&m.set.call(u,c),!f){if(i&&typeof l=="string"){var v=n.get("length"),_=Number(l);Number.isInteger(_)&&_>=v.v&&T(v,_+1)}$n(s)}return!0},ownKeys(r){y(s);var l=Reflect.ownKeys(r).filter(d=>{var f=n.get(d);return f===void 0||f.v!==E1});for(var[c,u]of n)u.v!==E1&&!(c in r)&&l.push(c);return l},setPrototypeOf(){nr()}})}function $n(e,t=1){T(e,e.v+t)}function E3(e){try{if(e!==null&&typeof e=="object"&&lt in e)return e[lt]}catch{}return e}function _r(e,t){return Object.is(E3(e),E3(t))}function fe(e){var t=nt|ut,n=o1!==null&&(o1.f&nt)!==0?o1:null;return X===null||n!==null&&(n.f&W1)!==0?t|=W1:X.f|=Eo,{ctx:c1,deps:null,effects:null,equals:Vo,f:t,fn:e,reactions:null,rv:0,v:null,wv:0,parent:n??X}}function r3(e){const t=fe(e);return a4(t),t}function at(e){const t=fe(e);return t.equals=e3,t}function Bo(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)K1(t[n])}}function br(e){for(var t=e.parent;t!==null;){if((t.f&nt)===0)return t;t=t.parent}return null}function No(e){var t,n=X;Wt(br(e));try{Bo(e),t=u4(e)}finally{Wt(n)}return t}function Wo(e){var t=No(e);if(e.equals(t)||(e.v=t,e.wv=l4()),!De){var n=(Et||(e.f&W1)!==0)&&e.deps!==null?qt:z1;J1(e,n)}}const r2=new Map;function l2(e,t){var n={f:0,v:e,reactions:null,equals:Vo,rv:0,wv:0};return n}function _t(e,t){const n=l2(e);return a4(n),n}function Y(e,t=!1,n=!0){var s;const i=l2(e);return t||(i.equals=e3),Ae&&n&&c1!==null&&c1.l!==null&&((s=c1.l).s??(s.s=[])).push(i),i}function I3(e,t){return T(e,ht(()=>y(e))),t}function T(e,t,n=!1){o1!==null&&!rt&&Cn()&&(o1.f&(nt|Ji))!==0&&!(O1!=null&&O1.includes(e))&&ir();let i=n?oe(t):t;return vi(e,i)}function vi(e,t){if(!e.equals(t)){var n=e.v;De?r2.set(e,t):r2.set(e,n),e.v=t,(e.f&nt)!==0&&((e.f&ut)!==0&&No(e),J1(e,(e.f&W1)===0?z1:qt)),e.wv=l4(),jo(e,ut),Cn()&&X!==null&&(X.f&z1)!==0&&(X.f&(Ft|ke))===0&&(q1===null?Pr([e]):q1.push(e))}return t}function jo(e,t){var n=e.reactions;if(n!==null)for(var i=Cn(),s=n.length,o=0;o<s;o++){var a=n[o],r=a.f;(r&ut)===0&&(!i&&a===X||(J1(a,t),(r&(z1|W1))!==0&&((r&nt)!==0?jo(a,qt):Rn(a))))}}function b2(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function yr(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}let V=!1;function N1(e){V=e}let W;function D1(e){if(e===null)throw b2(),le;return W=e}function dt(){return D1(gt(W))}function E(e){if(V){if(gt(W)!==null)throw b2(),le;W=e}}function p1(e=1){if(V){for(var t=e,n=W;t--;)n=gt(n);W=n}}function _i(){for(var e=0,t=W;;){if(t.nodeType===8){var n=t.data;if(n===a3){if(e===0)return t;e-=1}else(n===s3||n===o3)&&(e+=1)}var i=gt(t);t.remove(),t=i}}function Go(e){if(!e||e.nodeType!==8)throw b2(),le;return e.data}var bi,Yo,Uo,Xo;function yi(){if(bi===void 0){bi=window,Yo=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Uo=Bt(t,"firstChild").get,Xo=Bt(t,"nextSibling").get,Z3(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Z3(n)&&(n.__t=void 0)}}function Rt(e=""){return document.createTextNode(e)}function V1(e){return Uo.call(e)}function gt(e){return Xo.call(e)}function $(e,t){if(!V)return V1(e);var n=V1(W);if(n===null)n=W.appendChild(Rt());else if(t&&n.nodeType!==3){var i=Rt();return n==null||n.before(i),D1(i),i}return D1(n),n}function m1(e,t){if(!V){var n=V1(e);return n instanceof Comment&&n.data===""?gt(n):n}return W}function Q(e,t=1,n=!1){let i=V?W:e;for(var s;t--;)s=i,i=gt(i);if(!V)return i;var o=i==null?void 0:i.nodeType;if(n&&o!==3){var a=Rt();return i===null?s==null||s.after(a):i.before(a),D1(a),a}return D1(i),i}function qo(e){e.textContent=""}function Ko(e){X===null&&o1===null&&Ka(),o1!==null&&(o1.f&W1)!==0&&X===null&&qa(),De&&Xa()}function xr(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function Re(e,t,n,i=!0){var s=X,o={ctx:c1,deps:null,nodes_start:null,nodes_end:null,f:e|ut,first:null,fn:t,last:null,next:null,parent:s,prev:null,teardown:null,transitions:null,wv:0};if(n)try{An(o),o.f|=Lo}catch(l){throw K1(o),l}else t!==null&&Rn(o);var a=n&&o.deps===null&&o.first===null&&o.nodes_start===null&&o.teardown===null&&(o.f&(Eo|Qi))===0;if(!a&&i&&(s!==null&&xr(o,s),o1!==null&&(o1.f&nt)!==0)){var r=o1;(r.effects??(r.effects=[])).push(o)}return o}function l3(e){const t=Re(Sn,null,!1);return J1(t,z1),t.teardown=e,t}function xi(e){Ko();var t=X!==null&&(X.f&Ft)!==0&&c1!==null&&!c1.m;if(t){var n=c1;(n.e??(n.e=[])).push({fn:e,effect:X,reaction:o1})}else{var i=y2(e);return i}}function Jo(e){return Ko(),Pn(e)}function Mr(e){const t=Re(ke,e,!0);return(n={})=>new Promise(i=>{n.outro?we(t,()=>{K1(t),i(void 0)}):(K1(t),i(void 0))})}function y2(e){return Re(Zo,e,!1)}function h1(e,t){var n=c1,i={effect:null,ran:!1};n.l.r1.push(i),i.effect=Pn(()=>{e(),!i.ran&&(i.ran=!0,T(n.l.r2,!0),ht(t))})}function it(){var e=c1;Pn(()=>{if(y(e.l.r2)){for(var t of e.l.r1){var n=t.effect;(n.f&z1)!==0&&J1(n,qt),x2(n)&&An(n),t.ran=!1}e.l.r2.v=!1}})}function Pn(e){return Re(Sn,e,!0)}function i1(e,t=[],n=fe){const i=t.map(n);return pe(()=>e(...i.map(y)))}function pe(e,t=0){return Re(Sn|Ji|t,e,!0)}function Dt(e,t=!0){return Re(Sn|Ft,e,!0,t)}function Qo(e){var t=e.teardown;if(t!==null){const n=De,i=o1;V3(!0),ft(null);try{t.call(null)}finally{V3(n),ft(i)}}}function t4(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){var i=n.next;(n.f&ke)!==0?n.parent=null:K1(n,t),n=i}}function wr(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&Ft)===0&&K1(t),t=n}}function K1(e,t=!0){var n=!1;(t||(e.f&Ya)!==0)&&e.nodes_start!==null&&e.nodes_end!==null&&(e4(e.nodes_start,e.nodes_end),n=!0),t4(e,t&&!n),dn(e,0),J1(e,t3);var i=e.transitions;if(i!==null)for(const o of i)o.stop();Qo(e);var s=e.parent;s!==null&&s.first!==null&&n4(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=null}function e4(e,t){for(;e!==null;){var n=e===t?null:gt(e);e.remove(),e=n}}function n4(e){var t=e.parent,n=e.prev,i=e.next;n!==null&&(n.next=i),i!==null&&(i.prev=n),t!==null&&(t.first===e&&(t.first=i),t.last===e&&(t.last=n))}function we(e,t){var n=[];c3(e,n,!0),i4(n,()=>{K1(e),t&&t()})}function i4(e,t){var n=e.length;if(n>0){var i=()=>--n||t();for(var s of e)s.out(i)}else t()}function c3(e,t,n){if((e.f&At)===0){if(e.f^=At,e.transitions!==null)for(const a of e.transitions)(a.is_global||n)&&t.push(a);for(var i=e.first;i!==null;){var s=i.next,o=(i.f&_2)!==0||(i.f&Ft)!==0;c3(i,t,o?n:!1),i=s}}}function c2(e){s4(e,!0)}function s4(e,t){if((e.f&At)!==0){e.f^=At,(e.f&z1)!==0&&(J1(e,ut),Rn(e));for(var n=e.first;n!==null;){var i=n.next,s=(n.f&_2)!==0||(n.f&Ft)!==0;s4(n,s?t:!1),n=i}if(e.transitions!==null)for(const o of e.transitions)(o.is_global||t)&&o.in()}}let ln=[];function Sr(){var e=ln;ln=[],pi(e)}function kn(e){ln.length===0&&queueMicrotask(Sr),ln.push(e)}function Cr(e){var t=X;if((t.f&Lo)===0){if((t.f&Qi)===0)throw e;t.fn(e)}else o4(e,t)}function o4(e,t){for(;t!==null;){if((t.f&Qi)!==0)try{t.fn(e);return}catch{}t=t.parent}throw e}let Mi=!1,cn=null,ce=!1,De=!1;function V3(e){De=e}let X2=[];let o1=null,rt=!1;function ft(e){o1=e}let X=null;function Wt(e){X=e}let O1=null;function a4(e){o1!==null&&o1.f&mi&&(O1===null?O1=[e]:O1.push(e))}let R1=null,H1=0,q1=null;function Pr(e){q1=e}let r4=1,un=0,Et=!1;function l4(){return++r4}function x2(e){var d;var t=e.f;if((t&ut)!==0)return!0;if((t&qt)!==0){var n=e.deps,i=(t&W1)!==0;if(n!==null){var s,o,a=(t&rn)!==0,r=i&&X!==null&&!Et,l=n.length;if(a||r){var c=e,u=c.parent;for(s=0;s<l;s++)o=n[s],(a||!((d=o==null?void 0:o.reactions)!=null&&d.includes(c)))&&(o.reactions??(o.reactions=[])).push(c);a&&(c.f^=rn),r&&u!==null&&(u.f&W1)===0&&(c.f^=W1)}for(s=0;s<l;s++)if(o=n[s],x2(o)&&Wo(o),o.wv>e.wv)return!0}(!i||X!==null&&!Et)&&J1(e,z1)}return!1}function c4(e,t,n=!0){var i=e.reactions;if(i!==null)for(var s=0;s<i.length;s++){var o=i[s];O1!=null&&O1.includes(e)||((o.f&nt)!==0?c4(o,t,!1):t===o&&(n?J1(o,ut):(o.f&z1)!==0&&J1(o,qt),Rn(o)))}}function u4(e){var h;var t=R1,n=H1,i=q1,s=o1,o=Et,a=O1,r=c1,l=rt,c=e.f;R1=null,H1=0,q1=null,Et=(c&W1)!==0&&(rt||!ce||o1===null),o1=(c&(Ft|ke))===0?e:null,O1=null,L3(e.ctx),rt=!1,un++,e.f|=mi;try{var u=(0,e.fn)(),d=e.deps;if(R1!==null){var f;if(dn(e,H1),d!==null&&H1>0)for(d.length=H1+R1.length,f=0;f<R1.length;f++)d[H1+f]=R1[f];else e.deps=d=R1;if(!Et)for(f=H1;f<d.length;f++)((h=d[f]).reactions??(h.reactions=[])).push(e)}else d!==null&&H1<d.length&&(dn(e,H1),d.length=H1);if(Cn()&&q1!==null&&!rt&&d!==null&&(e.f&(nt|qt|ut))===0)for(f=0;f<q1.length;f++)c4(q1[f],e);return s!==null&&s!==e&&(un++,q1!==null&&(i===null?i=q1:i.push(...q1))),u}catch(g){Cr(g)}finally{R1=t,H1=n,q1=i,o1=s,Et=o,O1=a,L3(r),rt=l,e.f^=mi}}function kr(e,t){let n=t.reactions;if(n!==null){var i=Ha.call(n,e);if(i!==-1){var s=n.length-1;s===0?n=t.reactions=null:(n[i]=n[s],n.pop())}}n===null&&(t.f&nt)!==0&&(R1===null||!R1.includes(t))&&(J1(t,qt),(t.f&(W1|rn))===0&&(t.f^=rn),Bo(t),dn(t,0))}function dn(e,t){var n=e.deps;if(n!==null)for(var i=t;i<n.length;i++)kr(e,n[i])}function An(e){var t=e.f;if((t&t3)===0){J1(e,z1);var n=X,i=ce;X=e,ce=!0;try{(t&Ji)!==0?wr(e):t4(e),Qo(e);var s=u4(e);e.teardown=typeof s=="function"?s:null,e.wv=r4;var o;T3&&sr&&(e.f&ut)!==0&&e.deps}finally{ce=i,X=n}}}function Ar(){try{Ja()}catch(e){if(cn!==null)o4(e,cn);else throw e}}function Rr(){var e=ce;try{var t=0;for(ce=!0;X2.length>0;){t++>1e3&&Ar();var n=X2,i=n.length;X2=[];for(var s=0;s<i;s++){var o=Or(n[s]);Dr(o)}r2.clear()}}finally{Mi=!1,ce=e,cn=null}}function Dr(e){var t=e.length;if(t!==0)for(var n=0;n<t;n++){var i=e[n];(i.f&(t3|At))===0&&x2(i)&&(An(i),i.deps===null&&i.first===null&&i.nodes_start===null&&(i.teardown===null?n4(i):i.fn=null))}}function Rn(e){Mi||(Mi=!0,queueMicrotask(Rr));for(var t=cn=e;t.parent!==null;){t=t.parent;var n=t.f;if((n&(ke|Ft))!==0){if((n&z1)===0)return;t.f^=z1}}X2.push(t)}function Or(e){for(var t=[],n=e;n!==null;){var i=n.f,s=(i&(Ft|ke))!==0,o=s&&(i&z1)!==0;if(!o&&(i&At)===0){(i&Zo)!==0?t.push(n):s?n.f^=z1:x2(n)&&An(n);var a=n.first;if(a!==null){n=a;continue}}var r=n.parent;for(n=n.next;n===null&&r!==null;)n=r.next,r=r.parent}return t}function y(e){var t=e.f,n=(t&nt)!==0;if(o1!==null&&!rt){if(!(O1!=null&&O1.includes(e))){var i=o1.deps;e.rv<un&&(e.rv=un,R1===null&&i!==null&&i[H1]===e?H1++:R1===null?R1=[e]:(!Et||!R1.includes(e))&&R1.push(e))}}else if(n&&e.deps===null&&e.effects===null){var s=e,o=s.parent;o!==null&&(o.f&W1)===0&&(s.f^=W1)}return n&&(s=e,x2(s)&&Wo(s)),De&&r2.has(e)?r2.get(e):e.v}function ht(e){var t=rt;try{return rt=!0,e()}finally{rt=t}}const Fr=-7169;function J1(e,t){e.f=e.f&Fr|t}function j1(e){if(!(typeof e!="object"||!e||e instanceof EventTarget)){if(lt in e)wi(e);else if(!Array.isArray(e))for(let t in e){const n=e[t];typeof n=="object"&&n&&lt in n&&wi(n)}}}function wi(e,t=new Set){if(typeof e=="object"&&e!==null&&!(e instanceof EventTarget)&&!t.has(e)){t.add(e),e instanceof Date&&e.getTime();for(let i in e)try{wi(e[i],t)}catch{}const n=Ki(e);if(n!==Object.prototype&&n!==Array.prototype&&n!==Map.prototype&&n!==Set.prototype&&n!==Date.prototype){const i=To(n);for(let s in i){const o=i[s].get;if(o)try{o.call(e)}catch{}}}}}function Tr(e){return e.endsWith("capture")&&e!=="gotpointercapture"&&e!=="lostpointercapture"}const Zr=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function Lr(e){return Zr.includes(e)}const Er={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 Ir(e){return e=e.toLowerCase(),Er[e]??e}const Vr=["touchstart","touchmove"];function zr(e){return Vr.includes(e)}const $r=["textarea","script","style","title"];function Hr(e){return $r.includes(e)}function Br(e,t){if(t){const n=document.body;e.autofocus=!0,kn(()=>{document.activeElement===n&&e.focus()})}}function Nr(e){var t=o1,n=X;ft(null),Wt(null);try{return e()}finally{ft(t),Wt(n)}}const d4=new Set,Si=new Set;function f4(e,t,n,i={}){function s(o){if(i.capture||Ue.call(t,o),!o.cancelBubble)return Nr(()=>n==null?void 0:n.call(this,o))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?kn(()=>{t.addEventListener(e,s,i)}):t.addEventListener(e,s,i),s}function u3(e,t,n,i,s){var o={capture:i,passive:s},a=f4(e,t,n,o);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&l3(()=>{t.removeEventListener(e,a,o)})}function Wr(e){for(var t=0;t<e.length;t++)d4.add(e[t]);for(var n of Si)n(e)}function Ue(e){var _;var t=this,n=t.ownerDocument,i=e.type,s=((_=e.composedPath)==null?void 0:_.call(e))||[],o=s[0]||e.target,a=0,r=e.__root;if(r){var l=s.indexOf(r);if(l!==-1&&(t===document||t===window)){e.__root=t;return}var c=s.indexOf(t);if(c===-1)return;l<=c&&(a=l)}if(o=s[a]||e.target,o!==t){Fo(e,"currentTarget",{configurable:!0,get(){return o||n}});var u=o1,d=X;ft(null),Wt(null);try{for(var f,h=[];o!==null;){var g=o.assignedSlot||o.parentNode||o.host||null;try{var p=o["__"+i];if(p!=null&&(!o.disabled||e.target===o))if(wn(p)){var[m,...v]=p;m.apply(o,[e,...v])}else p.call(o,e)}catch(M){f?h.push(M):f=M}if(e.cancelBubble||g===t||g===null)break;o=g}if(f){for(let M of h)queueMicrotask(()=>{throw M});throw f}}finally{e.__root=t,delete e.currentTarget,ft(u),Wt(d)}}}function d3(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","\x3C!---->"),t.content}function G1(e,t){var n=X;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function q(e,t){var n=(t&hr)!==0,i=(t&gr)!==0,s,o=!e.startsWith("<!>");return()=>{if(V)return G1(W,null),W;s===void 0&&(s=d3(o?e:"<!>"+e),n||(s=V1(s)));var a=i||Yo?document.importNode(s,!0):s.cloneNode(!0);if(n){var r=V1(a),l=a.lastChild;G1(r,l)}else G1(a,a);return a}}function jr(e,t,n="svg"){var i=!e.startsWith("<!>"),s=`<${n}>${i?e:"<!>"+e}</${n}>`,o;return()=>{if(V)return G1(W,null),W;if(!o){var a=d3(s),r=V1(a);o=V1(r)}var l=o.cloneNode(!0);return G1(l,l),l}}function Gr(e,t){return jr(e,t,"svg")}function a1(e=""){if(!V){var t=Rt(e+"");return G1(t,t),t}var n=W;return n.nodeType!==3&&(n.before(n=Rt()),D1(n)),G1(n,n),n}function F1(){if(V)return G1(W,null),W;var e=document.createDocumentFragment(),t=document.createComment(""),n=Rt();return e.append(t,n),G1(t,n),e}function R(e,t){if(V){X.nodes_end=W,dt();return}e!==null&&e.before(t)}function M1(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??(e.__t=e.nodeValue))&&(e.__t=n,e.nodeValue=n+"")}function h4(e,t){return g4(e,t)}function Yr(e,t){yi(),t.intro=t.intro??!1;const n=t.target,i=V,s=W;try{for(var o=V1(n);o&&(o.nodeType!==8||o.data!==s3);)o=gt(o);if(!o)throw le;N1(!0),D1(o),dt();const a=g4(e,{...t,anchor:o});if(W===null||W.nodeType!==8||W.data!==a3)throw b2(),le;return N1(!1),a}catch(a){if(a===le)return t.recover===!1&&Qa(),yi(),qo(n),N1(!1),h4(e,t);throw a}finally{N1(i),D1(s)}}const ve=new Map;function g4(e,{target:t,anchor:n,props:i={},events:s,context:o,intro:a=!0}){yi();var r=new Set,l=d=>{for(var f=0;f<d.length;f++){var h=d[f];if(!r.has(h)){r.add(h);var g=zr(h);t.addEventListener(h,Ue,{passive:g});var p=ve.get(h);p===void 0?(document.addEventListener(h,Ue,{passive:g}),ve.set(h,1)):ve.set(h,p+1)}}};l(qi(d4)),Si.add(l);var c=void 0,u=Mr(()=>{var d=n??t.appendChild(Rt());return Dt(()=>{if(o){T1({});var f=c1;f.c=o}s&&(i.$$events=s),V&&G1(d,null),c=e(d,i)||{},V&&(X.nodes_end=W),o&&Z1()}),()=>{var g;for(var f of r){t.removeEventListener(f,Ue);var h=ve.get(f);--h===0?(document.removeEventListener(f,Ue),ve.delete(f)):ve.set(f,h)}Si.delete(l),d!==n&&((g=d.parentNode)==null||g.removeChild(d))}});return Ci.set(c,u),c}let Ci=new WeakMap;function Ur(e,t){const n=Ci.get(e);return n?(Ci.delete(e),n(t)):Promise.resolve()}function k1(e,t,[n,i]=[0,0]){V&&n===0&&dt();var s=e,o=null,a=null,r=E1,l=n>0?_2:0,c=!1;const u=(f,h=!0)=>{c=!0,d(h,f)},d=(f,h)=>{if(r===(r=f))return;let g=!1;if(V&&i!==-1){if(n===0){const m=Go(s);m===s3?i=0:m===o3?i=1/0:(i=parseInt(m.substring(1)),i!==i&&(i=r?1/0:-1))}const p=i>n;!!r===p&&(s=_i(),D1(s),N1(!1),g=!0,i=-1)}r?(o?c2(o):h&&(o=Dt(()=>h(s))),a&&we(a,()=>{a=null})):(a?c2(a):h&&(a=Dt(()=>h(s,[n+1,i]))),o&&we(o,()=>{o=null})),g&&N1(!0)};pe(()=>{c=!1,t(u),c||d(null,null)},l),V&&(s=W)}function k2(e,t){return t}function Xr(e,t,n,i){for(var s=[],o=t.length,a=0;a<o;a++)c3(t[a].e,s,!0);var r=o>0&&s.length===0&&n!==null;if(r){var l=n.parentNode;qo(l),l.append(n),i.clear(),Lt(e,t[0].prev,t[o-1].next)}i4(s,()=>{for(var c=0;c<o;c++){var u=t[c];r||(i.delete(u.k),Lt(e,u.prev,u.next)),K1(u.e,!r)}})}function St(e,t,n,i,s,o=null){var a=e,r={flags:t,items:new Map,first:null},l=(t&$o)!==0;if(l){var c=e;a=V?D1(V1(c)):c.appendChild(Rt())}V&&dt();var u=null,d=!1,f=at(()=>{var h=n();return wn(h)?h:h==null?[]:qi(h)});pe(()=>{var h=y(f),g=h.length;if(d&&g===0)return;d=g===0;let p=!1;if(V){var m=Go(a)===o3;m!==(g===0)&&(a=_i(),D1(a),N1(!1),p=!0)}if(V){for(var v=null,_,M=0;M<g;M++){if(W.nodeType===8&&W.data===a3){a=W,p=!0,N1(!1);break}var x=h[M],b=i(x,M);_=p4(W,r,v,null,x,b,M,s,t,n),r.items.set(b,_),v=_}g>0&&D1(_i())}V||qr(h,r,a,s,t,i,n),o!==null&&(g===0?u?c2(u):u=Dt(()=>o(a)):u!==null&&we(u,()=>{u=null})),p&&N1(!0),y(f)}),V&&(a=W)}function qr(e,t,n,i,s,o,a){var t1,H,G,K;var r=(s&ar)!==0,l=(s&(n3|i3))!==0,c=e.length,u=t.items,d=t.first,f=d,h,g=null,p,m=[],v=[],_,M,x,b;if(r)for(b=0;b<c;b+=1)_=e[b],M=o(_,b),x=u.get(M),x!==void 0&&((t1=x.a)==null||t1.measure(),(p??(p=new Set)).add(x));for(b=0;b<c;b+=1){if(_=e[b],M=o(_,b),x=u.get(M),x===void 0){var C=f?f.e.nodes_start:n;g=p4(C,t,g,g===null?t.first:g.next,_,M,b,i,s,a),u.set(M,g),m=[],v=[],f=g.next;continue}if(l&&Kr(x,_,b,s),(x.e.f&At)!==0&&(c2(x.e),r&&((H=x.a)==null||H.unfix(),(p??(p=new Set)).delete(x))),x!==f){if(h!==void 0&&h.has(x)){if(m.length<v.length){var S=v[0],w;g=S.prev;var P=m[0],O=m[m.length-1];for(w=0;w<m.length;w+=1)z3(m[w],S,n);for(w=0;w<v.length;w+=1)h.delete(v[w]);Lt(t,P.prev,O.next),Lt(t,g,P),Lt(t,O,S),f=S,g=O,b-=1,m=[],v=[]}else h.delete(x),z3(x,f,n),Lt(t,x.prev,x.next),Lt(t,x,g===null?t.first:g.next),Lt(t,g,x),g=x;continue}for(m=[],v=[];f!==null&&f.k!==M;)(f.e.f&At)===0&&(h??(h=new Set)).add(f),v.push(f),f=f.next;if(f===null)continue;x=f}m.push(x),g=x,f=x.next}if(f!==null||h!==void 0){for(var A=h===void 0?[]:qi(h);f!==null;)(f.e.f&At)===0&&A.push(f),f=f.next;var F=A.length;if(F>0){var N=(s&$o)!==0&&c===0?n:null;if(r){for(b=0;b<F;b+=1)(G=A[b].a)==null||G.measure();for(b=0;b<F;b+=1)(K=A[b].a)==null||K.fix()}Xr(t,A,N,u)}}r&&kn(()=>{var e1;if(p!==void 0)for(x of p)(e1=x.a)==null||e1.apply()}),X.first=t.first&&t.first.e,X.last=g&&g.e}function Kr(e,t,n,i){(i&n3)!==0&&vi(e.v,t),(i&i3)!==0?vi(e.i,n):e.i=n}function p4(e,t,n,i,s,o,a,r,l,c){var u=(l&n3)!==0,d=(l&rr)===0,f=u?d?Y(s,!1,!1):l2(s):s,h=(l&i3)===0?a:l2(a),g={i:h,v:f,k:o,a:null,e:null,prev:n,next:i};try{return g.e=Dt(()=>r(e,f,h,c),V),g.e.prev=n&&n.e,g.e.next=i&&i.e,n===null?t.first=g:(n.next=g,n.e.next=g.e),i!==null&&(i.prev=g,i.e.prev=g.e),g}finally{}}function z3(e,t,n){for(var i=e.next?e.next.e.nodes_start:n,s=t?t.e.nodes_start:n,o=e.e.nodes_start;o!==i;){var a=gt(o);s.before(o),o=a}}function Lt(e,t,n){t===null?e.first=n:(t.next=n,t.e.next=n&&n.e),n!==null&&(n.prev=t,n.e.prev=t&&t.e)}function Jr(e,t,n=!1,i=!1,s=!1){var o=e,a="";i1(()=>{var r=X;if(a===(a=t()??"")){V&&dt();return}if(r.nodes_start!==null&&(e4(r.nodes_start,r.nodes_end),r.nodes_start=r.nodes_end=null),a!==""){if(V){W.data;for(var l=dt(),c=l;l!==null&&(l.nodeType!==8||l.data!=="");)c=l,l=gt(l);if(l===null)throw b2(),le;G1(W,c),o=D1(l);return}var u=a+"";n?u=`<svg>${u}</svg>`:i&&(u=`<math>${u}</math>`);var d=d3(u);if((n||i)&&(d=V1(d)),G1(V1(d),d.lastChild),n||i)for(;V1(d);)o.before(V1(d));else o.before(d)}})}function fn(e,t,n,i,s){var r;V&&dt();var o=(r=t.$$slots)==null?void 0:r[n],a=!1;o===!0&&(o=t.children,a=!0),o===void 0||o(e,a?()=>i:i)}function Qr(e,t,n){V&&dt();var i=e,s,o;pe(()=>{s!==(s=t())&&(o&&(we(o),o=null),s&&(o=Dt(()=>n(i,s))))},_2),V&&(i=W)}function m4(e,t,n,i,s,o){let a=V;V&&dt();var r,l,c=null;V&&W.nodeType===1&&(c=W,dt());var u=V?W:e,d;pe(()=>{const f=t()||null;var h=f==="svg"?mr:null;f!==r&&(d&&(f===null?we(d,()=>{d=null,l=null}):f===l?c2(d):K1(d)),f&&f!==l&&(d=Dt(()=>{if(c=V?c:h?document.createElementNS(h,f):document.createElement(f),G1(c,c),i){V&&Hr(f)&&c.append(document.createComment(""));var g=V?V1(c):c.appendChild(Rt());V&&(g===null?N1(!1):D1(g)),i(c,g)}X.nodes_end=c,u.before(c)})),r=f,r&&(l=r))},_2),a&&(N1(!0),D1(u))}function tl(e,t){var n=void 0,i;pe(()=>{n!==(n=t())&&(i&&(K1(i),i=null),n&&(i=Dt(()=>{y2(()=>n(e))})))})}function v4(e){var t,n,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=v4(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}function el(){for(var e,t,n=0,i="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=v4(e))&&(i&&(i+=" "),i+=t);return i}function nl(e){return typeof e=="object"?el(e):e??""}const $3=[...` \r\f \v\uFEFF`];function il(e,t,n){var i=e==null?"":""+e;if(t&&(i=i?i+" "+t:t),n){for(var s in n)if(n[s])i=i?i+" "+s:s;else if(i.length)for(var o=s.length,a=0;(a=i.indexOf(s,a))>=0;){var r=a+o;(a===0||$3.includes(i[a-1]))&&(r===i.length||$3.includes(i[r]))?i=(a===0?"":i.substring(0,a))+i.substring(r+1):a=r}}return i===""?null:i}function H3(e,t=!1){var n=t?" !important;":";",i="";for(var s in e){var o=e[s];o!=null&&o!==""&&(i+=" "+s+": "+o+n)}return i}function Hn(e){return e[0]!=="-"||e[1]!=="-"?e.toLowerCase():e}function sl(e,t){if(t){var n="",i,s;if(Array.isArray(t)?(i=t[0],s=t[1]):i=t,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var o=!1,a=0,r=!1,l=[];i&&l.push(...Object.keys(i).map(Hn)),s&&l.push(...Object.keys(s).map(Hn));var c=0,u=-1;const p=e.length;for(var d=0;d<p;d++){var f=e[d];if(r?f==="/"&&e[d-1]==="*"&&(r=!1):o?o===f&&(o=!1):f==="/"&&e[d+1]==="*"?r=!0:f==='"'||f==="'"?o=f:f==="("?a++:f===")"&&a--,!r&&o===!1&&a===0){if(f===":"&&u===-1)u=d;else if(f===";"||d===p-1){if(u!==-1){var h=Hn(e.substring(c,u).trim());if(!l.includes(h)){f!==";"&&d++;var g=e.substring(c,d).trim();n+=" "+g+";"}}c=d+1,u=-1}}}}return i&&(n+=H3(i)),s&&(n+=H3(s,!0)),n=n.trim(),n===""?null:n}return e==null?null:String(e)}function Dn(e,t,n,i,s,o){var a=e.__className;if(V||a!==n||a===void 0){var r=il(n,i,o);(!V||r!==e.getAttribute("class"))&&(r==null?e.removeAttribute("class"):t?e.className=r:e.setAttribute("class",r)),e.__className=n}else if(o&&s!==o)for(var l in o){var c=!!o[l];(s==null||c!==!!s[l])&&e.classList.toggle(l,c)}return o}function Bn(e,t={},n,i){for(var s in n){var o=n[s];t[s]!==o&&(n[s]==null?e.style.removeProperty(s):e.style.setProperty(s,o,i))}}function ae(e,t,n,i){var s=e.__style;if(V||s!==t){var o=sl(t,i);(!V||o!==e.getAttribute("style"))&&(o==null?e.removeAttribute("style"):e.style.cssText=o),e.__style=t}else i&&(Array.isArray(i)?(Bn(e,n==null?void 0:n[0],i[0]),Bn(e,n==null?void 0:n[1],i[1],"important")):Bn(e,n,i));return i}function Pi(e,t,n){if(e.multiple){if(t==null)return;if(!wn(t))return yr();for(var i of e.options)i.selected=t.includes(B3(i));return}for(i of e.options){var s=B3(i);if(_r(s,t)){i.selected=!0;return}}(!n||t!==void 0)&&(e.selectedIndex=-1)}function ol(e,t){let n=!0;y2(()=>{t&&Pi(e,ht(t),n),n=!1;var i=new MutationObserver(()=>{var s=e.__value;Pi(e,s)});return i.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),()=>{i.disconnect()}})}function B3(e){return"__value"in e?e.__value:e.value}const A2=Symbol("class"),Ee=Symbol("style"),_4=Symbol("is custom element"),b4=Symbol("is html");function al(e,t){t?e.hasAttribute("selected")||e.setAttribute("selected",""):e.removeAttribute("selected")}function jt(e,t,n,i){var s=y4(e);V&&(s[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||s[t]!==(s[t]=n)&&(t==="loading"&&(e[Ua]=n),n==null?e.removeAttribute(t):typeof n!="string"&&x4(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function rl(e,t,n,i,s=!1){var o=y4(e),a=o[_4],r=!o[b4];let l=V&&a;l&&N1(!1);var c=t||{},u=e.tagName==="OPTION";for(var d in t)d in n||(n[d]=null);n.class?n.class=nl(n.class):n.class=null,n[Ee]&&(n.style??(n.style=null));var f=x4(e);for(const x in n){let b=n[x];if(u&&x==="value"&&b==null){e.value=e.__value="",c[x]=b;continue}if(x==="class"){var h=e.namespaceURI==="http://www.w3.org/1999/xhtml";Dn(e,h,b,i,t==null?void 0:t[A2],n[A2]),c[x]=b,c[A2]=n[A2];continue}if(x==="style"){ae(e,b,t==null?void 0:t[Ee],n[Ee]),c[x]=b,c[Ee]=n[Ee];continue}var g=c[x];if(b!==g){c[x]=b;var p=x[0]+x[1];if(p!=="$$")if(p==="on"){const C={},S="$$"+x;let w=x.slice(2);var m=Lr(w);if(Tr(w)&&(w=w.slice(0,-7),C.capture=!0),!m&&g){if(b!=null)continue;e.removeEventListener(w,c[S],C),c[S]=null}if(b!=null)if(m)e[`__${w}`]=b,Wr([w]);else{let P=function(O){c[x].call(this,O)};var M=P;c[S]=f4(w,e,P,C)}else m&&(e[`__${w}`]=void 0)}else if(x==="style")jt(e,x,b);else if(x==="autofocus")Br(e,!!b);else if(!a&&(x==="__value"||x==="value"&&b!=null))e.value=e.__value=b;else if(x==="selected"&&u)al(e,b);else{var v=x;r||(v=Ir(v));var _=v==="defaultValue"||v==="defaultChecked";if(b==null&&!a&&!_)if(o[x]=null,v==="value"||v==="checked"){let C=e;const S=t===void 0;if(v==="value"){let w=C.defaultValue;C.removeAttribute(v),C.defaultValue=w,C.value=C.__value=S?w:null}else{let w=C.defaultChecked;C.removeAttribute(v),C.defaultChecked=w,C.checked=S?w:!1}}else e.removeAttribute(x);else _||f.includes(v)&&(a||typeof b!="string")?e[v]=b:typeof b!="function"&&jt(e,v,b)}}}return l&&N1(!0),c}function ll(e,t,n=[],i,s=!1,o=fe){const a=n.map(o);var r=void 0,l={},c=e.nodeName==="SELECT",u=!1;pe(()=>{var d=t(...a.map(y));rl(e,r,d,i,s),u&&c&&"value"in d&&Pi(e,d.value,!1);for(let h of Object.getOwnPropertySymbols(l))d[h]||K1(l[h]);for(let h of Object.getOwnPropertySymbols(d)){var f=d[h];h.description===vr&&(!r||f!==r[h])&&(l[h]&&K1(l[h]),l[h]=Dt(()=>tl(e,()=>f)))}r=d}),c&&ol(e,()=>r.value),u=!0}function y4(e){return e.__attributes??(e.__attributes={[_4]:e.nodeName.includes("-"),[b4]:e.namespaceURI===pr})}var N3=new Map;function x4(e){var t=N3.get(e.nodeName);if(t)return t;N3.set(e.nodeName,t=[]);for(var n,i=e,s=Element.prototype;s!==i;){n=To(i);for(var o in n)n[o].set&&t.push(o);i=Ki(i)}return t}function W3(e,t){return e===t||(e==null?void 0:e[lt])===t}function ki(e={},t,n,i){return y2(()=>{var s,o;return Pn(()=>{s=o,o=[],ht(()=>{e!==n(...o)&&(t(e,...o),s&&W3(n(...s),e)&&t(null,...s))})}),()=>{kn(()=>{o&&W3(n(...o),e)&&t(null,...o)})}}),e}function U1(e=!1){const t=c1,n=t.l.u;if(!n)return;let i=()=>j1(t.s);if(e){let s=0,o={};const a=fe(()=>{let r=!1;const l=t.s;for(const c in l)l[c]!==o[c]&&(o[c]=l[c],r=!0);return r&&s++,s});i=()=>y(a)}n.b.length&&Jo(()=>{j3(t,i),pi(n.b)}),xi(()=>{const s=ht(()=>n.m.map(Wa));return()=>{for(const o of s)typeof o=="function"&&o()}}),n.a.length&&xi(()=>{j3(t,i),pi(n.a)})}function j3(e,t){if(e.l.s)for(const n of e.l.s)y(n);t()}function M4(e,t,n){if(e==null)return t(void 0),xe;const i=ht(()=>e.subscribe(t,n));return i.unsubscribe?()=>i.unsubscribe():i}const _e=[];function cl(e,t){return{subscribe:On(e,t).subscribe}}function On(e,t=xe){let n=null;const i=new Set;function s(r){if(zo(e,r)&&(e=r,n)){const l=!_e.length;for(const c of i)c[1](),_e.push(c,e);if(l){for(let c=0;c<_e.length;c+=2)_e[c][0](_e[c+1]);_e.length=0}}}function o(r){s(r(e))}function a(r,l=xe){const c=[r,l];return i.add(c),i.size===1&&(n=t(s,o)||xe),r(e),()=>{i.delete(c),i.size===0&&n&&(n(),n=null)}}return{set:s,update:o,subscribe:a}}function ul(e){let t;return M4(e,n=>t=n)(),t}let R2=!1,Ai=Symbol();function Gt(e,t,n){const i=n[t]??(n[t]={store:null,source:Y(void 0),unsubscribe:xe});if(i.store!==e&&!(Ai in n))if(i.unsubscribe(),i.store=e??null,e==null)i.source.v=void 0,i.unsubscribe=xe;else{var s=!0;i.unsubscribe=M4(e,o=>{s?i.source.v=o:T(i.source,o)}),s=!1}return e&&Ai in n?ul(e):y(i.source)}function Oe(){const e={};function t(){l3(()=>{for(var n in e)e[n].unsubscribe();Fo(e,Ai,{enumerable:!1,value:!0})})}return[e,t]}function dl(e){var t=R2;try{return R2=!1,[e(),R2]}finally{R2=t}}const fl={get(e,t){let n=e.props.length;for(;n--;){let i=e.props[n];if(Le(i)&&(i=i()),typeof i=="object"&&i!==null&&t in i)return i[t]}},set(e,t,n){let i=e.props.length;for(;i--;){let s=e.props[i];Le(s)&&(s=s());const o=Bt(s,t);if(o&&o.set)return o.set(n),!0}return!1},getOwnPropertyDescriptor(e,t){let n=e.props.length;for(;n--;){let i=e.props[n];if(Le(i)&&(i=i()),typeof i=="object"&&i!==null&&t in i){const s=Bt(i,t);return s&&!s.configurable&&(s.configurable=!0),s}}},has(e,t){if(t===lt||t===Io)return!1;for(let n of e.props)if(Le(n)&&(n=n()),n!=null&&t in n)return!0;return!1},ownKeys(e){const t=[];for(let n of e.props)if(Le(n)&&(n=n()),!!n){for(const i in n)t.includes(i)||t.push(i);for(const i of Object.getOwnPropertySymbols(n))t.includes(i)||t.push(i)}return t}};function hl(...e){return new Proxy({props:e},fl)}function G3(e){var t;return((t=e.ctx)==null?void 0:t.d)??!1}function I(e,t,n,i){var C;var s=(n&lr)!==0,o=!Ae||(n&cr)!==0,a=(n&dr)!==0,r=(n&fr)!==0,l=!1,c;a?[c,l]=dl(()=>e[t]):c=e[t];var u=lt in e||Io in e,d=a&&(((C=Bt(e,t))==null?void 0:C.set)??(u&&t in e&&(S=>e[t]=S)))||void 0,f=i,h=!0,g=!1,p=()=>(g=!0,h&&(h=!1,r?f=ht(i):f=i),f);c===void 0&&i!==void 0&&(d&&o&&tr(),c=p(),d&&d(c));var m;if(o)m=()=>{var S=e[t];return S===void 0?p():(h=!0,g=!1,S)};else{var v=(s?fe:at)(()=>e[t]);v.f|=Ga,m=()=>{var S=y(v);return S!==void 0&&(f=void 0),S===void 0?f:S}}if((n&ur)===0&&o)return m;if(d){var _=e.$$legacy;return function(S,w){return arguments.length>0?((!o||!w||_||l)&&d(w?m():S),S):m()}}var M=!1,x=Y(c),b=fe(()=>{var S=m(),w=y(x);return M?(M=!1,w):x.v=S});return a&&y(b),s||(b.equals=e3),function(S,w){if(arguments.length>0){const P=w?y(b):o&&a?oe(S):S;if(!b.equals(P)){if(M=!0,T(x,P),g&&f!==void 0&&(f=P),G3(b))return S;ht(()=>y(b))}return S}return G3(b)?b.v:y(b)}}function Fe(e){c1===null&&Ho(),Ae&&c1.l!==null?gl(c1).m.push(e):xi(()=>{const t=ht(e);if(typeof t=="function")return t})}function w4(e){c1===null&&Ho(),Fe(()=>()=>ht(e))}function gl(e){var t=e.l;return t.u??(t.u={a:[],b:[],m:[]})}const pl="5";var Do;typeof window<"u"&&((Do=window.__svelte??(window.__svelte={})).v??(Do.v=new Set)).add(pl);or();let ml=e=>{let t=document.createElement("textarea");return t.innerHTML=e,t.value},Ri=e=>{if(typeof e=="string")return ml(e);if(Array.isArray(e))return e.map(t=>Ri(t));if(typeof e=="object"&&e!==null){let t={};for(let n in e)n in e&&(t[n]=Ri(e[n]));return t}return e},S4=On(!0),M2=cl({},e=>{(async()=>{var i;let n;n=JSON.parse(((i=document.querySelector("#data"))==null?void 0:i.textContent)??"{}"),e(Ri(n)),S4.set(!1)})()});function f1(e,t){let n=I(t,"color",8,"inherit"),i=I(t,"size",8,"m"),s=I(t,"mbs",8,null),o=I(t,"mbe",8,null),a=I(t,"align",8,"left"),r=I(t,"noWrap",8,!1),l=I(t,"bold",8,!1),c=I(t,"tag",8,"p");var u=F1(),d=m1(u);m4(d,c,!1,(f,h)=>{ll(f,()=>({class:`typography size-${i()} color-${n()} weight-${l()?"bold":"normal"} ${s()?`mbs-${s()}`:""}${o()?`mbe-${o()}`:""} align-${a()} ${r()?"no-wrap":""}`}),void 0,"svelte-1owrl4m");var g=F1(),p=m1(g);fn(p,t,"default",{}),R(h,g)}),R(e,u)}function Te(e,t){let n=I(t,"tag",8,"div");var i=F1(),s=m1(i);m4(s,n,!1,(o,a)=>{Dn(o,0,"container svelte-oyaxmk");var r=F1(),l=m1(r);fn(l,t,"default",{}),R(a,r)}),R(e,i)}let vl=localStorage.getItem("theme")??(globalThis.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),w2=On(vl),Nn=()=>{w2.update(e=>e==="dark"?"light":"dark")};w2.subscribe(e=>{localStorage.setItem("theme",e),globalThis.document.documentElement.dataset.theme=e});var _l=Gr('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="none"><path d="M262.873 507.624c-2.832-7.468-11.803-30.302-14.12-35.967l-2.189-5.365-.129-91.418c-.043-50.302-.172-93.179-.257-95.325-.129-3.519-.301-4.249-1.717-7.167-1.932-3.863-4.807-6.696-8.885-8.627l-2.789-1.331-43.134-.257v-1.417c0-2.875 5.922-14.936 13.219-26.867l3.777-6.223 27.039-.43 2.876-1.459c3.176-1.631 6.523-4.85 8.026-7.725 1.158-2.318 2.146-6.825 2.146-9.958v-2.446l10-3.906a1936.37 1936.37 0 0 1 17.597-6.953c5.15-2.06 8.026-2.961 9.013-2.875l1.373.128-.128 8.799c-.086 4.85.042 10.129.3 11.76.858 5.966 4.378 10.73 9.829 13.434l2.446 1.201 65.238.43 3.862 2.188a426.764 426.764 0 0 0 9.872 5.322c5.622 2.962 12.447 6.739 14.721 8.198.773.472.945.901.859 2.232l-.129 1.631-8.369 4.506c-4.593 2.447-10.859 5.795-13.949 7.383l-5.58 2.875-65.667.429-2.704 1.417c-3.261 1.716-6.008 4.12-7.768 6.91-2.833 4.378-2.618-3.734-2.833 100.646l-.214 94.895-1.331 3.648c-.729 2.017-3.39 8.97-5.837 15.451-2.489 6.481-5.751 15.108-7.21 19.099l-2.704 7.297-1.46.129-1.416.085-1.674-4.377Z" fill="var(--color-content-primary)"></path><path d="M289.87 432.815c-.129-3.863-.172-7.254-.043-7.468.171-.215 1.373-1.03 2.747-1.803 7.382-4.249 10.343-11.545 7.296-18.112-1.416-3.004-5.365-7.253-7.897-8.498l-1.889-.901v-28.67h1.417c.815 0 3.347 1.073 6.523 2.704 15.194 7.897 23.349 16.352 26.267 27.339.987 3.82.987 12.49-.043 16.31-2.575 9.571-9.657 17.468-19.957 22.232-4.722 2.189-10.215 3.949-12.318 3.949h-1.76l-.343-7.082ZM234.718 385.518c-.601-.086-3.863-.558-7.296-1.031-11.803-1.63-26.224-4.978-36.096-8.369-14.292-4.893-29.142-12.704-41.074-21.588-6.266-4.679-18.112-16.224-22.489-21.932-18.542-24.078-26.181-49.615-23.95-80.045 2.275-31.331 14.936-56.311 38.628-76.054 14.164-11.845 29.7-20.172 55.023-29.485 2.275-.859 9.442-3.176 15.88-5.151 10.988-3.39 18.284-5.279 62.148-16.094 27.897-6.868 40.687-11.503 51.417-18.628 7.812-5.236 14.078-12.66 15.237-18.112.815-3.905-1.417-10.257-5.237-15.15-7.339-9.27-25.751-16.782-43.005-17.554-17.683-.773-36.009 5.408-57.984 19.528-16.395 10.515-28.37 15.966-38.628 17.511-5.279.816-14.206.558-18.112-.472-3.176-.858-7.124-2.832-9.785-4.85-1.846-1.373-2.061-1.716-2.061-3.176 0-1.244.172-1.63.773-1.674.386 0-2.146-.515-5.708-1.073-19.014-3.047-21.589-3.991-26.825-10.172-3.734-4.377-5.58-8.24-5.58-11.674 0-3.777.945-6.566 2.876-8.455.901-.858 3.949-2.747 6.781-4.249 2.833-1.46 6.782-3.605 8.799-4.764 7.682-4.378 21.717-11.073 25.451-12.146 6.481-1.846 8.67-2.06 22.318-2.189 7.254-.086 14.722-.343 16.524-.6 6.481-.86 11.975-2.834 21.203-7.555 22.919-11.717 27.425-13.648 37.812-16.31 5.794-1.458 15.15-3.004 22.146-3.647 8.412-.73 26.009-.3 33.735.901 16.181 2.446 30.816 7.425 42.919 14.55 20.13 11.888 32.319 28.67 36.782 50.688.902 4.463.988 6.094.988 16.738 0 13.177-.387 15.923-3.52 25.28-7.253 21.717-25.709 39.615-56.868 55.237-15.795 7.898-30.087 12.876-54.851 19.057-14.722 3.691-37.083 11.202-53.435 17.983-9.271 3.863-22.104 10.258-26.825 13.348-16.953 11.159-28.284 27.383-32.876 46.997-1.116 4.807-1.202 5.794-1.202 14.163 0 7.726.129 9.657.944 13.434 3.219 14.764 9.443 26.481 19.572 36.954 9.785 10.086 21.76 17.64 39.571 24.936.859.343.902.773 1.159 8.198.172 4.292.301 12.146.301 17.425v9.571l-2.232-.043c-1.245-.043-2.747-.129-3.348-.257ZM190.983 83.493a44.35 44.35 0 0 0 13.906-6.266c4.721-3.262 4.592-3.563-.386-.988-10.301 5.28-16.996 6.996-27.598 7.04-4.849 0-6.437.128-5.493.428 4.678 1.46 13.391 1.374 19.571-.214Zm-.858-28.499c4.678-2.275 7.94-4.592 6.996-4.978-2.275-.859-7.426.171-12.833 2.618-1.889.858-4.464 1.888-5.752 2.274l-2.36.73 1.502.472c2.661.816 3.133.901 6.009.773 2.317-.13 3.562-.472 6.438-1.889Z" fill="var(--color-content-primary)"></path><path d="M246.607 122.85c-.172-.129-.301-1.416-.301-2.833 0-2.403-.043-2.532-.944-2.317-11.717 2.832-17.597 3.476-29.486 3.176-11.03-.258-14.764-.859-23.434-3.777-9.313-3.176-15.966-7.125-21.202-12.619-4.678-4.935-7.768-10.343-7.768-13.562 0-1.588.085-1.674 1.33-1.674 1.073 0 2.017.644 4.893 3.348 5.88 5.536 13.176 9.27 21.932 11.202 16.395 3.648 33.134.729 55.752-9.614 15.881-7.254 27.641-11.074 39.486-12.747 2.146-.3 7.468-.515 12.018-.515 9.313.042 15.58.944 22.661 3.261l4.163 1.331v1.674c0 1.416-.128 1.63-1.03 1.63-.558 0-2.918.387-5.236.86-11.416 2.317-20.644 6.566-27.34 12.489-2.961 2.575-6.266 7.124-6.867 9.356-.601 2.189-.901 2.361-6.953 4.035-23.09 6.481-30.773 8.24-31.674 7.296Z" fill="var(--color-content-primary)"></path></svg>');function bl(e,t){let n=I(t,"size",8,48);var i=_l();i1(()=>{jt(i,"height",n()),jt(i,"width",n())}),R(e,i)}var yl=q('<sub class="version svelte-1sl7y9o"> </sub>'),xl=q('<div class="wrapper svelte-1sl7y9o"><div><div class="start-wrapper svelte-1sl7y9o"><!> <div><div class="title-wrapper svelte-1sl7y9o"><!> <!></div> <!></div></div></div> <div class="links svelte-1sl7y9o"><button class="button svelte-1sl7y9o" type="button"><!></button> <a href="https://github.com/azat-io/todoctor" rel="noopener noreferrer" target="_blank"><!></a></div></div>'),Ml=q('<header class="header svelte-1sl7y9o"><!></header>');function wl(e){const[t,n]=Oe(),i=()=>Gt(w2,"$theme",t),s=()=>Gt(M2,"$data",t);i();let{version:o,name:a}=s();var r=Ml(),l=$(r);Te(l,{children:(c,u)=>{var d=xl(),f=$(d),h=$(f),g=$(h);bl(g,{size:72});var p=Q(g,2),m=$(p),v=$(m);f1(v,{size:"2xl",tag:"h1",bold:!0,children:(A,F)=>{p1();var N=a1("Todoctor");R(A,N)},$$slots:{default:!0}});var _=Q(v,2);{var M=A=>{var F=yl(),N=$(F);E(F),i1(()=>M1(N,`v${o??""}`)),R(A,F)};k1(_,A=>{o&&A(M)})}E(m);var x=Q(m,2);{var b=A=>{f1(A,{size:"m",children:(F,N)=>{p1();var t1=a1();i1(()=>M1(t1,a)),R(F,t1)},$$slots:{default:!0}})};k1(x,A=>{a&&A(b)})}E(p),E(h),E(f);var C=Q(f,2),S=$(C),w=$(S);f1(w,{color:"brand",size:"m",children:(A,F)=>{p1();var N=a1("Toggle Theme");R(A,N)},$$slots:{default:!0}}),E(S);var P=Q(S,2),O=$(P);f1(O,{color:"brand",size:"m",children:(A,F)=>{p1();var N=a1("GitHub");R(A,N)},$$slots:{default:!0}}),E(P),E(C),E(d),u3("click",S,function(...A){Nn==null||Nn.apply(this,A)}),R(c,d)},$$slots:{default:!0}}),E(r),R(e,r),n()}var Sl=q('<div class="wrapper svelte-oxmnqz"><div><!> <!></div> <a href="https://github.com/azat-io/todoctor" rel="noopener noreferrer" target="_blank"><!></a></div>'),Cl=q('<footer class="footer svelte-oxmnqz"><!></footer>');function Pl(e,t){T1(t,!1);let n=new Date().getFullYear();U1();var i=Cl(),s=$(i);Te(s,{children:(o,a)=>{var r=Sl(),l=$(r),c=$(l);f1(c,{size:"m",children:(h,g)=>{p1();var p=a1("Released under the MIT License");R(h,p)},$$slots:{default:!0}});var u=Q(c,2);f1(u,{size:"m",children:(h,g)=>{p1();var p=a1();i1(()=>M1(p,`Copyright © ${n??""} Azat S.`)),R(h,p)},$$slots:{default:!0}}),E(l);var d=Q(l,2),f=$(d);f1(f,{size:"m",children:(h,g)=>{p1();var p=a1("Source code on GitHub");R(h,p)},$$slots:{default:!0}}),E(d),E(r),R(o,r)},$$slots:{default:!0}}),E(i),R(e,i),Z1()}function S2(e){return e+.5|0}const It=(e,t,n)=>Math.max(Math.min(e,n),t);function Xe(e){return It(S2(e*2.55),0,255)}function Nt(e){return It(S2(e*255),0,255)}function Mt(e){return It(S2(e/2.55)/100,0,1)}function Y3(e){return It(S2(e*100),0,100)}const X1={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},Di=[..."0123456789ABCDEF"],kl=e=>Di[e&15],Al=e=>Di[(e&240)>>4]+Di[e&15],D2=e=>(e&240)>>4===(e&15),Rl=e=>D2(e.r)&&D2(e.g)&&D2(e.b)&&D