PageSourceSearch

https://workspace.mind-verse.de/_next/static/chunks/87144-4ac86450…?dpl=dpl_5h42ZQjphYnG3NW94ngK5r9eoHBe

js mind-verse.de collected 2026-09-25 15:08:38 UTC 216,983 bytes, 5 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a0b137-1c84-7ae2-a0c7-0e7214f4d8a6")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[87144],{2930:(e,t,n)=>{n.d(t,{D:()=>r});function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,l=n.indexOf(t);for(;-1!==l;)r++,l=n.indexOf(t,l+t.length);return r}},7228:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,l=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,u=/^\s+|\s+$/g;function s(e){return e?e.replace(u,""):""}e.exports=function(e,u){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];u=u||{};var c=1,d=1;function f(e){var t=e.match(n);t&&(c+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function p(){var e={line:c,column:d};return function(t){return t.position=new g(e),m(r),t}}function g(e){this.start=e,this.end={line:c,column:d},this.source=u.source}function h(t){var n=Error(u.source+":"+c+":"+d+": "+t);if(n.reason=t,n.filename=u.source,n.line=c,n.column=d,n.source=e,u.silent);else throw n}function m(t){var n=t.exec(e);if(n){var r=n[0];return f(r),e=e.slice(r.length),n}}function v(e){var t;for(e=e||[];t=b();)!1!==t&&e.push(t);return e}function b(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return h("End of comment missing");var r=e.slice(2,n-2);return d+=2,f(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}g.prototype.content=e,m(r);var y,x=[];for(v(x);y=function(){var e=p(),n=m(l);if(n){if(b(),!m(o))return h("property missing ':'");var r=m(i),u=e({type:"declaration",property:s(n[0].replace(t,"")),value:r?s(r[0].replace(t,"")):""});return m(a),u}}();)!1!==y&&(x.push(y),v(x));return x}},9561:(e,t,n)=>{n.d(t,{R:()=>r});class r{constructor(e,t){this.attribute=t,this.property=e}}r.prototype.attribute="",r.prototype.booleanish=!1,r.prototype.boolean=!1,r.prototype.commaOrSpaceSeparated=!1,r.prototype.commaSeparated=!1,r.prototype.defined=!1,r.prototype.mustUseProperty=!1,r.prototype.number=!1,r.prototype.overloadedBoolean=!1,r.prototype.property="",r.prototype.spaceSeparated=!1,r.prototype.space=void 0},13937:(e,t,n)=>{n.d(t,{B:()=>o});var r=n(88497),l=n(90792);let o={partial:!0,tokenize:function(e,t,n){return function(t){return(0,l.On)(t)?(0,r.N)(e,o,"linePrefix")(t):o(t)};function o(e){return null===e||(0,l.HP)(e)?t(e):n(e)}}}},14324:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,l=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,i=/^-(ms)-/,a=function(e,t){return t.toUpperCase()},u=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){var s;return(void 0===t&&(t={}),!(s=e)||l.test(s)||n.test(s))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(i,u):e.replace(o,u)).replace(r,a))}},14998:(e,t,n)=>{n.d(t,{dc:()=>o,_Z:()=>i,VG:()=>a});var r=n(71087);let l=[],o=!1,i="skip";function a(e,t,n,a){let u;"function"==typeof t&&"function"!=typeof n?(a=n,n=t):u=t;let s=(0,r.C)(u),c=a?-1:1;(function e(r,u,d){let f=r&&"object"==typeof r?r:{};if("string"==typeof f.type){let e="string"==typeof f.tagName?f.tagName:"string"==typeof f.name?f.name:void 0;Object.defineProperty(p,"name",{value:"node ("+r.type+(e?"<"+e+">":"")+")"})}return p;function p(){var f;let p,g,h,m=l;if((!t||s(r,u,d[d.length-1]||void 0))&&(m=Array.isArray(f=n(r,d))?f:"number"==typeof f?[!0,f]:null==f?l:[f])[0]===o)return m;if("children"in r&&r.children&&r.children&&m[0]!==i)for(g=(a?r.children.length:-1)+c,h=d.concat(r);g>-1&&g<r.children.length;){if((p=e(r.children[g],g,h)())[0]===o)return p;g="number"==typeof p[1]?p[1]:g+c}return m}})(e,void 0,[])()}},19230:(e,t,n)=>{n.d(t,{o:()=>l});var r=n(51508);class l extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let l="",o={},i=!1;if(t&&(o="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?l=e:!o.cause&&e&&(i=!0,l=e.message,o.cause=e),!o.ruleId&&!o.source&&"string"==typeof n){const e=n.indexOf(":");-1===e?o.ruleId=n:(o.source=n.slice(0,e),o.ruleId=n.slice(e+1))}if(!o.place&&o.ancestors&&o.ancestors){const e=o.ancestors[o.ancestors.length-1];e&&(o.place=e.position)}const a=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file="",this.message=l,this.line=a?a.line:void 0,this.name=(0,r.L)(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=i&&o.cause&&"string"==typeof o.cause.stack?o.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}l.prototype.file="",l.prototype.name="",l.prototype.reason="",l.prototype.message="",l.prototype.stack="",l.prototype.column=void 0,l.prototype.line=void 0,l.prototype.ancestors=void 0,l.prototype.cause=void 0,l.prototype.fatal=void 0,l.prototype.place=void 0,l.prototype.ruleId=void 0,l.prototype.source=void 0},20526:(e,t,n)=>{n.d(t,{T:()=>d});var r=n(19230);let l=function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');u(e);let r=0,l=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else l<0&&(n=!0,l=o+1);return l<0?"":e.slice(r,l)}if(t===e)return"";let i=-1,a=t.length-1;for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1),a>-1&&(e.codePointAt(o)===t.codePointAt(a--)?a<0&&(l=o):(a=-1,l=i));return r===l?l=i:l<0&&(l=e.length),e.slice(r,l)},o=function(e){let t;if(u(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},i=function(e){let t;u(e);let n=e.length,r=-1,l=0,o=-1,i=0;for(;n--;){let a=e.codePointAt(n);if(47===a){if(t){l=n+1;break}continue}r<0&&(t=!0,r=n+1),46===a?o<0?o=n:1!==i&&(i=1):o>-1&&(i=-1)}return o<0||r<0||0===i||1===i&&o===r-1&&o===l+1?"":e.slice(o,r)},a=function(...e){var t;let n,r,l,o=-1;for(;++o<e.length;
1)u(e[o]),e[o]&&(l=void 0===l?e[o]:l+"/"+e[o]);return void 0===l?".":(u(t=l),n=47===t.codePointAt(0),0!==(r=function(e,t){let n,r,l="",o=0,i=-1,a=0,u=-1;for(;++u<=e.length;){if(u<e.length)n=e.codePointAt(u);else if(47===n)break;else n=47;if(47===n){if(i===u-1||1===a);else if(i!==u-1&&2===a){if(l.length<2||2!==o||46!==l.codePointAt(l.length-1)||46!==l.codePointAt(l.length-2)){if(l.length>2){if((r=l.lastIndexOf("/"))!==l.length-1){r<0?(l="",o=0):o=(l=l.slice(0,r)).length-1-l.lastIndexOf("/"),i=u,a=0;continue}}else if(l.length>0){l="",o=0,i=u,a=0;continue}}t&&(l=l.length>0?l+"/..":"..",o=2)}else l.length>0?l+="/"+e.slice(i+1,u):l=e.slice(i+1,u),o=u-i-1;i=u,a=0}else 46===n&&a>-1?a++:a=-1}return l}(t,!n)).length||n||(r="."),r.length>0&&47===t.codePointAt(t.length-1)&&(r+="/"),n?"/"+r:r)};function u(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function s(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let c=["history","path","basename","stem","extname","dirname"];class d{constructor(e){let t,n;t=e?s(e)?{path:e}:"string"==typeof e||function(e){return!!(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":"/",this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<c.length;){const e=c[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)c.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?l(this.path):void 0}set basename(e){p(e,"basename"),f(e,"basename"),this.path=a(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?o(this.path):void 0}set dirname(e){g(this.basename,"dirname"),this.path=a(e||"",this.basename)}get extname(){return"string"==typeof this.path?i(this.path):void 0}set extname(e){if(f(e,"extname"),g(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=a(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){s(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!s(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){let e=t.codePointAt(n+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),p(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?l(this.path,this.extname):void 0}set stem(e){p(e,"stem"),f(e,"stem"),this.path=a(this.dirname||"",e+(this.extname||""))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let l=new r.o(e,t,n);return this.path&&(l.name=this.path+":"+l.name,l.file=this.path),l.fatal=!1,this.messages.push(l),l}toString(e){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(e||void 0).decode(this.value)}}function f(e,t){if(e&&e.includes("/"))throw Error("`"+t+"` cannot be a path: did not expect `/`")}function p(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function g(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}},21758:(e,t,n)=>{n.d(t,{B:()=>r});function r(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}},21983:(e,t,n)=>{n.d(t,{S:()=>r});function r(e){return e.toLowerCase()}},22240:(e,t,n)=>{function r(e){let t=[],n=String(e||""),r=n.indexOf(","),l=0,o=!1;for(;!o;){-1===r&&(r=n.length,o=!0);let e=n.slice(l,r).trim();
1(e||!o)&&t.push(e),l=r+1,r=n.indexOf(",",l)}return t}function l(e,t){let n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}n.d(t,{A:()=>l,q:()=>r})},24137:(e,t,n)=>{n.d(t,{C1:()=>C,bL:()=>k});var r=n(2315),l=n(43841),o=n(18133),i=n(33397),a=n(72529),u=n(39595),s=n(63471),c=n(46205),d=n(29971),f=n(68987),p="Checkbox",[g,h]=(0,o.A)(p),[m,v]=g(p);function b(e){let{__scopeCheckbox:t,checked:n,children:l,defaultChecked:o,disabled:i,form:u,name:s,onCheckedChange:c,required:d,value:g="on",internal_do_not_use_render:h}=e,[v,b]=(0,a.i)({prop:n,defaultProp:o??!1,onChange:c,caller:p}),[y,x]=r.useState(null),[k,S]=r.useState(null),C=r.useRef(!1),w=!y||!!u||!!y.closest("form"),R={checked:v,disabled:i,setChecked:b,control:y,setControl:x,name:s,form:u,value:g,hasConsumerStoppedPropagationRef:C,required:d,defaultChecked:!P(o)&&o,isFormControl:w,bubbleInput:k,setBubbleInput:S};return(0,f.jsx)(m,{scope:t,...R,children:"function"==typeof h?h(R):l})}var y="CheckboxTrigger",x=r.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:n,...o},a)=>{let{control:u,value:s,disabled:c,checked:p,required:g,setControl:h,setChecked:m,hasConsumerStoppedPropagationRef:b,isFormControl:x,bubbleInput:k}=v(y,e),S=(0,l.s)(a,h),C=r.useRef(p);return r.useEffect(()=>{let e=u?.form;if(e){let t=()=>m(C.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[u,m]),(0,f.jsx)(d.sG.button,{type:"button",role:"checkbox","aria-checked":P(p)?"mixed":p,"aria-required":g,"data-state":E(p),"data-disabled":c?"":void 0,disabled:c,value:s,...o,ref:S,onKeyDown:(0,i.mK)(t,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:(0,i.mK)(n,e=>{m(e=>!!P(e)||!e),k&&x&&(b.current=e.isPropagationStopped(),b.current||e.stopPropagation())})})});x.displayName=y;var k=r.forwardRef((e,t)=>{let{__scopeCheckbox:n,name:r,checked:l,defaultChecked:o,required:i,disabled:a,value:u,onCheckedChange:s,form:c,...d}=e;return(0,f.jsx)(b,{__scopeCheckbox:n,checked:l,defaultChecked:o,disabled:a,required:i,onCheckedChange:s,name:r,form:c,value:u,internal_do_not_use_render:({isFormControl:e})=>(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(x,{...d,ref:t,__scopeCheckbox:n}),e&&(0,f.jsx)(R,{__scopeCheckbox:n})]})})});k.displayName=p;var S="CheckboxIndicator",C=r.forwardRef((e,t)=>{let{__scopeCheckbox:n,forceMount:r,...l}=e,o=v(S,n);return(0,f.jsx)(c.C,{present:r||P(o.checked)||!0===o.checked,children:(0,f.jsx)(d.sG.span,{"data-state":E(o.checked),"data-disabled":o.disabled?"":void 0,...l,ref:t,style:{pointerEvents:"none",...e.style}})})});C.displayName=S;var w="CheckboxBubbleInput",R=r.forwardRef(({__scopeCheckbox:e,...t},n)=>{let{control:o,hasConsumerStoppedPropagationRef:i,checked:a,defaultChecked:c,required:p,disabled:g,name:h,value:m,form:b,bubbleInput:y,setBubbleInput:x}=v(w,e),k=(0,l.s)(n,x),S=(0,u.Z)(a),C=(0,s.X)(o);r.useEffect(()=>{if(!y)return;let e=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set,t=!i.current;if(S!==a&&e){let n=new Event("click",{bubbles:t});y.indeterminate=P(a),e.call(y,!P(a)&&a),y.dispatchEvent(n)}},[y,S,a,i]);let R=r.useRef(!P(a)&&a);return(0,f.jsx)(d.sG.input,{type:"checkbox","aria-hidden":!0,defaultChecked:c??R.current,required:p,disabled:g,name:h,value:m,form:b,...t,tabIndex:-1,ref:k,style:{...t.style,...C,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function P(e){return"indeterminate"===e}function E(e){return P(e)?"indeterminate":e?"checked":"unchecked"}R.displayName=w},24670:(e,t,n)=>{function r(e,t){return l(e,t.inConstruct,!0)&&!l(e,t.notInConstruct,!1)}function l(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}n.d(t,{q:()=>r})},27727:(e,t,n)=>{n.d(t,{A:()=>eD});var r=n(2930),l=n(68025),o=n(90792),i=n(14998),a=n(71087);let u="phrasing",s=["autolink","link","image","label"];function c(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function d(e){this.config.enter.autolinkProtocol.call(this,e)}function f(e){this.config.exit.autolinkProtocol.call(this,e)}function p(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,l.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function g(e){this.config.exit.autolinkEmail.call(this,e)}function h(e){this.exit(e)}function m(e){!function(e,t,n){let r=(0,a.C)((n||{}).ignore||[]),l=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<n.length;){var l;let e=n[r];t.push(["string"==typeof(l=e[0])?RegExp(function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(l),"g"):l,function(e){return"function"==typeof e?e:function(){return e}}(e[1])])}return t}(t),o=-1;for(;++o<l.length;)(0,i.VG)(e,"text",u);function u(e,t){let n,i=-1;for(;++i<t.length;){let e=t[i],l=n?n.children:void 0;if(r(e,l?l.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){let n=t[t.length-1],r=l[o][0],i=l[o][1],a=0,u=n.children.indexOf(e),s=!1,c=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){let n=d.index,l={index:d.index,input:d.input,stack:[...t,e]},o=i(...d,l);if("string"==typeof o&&(o=o.length>0?{type:"text",value:o}:void 0),!1===o?r.lastIndex=n+1:(a!==n&&c.push({type:"text",value:e.value.slice(a,n)}),Array.isArray(o)?c.push(...o):o&&c.push(o),a=n+d[0].length,s=!0),!r.global)break;d=r.exec(e.value)}return s?(a<e.value.length&&c.push({type:"text",value:e.value.slice(a)}),n.children.splice(u,1,...c)):c=[e],u+c.length}(e,t)}}(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,v],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,b]],{ignore:["link","linkReference"]})}function v(e,t,n,l,o){let i,a="";if(!y(o))return!1;if(/^w/i.test(t)&&(n=t+n,t="",a="http://"),(i=n.split(".")).length<2||i[i.length-1]&&(/_/.test(i[i.length-1])||!/[a-zA-Z\d]/.test(i[i.length-1]))||i[i.length-2]&&(/_/.test(i[i.length-2])||!/[a-zA-Z\d]/.test(i[i.length-2])))return!1;let u=function(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],l=n.indexOf(")"),o=(0,r.D)(e,"("),i=(0,r.D)(e,")");for(;-1!==l&&o>i;)e+=n.slice(0,l+1),l=(n=n.slice(l+1)).indexOf(")"),i++;return[e,n]}(n+l);if(!u[0])return!1;let s={type:"link",title:null,url:a+t+u[0],children:[{type:"text",value:t+u[0]}]};return u[1]?[s,{type:"text",value:u[1]}]:s}function b(e,t,n,r){return!(!y(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function y(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,o.Ny)(n)||(0,o.es)(n))&&(!t||47!==n)}var x=n(21758);function k(){this.buffer()}function S(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function C(){this.buffer()}function w(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function R(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,l.ok)("footnoteReference"===n.type),n.identifier=(0,x.B)(this.sliceSerialize(e)).toLowerCase(),n.label=t}function P(e){this.exit(e)}function E(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,l.ok)("footnoteDefinition"===n.type),n.identifier=(0,x.B)(this.sliceSerialize(e)).toLowerCase(),n.label=t}function F(e){this.exit(e)}function I(e,t,n,r){let l=n.createTracker(r),o=l.move("[^"),i=n.enter("footnoteReference"),a=n.enter("reference");return o+=l.move(n.safe(n.associationId(e),{after:"]",before:o})),a(),i(),o+=l.move("]")}function M(e,t,n){return 0===t?e:A(e,t,n)}function A(e,t,n){return(n?"":"    ")+e}I.peek=function(){return"["};let D=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function L(e){this.enter({type:"delete",children:[]},e)}function O(e){this.exit(e)}function T(e,t,n,r){let l=n.createTracker(r),o=n.enter("strikethrough"),i=l.move("~~");return i+=n.containerPhrasing(e,{...l.current(),before:i,after:"~"}),i+=l.move("~~"),o(),i}function _(e){return e.length}function z(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:114*(82===t||114===t)}T.peek=function(){return"~"};var V=n(99728);function H(e){let t=e._align;(0,l.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function N(e){this.exit(e),this.data.inTable=void 0}function j(e){this.enter({type:"tableRow",children:[]},e)}function B(e){this.exit(e)}function G(e){this.enter({type:"tableCell",children:[]},e)}function U(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,q));let n=this.stack[this.stack.length-1];(0,l.ok)("inlineCode"===n.type),n.value=t,this.exit(e)}function q(e,t){return"|"===t?t:e}function W(e){let t=this.stack[this.stack.length-2];(0,l.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function $(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,l.ok)("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r,l=t.children,o=-1;for(;++o<l.length;){let e=l[o];if("paragraph"===e.type){r=e;break}}r===e&&(n.value=n.value.slice(1),0===n.value.length?e.children.shift():e.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function K(e,t,n,r){let l=e.children[0],o="boolean"==typeof e.checked&&l&&"paragraph"===l.type,i="["+(e.checked?"x":" ")+"] ",a=n.createTracker(r);o&&a.move(i);let u=V.p.listItem(e,t,n,{...r,...a.current()});return o&&(u=u.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+i})),u}var Q=n(76113);let X={tokenize:function(e,t,n){let r=0;return function t(o){return(87===o||119===o)&&r<3?(r++,e.consume(o),t):46===o&&3===r?(e.consume(o),l):n(o)};function l(e){return null===e?n(e):t(e)}},partial:!0},J={tokenize:function(e,t,n){let r,l,i;return a;function a(t){return 46===t||95===t?e.check(Y,s,u)(t):null===t||(0,o.Ee)(t)||(0,o.Ny)(t)||45!==t&&(0,o.es)(t)?s(t):(i=!0,e.consume(t),a)}function u(t){return 95===t?r=!0:(l=r,r=void 0),e.consume(t),a}function s(e){return l||r||!i?n(e):t(e)}},partial:!0},Z={tokenize:function(e,t){let n=0,r=0;return l;function l(a){return 40===a?(n++,e.consume(a),l):41===a&&r<n?i(a):33===a||34===a||38===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||
160===a||63===a||93===a||95===a||126===a?e.check(Y,t,i)(a):null===a||(0,o.Ee)(a)||(0,o.Ny)(a)?t(a):(e.consume(a),l)}function i(t){return 41===t&&r++,e.consume(t),l}},partial:!0},Y={tokenize:function(e,t,n){return r;function r(a){return 33===a||34===a||39===a||41===a||42===a||44===a||46===a||58===a||59===a||63===a||95===a||126===a?(e.consume(a),r):38===a?(e.consume(a),i):93===a?(e.consume(a),l):60===a||null===a||(0,o.Ee)(a)||(0,o.Ny)(a)?t(a):n(a)}function l(e){return null===e||40===e||91===e||(0,o.Ee)(e)||(0,o.Ny)(e)?t(e):r(e)}function i(t){return(0,o.CW)(t)?function t(l){return 59===l?(e.consume(l),r):(0,o.CW)(l)?(e.consume(l),t):n(l)}(t):n(t)}},partial:!0},ee={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return(0,o.lV)(e)?n(e):t(e)}},partial:!0},et={name:"wwwAutolink",tokenize:function(e,t,n){let r=this;return function(t){return 87!==t&&119!==t||!ei.call(r,r.previous)||ec(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(X,e.attempt(J,e.attempt(Z,l),n),n)(t))};function l(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:ei},en={name:"protocolAutolink",tokenize:function(e,t,n){let r=this,l="",i=!1;return function(t){return(72===t||104===t)&&ea.call(r,r.previous)&&!ec(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),l+=String.fromCodePoint(t),e.consume(t),a):n(t)};function a(t){if((0,o.CW)(t)&&l.length<5)return l+=String.fromCodePoint(t),e.consume(t),a;if(58===t){let n=l.toLowerCase();if("http"===n||"https"===n)return e.consume(t),u}return n(t)}function u(t){return 47===t?(e.consume(t),i)?s:(i=!0,u):n(t)}function s(t){return null===t||(0,o.JQ)(t)||(0,o.Ee)(t)||(0,o.Ny)(t)||(0,o.es)(t)?n(t):e.attempt(J,e.attempt(Z,c),n)(t)}function c(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:ea},er={name:"emailAutolink",tokenize:function(e,t,n){let r,l,i=this;return function(t){return!es(t)||!eu.call(i,i.previous)||ec(i.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),function t(r){return es(r)?(e.consume(r),t):64===r?(e.consume(r),a):n(r)}(t))};function a(t){return 46===t?e.check(ee,s,u)(t):45===t||95===t||(0,o.lV)(t)?(l=!0,e.consume(t),a):s(t)}function u(t){return e.consume(t),r=!0,a}function s(a){return l&&r&&(0,o.CW)(i.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(a)):n(a)}},previous:eu},el={},eo=48;for(;eo<123;)el[eo]=er,58==++eo?eo=65:91===eo&&(eo=97);function ei(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||(0,o.Ee)(e)}function ea(e){return!(0,o.CW)(e)}function eu(e){return!(47===e||es(e))}function es(e){return 43===e||45===e||46===e||95===e||(0,o.lV)(e)}function ec(e){let t=e.length,n=!1;for(;t--;){let r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}el[43]=er,el[45]=er,el[46]=er,el[95]=er,el[72]=[er,en],el[104]=[er,en],el[87]=[er,et],el[119]=[er,et];var ed=n(13937),ef=n(88497);let ep={tokenize:function(e,t,n){let r=this;return(0,ef.N)(e,function(e){let l=r.events[r.events.length-1];return l&&"gfmFootnoteDefinitionIndent"===l[1].type&&4===l[2].sliceSerialize(l[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function eg(e,t,n){let r,l=this,o=l.events.length,i=l.parser.gfmFootnotes||(l.parser.gfmFootnotes=[]);for(;o--;){let e=l.events[o][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(o){if(!r||!r._balanced)return n(o);let a=(0,x.B)(l.sliceSerialize({start:r.end,end:l.now()}));return 94===a.codePointAt(0)&&i.includes(a.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)):n(o)}}function eh(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},l={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};l.end.column++,l.end.offset++,l.end._bufferIndex++;let o={type:"gfmFootnoteCallString",start:Object.assign({},l.end),end:Object.assign({},e[e.length-1][1].start)},i={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},a=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",l,t],["exit",l,t],["enter",o,t],["enter",i,t],["exit",i,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...a),e}function em(e,t,n){let r,l=this,i=l.parser.gfmFootnotes||(l.parser.gfmFootnotes=[]),a=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),u};function u(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",s)}function s(u){if(a>999||93===u&&!r||null===u||91===u||(0,o.Ee)(u))return n(u);if(93===u){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return i.includes((0,x.B)(l.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(u),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(u)}return(0,o.Ee)(u)||(r=!0),a++,e.consume(u),92===u?c:s}function c(t){return 91===t||92===t||93===t?(e.consume(t),a++,s):s(t)}}function ev(e,t,n){let r,l,i=this,a=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),u=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),s};function s(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(t)}function c(t){if(u>999||93===t&&!l||null===t||91===t||(0,o.Ee)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,x.B)(i.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),f}return(0,o.Ee)(t)||(l=!0),u++,e.consume(t),92===t?d:c}function d(t){return 91===t||92===t||93===t?(e.consume(t),u++,c):c(t)}function f(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),a.includes(r)||a.push(r),(0,ef.N)(e,p,"gfmFootnoteDefinitionWhitespace")):n(t)}function p(e){return t(e)}}function eb(e,t,n){return e.check(ed.B,t,e.attempt(ep,t,n))}function ey(e){e.exit("gfmFootnoteDefinition")}var ex=n(62879),ek=n(50251),eS=n(57921);class eC{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let l=0;if(0!==n||0!==r.length){for(;l<e.map.length;){if(e.map[l][0]===t){e.map[l][1]+=n,e.map[l][2].push(...r);return}l+=1}e.map.push([t,n,r])}}(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),0===this.map.length)return;let t=this.map.length,n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(let t of r)e.push(t);r=n.pop()}this.map.length=0}}
1function ew(e,t,n){let r,l=this,i=0,a=0;return function(e){let t=l.events.length-1;for(;t>-1;){let e=l.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?l.events[t][1].type:null,o="tableHead"===r||"tableRow"===r?y:u;return o===y&&l.parser.lazy[l.now().line]?n(e):o(e)};function u(t){var n;return e.enter("tableHead"),e.enter("tableRow"),124===(n=t)||(r=!0,a+=1),s(n)}function s(t){return null===t?n(t):(0,o.HP)(t)?a>1?(a=0,l.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),f):n(t):(0,o.On)(t)?(0,ef.N)(e,s,"whitespace")(t):(a+=1,r&&(r=!1,i+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,s):(e.enter("data"),c(t))}function c(t){return null===t||124===t||(0,o.Ee)(t)?(e.exit("data"),s(t)):(e.consume(t),92===t?d:c)}function d(t){return 92===t||124===t?(e.consume(t),c):c(t)}function f(t){return(l.interrupt=!1,l.parser.lazy[l.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,o.On)(t))?(0,ef.N)(e,p,"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):p(t)}function p(t){return 45===t||58===t?h(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),g):n(t)}function g(t){return(0,o.On)(t)?(0,ef.N)(e,h,"whitespace")(t):h(t)}function h(t){return 58===t?(a+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(a+=1,m(t)):null===t||(0,o.HP)(t)?b(t):n(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),v):(e.exit("tableDelimiterFiller"),v(n))}(t)):n(t)}function v(t){return(0,o.On)(t)?(0,ef.N)(e,b,"whitespace")(t):b(t)}function b(l){if(124===l)return p(l);if(null===l||(0,o.HP)(l))return r&&i===a?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(l)):n(l);return n(l)}function y(t){return e.enter("tableRow"),x(t)}function x(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),x):null===n||(0,o.HP)(n)?(e.exit("tableRow"),t(n)):(0,o.On)(n)?(0,ef.N)(e,x,"whitespace")(n):(e.enter("data"),k(n))}function k(t){return null===t||124===t||(0,o.Ee)(t)?(e.exit("data"),x(t)):(e.consume(t),92===t?S:k)}function S(t){return 92===t||124===t?(e.consume(t),k):k(t)}}function eR(e,t){let n,r,l,o=-1,i=!0,a=0,u=[0,0,0,0],s=[0,0,0,0],c=!1,d=0,f=new eC;for(;++o<e.length;){let p=e[o],g=p[1];"enter"===p[0]?"tableHead"===g.type?(c=!1,0!==d&&(eE(f,t,d,n,r),r=void 0,d=0),n={type:"table",start:Object.assign({},g.start),end:Object.assign({},g.end)},f.add(o,0,[["enter",n,t]])):"tableRow"===g.type||"tableDelimiterRow"===g.type?(i=!0,l=void 0,u=[0,0,0,0],s=[0,o+1,0,0],c&&(c=!1,r={type:"tableBody",start:Object.assign({},g.start),end:Object.assign({},g.end)},f.add(o,0,[["enter",r,t]])),a="tableDelimiterRow"===g.type?2:r?3:1):a&&("data"===g.type||"tableDelimiterMarker"===g.type||"tableDelimiterFiller"===g.type)?(i=!1,0===s[2]&&(0!==u[1]&&(s[0]=s[1],l=eP(f,t,u,a,void 0,l),u=[0,0,0,0]),s[2]=o)):"tableCellDivider"===g.type&&(i?i=!1:(0!==u[1]&&(s[0]=s[1],l=eP(f,t,u,a,void 0,l)),s=[(u=s)[1],o,0,0])):"tableHead"===g.type?(c=!0,d=o):"tableRow"===g.type||"tableDelimiterRow"===g.type?(d=o,0!==u[1]?(s[0]=s[1],l=eP(f,t,u,a,o,l)):0!==s[1]&&(l=eP(f,t,s,a,o,l)),a=0):a&&("data"===g.type||"tableDelimiterMarker"===g.type||"tableDelimiterFiller"===g.type)&&(s[3]=o)}for(0!==d&&eE(f,t,d,n,r),f.consume(t.events),o=-1;++o<t.events.length;){let e=t.events[o];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=function(e,t){let n=!1,r=[];for(;t<e.length;){let l=e[t];if(n){if("enter"===l[0])"tableContent"===l[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===l[1].type){if("tableDelimiterMarker"===e[t-1][1].type){let e=r.length-1;r[e]="left"===r[e]?"center":"right"}}else if("tableDelimiterRow"===l[1].type)break}else"enter"===l[0]&&"tableDelimiterRow"===l[1].type&&(n=!0);t+=1}return r}(t.events,o))}return e}function eP(e,t,n,r,l,o){0!==n[0]&&(o.end=Object.assign({}
1,eF(t.events,n[0])),e.add(n[0],0,[["exit",o,t]]));let i=eF(t.events,n[1]);if(o={type:1===r?"tableHeader":2===r?"tableDelimiter":"tableData",start:Object.assign({},i),end:Object.assign({},i)},e.add(n[1],0,[["enter",o,t]]),0!==n[2]){let l=eF(t.events,n[2]),o=eF(t.events,n[3]),i={type:"tableContent",start:Object.assign({},l),end:Object.assign({},o)};if(e.add(n[2],0,[["enter",i,t]]),2!==r){let r=t.events[n[2]],l=t.events[n[3]];if(r[1].end=Object.assign({},l[1].end),r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",i,t]])}return void 0!==l&&(o.end=Object.assign({},eF(t.events,l)),e.add(l,0,[["exit",o,t]]),o=void 0),o}function eE(e,t,n,r,l){let o=[],i=eF(t.events,n);l&&(l.end=Object.assign({},i),o.push(["exit",l,t])),r.end=Object.assign({},i),o.push(["exit",r,t]),e.add(n+1,0,o)}function eF(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let eI={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),l):n(t)};function l(t){return(0,o.Ee)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),i):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),i):n(t)}function i(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),a):n(t)}function a(r){return(0,o.HP)(r)?t(r):(0,o.On)(r)?e.check({tokenize:eM},t,n)(r):n(r)}}};function eM(e,t,n){return(0,ef.N)(e,function(e){return null===e?n(e):t(e)},"whitespace")}let eA={};function eD(e){var t;let n,r,l,o=e||eA,i=this.data(),a=i.micromarkExtensions||(i.micromarkExtensions=[]),v=i.fromMarkdownExtensions||(i.fromMarkdownExtensions=[]),b=i.toMarkdownExtensions||(i.toMarkdownExtensions=[]);a.push((t=o,(0,Q.y)([{text:el},{document:{91:{name:"gfmFootnoteDefinition",tokenize:ev,continuation:{tokenize:eb},exit:ey}},text:{91:{name:"gfmFootnoteCall",tokenize:em},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:eg,resolveTo:eh}}},(n=(t||{}).singleTilde,r={name:"strikethrough",tokenize:function(e,t,r){let l=this.previous,o=this.events,i=0;return function(a){return 126===l&&"characterEscape"!==o[o.length-1][1].type?r(a):(e.enter("strikethroughSequenceTemporary"),function o(a){let u=(0,ek.S)(l);if(126===a)return i>1?r(a):(e.consume(a),i++,o);if(i<2&&!n)return r(a);let s=e.exit("strikethroughSequenceTemporary"),c=(0,ek.S)(a);return s._open=!c||2===c&&!!u,s._close=!u||2===u&&!!c,t(a)}(a))}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset==e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";let l={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},o={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},i=[["enter",l,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",o,t]],a=t.parser.constructs.insideSpan.null;a&&(0,ex.m)(i,i.length,0,(0,eS.W)(a,e.slice(r+1,n),t)),(0,ex.m)(i,i.length,0,[["exit",o,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",l,t]]),(0,ex.m)(e,r-1,n-r+3,i),n=r+i.length-2;break}}for(n=-1;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}},null==n&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}}),{flow:{null:{name:"table",tokenize:ew,resolveAll:eR}}},{text:{91:eI}}]))),v.push([{transforms:[m],enter:{literalAutolink:c,literalAutolinkEmail:d,literalAutolinkHttp:d,literalAutolinkWww:d},exit:{literalAutolink:h,literalAutolinkEmail:g,literalAutolinkHttp:f,literalAutolinkWww:p}},{enter:{gfmFootnoteCallString:k,gfmFootnoteCall:S,gfmFootnoteDefinitionLabelString:C,gfmFootnoteDefinition:w},exit:{gfmFootnoteCallString:R,gfmFootnoteCall:P,gfmFootnoteDefinitionLabelString:E,gfmFootnoteDefinition:F}}
1,{canContainEols:["delete"],enter:{strikethrough:L},exit:{strikethrough:O}},{enter:{table:H,tableData:G,tableHeader:G,tableRow:j},exit:{codeText:U,table:N,tableData:B,tableHeader:B,tableRow:B}},{exit:{taskListCheckValueChecked:W,taskListCheckValueUnchecked:W,paragraph:$}}]),b.push({extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:u,notInConstruct:s},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:u,notInConstruct:s},{character:":",before:"[ps]",after:"\\/",inConstruct:u,notInConstruct:s}]},(l=!1,o&&o.firstLineBlank&&(l=!0),{handlers:{footnoteDefinition:function(e,t,n,r){let o=n.createTracker(r),i=o.move("[^"),a=n.enter("footnoteDefinition"),u=n.enter("label");return i+=o.move(n.safe(n.associationId(e),{before:i,after:"]"})),u(),i+=o.move("]:"),e.children&&e.children.length>0&&(o.shift(4),i+=o.move((l?"\n":" ")+n.indentLines(n.containerFlow(e,o.current()),l?A:M))),a(),i},footnoteReference:I},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]}),{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:D}],handlers:{delete:T}},function(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,l=t.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[	 :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,n){let r=V.p.inlineCode(e,t,n);return n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&")),r},table:function(e,t,n,r){return a(function(e,t,n){let r=e.children,l=-1,o=[],i=t.enter("table");for(;++l<r.length;)o[l]=u(r[l],t,n);return i(),o}(e,n,r),e.align)},tableCell:i,tableRow:function(e,t,n,r){let l=a([u(e,n,r)]);return l.slice(0,l.indexOf("\n"))}}};function i(e,t,n,r){let l=n.enter("tableCell"),i=n.enter("phrasing"),a=n.containerPhrasing(e,{...r,before:o,after:o});return i(),l(),a}function a(e,t){return function(e,t){let n=t||{},r=(n.align||[]).concat(),l=n.stringLength||_,o=[],i=[],a=[],u=[],s=0,c=-1;for(;++c<e.length;){let t=[],r=[],o=-1;for(e[c].length>s&&(s=e[c].length);++o<e[c].length;){var d;let i=null==(d=e[c][o])?"":String(d);if(!1!==n.alignDelimiters){let e=l(i);r[o]=e,(void 0===u[o]||e>u[o])&&(u[o]=e)}t.push(i)}i[c]=t,a[c]=r}let f=-1;if("object"==typeof r&&"length"in r)for(;++f<s;)o[f]=z(r[f]);else{let e=z(r);for(;++f<s;)o[f]=e}f=-1;let p=[],g=[];for(;++f<s;){let e=o[f],t="",r="";99===e?(t=":",r=":"):108===e?t=":":114===e&&(r=":");let l=!1===n.alignDelimiters?1:Math.max(1,u[f]-t.length-r.length),i=t+"-".repeat(l)+r;!1!==n.alignDelimiters&&((l=t.length+l+r.length)>u[f]&&(u[f]=l),g[f]=l),p[f]=i}i.splice(1,0,p),a.splice(1,0,g),c=-1;let h=[];for(;++c<i.length;){let e=i[c],t=a[c];f=-1;let r=[];for(;++f<s;){let l=e[f]||"",i="",a="";if(!1!==n.alignDelimiters){let e=u[f]-(t[f]||0),n=o[f];114===n?i=" ".repeat(e):99===n?e%2?(i=" ".repeat(e/2+.5),a=" ".repeat(e/2-.5)):a=i=" ".repeat(e/2):a=" ".repeat(e)}!1===n.delimiterStart||f||r.push("|"),!1!==n.padding&&(!1!==n.alignDelimiters||""!==l)&&(!1!==n.delimiterStart||f)&&r.push(" "),!1!==n.alignDelimiters&&r.push(i),r.push(l),!1!==n.alignDelimiters&&r.push(a),!1!==n.padding&&r.push(" "),(!1!==n.delimiterEnd||f!==s-1)&&r.push("|")}h.push(!1===n.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return h.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:l})}function u(e,t,n){let r=e.children,l=-1,o=[],a=t.enter("tableRow");for(;++l<r.length;)o[l]=i(r[l],e,t,n);return a(),o}}(o),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:K}}]})}},29380:(e,t,n)=>{n.d(t,{oz:()=>H});var r=n(68025),l=n(22240),o=n(74560),i=n(43237),a=n(39021),u=n(52571);let s={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};
1var c=n(77111),d=n(88524),f=n(92804),p=n(19230);let g={}.hasOwnProperty,h=new Map,m=/[A-Z]/g,v=new Set(["table","tbody","thead","tfoot","tr"]),b=new Set(["td","th"]),y="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function x(e,t,n){var o,f,h,x,E,F,I,M,A;let D,L,O,T,_,z,V,H,N,j,B;return"element"===t.type?(o=e,f=t,h=n,L=D=o.schema,"svg"===f.tagName.toLowerCase()&&"html"===D.space&&(o.schema=a.JW),o.ancestors.push(f),O=w(o,f.tagName,!1),T=function(e,t){let n,r,o={};for(r in t.properties)if("children"!==r&&g.call(t.properties,r)){let i=function(e,t,n){let r=(0,u.I)(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?(0,l.A)(n):(0,c.A)(n)),"style"===r.property){let t="object"==typeof n?n:function(e,t){try{return d(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};let t=new p.o("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw t.file=e.filePath||void 0,t.url=y+"#cannot-parse-style-attribute",t}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){let t,n={};for(t in e)g.call(e,t)&&(n[function(e){let t=e.replace(m,P);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return n}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?s[r.property]||r.property:r.attribute,n]}}(e,r,t.properties[r]);if(i){let[r,l]=i;e.tableCellAlignToStyle&&"align"===r&&"string"==typeof l&&b.has(t.tagName)?n=l:o[r]=l}}return n&&((o.style||(o.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=n),o}(o,f),_=C(o,f),v.has(f.tagName)&&(_=_.filter(function(e){return"string"!=typeof e||!(0,i.m)(e)})),k(o,T,O,f),S(T,_),o.ancestors.pop(),o.schema=D,o.create(f,O,T,h)):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){let n=t.data.estree.body[0];return(0,r.ok)("ExpressionStatement"===n.type),e.evaluater.evaluateExpression(n.expression)}R(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?(x=e,E=t,F=n,V=z=x.schema,"svg"===E.name&&"html"===z.space&&(x.schema=a.JW),x.ancestors.push(E),H=null===E.name?x.Fragment:w(x,E.name,!0),N=function(e,t){let n={};for(let l of t.attributes)if("mdxJsxExpressionAttribute"===l.type)if(l.data&&l.data.estree&&e.evaluater){let t=l.data.estree.body[0];(0,r.ok)("ExpressionStatement"===t.type);let o=t.expression;(0,r.ok)("ObjectExpression"===o.type);let i=o.properties[0];(0,r.ok)("SpreadElement"===i.type),Object.assign(n,e.evaluater.evaluateExpression(i.argument))}else R(e,t.position);else{let o,i=l.name;if(l.value&&"object"==typeof l.value)if(l.value.data&&l.value.data.estree&&e.evaluater){let t=l.value.data.estree.body[0];(0,r.ok)("ExpressionStatement"===t.type),o=e.evaluater.evaluateExpression(t.expression)}else R(e,t.position);else o=null===l.value||l.value;n[i]=o}return n}(x,E),j=C(x,E),k(x,N,H,E),S(N,j),x.ancestors.pop(),x.schema=z,x.create(E,H,N,F)):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);R(e,t.position)}(e,t):"root"===t.type?(I=e,M=t,A=n,S(B={},C(I,M)),I.create(M,I.Fragment,B,A)):"text"===t.type?t.value:void 0}function k(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function S(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function C(e,t){let n=[],r=-1,l=e.passKeys?new Map:h;for(;++r<t.children.length;){let o,i=t.children[r];if(e.passKeys){let e="element"===i.type?i.tagName:"mdxJsxFlowElement"===i.type||"mdxJsxTextElement"===i.type?i.name:void 0;if(e){let t=l.get(e)||0;o=e+"-"+t,l.set(e,t+1)}}let a=x(e,i,o);void 0!==a&&n.push(a)}return n}function w(e,t,n){let l;if(n)if(t.includes(".")){let e,n=t.split("."),i=-1;for(;++i<n.length;){let t=(0,o.UU)(n[i])?{type:"Identifier",name:n[i]}:{type:"Literal",value:n[i]};e=e?{type:"MemberExpression",object:e,property:t,computed:!!(i&&"Literal"===t.type),optional:!1}:t}(0,r.ok)(e,"always a result"),l=e}else l=(0,o.UU)(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else l={type:"Literal",value:t};if("Literal"===l.type){let t=l.value;return g.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(l);R(e)}function R(e,t){let n=new p.o("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=y+"#cannot-handle-mdx-estrees-without-createevaluater",n}function P(e){return"-"+e.toLowerCase()}let E={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var F=n(68987);n(2315);var I=n(29697),M=n(96148);function A(e,t){return e&&"run"in e?async function(n,r){let l=(0,M._)(n,{file:r,...t});await e.run(l,r)}:function(n,r){return(0,M._)(n,{file:r,...e||t})}}var D=n(66057),L=n(61976),O=n(20526);let T=[],_={allowDangerousHtml:!0},z=/^(https?|ircs?|mailto|xmpp)$/i,V=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function H(e){var t;let n,l,o,i,u,s=(n=(t=e).rehypePlugins||T,l=t.remarkPlugins||T,o=t.remarkRehypeOptions?{...t.remarkRehypeOptions,..._}:_,(0,D.l)().use(I.A).use(l).use(A,o).use(n)),c=(i=e.children||"",u=ne
1w O.T,"string"==typeof i?u.value=i:(0,r.HB)("Unexpected value `"+i+"` for `children` prop, expected `string`"),u);return function(e,t){let n=t.allowedElements,l=t.allowElement,o=t.components,i=t.disallowedElements,u=t.skipHtml,s=t.unwrapDisallowed,c=t.urlTransform||N;for(let e of V)Object.hasOwn(t,e.from)&&(0,r.HB)("Unexpected `"+e.from+"` prop, "+(e.to?"use `"+e.to+"` instead":"remove it")+" (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#"+e.id+"> for more info)");return n&&i&&(0,r.HB)("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),(0,L.YR)(e,function(e,t,r){if("raw"===e.type&&r&&"number"==typeof t)return u?r.children.splice(t,1):r.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in E)if(Object.hasOwn(E,t)&&Object.hasOwn(e.properties,t)){let n=e.properties[t],r=E[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=c(String(n||""),t,e))}}if("element"===e.type){let o=n?!n.includes(e.tagName):!!i&&i.includes(e.tagName);if(!o&&l&&"number"==typeof t&&(o=!l(e,t,r)),o&&r&&"number"==typeof t)return s&&e.children?r.children.splice(t,1,...e.children):r.children.splice(t,1),t}}),function(e,t){var n,r,l,o;let i;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let u=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");n=u,r=t.jsxDEV,i=function(e,t,l,o){let i=Array.isArray(l.children),a=(0,f.PW)(e);return r(t,l,o,i,{columnNumber:a?a.column-1:void 0,fileName:n,lineNumber:a?a.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");
1if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");l=t.jsx,o=t.jsxs,i=function(e,t,n,r){let i=Array.isArray(n.children)?o:l;return r?i(t,n,r):i(t,n)}}let s={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:i,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:u,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?a.JW:a.qy,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},c=x(s,e,void 0);return c&&"string"!=typeof c?c:s.create(e,s.Fragment,{children:c||void 0},void 0)}(e,{Fragment:F.Fragment,components:o,ignoreInvalidStyle:!0,jsx:F.jsx,jsxs:F.jsxs,passKeys:!0,passNode:!0})}(s.runSync(s.parse(c),c),e)}function N(e){let t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),l=e.indexOf("/");return -1===t||-1!==l&&t>l||-1!==n&&t>n||-1!==r&&t>r||z.test(e.slice(0,t))?e:""}},29697:(e,t,n)=>{n.d(t,{A:()=>ek});var r={};n.r(r),n.d(r,{attentionMarkers:()=>ef,contentInitial:()=>ei,disable:()=>ep,document:()=>eo,flow:()=>eu,flowInitial:()=>ea,insideSpan:()=>ed,string:()=>es,text:()=>ec});var l=n(88484),o=n(62879);class i{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=null==t?1/0:t;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){this.setCursor(Math.trunc(e));let r=this.right.splice(this.right.length-(t||0),1/0);return n&&a(this.left,n),r.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),a(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),a(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length))if(e<this.left.length){let t=this.left.splice(e,1/0);a(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);a(this.left,t.reverse())}}}function a(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function u(e){let t,n,r,l,a,u,s,c={},d=-1,f=new i(e);for(;++d<f.length;){for(;d in c;)d=c[d];if(t=f.get(d),d&&"chunkFlow"===t[1].type&&"listItemPrefix"===f.get(d-1)[1].type&&((r=0)<(u=t[1]._tokenizer.events).length&&"lineEndingBlank"===u[r][1].type&&(r+=2),r<u.length&&"content"===u[r][1].type))for(;++r<u.length&&"content"!==u[r][1].type;)"chunkText"===u[r][1].type&&(u[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(c,function(e,t){let n,r,l=e.get(t)[1],o=e.get(t)[2],i=t-1,a=[],u=l._tokenizer;!u&&(u=o.parser[l.contentType](l.start),l._contentTypeTextTrailing&&(u._contentTypeTextTrailing=!0));let s=u.events,c=[],d={},f=-1,p=l,g=0,h=0,m=[0];for(;p;){for(;e.get(++i)[1]!==p;);a.push(i),!p._tokenizer&&(n=o.sliceStream(p),p.next||n.push(null),r&&u.defineSkip(p.start),p._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(n),p._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),r=p,p=p.next}for(p=l;++f<s.length;)"exit"===s[f][0]&&"enter"===s[f-1][0]&&s[f][1].type===s[f-1][1].type&&s[f][1].start.line!==s[f][1].end.line&&(h=f+1,m.push(h),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(u.events=[],p?(p._tokenizer=void 0,p.previous=void 0):m.pop(),f=m.length;f--;){let t=s.slice(m[f],m[f+1]),n=a.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),f=-1;++f<c.length;)d[g+c[f][0]]=g+c[f][1],g+=c[f][1]-c[f][0]-1;return d}(f,d)),d=c[d],s=!0);else if(t[1]._container){for(r=d,n=void 0;r--;)if("lineEnding"===(l=f.get(r))[1].type||"lineEndingBlank"===l[1].type)"enter"===l[0]&&(n&&(f.get(n)[1].type="lineEndingBlank"),l[1].type="lineEnding",n=r);else if("linePrefix"===l[1].type||"listItemIndent"===l[1].type);else break;
1n&&(t[1].end={...f.get(n)[1].start},(a=f.slice(n,d)).unshift(t),f.splice(n,d-n+1,a))}}return(0,o.m)(e,0,1/0,f.slice(0)),!s}var s=n(76113),c=n(88497),d=n(90792);let f={tokenize:function(e){let t,n=e.attempt(this.parser.constructs.contentInitial,function(t){return null===t?void e.consume(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,c.N)(e,n,"linePrefix"))},function(n){return e.enter("paragraph"),function n(r){let l=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=l),t=l,function t(r){if(null===r){e.exit("chunkText"),e.exit("paragraph"),e.consume(r);return}return(0,d.HP)(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},p={tokenize:function(e){let t,n,r,l=this,i=[],a=0;return u;function u(t){if(a<i.length){let n=i[a];return l.containerState=n[1],e.attempt(n[0].continuation,s,c)(t)}return c(t)}function s(e){if(a++,l.containerState._closeFlow){let n;l.containerState._closeFlow=void 0,t&&x();let r=l.events.length,i=r;for(;i--;)if("exit"===l.events[i][0]&&"chunkFlow"===l.events[i][1].type){n=l.events[i][1].end;break}y(a);let u=r;for(;u<l.events.length;)l.events[u][1].end={...n},u++;return(0,o.m)(l.events,i+1,0,l.events.slice(r)),l.events.length=u,c(e)}return u(e)}function c(n){if(a===i.length){if(!t)return h(n);if(t.currentConstruct&&t.currentConstruct.concrete)return v(n);l.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return l.containerState={},e.check(g,f,p)(n)}function f(e){return t&&x(),y(a),h(e)}function p(e){return l.parser.lazy[l.now().line]=a!==i.length,r=l.now().offset,v(e)}function h(t){return l.containerState={},e.attempt(g,m,v)(t)}function m(e){return a++,i.push([l.currentConstruct,l.containerState]),h(e)}function v(r){if(null===r){t&&x(),y(0),e.consume(r);return}return t=t||l.parser.flow(l.now()),e.enter("chunkFlow",{_tokenizer:t,contentType:"flow",previous:n}),function t(n){if(null===n){b(e.exit("chunkFlow"),!0),y(0),e.consume(n);return}return(0,d.HP)(n)?(e.consume(n),b(e.exit("chunkFlow")),a=0,l.interrupt=void 0,u):(e.consume(n),t)}(r)}function b(e,i){let u=l.sliceStream(e);if(i&&u.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(u),l.parser.lazy[e.start.line]){let e,n,i=t.events.length;for(;i--;)if(t.events[i][1].start.offset<r&&(!t.events[i][1].end||t.events[i][1].end.offset>r))return;let u=l.events.length,s=u;for(;s--;)if("exit"===l.events[s][0]&&"chunkFlow"===l.events[s][1].type){if(e){n=l.events[s][1].end;break}e=!0}for(y(a),i=u;i<l.events.length;)l.events[i][1].end={...n},i++;(0,o.m)(l.events,s+1,0,l.events.slice(u)),l.events.length=i}}function y(t){let n=i.length;for(;n-- >t;){let t=i[n];l.containerState=t[1],t[0].exit.call(l,e)}i.length=t}function x(){t.write([null]),n=void 0,t=void 0,l.containerState._closeFlow=void 0}}},g={tokenize:function(e,t,n){return(0,c.N)(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var h=n(13937);let m={resolve:function(e){return u(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?l(t):(0,d.HP)(t)?e.check(v,o,l)(t):(e.consume(t),r)}function l(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},v={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,c.N)(e,l,"linePrefix")};function l(l){if(null===l||(0,d.HP)(l))return n(l);let o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(l):e.interrupt(r.parser.constructs.flow,n,t)(l)}}},b={tokenize:function(e){let t=this,n=e.attempt(h.B,function(r){return null===r?void e.consume(r):(e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n)},e.attempt(this.parser.constructs.flowInitial,r,(0,c.N)(e,e.attempt(this.parser.constructs.flow,r,e.attempt(m,r)),"linePrefix")));return n;function r(r){return null===r?void e.consume(r):(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n)}}},y={resolveAll:C()},x=S("string"),k=S("text");function S(e){return{resolveAll:C("text"===e?w:void 0),tokenize:function(t){let n=this,r=this.parser.constructs[e],l=t.attempt(r,o,i);return o;function o(e){return u(e)?l(e):i(e)}function i(e){return null===e?void t.consume(e):(t.enter("data"),t.consume(e),a)}function a(e){return u(e)?(t.exit("data"),l(e)):(t.consume(e),a)}function u(e){if(null===e)return!0;let t=r[e],l=-1;if(t)for(;++l<t.length;){let e=t[l];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function C(e){return function(t,n){let r,l=-1;for(;++l<=t.length;)void 0===r?t[l]&&"data"===t[l][1].type&&(r=l,l++):t[l]&&"data"===t[l][1].type||(l!==r+2&&(t[r][1].end=t[l-1][1].end,t.splice(r+2,l-r-2),l=r+2),r=void 0);return e?e(t,n):t}}function w(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){let r,l=e[n-1][1],o=t.sliceStream(l),i=o.length,a=-1,u=0;for(;i--;){let e=o[i];if("string"==typeof e){for(a=e.length;32===e.charCodeAt(a-1);)u++,a--;if(a)break;a=-1}else if(-2===e)r=!0,u++;else if(-1===e);else{i++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(u=0),u){let o={type:n===e.length||r||u<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:i?a:l.start._bufferIndex+a,_index:l.start._index+i,line:l.end.line,column:l.end.column-u,offset:l.end.offset-u},end:{...l.end}};l.end={...o.start},l.start.offset===l.end.offset?Object.assign(l,o):(e.splice(n,0,["enter",o,t],["exit",o,t]),n+=2)}n++}return e}let R={name:"thematicBreak",tokenize:function(e,t,n){let r,l=0;return function(o){var i;return e.enter("thematicBreak"),r=i=o,function o(i){return i===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),l++,t):(e.exit("thematicBreakSequence"),(0,d.On)(n)?(0,c.N)(e,o,"whitespace")(n):o(n))}(i)):l>=3&&(null===i||(0,d.HP)(i))?(e.exit("thematicBreak"),t(i)):n(i)}(i)}}},P={continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(h.B,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,(0,c.N)(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!(0,d.On)(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine
1=void 0,l(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(F,t,l)(n))});function l(l){return r.containerState._closeFlow=!0,r.interrupt=void 0,(0,c.N)(e,e.attempt(P,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){let r=this,l=r.events[r.events.length-1],o=l&&"linePrefix"===l[1].type?l[2].sliceSerialize(l[1],!0).length:0,i=0;return function(t){let l=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===l?!r.containerState.marker||t===r.containerState.marker:(0,d.BM)(t)){if(r.containerState.type||(r.containerState.type=l,e.enter(l,{_container:!0})),"listUnordered"===l)return e.enter("listItemPrefix"),42===t||45===t?e.check(R,n,a)(t):a(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(l){return(0,d.BM)(l)&&++i<10?(e.consume(l),t):(!r.interrupt||i<2)&&(r.containerState.marker?l===r.containerState.marker:41===l||46===l)?(e.exit("listItemValue"),a(l)):n(l)}(t)}return n(t)};function a(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(h.B,r.interrupt?n:u,e.attempt(E,c,s))}
1function u(e){return r.containerState.initialBlankLine=!0,o++,c(e)}function s(t){return(0,d.On)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),c):n(t)}function c(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},E={partial:!0,tokenize:function(e,t,n){let r=this;return(0,c.N)(e,function(e){let l=r.events[r.events.length-1];return!(0,d.On)(e)&&l&&"listItemPrefixWhitespace"===l[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},F={partial:!0,tokenize:function(e,t,n){let r=this;return(0,c.N)(e,function(e){let l=r.events[r.events.length-1];return l&&"listItemIndent"===l[1].type&&l[2].sliceSerialize(l[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}},I={continuation:{tokenize:function(e,t,n){let r=this;return function(t){return(0,d.On)(t)?(0,c.N)(e,l,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)};function l(r){return e.attempt(I,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),l}return n(t)};function l(n){return(0,d.On)(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}};function M(e,t,n,r,l,o,i,a,u){let s=u||1/0,c=0;return function(t){return 60===t?(e.enter(r),e.enter(l),e.enter(o),e.consume(t),e.exit(o),f):null===t||32===t||41===t||(0,d.JQ)(t)?n(t):(e.enter(r),e.enter(i),e.enter(a),e.enter("chunkString",{contentType:"string"}),h(t))};function f(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(l),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(a),f(t)):null===t||60===t||(0,d.HP)(t)?n(t):(e.consume(t),92===t?g:p)}function g(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function h(l){return!c&&(null===l||41===l||(0,d.Ee)(l))?(e.exit("chunkString"),e.exit(a),e.exit(i),e.exit(r),t(l)):c<s&&40===l?(e.consume(l),c++,h):41===l?(e.consume(l),c--,h):null===l||32===l||40===l||(0,d.JQ)(l)?n(l):(e.consume(l),92===l?m:h)}function m(t){return 40===t||41===t||92===t?(e.consume(t),h):h(t)}}function A(e,t,n,r,l,o){let i,a=this,u=0;return function(t){return e.enter(r),e.enter(l),e.consume(t),e.exit(l),e.enter(o),s};function s(f){return u>999||null===f||91===f||93===f&&!i||94===f&&!u&&"_hiddenFootnoteSupport"in a.parser.constructs?n(f):93===f?(e.exit(o),e.enter(l),e.consume(f),e.exit(l),e.exit(r),t):(0,d.HP)(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),s):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(t){return null===t||91===t||93===t||(0,d.HP)(t)||u++>999?(e.exit("chunkString"),s(t)):(e.consume(t),i||(i=!(0,d.On)(t)),92===t?f:c)}function f(t){return 91===t||92===t||93===t?(e.consume(t),u++,c):c(t)}}function D(e,t,n,r,l,o){let i;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(l),e.consume(t),e.exit(l),i=40===t?41:t,a):n(t)};function a(n){return n===i?(e.enter(l),e.consume(n),e.exit(l),e.exit(r),t):(e.enter(o),u(n))}function u(t){return t===i?(e.exit(o),a(i)):null===t?n(t):(0,d.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,c.N)(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),s(t))}function s(t){return t===i||null===t||(0,d.HP)(t)?(e.exit("chunkString"),u(t)):(e.consume(t),92===t?f:s)}function f(t){return t===i||92===t?(e.consume(t),s):s(t)}}function L(e,t){let n;return function r(l){return(0,d.HP)(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),n=!0,r):(0,d.On)(l)?(0,c.N)(e,r,n?"linePrefix":"lineSuffix")(l):t(l)}}var O=n(21758);let T={partial:!0,tokenize:function(e,t,n){return function(t){return(0,d.Ee)(t)?L(e,r)(t):n(t)};function r(t){return D(e,l,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function l(t){return(0,d.On)(t)?(0,c.N)(e,o,"whitespace")(t):o(t)}function o(e){return null===e||(0,d.HP)(e)?t(e):n(e)}}},_={name:"codeIndented",tokenize:function(e,t,n){let r=this;
1return function(t){return e.enter("codeIndented"),(0,c.N)(e,l,"linePrefix",5)(t)};function l(t){let l=r.events[r.events.length-1];return l&&"linePrefix"===l[1].type&&l[2].sliceSerialize(l[1],!0).length>=4?function t(n){return null===n?o(n):(0,d.HP)(n)?e.attempt(z,t,o)(n):(e.enter("codeFlowValue"),function n(r){return null===r||(0,d.HP)(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function o(n){return e.exit("codeIndented"),t(n)}}},z={partial:!0,tokenize:function(e,t,n){let r=this;return l;function l(t){return r.parser.lazy[r.now().line]?n(t):(0,d.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l):(0,c.N)(e,o,"linePrefix",5)(t)}function o(e){let o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):(0,d.HP)(e)?l(e):n(e)}}},V={name:"setextUnderline",resolveTo:function(e,t){let n,r,l,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),l||"definition"!==e[o][1].type||(l=o);let i={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",l?(e.splice(r,0,["enter",i,t]),e.splice(l+1,0,["exit",e[n][1],t]),e[n][1].end={...e[l][1].end}):e[n][1]=i,e.push(["exit",i,t]),e},tokenize:function(e,t,n){let r,l=this;return function(t){var i;let a,u=l.events.length;for(;u--;)if("lineEnding"!==l.events[u][1].type&&"linePrefix"!==l.events[u][1].type&&"content"!==l.events[u][1].type){a="paragraph"===l.events[u][1].type;break}return!l.parser.lazy[l.now().line]&&(l.interrupt||a)?(e.enter("setextHeadingLine"),r=t,i=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),(0,d.On)(n)?(0,c.N)(e,o,"lineSuffix")(n):o(n))}(i)):n(t)};function o(r){return null===r||(0,d.HP)(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}},H=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],N=["pre","script","style","textarea"],j={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(h.B,t,n)}}},B={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return(0,d.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l):n(t)};function l(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},G={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l)};function l(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},U={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){let r,l=this,o={partial:!0,tokenize:function(e,t,n){let o=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i};function i(t){return e.enter("codeFencedFence"),(0,d.On)(t)?(0,c.N)(e,u,"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):u(t)}function u(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(l){return l===r?(o++,e.consume(l),t):o>=a?(e.exit("codeFencedFenceSequence"),(0,d.On)(l)?(0,c.N)(e,s,"whitespace")(l):s(l)):n(l)}(t)):n(t)}function s(r){return null===r||(0,d.HP)(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}},i=0,a=0;return function(t){var o;let s;return o=t,i=(s=l.events[l.events.length-1])&&"linePrefix"===s[1].type?s[2].sliceSerialize(s[1],!0).length:0,r=o,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(l){return l===r?(a++,e.consume(l),t):a<3?n(l):(e.exit("codeFencedFenceSequence"),(0,d.On)(l)?(0,c.N)(e,u,"whitespace")(l):u(l))}(o)};function u(o){return null===o||(0,d.HP)(o)?(e.exit("codeFencedFence"),l.interrupt?t(o):e.check(G,f,m)(o)):(e.enter("co
1deFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(l){return null===l||(0,d.HP)(l)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),u(l)):(0,d.On)(l)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,c.N)(e,s,"whitespace")(l)):96===l&&l===r?n(l):(e.consume(l),t)}(o))}function s(t){return null===t||(0,d.HP)(t)?u(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(l){return null===l||(0,d.HP)(l)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),u(l)):96===l&&l===r?n(l):(e.consume(l),t)}(t))}function f(t){return e.attempt(o,m,p)(t)}function p(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),g}function g(t){return i>0&&(0,d.On)(t)?(0,c.N)(e,h,"linePrefix",i+1)(t):h(t)}function h(t){return null===t||(0,d.HP)(t)?e.check(G,f,m)(t):(e.enter("codeFlowValue"),function t(n){return null===n||(0,d.HP)(n)?(e.exit("codeFlowValue"),h(n)):(e.consume(n),t)}(t))}function m(n){return e.exit("codeFenced"),t(n)}}};var q=n(77040);let W={name:"characterReference",tokenize:function(e,t,n){let r,l,o=this,i=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),a};function a(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),r=31,l=d.lV,s(t))}function u(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,l=d.ok,s):(e.enter("characterReferenceValue"),r=7,l=d.BM,s(t))}function s(a){if(59===a&&i){let r=e.exit("characterReferenceValue");return l!==d.lV||(0,q.s)(o.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(a),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(a)}return l(a)&&i++<r?(e.consume(a),s):n(a)}}},$={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return(0,d.ol)(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},K={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),(0,c.N)(e,t,"linePrefix")}}};var Q=n(57921);let X={name:"labelEnd",resolveAll:function(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){let e="labelImage"===r.type?4:2;r.type="data",t+=e}}return e.length!==n.length&&(0,o.m)(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,l,i,a=e.length,u=0;for(;a--;)if(n=e[a][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[a][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(l){if("enter"===e[a][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=a,"labelLink"!==n.type)){u=2;break}}else"labelEnd"===n.type&&(l=a);let s={type:"labelLink"===e[r][1].type?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[r][1].start},end:{...e[l][1].end}},d={type:"labelText",start:{...e[r+u+2][1].end},end:{...e[l-2][1].start}};return i=[["enter",s,t],["enter",c,t]],i=(0,o.V)(i,e.slice(r+1,r+u+3)),i=(0,o.V)(i,[["enter",d,t]]),i=(0,o.V)(i,(0,Q.W)(t.parser.constructs.insideSpan.null,e.slice(r+u+4,l-3),t)),i=(0,o.V)(i,[["exit",d,t],e[l-2],e[l-1],["exit",c,t]]),i=(0,o.V)(i,e.slice(l+1)),i=(0,o.V)(i,[["exit",s,t]]),(0,o.m)(e,r,e.length,i),e},tokenize:function(e,t,n){let r,l,o=this,i=o.events.length;for(;i--;)if(("labelImage"===o.events[i][1].type||"labelLink"===o.events[i][1].type)&&!o.events[i][1]._balanced){r=o.events[i][1];break}return function(t){return r?r._inactive?c(t):(l=o.parser.defined.includes((0,O.B)(o.sliceSerialize({start:r.end,end:o.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),a):n(t)};function a(t){return 40===t?e.attempt(J,s,l?s:c)(t):91===t?e.attempt(Z,s,l?u:c)(t):l?s(t):c(t)}function u(t){return e.attempt(Y,s,c)(t)}function s(e){return t(e)}function c(e){return r._balanced=!0,n(e)}}},J={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return(0,d.Ee)(t)?L(e,l)(t):l(t)}function l(t){return 41===t?s(t):M(e,o,i,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return(0,d.Ee)(t)?L(e,a)(t):s(t)}function i(e){return n(e)}function a(t){return 34===t||39===t||40===t?D(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):s(t)}
1function u(t){return(0,d.Ee)(t)?L(e,s)(t):s(t)}function s(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},Z={tokenize:function(e,t,n){let r=this;return function(t){return A.call(r,e,l,o,"reference","referenceMarker","referenceString")(t)};function l(e){return r.parser.defined.includes((0,O.B)(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}},Y={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},ee={name:"labelStartImage",resolveAll:X.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),l};function l(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):n(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}};var et=n(50251);let en={name:"attention",resolveAll:function(e,t){let n,r,l,i,a,u,s,c,d=-1;for(;++d<e.length;)if("enter"===e[d][0]&&"attentionSequence"===e[d][1].type&&e[d][1]._close){for(n=d;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[d][1]).charCodeAt(0)){if((e[n][1]._close||e[d][1]._open)&&(e[d][1].end.offset-e[d][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[d][1].end.offset-e[d][1].start.offset)%3))continue;u=e[n][1].end.offset-e[n][1].start.offset>1&&e[d][1].end.offset-e[d][1].start.offset>1?2:1;let f={...e[n][1].end},p={...e[d][1].start};er(f,-u),er(p,u),i={type:u>1?"strongSequence":"emphasisSequence",start:f,end:{...e[n][1].end}},a={type:u>1?"strongSequence":"emphasisSequence",start:{...e[d][1].start},end:p},l={type:u>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[d][1].start}},r={type:u>1?"strong":"emphasis",start:{...i.start},end:{...a.end}},e[n][1].end={...i.start},e[d][1].start={...a.end}
1,s=[],e[n][1].end.offset-e[n][1].start.offset&&(s=(0,o.V)(s,[["enter",e[n][1],t],["exit",e[n][1],t]])),s=(0,o.V)(s,[["enter",r,t],["enter",i,t],["exit",i,t],["enter",l,t]]),s=(0,o.V)(s,(0,Q.W)(t.parser.constructs.insideSpan.null,e.slice(n+1,d),t)),s=(0,o.V)(s,[["exit",l,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[d][1].end.offset-e[d][1].start.offset?(c=2,s=(0,o.V)(s,[["enter",e[d][1],t],["exit",e[d][1],t]])):c=0,(0,o.m)(e,n-1,d-n+3,s),d=n+s.length-c-2;break}}for(d=-1;++d<e.length;)"attentionSequence"===e[d][1].type&&(e[d][1].type="data");return e},tokenize:function(e,t){let n,r=this.parser.constructs.attentionMarkers.null,l=this.previous,o=(0,et.S)(l);return function(i){return n=i,e.enter("attentionSequence"),function i(a){if(a===n)return e.consume(a),i;let u=e.exit("attentionSequence"),s=(0,et.S)(a),c=!s||2===s&&o||r.includes(a),d=!o||2===o&&s||r.includes(l);return u._open=!!(42===n?c:c&&(o||!d)),u._close=!!(42===n?d:d&&(s||!c)),t(a)}(i)}}};function er(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let el={name:"labelStartLink",resolveAll:X.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),l};function l(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},eo={42:P,43:P,45:P,48:P,49:P,50:P,51:P,52:P,53:P,54:P,55:P,56:P,57:P,62:I},ei={91:{name:"definition",tokenize:function(e,t,n){let r,l=this;return function(t){var r;return e.enter("definition"),r=t,A.call(l,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(r)};function o(t){return(r=(0,O.B)(l.sliceSerialize(l.events[l.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),i):n(t)}function i(t){return(0,d.Ee)(t)?L(e,a)(t):a(t)}function a(t){return M(e,u,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function u(t){return e.attempt(T,s,s)(t)}function s(t){return(0,d.On)(t)?(0,c.N)(e,f,"whitespace")(t):f(t)}function f(o){return null===o||(0,d.HP)(o)?(e.exit("definition"),l.parser.defined.push(r),t(o)):n(o)}}}},ea={[-2]:_,[-1]:_,32:_},eu={35:{name:"headingAtx",resolve:function(e,t){let n,r,l=e.length-2,i=3;return"whitespace"===e[3][1].type&&(i+=2),l-2>i&&"whitespace"===e[l][1].type&&(l-=2),"atxHeadingSequence"===e[l][1].type&&(i===l-1||l-4>i&&"whitespace"===e[l-2][1].type)&&(l-=i+1===l?2:4),l>i&&(n={type:"atxHeadingText",start:e[i][1].start,end:e[l][1].end},r={type:"chunkText",start:e[i][1].start,end:e[l][1].end,contentType:"text"},(0,o.m)(e,i,l-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e},tokenize:function(e,t,n){let r=0;return function(l){var o;return e.enter("atxHeading"),o=l,e.enter("atxHeadingSequence"),function l(o){return 35===o&&r++<6?(e.consume(o),l):null===o||(0,d.Ee)(o)?(e.exit("atxHeadingSequence"),function n(r){return 35===r?(e.enter("atxHeadingSequence"),function t(r){return 35===r?(e.consume(r),t):(e.exit("atxHeadingSequence"),n(r))}(r)):null===r||(0,d.HP)(r)?(e.exit("atxHeading"),t(r)):(0,d.On)(r)?(0,c.N)(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||(0,d.Ee)(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(o)):n(o)}(o)}}},42:R,45:[V,R],60:{concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},tokenize:function(e,t,n){let r,l,o,i,a,u=this;return function(t){var n;return n=t,e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),s};function s(i){return 33===i?(e.consume(i),c):47===i?(e.consume(i),l=!0,g):63===i?(e.consume(i),r=3,u.interrupt?t:L):(0,d.CW)(i)?(e.consume(i),o=String.fromCharCode(i),h):n(i)}function c(l){return 45===l?(e.consume(l),r=2,f):91===l?(e.consume(l),r=5,i=0,p):(0,d.CW)(l)?(e.consume(l),r=4,u.interrupt?t:L):n(l)}function f(r){return 45===r?(e.consume(r),u.interrupt?t:L):n(r)}function p(r){let l="CDATA[";return r===l.charCodeAt(i++)?(e.consume(r),i===l.length)?u.interrupt?t:R:p:n(r)}function g(t){return(0,d.CW)(t)?(e.consume(t),o=String.fromCharCode(t),h):n(t)}function h(i){if(null===i||47===i||62===i||(0,d.Ee)(i)){let a=47===i,s=o.toLowerCase();return!a&&!l&&N.includes(s)?(r=1,u.interrupt?t(i):R(i)):H.includes(o.toLowerCase())?(r=6,a)?(e.consume(i),m):u.interrupt?t(i):R(i):(r=7,u.interrupt&&!u.parser.lazy[u.now().line]?n(i):l?function t(n){return(0,d.On)(n)?(e.consume(n),t):C(n)}(i):v(i))}return 45===i||(0,d.lV)(i)?(e.consume(i),o+=String.fromCharCode(i),h):n(i)}function m(r){return 62===r?(e.consume(r),u.interrupt?t:R):n(r)}function v(t){return 47===t?(e.consume(t),C):58===t||95===t||(0,d.CW)(t)?(e.consume(t),b):(0,d.On)(t)?(e.consume(t),v):C(t)}function b(t){return 45===t||46===t||58===t||95===t||(0,d.lV)(t)?(e.consume(t),b):y(t)}function y(t){return 61===t?(e.consume(t),x):(0,d.On)(t)?(e.consume(t),y):v(t)}function x(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),a=t,k):(0,d.On)(t)?(e.consume(t),x):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||(0,d.Ee)(n)?y(n):(e.consume(n),t)}(t)}function k(t){return t===a?(e.consume(t),a=null,S):null===t||(0,d.HP)(t)?n(t):(e.consume(t),k)}function S(e){return 47===e||62===e||(0,d.On)(e)?v(e):n(e)}function C(t){return 62===t?(e.consume(t),w):n(t)}function w(t){return null===t||(0,d.HP)(t)?R(t):(0,d.On)(t)?(e.consume(t),w):n(t)}function R(t){return 45===t&&2===r?(e.consume(t),I):60===t&&1===r?(e.consume(t),M):62===t&&4===r?(e.consume(t),O):63===t&&3===r?(e.consume(t),L):93===t&&5===r?(e.consume(t),D):(0,d.HP)(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(j,T,P)(t)):null===t||(0,d.HP)(t)?(e.exit("htmlFlowData"),P(t)):(e.consume(t),R)}function P(t){return e.check(B,E,T)(t)}function E(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),F}function F(t){return null===t||(0,d.HP)(t)?P(t):(e.enter("htmlFlowData"),R(t))}function I(t){return 45===t?(e.consume(t),L):R(t)}function M(t){return 47===t?(e.consume(t),o="",A):R(t)}function A(t){if(62===t){let n=o.toLowerCase();return N.includes(n)?(e.consume(t),O):R(t)}return(0,d.CW)(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),A):R(t)}function D(t){return 93===t?(e.consume(t),L):R(t)}function L(t){return 62===t?(e.consume(t),O):45===t&&2===r?(e.consume(t),L):R(t)}function O(t){return null===t||(0,d.HP)(t)?(e.exit("htmlFlowData"),T(t)):(e.consume(t),O)}function T(n){return e.exit("htmlFlow"),t(n)}}},61:V,95:R,96:U,126:U},es={38:W,92:$},ec={[-5]:K,[-4]:K,[-3]:K,33:ee,38:W,42:en,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),l};function l(t){return(0,d.CW)(t)?(e.consume(t),o):64===t?n(t):a(t)}function o(t){return 43===t||45===t||46===t||(0,d.lV)(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,i):(43===n||45===n||46===n||(0,d.lV)(n))&&r++<32?(e.consume(n),t):(r=0,a(n))}(t)):a(t)}function i(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||(0,d.JQ)(r)?n(r):(e.consume(r),i)}function a(t){return 64===t?(e.consume(t),u):(0,d.cx)(t)?(e.consume(t),a):n(t)}function u(l){return(0,d.lV)(l)?function l(o){return 46===o?(e.consume(o),r=0,u):62===o?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(o),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(o){if((45===o||(0,d.lV)(o))&&r++<63){let n=45===o?t:l;return e.consume(o),n}return n(o)}(o)}(l):n(l)}}},{name:"htmlText",tokenize:function(e,t,n){let r,l,o,i=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),a};function a(t){return 33===t?(e.consume(t),u):47===t?(e.consume(t),S):63===t?(e.consume(t),x):(0,d.CW)(t)?(e.consume(t),w):n(t)}function u(t){return 45===t?(e.consume(t),s):91===t?(e.consume(t),l=0,h):(0,d.CW)(t)?(e.consume(t),y):n(t)}function s(t){return 45===t?(e.consume(t),g):n(t)}function f(t){return null===t?n(t):45===t?(e.consume(t),p):(0,d.HP)(t)?(o=f,D(t)):(e.consume(t),f)}function p(t){return 45===t?(e.consume(t),g):f(t)}function g(e){return 62===e?A(e):45===e?p(e):f(e)}function h(t){let r="CDATA[";return t===r.charCodeAt(l++)?(e.consume(t),l===r.length?m:h):n(t)}function m(t){return null===t?n(t):93===t?(e.consume(t),v):(0,d.HP)(t)?(o=m,D(t)):(e.consume(t),m)}function v(t){return 93===t?(e.consume(t),b):m(t)}function b(t){return 62===t?A(t):93===t?(e.consume(t),b):m(t)}function y(t){return null===t||62===t?A(t):(0,d.HP)(t)?(o=y,D(t)):(e.consume(t),y)}function x(t){return null===t?n(t):63===t?(e.consume(t),k):(0,d.HP)(t)?(o=x,D(t)):(e.consume(t),x)}function k(e){return 62===e?A(e):x(e)}function S(t){return(0,d.CW)(t)?(e.consume(t),C):n(t)}function C(t){return 45===t||(0,d.lV)(t)?(e.consume(t),C):function t(n){return(0,d.HP)(n)?(o=t,D(n)):(0,d.On)(n)?(e.consume(n),t):A(n)}(t)}function w(t){return 45===t||(0,d.lV)(t)?(e.consume(t),w):47===t||62===t||(0,d.Ee)(t)?R(t):n(t)}function R(t){return 47===t?(e.consume(t),A):58===t||95===t||(0,d.CW)(t)?(e.consume(t),P):(0,d.HP)(t)?(o=R,D(t)):(0,d.On)(t)?(e.consume(t),R):A(t)}function P(t){return 45===t||46===t||58===t||95===t||(0,d.lV)(t)?(e.consume(t),P):function t(n){return 61===n?(e.consume(n),E):(0,d.HP)(n)?(o=t,D(n)):(0,d.On)(n)?(e.consume(n),t):R(n)}(t)}function E(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,F):(0,d.HP)(t)?(o=E,D(t)):(0,d.On)(t)?(e.consume(t),E):(e.consume(t),I)}function F(t){return t===r?(e.consume(t),r=void 0,M):null===t?n(t):(0,d.HP)(t)?(o=F,D(t)):(e.consume(t),F)}function I(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||(0,d.Ee)(t)?R(t):(e.consume(t),I)}function M(e){return 47===e||62===e||(0,d.Ee)(e)?R(e):n(e)}function A(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function D(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),L}function L(t){return(0,d.On)(t)?(0,c.N)(e,O,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):O(t)}function O(t){return e.enter("htmlTextData"),o(t)}}}],91:el,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return(0,d.HP)(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},$],93:X,95:en,96:{name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,r=e.length-4,l=3;if(("lineEnding"===e[3][1].type||"space"===e[l][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=l;++t<r;)if("codeTextData"===e[t][1].type){e[l][1].type="codeTextPadding",e[r][1].type="codeTextPadding",l+=2,r-=2;break}}for(t=l-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},tokenize:function(e,t,n){let r,l,o=0;
1return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),o++,t):(e.exit("codeTextSequence"),i(n))}(t)};function i(u){return null===u?n(u):32===u?(e.enter("space"),e.consume(u),e.exit("space"),i):96===u?(l=e.enter("codeTextSequence"),r=0,function n(i){return 96===i?(e.consume(i),r++,n):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(i)):(l.type="codeTextData",a(i))}(u)):(0,d.HP)(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),i):(e.enter("codeTextData"),a(u))}function a(t){return null===t||32===t||96===t||(0,d.HP)(t)?(e.exit("codeTextData"),i(t)):(e.consume(t),a)}}}},ed={null:[en,y]},ef={null:[42,95]},ep={null:[]},eg=/[\0\t\n\r]/g;var eh=n(93077),em=n(93375),ev=n(51508);let eb={}.hasOwnProperty;function ey(e){return{line:e.line,column:e.column,offset:e.offset}}function ex(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+(0,ev.L)({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+(0,ev.L)({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+(0,ev.L)({start:t.start,end:t.end})+") is still open")}function ek(e){let t=this;t.parser=function(n){var i,a;let c,g,h,m;return"object"==typeof(i={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(a=i,i=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(b),autolinkProtocol:c,autolinkEmail:c,atxHeading:r(h),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:c,characterReference:c,codeFenced:r(g),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:r(g,o),codeText:r(function(){return{type:"inlineCode",value:""}},o),codeTextData:c,data:c,codeFlowValue:c,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(m),hardBreakTrailing:r(m),htmlFlow:r(v,o),htmlFlowData:c,htmlText:r(v,o),htmlTextData:c,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:o,link:r(b),listItem:r(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:r(y,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(y),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:r(h),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:a(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];t.depth||(t.depth=this.sliceSerialize(e).length)},autolink:a(),autolinkEmail:function(e){d.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){d.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:a(),characterEscapeValue:d,characterReferenceMarkerHexadecimal:p,characterReferenceMarkerNumeric:p,characterReferenceValue:function(e){let t,n=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=(0,eh.C)(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=(0,q.s)(n);let l=this.stack[this.stack.length-1];l.value+=t},characterReference:function(e){this.stack.pop().position.end=ey(e.end)},codeFenced:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:d,codeIndented:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:d,data:d,definition:a(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,O.B)(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:a(),hardBreakEscape:a(f),hardBreakTrailing:a(f),htmlFlow:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:d,htmlText:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:d,image:a(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,"link"===n.type?n.children=e.children:n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=(0,em.s)(t),n.identifier=(0,O.B)(t).toLowerCase()},lineEnding:function(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){n.children[n.children.length-1].position.end=ey(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.t
1ype)&&(c.call(this,e),d.call(this,e))},link:a(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:a(),listOrdered:a(),listUnordered:a(),paragraph:a(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,O.B)(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:a(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:a(),thematicBreak:a()}};!function e(t,n){let r=-1;for(;++r<n.length;){let l=n[r];Array.isArray(l)?e(t,l):function(e,t){let n;for(n in t)if(eb.call(t,n))switch(n){case"canContainEols":{let r=t[n];r&&e[n].push(...r);break}case"transforms":{let r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{let r=t[n];r&&Object.assign(e[n],r)}}}(t,l)}}(t,(e||{}).mdastExtensions||[]);let n={};return function(e){let r={type:"root",children:[]},l={stack:[r],tokenStack:[],config:t,enter:i,exit:u,buffer:o,resume:s,data:n},a=[],c=-1;for(;++c<e.length;)("listOrdered"===e[c][1].type||"listUnordered"===e[c][1].type)&&("enter"===e[c][0]?a.push(c):c=function(e,t,n){let r,l,o,i,a=t-1,u=-1,s=!1;for(;++a<=n;){let t=e[a];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?u++:u--,i=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||i||u||o||(o=a),i=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:i=void 0}if(!u&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===u&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let i=a;for(l=void 0;i--;){let t=e[i];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;l&&(e[l][1].type="lineEndingBlank",s=!0),t[1].type="lineEnding",l=i}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}o&&(!l||o<l)&&(r._spread=!0),r.end=Object.assign({},l?e[l][1].start:t[1].end),e.splice(l||a,0,["exit",r,t[2]]),a++,n++}if("listItemPrefix"===t[1].type){let l={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=l,e.splice(a,0,["enter",l,t[2]]),a++,n++,o=void 0,i=!0}}}return e[t][1]._spread=s,n}(e,a.pop(),c));for(c=-1;++c<e.length;){let n=t[e[c][0]];eb.call(n,e[c][1].type)&&n[e[c][1].type].call(Object.assign({sliceSerialize:e[c][2].sliceSerialize},l),e[c][1])}if(l.tokenStack.length>0){let e=l.tokenStack[l.tokenStack.length-1];(e[1]||ex).call(l,void 0,e[0])}for(r.position={start:ey(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:ey(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},c=-1;++c<t.transforms.length;)r=t.transforms[c](r)||r;return r};function r(e,t){return function(n){i.call(this,e(n),n),t&&t.call(this,n)}}function o(){this.stack.push({type:"fragment",children:[]})}function i(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:ey(t.start),end:void 0}}function a(e){return function(t){e&&e.call(this,t),u.call(this,t)}}function u(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||ex).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+(0,ev.L)({start:e.start,end:e.end})+"): it’s not open");n.position.end=ey(e.end)}function s(){return(0,l.d)(this.stack.pop())}function c(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];n&&"text"===n.type||((n={type:"text",value:""}).position={start:ey(e.start),end:void 0},t.push(n)),this.stack.push(n)}function d(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=ey(e.end)}function f(){this.data.atHardBreak=!0}function p(e){this.data.characterReferenceType=e.type}function g(){return{type:"code",lang:null,meta:null,value:""}}function h(){return{type:"heading",depth:0,children:[]}}function m(){return{type:"break"}}function v(){return{type:"html",value:""}}function b(){return{type:"link",title:null,url:"",children:[]}}function y(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(a)(function(e){for(;!u(e););return e}((function(e){let t={constructs:(0,s.y)([r,...(e||{}).extensions||[]]),content:n(f),defined:[],document:n(p),flow:n(b),lazy:{},string:n(x),text:n(k)};return t;function n(e){return function(n){return function(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,c
1olumn:n&&n.column||1,offset:n&&n.offset||0},l={},i=[],a=[],u=[],s={attempt:m(function(e,t){v(e,t.from)}),check:m(h),consume:function(e){(0,d.HP)(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,b()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=e},enter:function(e,t){let n=t||{};return n.type=e,n.start=g(),c.events.push(["enter",n,c]),u.push(n),n},exit:function(e){let t=u.pop();return t.end=g(),c.events.push(["exit",t,c]),t},interrupt:m(h,{interrupt:!0})},c={code:null,containerState:{},defineSkip:function(e){l[e.line]=e.column,b()},events:[],now:g,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,l=[];for(;++r<e.length;){let o,i=e[r];if("string"==typeof i)o=i;else switch(i){case -5:o="\r";break;case -4:o="\n";break;case -3:o="\r\n";break;case -2:o=t?" ":"	";break;case -1:if(!t&&n)continue;o=" ";break;default:o=String.fromCharCode(i)}n=-2===i,l.push(o)}return l.join("")}(p(e),t)},sliceStream:p,write:function(e){return(a=(0,o.V)(a,e),function(){let e;for(;r._index<a.length;){let n=a[r._index];if("string"==typeof n)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<n.length;){var t;t=n.charCodeAt(r._bufferIndex),f=f(t)}else f=f(n)}}(),null!==a[a.length-1])?[]:(v(t,0),c.events=(0,Q.W)(i,c.events,c),c.events)}},f=t.tokenize.call(c,s);return t.resolveAll&&i.push(t),c;function p(e){return function(e,t){let n,r=t.start._index,l=t.start._bufferIndex,o=t.end._index,i=t.end._bufferIndex;if(r===o)n=[e[r].slice(l,i)];else{if(n=e.slice(r,o),l>-1){let e=n[0];"string"==typeof e?n[0]=e.slice(l):n.shift()}i>0&&n.push(e[o].slice(0,i))}return n}(a,e)}function g(){let{_bufferIndex:e,_index:t,line:n,column:l,offset:o}=r;return{_bufferIndex:e,_index:t,line:n,column:l,offset:o}}function h(e,t){t.restore()}function m(e,t){return function(n,l,o){var i;let a,d,f,p;return Array.isArray(n)?h(n):"tokenize"in n?h([n]):(i=n,function(e){let t=null!==e&&i[e],n=null!==e&&i.null;return h([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});function h(e){return(a=e,d=0,0===e.length)?o:m(e[d])}function m(e){return function(n){let l,o,i,a,d;return(l=g(),o=c.previous,i=c.currentConstruct,a=c.events.length,d=Array.from(u),p={from:a,restore:function(){r=l,c.previous=o,c.currentConstruct=i,c.events.length=a,u=d,b()}},f=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name))?y(n):e.tokenize.call(t?Object.assign(Object.create(c),t):c,s,v,y)(n)}}function v(t){return e(f,p),l}function y(e){return(p.restore(),++d<a.length)?m(a[d]):o}}}function v(e,t){e.resolveAll&&!i.includes(e)&&i.push(e),e.resolve&&(0,o.m)(c.events,t,c.events.length-t,e.resolve(c.events.slice(t),c)),e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function b(){r.line in l&&r.column<2&&(r.column=l[r.line],r.offset+=l[r.line]-1)}}(t,e,n)}}})(a).document().write((g=1,h="",m=!0,function(e,t,n){let r,l,o,i,a,u=[];for(e=h+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),o=0,h="",m&&(65279===e.charCodeAt(0)&&o++,m=void 0);o<e.length;){if(eg.lastIndex=o,i=(r=eg.exec(e))&&void 0!==r.index?r.index:e.length,a=e.charCodeAt(i),!r){h=e.slice(o);break}if(10===a&&o===i&&c)u.push(-3),c=void 0;else switch(c&&(u.push(-5),c=void 0),o<i&&(u.push(e.slice(o,i)),g+=i-o),a){case 0:u.push(65533),g++;break;case 9:for(l=4*Math.ceil(g/4),u.push(-2);g++<l;)u.push(-1);break;case 10:u.push(-4),g=1;break;default:c=!0,g=1}o=i+1}return n&&(c&&u.push(-5),h&&u.push(h),u.push(null)),u})(n,i,!0))))}}},39021:(e,t,n)=>{n.d(t,{qy:()=>v,JW:()=>b});class r{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function l(e,t){let n={},l={};for(let t of e)Object.assign(n,t.property),Object.assign(l,t.normal);return new r(n,l,t)}r.prototype.normal={},r.prototype.property={},r.prototype.space=void 0;var o=n(21983),i=n(45657);function a(e){let t={},n={};for(let[r,l]of Object.entries(e.properties)){let a=new i.E(r,e.transform(e.attributes||{},r),l,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[(0,o.S)(r)]=r,n[(0,o.S)(a.attribute)]=r}return new r(t,n,e.space)}var u=n(45370);let s=a({properties:{ariaActiveDescendant:null,ariaAtomic:u.booleanish,ariaAutoComplete:null,ariaBusy:u.booleanish,ariaChecked:u.booleanish,ariaColCount:u.number,ariaColIndex:u.number,ariaColSpan:u.number,ariaControl
1s:u.spaceSeparated,ariaCurrent:null,ariaDescribedBy:u.spaceSeparated,ariaDetails:null,ariaDisabled:u.booleanish,ariaDropEffect:u.spaceSeparated,ariaErrorMessage:null,ariaExpanded:u.booleanish,ariaFlowTo:u.spaceSeparated,ariaGrabbed:u.booleanish,ariaHasPopup:null,ariaHidden:u.booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:u.spaceSeparated,ariaLevel:u.number,ariaLive:null,ariaModal:u.booleanish,ariaMultiLine:u.booleanish,ariaMultiSelectable:u.booleanish,ariaOrientation:null,ariaOwns:u.spaceSeparated,ariaPlaceholder:null,ariaPosInSet:u.number,ariaPressed:u.booleanish,ariaReadOnly:u.booleanish,ariaRelevant:null,ariaRequired:u.booleanish,ariaRoleDescription:u.spaceSeparated,ariaRowCount:u.number,ariaRowIndex:u.number,ariaRowSpan:u.number,ariaSelected:u.booleanish,ariaSetSize:u.number,ariaSort:null,ariaValueMax:u.number,ariaValueMin:u.number,ariaValueNow:u.number,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function c(e,t){return t in e?e[t]:t}function d(e,t){return c(e,t.toLowerCase())}let f=a({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:u.commaSeparated,acceptCharset:u.spaceSeparated,accessKey:u.spaceSeparated,action:null,allow:null,allowFullScreen:u.boolean,allowPaymentRequest:u.boolean,allowUserMedia:u.boolean,alpha:u.boolean,alt:null,as:null,async:u.boolean,autoCapitalize:null,autoComplete:u.spaceSeparated,autoFocus:u.boolean,autoPlay:u.boolean,blocking:u.spaceSeparated,capture:null,charSet:null,checked:u.boolean,cite:null,className:u.spaceSeparated,closedBy:null,colorSpace:null,cols:u.number,colSpan:u.number,command:null,commandFor:null,content:null,contentEditable:u.booleanish,controls:u.boolean,controlsList:u.spaceSeparated,coords:u.number|u.commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:u.boolean,defer:u.boolean,dir:null,dirName:null,disabled:u.boolean,download:u.overloadedBoolean,draggable:u.booleanish,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:u.boolean,formTarget:null,headers:u.spaceSeparated,height:u.number,hidden:u.overloadedBoolean,high:u.number,href:null,hrefLang:null,htmlFor:u.spaceSeparated,httpEquiv:u.spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inert:u.boolean,inputMode:null,integrity:null,is:null,isMap:u.boolean,itemId:null,itemProp:u.spaceSeparated,itemRef:u.spaceSeparated,itemScope:u.boolean,itemType:u.spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:u.boolean,low:u.number,manifest:null,max:null,maxLength:u.number,media:null,method:null,min:null,minLength:u.number,multiple:u.boolean,muted:u.boolean,name:null,nonce:null,noModule:u.boolean,noValidate:u.boolean,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:u.boolean,optimum:u.number,pattern:null,ping:u.spaceSeparated,placeholder:null,playsInl
1ine:u.boolean,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:u.boolean,referrerPolicy:null,rel:u.spaceSeparated,required:u.boolean,reversed:u.boolean,rows:u.number,rowSpan:u.number,sandbox:u.spaceSeparated,scope:null,scoped:u.boolean,seamless:u.boolean,selected:u.boolean,shadowRootClonable:u.boolean,shadowRootCustomElementRegistry:u.boolean,shadowRootDelegatesFocus:u.boolean,shadowRootMode:null,shadowRootSerializable:u.boolean,shape:null,size:u.number,sizes:null,slot:null,span:u.number,spellCheck:u.booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:u.number,step:null,style:null,tabIndex:u.number,target:null,title:null,translate:null,type:null,typeMustMatch:u.boolean,useMap:null,value:u.booleanish,width:u.number,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:u.spaceSeparated,axis:null,background:null,bgColor:null,border:u.number,borderColor:null,bottomMargin:u.number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:u.boolean,declare:u.boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:u.number,leftMargin:u.number,link:null,longDesc:null,lowSrc:null,marginHeight:u.number,marginWidth:u.number,noResize:u.boolean,noHref:u.boolean,noShade:u.boolean,noWrap:u.boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:u.number,rules:null,scheme:null,scrolling:u.booleanish,standby:null,summary:null,text:null,topMargin:u.number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:u.number,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:u.boolean,disablePictureInPicture:u.boolean,disableRemotePlayback:u.boolean,exportParts:u.commaSeparated,part:u.spaceSeparated,prefix:null,property:null,results:u.number,security:null,unselectable:null},space:"html",transform:d}),p=a({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav
1-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:u.commaOrSpaceSeparated,accentHeight:u.number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:u.number,amplitude:u.number,arabicForm:null,ascent:u.number,attributeName:null,attributeType:null,azimuth:u.number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:u.number,by:null,calcMode:null,capHeight:u.number,className:u.spaceSeparated,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:u.number,diffuseConstant:u.number,direction:null,display:null,dur:null,divisor:u.number,dominantBaseline:null,download:u.boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:u.number,enableBackground:null,end:null,event:null,exponent:u.number,externalResourcesRequired:null,fill:null,fillOpacity:u.number,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:u.commaSeparated,g2:u.commaSeparated,glyphName:u.commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:u.number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:u.number,horizOriginX:u.number,horizOriginY:u.number,id:null,ideographic:u.number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:u.number,k:u.number,k1:u.number,k2:u.number,k3:u.number,k4:u.number,kernelMatrix:u.commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:u.number,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:u.number,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,on
1Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:u.number,overlineThickness:u.number,paintOrder:null,panose1:null,path:null,pathLength:u.number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:u.spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:u.number,pointsAtY:u.number,pointsAtZ:u.number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:u.commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:u.commaOrSpaceSeparated,rev:u.commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:u.commaOrSpaceSeparated,requiredFeatures:u.commaOrSpaceSeparated,requiredFonts:u.commaOrSpaceSeparated,requiredFormats:u.commaOrSpaceSeparated,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:u.number,specularExponent:u.number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:u.number,strikethroughThickness:u.number,string:null,stroke:null,strokeDashArray:u.commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:u.number,strokeOpacity:u.number,strokeWidth:null,style:null,surfaceScale:u.number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:u.commaOrSpaceSeparated,tabIndex:u.number,tableValues:null,target:null,targetX:u.number,targetY:u.number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:u.commaOrSpaceSeparated,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:u.number,underlineThickness:u.number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:u.number,values:null,vAlphabetic:u.number,vMathematical:u.number,vectorEffect:null,vHanging:u.number,vIdeographic:u.number,version:null,vertAdvY:u.number,vertOriginX:u.number,vertOriginY:u.number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:u.number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:c}),g=a({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),h=a({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:d}),m=a({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),v=l([s,f,g,h,m],"html"),b=l([s,p,g,h,m],"svg")},41616:(e,t,n)=>{n.d(t,{Kv:()=>o,N4:()=>i});var r=n(2315),l=n(48180);function o(e,t){var n,l,o;let i;return e?"function"==typeof(l=n=e)&&(i=Object.getPrototypeOf(l)).prototype&&i.prototype.isReactComponent||"function"==typeof n||"object"==typeof(o=n)&&"symbol"==typeof o.$$typeof&&["react.memo","react.forward_ref"].includes(o.$$typeof.description)?r.createElement(e,t):e:null}function i(e){let t={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[n]=r.useState(()=>({current:(0,l.ZR)(t)})),[o,i]=r.useState(()=>n.current.initialState);return n.current.setOptions(t=>({...t,...e,state:{...o,...e.state},onStateChange:t=>{i(t),null==e.onStateChange||e.onStateChange(t)}})),n.current}},43237:(e,t,n)=>{n.d(t,{m:()=>l});let r=/[ \t\n\f\r]/g;function l(e){return"object"==typeof e?"text"===e.type&&o(e.value):o(e)}function o(e){return""===e.replace(r,"")}},43372:(e,t,n)=>{n.d(t,{f:()=>i});var r=n(61976),l=n(14998),o=n(88484);function i(e,t){let n=!1;return(0,r.YR)(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return n=!0,l.dc}),!!((!e.depth||e.depth<3)&&(0,o.d)(e)&&(t.options.setext||n))}},45370:(e,t,n)=>{n.r(t),n.d(t,{boolean:()=>l,booleanish:()=>o,commaOrSpaceSeparated:()=>c,commaSeparated:()=>s,number:()=>a,overloadedBoolean:()=>i,spaceSeparated:()=>u});let r=0,l=d(),o=d(),i=d(),a=d(),u=d(),s=d(),c=d();function d(){return 2**++r}},45657:(e,t,n)=>{n.d(t,{E:()=>i});var r=n(9561),l=n(45370);let o=Object.keys(l);class i extends r.R{constructor(e,t,n,r){let i=-1;
1if(super(e,t),function(e,t,n){n&&(e[t]=n)}(this,"space",r),"number"==typeof n)for(;++i<o.length;){const e=o[i];!function(e,t,n){n&&(e[t]=n)}(this,o[i],(n&l[e])===l[e])}}}i.prototype.defined=!0},48180:(e,t,n)=>{function r(e,t){return"function"==typeof e?e(t):e}function l(e,t){return n=>{t.setState(t=>({...t,[e]:r(n,t[e])}))}}function o(e){return e instanceof Function}function i(e,t,n){let r,l=[];return o=>{let i,a;n.key&&n.debug&&(i=Date.now());let u=e(o);if(!(u.length!==l.length||u.some((e,t)=>l[t]!==e)))return r;if(l=u,n.key&&n.debug&&(a=Date.now()),r=t(...u),null==n||null==n.onChange||n.onChange(r),n.key&&n.debug&&null!=n&&n.debug()){let e=Math.round((Date.now()-i)*100)/100,t=Math.round((Date.now()-a)*100)/100,r=t/16,l=(e,t)=>{for(e=String(e);e.length<t;)e=" "+e;return e};console.info(`%c⏱ ${l(t,5)} /${l(e,5)} ms`,`
2            font-size: .6rem;
3            font-weight: bold;
4            color: hsl(${Math.max(0,Math.min(120-120*r,120))}deg 100% 31%);`,null==n?void 0:n.key)}return r}}function a(e,t,n,r){return{debug:()=>{var n;return null!=(n=null==e?void 0:e.debugAll)?n:e[t]},key:!1,onChange:r}}n.d(t,{HT:()=>U,ZR:()=>G,h5:()=>q});let u="debugHeaders";function s(e,t,n){var r;let l={id:null!=(r=n.id)?r:t.id,column:t,index:n.index,isPlaceholder:!!n.isPlaceholder,placeholderId:n.placeholderId,depth:n.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{let e=[],t=n=>{n.subHeaders&&n.subHeaders.length&&n.subHeaders.map(t),e.push(n)};return t(l),e},getContext:()=>({table:e,header:l,column:t})};return e._features.forEach(t=>{null==t.createHeader||t.createHeader(l,e)}),l}function c(e,t,n,r){var l,o;let i=0,a=function(e,t){void 0===t&&(t=1),i=Math.max(i,t),e.filter(e=>e.getIsVisible()).forEach(e=>{var n;null!=(n=e.columns)&&n.length&&a(e.columns,t+1)},0)};a(e);let u=[],c=(e,t)=>{let l={depth:t,id:[r,`${t}`].filter(Boolean).join("_"),headers:[]},o=[];e.forEach(e=>{let i,a=[...o].reverse()[0],u=e.column.depth===l.depth,c=!1;if(u&&e.column.parent?i=e.column.parent:(i=e.column,c=!0),a&&(null==a?void 0:a.column)===i)a.subHeaders.push(e);else{let l=s(n,i,{id:[r,t,i.id,null==e?void 0:e.id].filter(Boolean).join("_"),isPlaceholder:c,placeholderId:c?`${o.filter(e=>e.column===i).length}`:void 0,depth:t,index:o.length});l.subHeaders.push(e),o.push(l)}l.headers.push(e),e.headerGroup=l}),u.push(l),t>0&&c(o,t-1)};c(t.map((e,t)=>s(n,e,{depth:i,index:t})),i-1),u.reverse();let d=e=>e.filter(e=>e.column.getIsVisible()).map(e=>{let t=0,n=0,r=[0];return e.subHeaders&&e.subHeaders.length?(r=[],d(e.subHeaders).forEach(e=>{let{colSpan:n,rowSpan:l}=e;t+=n,r.push(l)})):t=1,n+=Math.min(...r),e.colSpan=t,e.rowSpan=n,{colSpan:t,rowSpan:n}});return d(null!=(l=null==(o=u[0])?void 0:o.headers)?l:[]),u}let d=(e,t,n,r,l,o,u)=>{let s={id:t,index:r,original:n,depth:l,parentId:u,_valuesCache:{},_uniqueValuesCache:{},getValue:t=>{if(s._valuesCache.hasOwnProperty(t))return s._valuesCache[t];let n=e.getColumn(t);if(null!=n&&n.accessorFn)return s._valuesCache[t]=n.accessorFn(s.original,r),s._valuesCache[t]},getUniqueValues:t=>{if(s._uniqueValuesCache.hasOwnProperty(t))return s._uniqueValuesCache[t];let n=e.getColumn(t);if(null!=n&&n.accessorFn)return n.columnDef.getUniqueValues?s._uniqueValuesCache[t]=n.columnDef.getUniqueValues(s.original,r):s._uniqueValuesCache[t]=[s.getValue(t)],s._uniqueValuesCache[t]},renderValue:t=>{var n;return null!=(n=s.getValue(t))?n:e.options.renderFallbackValue},subRows:null!=o?o:[],getLeafRows:()=>{var e,t;let n,r;return e=s.subRows,t=e=>e.subRows,n=[],(r=e=>{e.forEach(e=>{n.push(e);let l=t(e);null!=l&&l.length&&r(l)})})(e),n},getParentRow:()=>s.parentId?e.getRow(s.parentId,!0):void 0,getParentRows:()=>{let e=[],t=s;for(;;){let n=t.getParentRow();if(!n)break;e.push(n),t=n}return e.reverse()},getAllCells:i(()=>[e.getAllLeafColumns()],t=>t.map(t=>{var n;let r;return n=t.id,r={id:`${s.id}_${t.id}`,row:s,column:t,getValue:()=>s.getValue(n),renderValue:()=>{var t;return null!=(t=r.getValue())?t:e.options.renderFallbackValue},getContext:i(()=>[e,t,s,r],(e,t,n,r)=>({table:e,column:t,row:n,cell:r,getValue:r.getValue,renderValue:r.renderValue}),a(e.options,"debugCells","cell.getContext"))}
4,e._features.forEach(n=>{null==n.createCell||n.createCell(r,t,s,e)},{}),r}),a(e.options,"debugRows","getAllCells")),_getAllCellsByColumnId:i(()=>[s.getAllCells()],e=>e.reduce((e,t)=>(e[t.column.id]=t,e),{}),a(e.options,"debugRows","getAllCellsByColumnId"))};for(let t=0;t<e._features.length;t++){let n=e._features[t];null==n||null==n.createRow||n.createRow(s,e)}return s},f=(e,t,n)=>{var r,l;let o=null==n||null==(r=n.toString())?void 0:r.toLowerCase();return!!(null==(l=e.getValue(t))||null==(l=l.toString())||null==(l=l.toLowerCase())?void 0:l.includes(o))};f.autoRemove=e=>S(e);let p=(e,t,n)=>{var r;return!!(null==(r=e.getValue(t))||null==(r=r.toString())?void 0:r.includes(n))};p.autoRemove=e=>S(e);let g=(e,t,n)=>{var r;return(null==(r=e.getValue(t))||null==(r=r.toString())?void 0:r.toLowerCase())===(null==n?void 0:n.toLowerCase())};g.autoRemove=e=>S(e);let h=(e,t,n)=>{var r;return null==(r=e.getValue(t))?void 0:r.includes(n)};h.autoRemove=e=>S(e);let m=(e,t,n)=>!n.some(n=>{var r;return!(null!=(r=e.getValue(t))&&r.includes(n))});m.autoRemove=e=>S(e)||!(null!=e&&e.length);let v=(e,t,n)=>n.some(n=>{var r;return null==(r=e.getValue(t))?void 0:r.includes(n)});v.autoRemove=e=>S(e)||!(null!=e&&e.length);let b=(e,t,n)=>e.getValue(t)===n;b.autoRemove=e=>S(e);let y=(e,t,n)=>e.getValue(t)==n;y.autoRemove=e=>S(e);let x=(e,t,n)=>{let[r,l]=n,o=e.getValue(t);return o>=r&&o<=l};x.resolveFilterValue=e=>{let[t,n]=e,r="number"!=typeof t?parseFloat(t):t,l="number"!=typeof n?parseFloat(n):n,o=null===t||Number.isNaN(r)?-1/0:r,i=null===n||Number.isNaN(l)?1/0:l;if(o>i){let e=o;o=i,i=e}return[o,i]},x.autoRemove=e=>S(e)||S(e[0])&&S(e[1]);let k={includesString:f,includesStringSensitive:p,equalsString:g,arrIncludes:h,arrIncludesAll:m,arrIncludesSome:v,equals:b,weakEquals:y,inNumberRange:x};function S(e){return null==e||""===e}function C(e,t,n){return!!e&&!!e.autoRemove&&e.autoRemove(t,n)||void 0===t||"string"==typeof t&&!t}
4let w={sum:(e,t,n)=>n.reduce((t,n)=>{let r=n.getValue(e);return t+("number"==typeof r?r:0)},0),min:(e,t,n)=>{let r;return n.forEach(t=>{let n=t.getValue(e);null!=n&&(r>n||void 0===r&&n>=n)&&(r=n)}),r},max:(e,t,n)=>{let r;return n.forEach(t=>{let n=t.getValue(e);null!=n&&(r<n||void 0===r&&n>=n)&&(r=n)}),r},extent:(e,t,n)=>{let r,l;return n.forEach(t=>{let n=t.getValue(e);null!=n&&(void 0===r?n>=n&&(r=l=n):(r>n&&(r=n),l<n&&(l=n)))}),[r,l]},mean:(e,t)=>{let n=0,r=0;if(t.forEach(t=>{let l=t.getValue(e);null!=l&&(l*=1)>=l&&(++n,r+=l)}),n)return r/n},median:(e,t)=>{if(!t.length)return;let n=t.map(t=>t.getValue(e));if(!(Array.isArray(n)&&n.every(e=>"number"==typeof e)))return;if(1===n.length)return n[0];let r=Math.floor(n.length/2),l=n.sort((e,t)=>e-t);return n.length%2!=0?l[r]:(l[r-1]+l[r])/2},unique:(e,t)=>Array.from(new Set(t.map(t=>t.getValue(e))).values()),uniqueCount:(e,t)=>new Set(t.map(t=>t.getValue(e))).size,count:(e,t)=>t.length},R=()=>({left:[],right:[]}),P={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},E=()=>({startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}),F=null;function I(e){return"touchstart"===e.type}function M(e,t){return t?"center"===t?e.getCenterVisibleLeafColumns():"left"===t?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}let A=()=>({pageIndex:0,pageSize:10}),D=()=>({top:[],bottom:[]}),L=(e,t,n,r,l)=>{var o;let i=l.getRow(t,!0);n?(i.getCanMultiSelect()||Object.keys(e).forEach(t=>delete e[t]),i.getCanSelect()&&(e[t]=!0)):delete e[t],r&&null!=(o=i.subRows)&&o.length&&i.getCanSelectSubRows()&&i.subRows.forEach(t=>L(e,t.id,n,r,l))};function O(e,t){let n=e.getState().rowSelection,r=[],l={},o=function(e,t){return e.map(e=>{var t;let i=T(e,n);if(i&&(r.push(e),l[e.id]=e),null!=(t=e.subRows)&&t.length&&(e={...e,subRows:o(e.subRows)}),i)return e}).filter(Boolean)};return{rows:o(t.rows),flatRows:r,rowsById:l}}function T(e,t){var n;return null!=(n=t[e.id])&&n}function _(e,t,n){var r;if(!(null!=(r=e.subRows)&&r.length))return!1;let l=!0,o=!1;return e.subRows.forEach(e=>{if((!o||l)&&(e.getCanSelect()&&(T(e,t)?o=!0:l=!1),e.subRows&&e.subRows.length)){let n=_(e,t);"all"===n?o=!0:("some"===n&&(o=!0),l=!1)}}),l?"all":!!o&&"some"}let z=/([0-9]+)/gm;function V(e,t){return e===t?0:e>t?1:-1}function H(e){return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""}function N(e,t){let n=e.split(z).filter(Boolean),r=t.split(z).filter(Boolean);for(;n.length&&r.length;){let e=n.shift(),t=r.shift(),l=parseInt(e,10),o=parseInt(t,10),i=[l,o].sort();if(isNaN(i[0])){if(e>t)return 1;if(t>e)return -1;continue}if(isNaN(i[1]))return isNaN(l)?-1:1;if(l>o)return 1;if(o>l)return -1}return n.length-r.length}let j={alphanumeric:(e,t,n)=>N(H(e.getValue(n)).toLowerCase(),H(t.getValue(n)).toLowerCase()),alphanumericCaseSensitive:(e,t,n)=>N(H(e.getValue(n)),H(t.getValue(n))),text:(e,t,n)=>V(H(e.getValue(n)).toLowerCase(),H(t.getValue(n)).toLowerCase()),textCaseSensitive:(e,t,n)=>V(H(e.getValue(n)),H(t.getValue(n))),datetime:(e,t,n)=>{let r=e.getValue(n),l=t.getValue(n);return r>l?1:r<l?-1:0},basic:(e,t,n)=>V(e.getValue(n),t.getValue(n))},B=[{createTable:e=>{e.getHeaderGroups=i(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r,l)=>{var o,i;let a=null!=(o=null==r?void 0:r.map(e=>n.find(t=>t.id===e)).filter(Boolean))?o:[],u=null!=(i=null==l?void 0:l.map(e=>n.find(t=>t.id===e)).filter(Boolean))?i:[];return c(t,[...a,...n.filter(e=>!(null!=r&&r.includes(e.id))&&!(null!=l&&l.includes(e.id))),...u],e)},a(e.options,u,"getHeaderGroups")),e.getCenterHeaderGroups=i(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r,l)=>c(t,n=n.filter(e=>!(null!=r&&r.includes(e.id))&&!(null!=l&&l.includes(e.id))),e,"center"),a(e.options,u,"getCenterHeaderGroups")),e.getLeftHeaderGroups=i(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left],(t,n,r)=>{var l;return c(t,null!=(l=null==r?void 0:r.map(e=>n.find(t=>
4t.id===e)).filter(Boolean))?l:[],e,"left")},a(e.options,u,"getLeftHeaderGroups")),e.getRightHeaderGroups=i(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right],(t,n,r)=>{var l;return c(t,null!=(l=null==r?void 0:r.map(e=>n.find(t=>t.id===e)).filter(Boolean))?l:[],e,"right")},a(e.options,u,"getRightHeaderGroups")),e.getFooterGroups=i(()=>[e.getHeaderGroups()],e=>[...e].reverse(),a(e.options,u,"getFooterGroups")),e.getLeftFooterGroups=i(()=>[e.getLeftHeaderGroups()],e=>[...e].reverse(),a(e.options,u,"getLeftFooterGroups")),e.getCenterFooterGroups=i(()=>[e.getCenterHeaderGroups()],e=>[...e].reverse(),a(e.options,u,"getCenterFooterGroups")),e.getRightFooterGroups=i(()=>[e.getRightHeaderGroups()],e=>[...e].reverse(),a(e.options,u,"getRightFooterGroups")),e.getFlatHeaders=i(()=>[e.getHeaderGroups()],e=>e.map(e=>e.headers).flat(),a(e.options,u,"getFlatHeaders")),e.getLeftFlatHeaders=i(()=>[e.getLeftHeaderGroups()],e=>e.map(e=>e.headers).flat(),a(e.options,u,"getLeftFlatHeaders")),e.getCenterFlatHeaders=i(()=>[e.getCenterHeaderGroups()],e=>e.map(e=>e.headers).flat(),a(e.options,u,"getCenterFlatHeaders")),e.getRightFlatHeaders=i(()=>[e.getRightHeaderGroups()],e=>e.map(e=>e.headers).flat(),a(e.options,u,"getRightFlatHeaders")),e.getCenterLeafHeaders=i(()=>[e.getCenterFlatHeaders()],e=>e.filter(e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}),a(e.options,u,"getCenterLeafHeaders")),e.getLeftLeafHeaders=i(()=>[e.getLeftFlatHeaders()],e=>e.filter(e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}),a(e.options,u,"getLeftLeafHeaders")),e.getRightLeafHeaders=i(()=>[e.getRightFlatHeaders()],e=>e.filter(e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}),a(e.options,u,"getRightLeafHeaders")),e.getLeafHeaders=i(()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()],(e,t,n)=>{var r,l,o,i,a,u;return[...null!=(r=null==(l=e[0])?void 0:l.headers)?r:[],...null!=(o=null==(i=t[0])?void 0:i.headers)?o:[],...null!=(a=null==(u=n[0])?void 0:u.headers)?a:[]].map(e=>e.getLeafHeaders()).flat()},a(e.options,u,"getLeafHeaders"))}},{getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:l("columnVisibility",e)}),createColumn:(e,t)=>{e.toggleVisibility=n=>{e.getCanHide()&&t.setColumnVisibility(t=>({...t,[e.id]:null!=n?n:!e.getIsVisible()}))},e.getIsVisible=()=>{var n,r;let l=e.columns;return null==(n=l.length?l.some(e=>e.getIsVisible()):null==(r=t.getState().columnVisibility)?void 0:r[e.id])||n},e.getCanHide=()=>{var n,r;return(null==(n=e.columnDef.enableHiding)||n)&&(null==(r=t.options.enableHiding)||r)},e.getToggleVisibilityHandler=()=>t=>{null==e.toggleVisibility||e.toggleVisibility(t.target.checked)}},createRow:(e,t)=>{e._getAllVisibleCells=i(()=>[e.getAllCells(),t.getState().columnVisibility],e=>e.filter(e=>e.column.getIsVisible()),a(t.options,"debugRows","_getAllVisibleCells")),e.getVisibleCells=i(()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()],(e,t,n)=>[...e,...t,...n],a(t.options,"debugRows","getVisibleCells"))},createTable:e=>{let t=(t,n)=>i(()=>[n(),n().filter(e=>e.getIsVisible()).map(e=>e.id).join("_")],e=>e.filter(e=>null==e.getIsVisible?void 0:e.getIsVisible()),a(e.options,"debugColumns",t));e.getVisibleFlatColumns=t("getVisibleFlatColumns",()=>e.getAllFlatColumns()),e.getVisibleLeafColumns=t("getVisibleLeafColumns",()=>e.getAllLeafColumns()),e.getLeftVisibleLeafColumns=t("getLeftVisibleLeafColumns",()=>e.getLeftLeafColumns()),e.getRightVisibleLeafColumns=t("getRightVisibleLeafColumns",()=>e.getRightLeafColumns()),e.getCenterVisibleLeafColumns=t("getCenterVisibleLeafColumns",()=>e.getCenterLeafColumns()),e.setColumnVisibility=t=>null==e.options.onColumnVisibilityChange?void 0:e.options.onColumnVisibilityChange(t),e.resetColumnVisibility=t=>{var n;e.setColumnVisibility(t?{}:null!=(n=e.initialState.columnVisibility)?n:{})},e.toggleAllColumnsVisible=t=>{var n;t=null!=(n=t)?n:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce((e,n)=>({...e,[n.id]:t||!(null!=n.getCanHide&&n.getCanHide())}),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some(e=>!(null!=e.getIsVisible&&e.getIsVisible())),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some(e=>null==e.getIsVisible?void 0:e.getIsVisible()),e.getToggleAllColumnsVisibilityHandler=()=>t=>{var n;e.toggleAllColumnsVisible(null==(n=t.target)?void 0:n.checked)}}},{getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:l("columnOrder",e)}),createColumn:(e,t)=>{e.getIndex=i(e=>[M(t,e)],t=>t.findIndex(t=>t.id===e.id),a(t.options,"debugColumns","getIndex")),e.getIsFirstColumn=n=>{var r;return(null==(r=M(t,n)[0])?void 0:r.id)===e.id},e.getIsLastColumn=n=>{var r;let l=M(t,n);return(null==(r=l[l.length-1])?void 0:r.id)===e.id}},createTable:e=>{e.setColumnOrder=t=>null==e.options.onColumnOrderChange?void 0:e.options.onColumnOrderChange(t),e.resetColumnOrder=t=>{var n;e.setColumnOrder(t?[]:null!=(n=e.initialState.columnOrder)?n:[])},e._getOrderColumnsFn=i(()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode],(e,t,n)=>r=>{let l=[];
4if(null!=e&&e.length){let t=[...e],n=[...r];for(;n.length&&t.length;){let e=t.shift(),r=n.findIndex(t=>t.id===e);r>-1&&l.push(n.splice(r,1)[0])}l=[...l,...n]}else l=r;var o=l;if(!(null!=t&&t.length)||!n)return o;let i=o.filter(e=>!t.includes(e.id));return"remove"===n?i:[...t.map(e=>o.find(t=>t.id===e)).filter(Boolean),...i]},a(e.options,"debugTable","_getOrderColumnsFn"))}},{getInitialState:e=>({columnPinning:R(),...e}),getDefaultOptions:e=>({onColumnPinningChange:l("columnPinning",e)}),createColumn:(e,t)=>{e.pin=n=>{let r=e.getLeafColumns().map(e=>e.id).filter(Boolean);t.setColumnPinning(e=>{var t,l,o,i,a,u;return"right"===n?{left:(null!=(o=null==e?void 0:e.left)?o:[]).filter(e=>!(null!=r&&r.includes(e))),right:[...(null!=(i=null==e?void 0:e.right)?i:[]).filter(e=>!(null!=r&&r.includes(e))),...r]}:"left"===n?{left:[...(null!=(a=null==e?void 0:e.left)?a:[]).filter(e=>!(null!=r&&r.includes(e))),...r],right:(null!=(u=null==e?void 0:e.right)?u:[]).filter(e=>!(null!=r&&r.includes(e)))}:{left:(null!=(t=null==e?void 0:e.left)?t:[]).filter(e=>!(null!=r&&r.includes(e))),right:(null!=(l=null==e?void 0:e.right)?l:[]).filter(e=>!(null!=r&&r.includes(e)))}})},e.getCanPin=()=>e.getLeafColumns().some(e=>{var n,r,l;return(null==(n=e.columnDef.enablePinning)||n)&&(null==(r=null!=(l=t.options.enableColumnPinning)?l:t.options.enablePinning)||r)}),e.getIsPinned=()=>{let n=e.getLeafColumns().map(e=>e.id),{left:r,right:l}=t.getState().columnPinning,o=n.some(e=>null==r?void 0:r.includes(e)),i=n.some(e=>null==l?void 0:l.includes(e));return o?"left":!!i&&"right"},e.getPinnedIndex=()=>{var n,r;let l=e.getIsPinned();return l?null!=(n=null==(r=t.getState().columnPinning)||null==(r=r[l])?void 0:r.indexOf(e.id))?n:-1:0}},createRow:(e,t)=>{e.getCenterVisibleCells=i(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right],(e,t,n)=>{let r=[...null!=t?t:[],...null!=n?n:[]];return e.filter(e=>!r.includes(e.column.id))},a(t.options,"debugRows","getCenterVisibleCells")),e.getLeftVisibleCells=i(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left],(e,t)=>(null!=t?t:[]).map(t=>e.find(e=>e.column.id===t)).filter(Boolean).map(e=>({...e,position:"left"})),a(t.options,"debugRows","getLeftVisibleCells")),e.getRightVisibleCells=i(()=>[e._getAllVisibleCells(),t.getState().columnPinning.right],(e,t)=>(null!=t?t:[]).map(t=>e.find(e=>e.column.id===t)).filter(Boolean).map(e=>({...e,position:"right"})),a(t.options,"debugRows","getRightVisibleCells"))},createTable:e=>{e.setColumnPinning=t=>null==e.options.onColumnPinningChange?void 0:e.options.onColumnPinningChange(t),e.resetColumnPinning=t=>{var n,r;return e.setColumnPinning(t?R():null!=(n=null==(r=e.initialState)?void 0:r.columnPinning)?n:R())},e.getIsSomeColumnsPinned=t=>{var n,r,l;let o=e.getState().columnPinning;return t?!!(null==(n=o[t])?void 0:n.length):!!((null==(r=o.left)?void 0:r.length)||(null==(l=o.right)?void 0:l.length))},e.getLeftLeafColumns=i(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left],(e,t)=>(null!=t?t:[]).map(t=>e.find(e=>e.id===t)).filter(Boolean),a(e.options,"debugColumns","getLeftLeafColumns")),e.getRightLeafColumns=i(()=>[e.getAllLeafColumns(),e.getState().columnPinning.right],(e,t)=>(null!=t?t:[]).map(t=>e.find(e=>e.id===t)).filter(Boolean),a(e.options,"debugColumns","getRightLeafColumns")),e.getCenterLeafColumns=i(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(e,t,n)=>{let r=[...null!=t?t:[],...null!=n?n:[]];return e.filter(e=>!r.includes(e.id))},a(e.options,"debugColumns","getCenterLeafColumns"))}},{createColumn:(e,t)=>{e._getFacetedRowModel=t.options.getFacetedRowModel&&t.options.getFacetedRowModel(t,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():t.getPreFilteredRowModel(),e._getFacetedUniqueValues=t.options.getFacetedUniqueValues&&t.options.getFacetedUniqueValues(t,e.i
4d),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=t.options.getFacetedMinMaxValues&&t.options.getFacetedMinMaxValues(t,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},{getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:l("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,t)=>{e.getAutoFilterFn=()=>{let n=t.getCoreRowModel().flatRows[0],r=null==n?void 0:n.getValue(e.id);return"string"==typeof r?k.includesString:"number"==typeof r?k.inNumberRange:"boolean"==typeof r||null!==r&&"object"==typeof r?k.equals:Array.isArray(r)?k.arrIncludes:k.weakEquals},e.getFilterFn=()=>{var n,r;return o(e.columnDef.filterFn)?e.columnDef.filterFn:"auto"===e.columnDef.filterFn?e.getAutoFilterFn():null!=(n=null==(r=t.options.filterFns)?void 0:r[e.columnDef.filterFn])?n:k[e.columnDef.filterFn]},e.getCanFilter=()=>{var n,r,l;return(null==(n=e.columnDef.enableColumnFilter)||n)&&(null==(r=t.options.enableColumnFilters)||r)&&(null==(l=t.options.enableFilters)||l)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var n;return null==(n=t.getState().columnFilters)||null==(n=n.find(t=>t.id===e.id))?void 0:n.value},e.getFilterIndex=()=>{var n,r;return null!=(n=null==(r=t.getState().columnFilters)?void 0:r.findIndex(t=>t.id===e.id))?n:-1},e.setFilterValue=n=>{t.setColumnFilters(t=>{var l,o;let i=e.getFilterFn(),a=null==t?void 0:t.find(t=>t.id===e.id),u=r(n,a?a.value:void 0);if(C(i,u,e))return null!=(l=null==t?void 0:t.filter(t=>t.id!==e.id))?l:[];let s={id:e.id,value:u};return a?null!=(o=null==t?void 0:t.map(t=>t.id===e.id?s:t))?o:[]:null!=t&&t.length?[...t,s]:[s]})}},createRow:(e,t)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.setColumnFilters=t=>{let n=e.getAllLeafColumns();null==e.options.onColumnFiltersChange||e.options.onColumnFiltersChange(e=>{var l;return null==(l=r(t,e))?void 0:l.filter(e=>{let t=n.find(t=>t.id===e.id);return!(t&&C(t.getFilterFn(),e.value,t))&&!0})})},e.resetColumnFilters=t=>{var n,r;e.setColumnFilters(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.columnFilters)?n:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel)?e.getPreFilteredRowModel():e._getFilteredRowModel()}},{createTable:e=>{e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}},{getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:l("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var n;let r=null==(n=e.getCoreRowModel().flatRows[0])||null==(n=n._getAllCellsByColumnId()[t.id])?void 0:n.getValue();return"string"==typeof r||"number"==typeof r}}),createColumn:(e,t)=>{e.getCanGlobalFilter=()=>{var n,r,l,o;return(null==(n=e.columnDef.enableGlobalFilter)||n)&&(null==(r=t.options.enableGlobalFilter)||r)&&(null==(l=t.options.enableFilters)||l)&&(null==(o=null==t.options.getColumnCanGlobalFilter?void 0:t.options.getColumnCanGlobalFilter(e))||o)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>k.includesString,e.getGlobalFilterFn=()=>{var t,n;let{globalFilterFn:r}=e.options;return o(r)?r:"auto"===r?e.getGlobalAutoFilterFn():null!=(t=null==(n=e.options.filterFns)?void 0:n[r])?t:k[r]},e.setGlobalFilter=t=>{null==e.options.onGlobalFilterChange||e.options.onGlobalFilterChange(t)}
4,e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},{getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:l("sorting",e),isMultiSortEvent:e=>e.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{let n=t.getFilteredRowModel().flatRows.slice(10),r=!1;for(let t of n){let n=null==t?void 0:t.getValue(e.id);if("[object Date]"===Object.prototype.toString.call(n))return j.datetime;if("string"==typeof n&&(r=!0,n.split(z).length>1))return j.alphanumeric}return r?j.text:j.basic},e.getAutoSortDir=()=>{let n=t.getFilteredRowModel().flatRows[0];return"string"==typeof(null==n?void 0:n.getValue(e.id))?"asc":"desc"},e.getSortingFn=()=>{var n,r;if(!e)throw Error();return o(e.columnDef.sortingFn)?e.columnDef.sortingFn:"auto"===e.columnDef.sortingFn?e.getAutoSortingFn():null!=(n=null==(r=t.options.sortingFns)?void 0:r[e.columnDef.sortingFn])?n:j[e.columnDef.sortingFn]},e.toggleSorting=(n,r)=>{let l=e.getNextSortingOrder(),o=null!=n;t.setSorting(i=>{let a,u=null==i?void 0:i.find(t=>t.id===e.id),s=null==i?void 0:i.findIndex(t=>t.id===e.id),c=[],d=o?n:"desc"===l;if("toggle"!=(a=null!=i&&i.length&&e.getCanMultiSort()&&r?u?"toggle":"add":null!=i&&i.length&&s!==i.length-1?"replace":u?"toggle":"replace")||o||l||(a="remove"),"add"===a){var f;(c=[...i,{id:e.id,desc:d}]).splice(0,c.length-(null!=(f=t.options.maxMultiSortColCount)?f:Number.MAX_SAFE_INTEGER))}else c="toggle"===a?i.map(t=>t.id===e.id?{...t,desc:d}:t):"remove"===a?i.filter(t=>t.id!==e.id):[{id:e.id,desc:d}];return c})},e.getFirstSortDir=()=>{var n,r;return(null!=(n=null!=(r=e.columnDef.sortDescFirst)?r:t.options.sortDescFirst)?n:"desc"===e.getAutoSortDir())?"desc":"asc"},e.getNextSortingOrder=n=>{var r,l;let o=e.getFirstSortDir(),i=e.getIsSorted();return i?(i===o||null!=(r=t.options.enableSortingRemoval)&&!r||!!n&&null!=(l=t.options.enableMultiRemove)&&!l)&&("desc"===i?"asc":"desc"):o},e.getCanSort=()=>{var n,r;return(null==(n=e.columnDef.enableSorting)||n)&&(null==(r=t.options.enableSorting)||r)&&!!e.accessorFn},e.getCanMultiSort=()=>{var n,r;return null!=(n=null!=(r=e.columnDef.enableMultiSort)?r:t.options.enableMultiSort)?n:!!e.accessorFn},e.getIsSorted=()=>{var n;let r=null==(n=t.getState().sorting)?void 0:n.find(t=>t.id===e.id);return!!r&&(r.desc?"desc":"asc")},e.getSortIndex=()=>{var n,r;return null!=(n=null==(r=t.getState().sorting)?void 0:r.findIndex(t=>t.id===e.id))?n:-1},e.clearSorting=()=>{t.setSorting(t=>null!=t&&t.length?t.filter(t=>t.id!==e.id):[])},e.getToggleSortingHandler=()=>{let n=e.getCanSort();return r=>{n&&(null==r.persist||r.persist(),null==e.toggleSorting||e.toggleSorting(void 0,!!e.getCanMultiSort()&&(null==t.options.isMultiSortEvent?void 0:t.options.isMultiSortEvent(r))))}}},createTable:e=>{e.setSorting=t=>null==e.options.onSortingChange?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var n,r;e.setSorting(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.sorting)?n:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel)?e.getPreSortedRowModel():e._getSortedRowModel()}},{getDefaultColumnDef:()=>({aggregatedCell:e=>{var t,n;return null!=(t=null==(n=e.getValue())||null==n.toString?void 0:n.toString())?t:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:l("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,t)=>{e.toggleGrouping=()=>{t.setGrouping(t=>null!=t&&t.includes(e.id)?t.filter(t=>t!==e.id):[...null!=t?t:[],e.id])},e.getCanGroup=()=>{var n,r;return(null==(n=e.columnDef.enableGrouping)||n)&&(null==(r=t.options.enableGrouping)||r)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)},e.getIsGrouped=()=>{var n;return null==(n=t.getState().grouping)?void 0:n.includes(e.id)},e.getGroupedIndex=()=>{var n;return null==(n=t.getState().grouping)?void 0:n.indexOf(e.id)},e.getToggleGroupingHandler=()=>{let t=e.getCanGroup();return()=>{t&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{let n=t.getCoreRowModel().flatRows[0],r=null==n?void 0:n.getValue(e.id);return"number"==typeof r?w.sum:"[object Date]"===Object.prototype.toString.call(r)?w.extent:void 0},e.getAggregationFn=()=>{var n,r;if(!e)throw Error();return o(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:"auto"===e.columnDef.aggregationFn?e.getAutoAggregationFn():null!=(n=null==(r=t.options.aggregationFns)?void 0:r[e.columnDef.aggregationFn])?n:w[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=t=>null==e.options.onGroupingChange?void 0:e.options.onGroupingChange(t),e.resetGrouping=t=>{var n,r;e.setGrouping(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.grouping)?n:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel)?e.getPreGroupedRowModel():e._getGroupedRowModel()},createRow:(e,t)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=n=>{if(e._groupingValuesCache.hasOwnProperty(n))return e._groupingValuesCache[n];let r=t.getColumn(n);return null!=r&&r.columnDef.getGroupingValue?(e._groupingValuesCache[n]=r.columnDef.getGroupingValue(e.original),e._groupingValuesCache[n]):e.getValue(n)},e._groupingValuesCache={}},createCell:(e,t,n,r)=>{e.getIsGrouped=()=>t.getIsGrouped()&&t.id===n.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&t.getIsGrouped(),e.getIsAggregated=()=>{var t;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!!(null!=(t=n.subRows)&&t.length)}}},{getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:l("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let t=!1,n=!1;e._autoResetExpanded=()=>{var r,l;if(!t)return void e._queue(()=>{t=!0});if(null!=(r=null!=(l=e.options.autoResetAll)?l:e.options.autoResetExpanded)?r:!e.options.manualExpanding){if(n)return;n=!0,e._queue(()=>{e.resetExpanded(),n=!1})}},e.setExpanded=t=>null==e.options.onExpandedChange?void 0:e.options.onExpandedChange(t),e.toggleAllRowsExpanded=t=>{(null!=t?t:!e.getIsAllRowsExpanded())?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=t=>{var n,r;e.setExpanded(t?{}:null!=(n=null==(r=e.initialState)?void 0:r.expanded)?n:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some(e=>e.getCanExpand()),e.getToggleAllRowsExpandedHandler=()=>t=>{null==t.persist||t.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{let t=e.getState().expanded;return!0===t||Object.values(t).some(Boolean)},e.getIsAllRowsExpanded=()=>{let t=e.getState().expanded;return"boolean"==typeof t?!0===t:!(!Object.keys(t).length||e.getRowModel().flatRows.some(e=>!e.getIsExpanded()))},e.getExpandedDepth=()=>{let t=0;return(!0===e.getState().expanded?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEac
4h(e=>{let n=e.split(".");t=Math.max(t,n.length)}),t},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel)?e.getPreExpandedRowModel():e._getExpandedRowModel()},createRow:(e,t)=>{e.toggleExpanded=n=>{t.setExpanded(r=>{var l;let o=!0===r||!!(null!=r&&r[e.id]),i={};if(!0===r?Object.keys(t.getRowModel().rowsById).forEach(e=>{i[e]=!0}):i=r,n=null!=(l=n)?l:!o,!o&&n)return{...i,[e.id]:!0};if(o&&!n){let{[e.id]:t,...n}=i;return n}return r})},e.getIsExpanded=()=>{var n;let r=t.getState().expanded;return!!(null!=(n=null==t.options.getIsRowExpanded?void 0:t.options.getIsRowExpanded(e))?n:!0===r||(null==r?void 0:r[e.id]))},e.getCanExpand=()=>{var n,r,l;return null!=(n=null==t.options.getRowCanExpand?void 0:t.options.getRowCanExpand(e))?n:(null==(r=t.options.enableExpanding)||r)&&!!(null!=(l=e.subRows)&&l.length)},e.getIsAllParentsExpanded=()=>{let n=!0,r=e;for(;n&&r.parentId;)n=(r=t.getRow(r.parentId,!0)).getIsExpanded();return n},e.getToggleExpandedHandler=()=>{let t=e.getCanExpand();return()=>{t&&e.toggleExpanded()}}}},{getInitialState:e=>({...e,pagination:{...A(),...null==e?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:l("pagination",e)}),createTable:e=>{let t=!1,n=!1;e._autoResetPageIndex=()=>{var r,l;if(!t)return void e._queue(()=>{t=!0});if(null!=(r=null!=(l=e.options.autoResetAll)?l:e.options.autoResetPageIndex)?r:!e.options.manualPagination){if(n)return;n=!0,e._queue(()=>{e.resetPageIndex(),n=!1})}},e.setPagination=t=>null==e.options.onPaginationChange?void 0:e.options.onPaginationChange(e=>r(t,e)),e.resetPagination=t=>{var n;e.setPagination(t?A():null!=(n=e.initialState.pagination)?n:A())},e.setPageIndex=t=>{e.setPagination(n=>{let l=r(t,n.pageIndex);return l=Math.max(0,Math.min(l,void 0===e.options.pageCount||-1===e.options.pageCount?Number.MAX_SAFE_INTEGER:e.options.pageCount-1)),{...n,pageIndex:l}})},e.resetPageIndex=t=>{var n,r;e.setPageIndex(t?0:null!=(n=null==(r=e.initialState)||null==(r=r.pagination)?void 0:r.pageIndex)?n:0)},e.resetPageSize=t=>{var n,r;e.setPageSize(t?10:null!=(n=null==(r=e.initialState)||null==(r=r.pagination)?void 0:r.pageSize)?n:10)},e.setPageSize=t=>{e.setPagination(e=>{let n=Math.max(1,r(t,e.pageSize)),l=Math.floor(e.pageSize*e.pageIndex/n);return{...e,pageIndex:l,pageSize:n}})},e.setPageCount=t=>e.setPagination(n=>{var l;let o=r(t,null!=(l=e.options.pageCount)?l:-1);return"number"==typeof o&&(o=Math.max(-1,o)),{...n,pageCount:o}}),e.getPageOptions=i(()=>[e.getPageCount()],e=>{let t=[];return e&&e>0&&(t=[...Array(e)].fill(null).map((e,t)=>t)),t},a(e.options,"debugTable","getPageOptions")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{let{pageIndex:t}=e.getState().pagination,n=e.getPageCount();return -1===n||0!==n&&t<n-1},e.previousPage=()=>e.setPageIndex(e=>e-1),e.nextPage=()=>e.setPageIndex(e=>e+1),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel)?e.getPrePaginationRowModel():e._getPaginationRowModel(),e.getPageCount=()=>{var t;return null!=(t=e.options.pageCount)?t:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var t;return null!=(t=e.options.rowCount)?t:e.getPrePaginationRowModel().rows.length}}},{getInitialState:e=>({rowPinning:D(),...e}),getDefaultOptions:e=>({onRowPinningChange:l("rowPinning",e)}),createRow:(e,t)=>{e.pin=(n,r,l)=>{let o=r?e.getLeafRows().map(e=>{let{id:t}=e;return t}):[],i=new Set([...l?e.getParentRows().map(e=>{let{id:t}=e;return t}):[],e.id,...o]);t.setRowPinning(e=>{var t,r,l,o,a,u;return"bottom"===n?{top:(null!=(l=null==e?void 0:e.top)?l:[]).filter(e=>!(null!=i&&i.has(e))),bottom:[...(null!=(o=null==e?void 0:e.bottom)?o:[]).filter(e=>!(null!=i&&i.has(e))),...Array.from(i)]}:"top"===n?{top:[...(null!=(a=null==e?void 0:e.top)?a:[]).filter(e=>!(null!=i&&i.has(e))),...Array.from(i)],bottom:(null!=(u=null==e?void 0:e.bottom)?u:[]).filter(e=>!(null!=i&&i.has(e)))}:{top:(null!=(t=null==e?void 0:e.top)?t:[]).filter(e=>!(null!=i&&i.has(e))),bottom:(null!=(r=null==e?void 0:e.bottom)?r:[]).filter(e=>!(null!=i&&i.has(e)))}})},e.getCanPin=()=>{var n;let{enableRowPinning:r,enablePinning:l}=t.options;return"function"==typeof r?r(e):null==(n=null!=r?r:l)||n},e.getIsPinned=()=>{let n=[e.id],{top:r,bottom:l}=t.getState().rowPinning,o=n.some(e=>null==r?void 0:r.includes(e)),i=n.some(e=>null==l?void 0:l.includes(e));return o?"top":!!i&&"bottom"},e.getPinnedIndex=()=>{var n,r;let l=e.getIsPinned();if(!l)return -1;let o=null==(n="top"===l?t.getTopRows():t.getBottomRows())?void 0:n.map(e=>{let{id:t}=e;return t});return null!=(r=null==o?void 0:o.indexOf(e.id))?r:-1}},createTable:e=>{e.setRowPinning=t=>null==e.options.onRowPinningChange?void 0:e.options.onRowPinningChange(t),e.resetRowPinning=t=>{var n,r;return e.setRowPinning(t?D():null!=(n=null==(r=e.initialState)?void 0:r.rowPinning)?n:D())},e.getIsSomeRowsPinned=t=>{var n,r,l;let o=e.getState().rowPinning;return t?!!(null==(n=o[t])?void 0:n.length):!!((null==(r=o.top)?void 0:r.length)||(null==(l=o.bottom)?void 0:l.length))},e._getPinnedRows=(t,n,r)=>{var l;return(null==(l=e.options.keepPinnedRows)||l?(null!=n?n:[]).map(t=>{let n=e.getRow(t,!0);return n.getIsAllParentsExpanded()?n:null}):(null!=n?n:[]).map(e=>t.find(t=>
4t.id===e))).filter(Boolean).map(e=>({...e,position:r}))},e.getTopRows=i(()=>[e.getRowModel().rows,e.getState().rowPinning.top],(t,n)=>e._getPinnedRows(t,n,"top"),a(e.options,"debugRows","getTopRows")),e.getBottomRows=i(()=>[e.getRowModel().rows,e.getState().rowPinning.bottom],(t,n)=>e._getPinnedRows(t,n,"bottom"),a(e.options,"debugRows","getBottomRows")),e.getCenterRows=i(()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom],(e,t,n)=>{let r=new Set([...null!=t?t:[],...null!=n?n:[]]);return e.filter(e=>!r.has(e.id))},a(e.options,"debugRows","getCenterRows"))}},{getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:l("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=t=>null==e.options.onRowSelectionChange?void 0:e.options.onRowSelectionChange(t),e.resetRowSelection=t=>{var n;return e.setRowSelection(t?{}:null!=(n=e.initialState.rowSelection)?n:{})},e.toggleAllRowsSelected=t=>{e.setRowSelection(n=>{t=void 0!==t?t:!e.getIsAllRowsSelected();let r={...n},l=e.getPreGroupedRowModel().flatRows;return t?l.forEach(e=>{e.getCanSelect()&&(r[e.id]=!0)}):l.forEach(e=>{delete r[e.id]}),r})},e.toggleAllPageRowsSelected=t=>e.setRowSelection(n=>{let r=void 0!==t?t:!e.getIsAllPageRowsSelected(),l={...n};return e.getRowModel().rows.forEach(t=>{L(l,t.id,r,!0,e)}),l}),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=i(()=>[e.getState().rowSelection,e.getCoreRowModel()],(t,n)=>Object.keys(t).length?O(e,n):{rows:[],flatRows:[],rowsById:{}},a(e.options,"debugTable","getSelectedRowModel")),e.getFilteredSelectedRowModel=i(()=>[e.getState().rowSelection,e.getFilteredRowModel()],(t,n)=>Object.keys(t).length?O(e,n):{rows:[],flatRows:[],rowsById:{}},a(e.options,"debugTable","getFilteredSelectedRowModel")),e.getGroupedSelectedRowModel=i(()=>[e.getState().rowSelection,e.getSortedRowModel()],(t,n)=>Object.keys(t).length?O(e,n):{rows:[],flatRows:[],rowsById:{}},a(e.options,"debugTable","getGroupedSelectedRowModel")),e.getIsAllRowsSelected=()=>{let t=e.getFilteredRowModel().flatRows,{rowSelection:n}=e.getState(),r=!!(t.length&&Object.keys(n).length);return r&&t.some(e=>e.getCanSelect()&&!n[e.id])&&(r=!1),r},e.getIsAllPageRowsSelected=()=>{let t=e.getPaginationRowModel().flatRows.filter(e=>e.getCanSelect()),{rowSelection:n}=e.getState(),r=!!t.length;return r&&t.some(e=>!n[e.id])&&(r=!1),r},e.getIsSomeRowsSelected=()=>{var t;let n=Object.keys(null!=(t=e.getState().rowSelection)?t:{}).length;return n>0&&n<e.getFilteredRowModel().flatRows.length},e.getIsSomePageRowsSelected=()=>{let t=e.getPaginationRowModel().flatRows;return!e.getIsAllPageRowsSelected()&&t.filter(e=>e.getCanSelect()).some(e=>e.getIsSelected()||e.getIsSomeSelected())},e.getToggleAllRowsSelectedHandler=()=>t=>{e.toggleAllRowsSelected(t.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>t=>{e.toggleAllPageRowsSelected(t.target.checked)}},createRow:(e,t)=>{e.toggleSelected=(n,r)=>{let l=e.getIsSelected();t.setRowSelection(o=>{var i;if(n=void 0!==n?n:!l,e.getCanSelect()&&l===n)return o;let a={...o};return L(a,e.id,n,null==(i=null==r?void 0:r.selectChildren)||i,t),a})},e.getIsSelected=()=>{let{rowSelection:n}=t.getState();return T(e,n)},e.getIsSomeSelected=()=>{let{rowSelection:n}=t.getState();return"some"===_(e,n)},e.getIsAllSubRowsSelected=()=>{let{rowSelection:n}=t.getState();return"all"===_(e,n)},e.getCanSelect=()=>{var n;return"function"==typeof t.options.enableRowSelection?t.options.enableRowSelection(e):null==(n=t.options.enableRowSelection)||n},e.getCanSelectSubRows=()=>{var n;return"function"==typeof t.options.enableSubRowSelection?t.options.enableSubRowSelection(e):null==(n=t.options.enableSubRowSelection)||n},e.getCanMultiSelect=()=>{var n;return"function"==typeof t.options.enableMultiRowSelection?t.options.enableMultiRowSelection(e):null==(n=t.options.enableMultiRowSelection)||n},e.getToggleSelectedHandler=()=>{let t=e.getCanSelect();return n=>{var r;t&&e.toggleSelected(null==(r=n.target)?void 0:r.checked)}}}},{getDefaultColumnDef:()=>P,getInitialState:e=>({columnSizing:{},columnSizingInfo:E(),...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:l("columnSizing",e),onColumnSizingInfoChange:l("columnSizingInfo",e)}),createColumn:(e,t)=>{e.getSize=()=>{var n,r,l;let o=t.getState().columnSizing[e.id];return Math.min(Math.max(null!=(n=e.columnDef.minSize)?n:P.minSize,null!=(r=null!=o?o:e.columnDef.size)?r:P.size),null!=(l=e.columnDef.maxSize)?l:P.maxSize)},e.getStart=i(e=>[e,M(t,e),t.getState().columnSizing],(t,n)=>n.slice(0,e.getIndex(t)).reduce((e,t)=>
4e+t.getSize(),0),a(t.options,"debugColumns","getStart")),e.getAfter=i(e=>[e,M(t,e),t.getState().columnSizing],(t,n)=>n.slice(e.getIndex(t)+1).reduce((e,t)=>e+t.getSize(),0),a(t.options,"debugColumns","getAfter")),e.resetSize=()=>{t.setColumnSizing(t=>{let{[e.id]:n,...r}=t;return r})},e.getCanResize=()=>{var n,r;return(null==(n=e.columnDef.enableResizing)||n)&&(null==(r=t.options.enableColumnResizing)||r)},e.getIsResizing=()=>t.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,t)=>{e.getSize=()=>{let t=0,n=e=>{if(e.subHeaders.length)e.subHeaders.forEach(n);else{var r;t+=null!=(r=e.column.getSize())?r:0}};return n(e),t},e.getStart=()=>{if(e.index>0){let t=e.headerGroup.headers[e.index-1];return t.getStart()+t.getSize()}return 0},e.getResizeHandler=n=>{let r=t.getColumn(e.column.id),l=null==r?void 0:r.getCanResize();return o=>{if(!r||!l||(null==o.persist||o.persist(),I(o)&&o.touches&&o.touches.length>1))return;let i=e.getSize(),a=e?e.getLeafHeaders().map(e=>[e.column.id,e.column.getSize()]):[[r.id,r.getSize()]],u=I(o)?Math.round(o.touches[0].clientX):o.clientX,s={},c=(e,n)=>{"number"==typeof n&&(t.setColumnSizingInfo(e=>{var r,l;let o="rtl"===t.options.columnResizeDirection?-1:1,i=(n-(null!=(r=null==e?void 0:e.startOffset)?r:0))*o,a=Math.max(i/(null!=(l=null==e?void 0:e.startSize)?l:0),-.999999);return e.columnSizingStart.forEach(e=>{let[t,n]=e;s[t]=Math.round(100*Math.max(n+n*a,0))/100}),{...e,deltaOffset:i,deltaPercentage:a}}),("onChange"===t.options.columnResizeMode||"end"===e)&&t.setColumnSizing(e=>({...e,...s})))},d=e=>{c("end",e),t.setColumnSizingInfo(e=>({...e,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]}))},f=n||("u">typeof document?document:null),p={moveHandler:e=>c("move",e.clientX),upHandler:e=>{null==f||f.removeEventListener("mousemove",p.moveHandler),null==f||f.removeEventListener("mouseup",p.upHandler),d(e.clientX)}},g={moveHandler:e=>(e.cancelable&&(e.preventDefault(),e.stopPropagation()),c("move",e.touches[0].clientX),!1),upHandler:e=>{var t;null==f||f.removeEventListener("touchmove",g.moveHandler),null==f||f.removeEventListener("touchend",g.upHandler),e.cancelable&&(e.preventDefault(),e.stopPropagation()),d(null==(t=e.touches[0])?void 0:t.clientX)}},h=!!function(){if("boolean"==typeof F)return F;let e=!1;try{let t=()=>{};window.addEventListener("test",t,{get passive(){return e=!0,!1}}),window.removeEventListener("test",t)}catch(t){e=!1}return F=e}()&&{passive:!1};I(o)?(null==f||f.addEventListener("touchmove",g.moveHandler,h),null==f||f.addEventListener("touchend",g.upHandler,h)):(null==f||f.addEventListener("mousemove",p.moveHandler,h),null==f||f.addEventListener("mouseup",p.upHandler,h)),t.setColumnSizingInfo(e=>({...e,startOffset:u,startSize:i,deltaOffset:0,deltaPercentage:0,columnSizingStart:a,isResizingColumn:r.id}))}}},createTable:e=>{e.setColumnSizing=t=>null==e.options.onColumnSizingChange?void 0:e.options.onColumnSizingChange(t),e.setColumnSizingInfo=t=>null==e.options.onColumnSizingInfoChange?void 0:e.options.onColumnSizingInfoChange(t),e.resetColumnSizing=t=>{var n;e.setColumnSizing(t?{}:null!=(n=e.initialState.columnSizing)?n:{})},e.resetHeaderSizeInfo=t=>{var n;e.setColumnSizingInfo(t?E():null!=(n=e.initialState.columnSizingInfo)?n:E())},e.getTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getHeaderGroups()[0])?void 0:n.headers.reduce((e,t)=>e+t.getSize(),0))?t:0},e.getLeftTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getLeftHeaderGroups()[0])?void 0:n.headers.reduce((e,t)=>e+t.getSize(),0))?t:0},e.getCenterTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getCenterHeaderGroups()[0])?void 0:n.headers.reduce((e,t)=>e+t.getSize(),0))?t:0},e.getRightTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getRightHeaderGroups()[0])?void 0:n.headers.reduce((e,t)=>e+t.getSize(),0))?t:0}}}];function G(e){var t,n;let l=[...B,...null!=(t=e._features)?t:[]],o={_features:l},u=o._features.reduce((e,t)=>Object.assign(e,null==t.getDefaultOptions?void 0:t.getDefaultOptions(o)),{}),s={...null!=(n=e.initialState)?n:{}};
4o._features.forEach(e=>{var t;s=null!=(t=null==e.getInitialState?void 0:e.getInitialState(s))?t:s});let c=[],d=!1,f={_features:l,options:{...u,...e},initialState:s,_queue:e=>{c.push(e),d||(d=!0,Promise.resolve().then(()=>{for(;c.length;)c.shift()();d=!1}).catch(e=>setTimeout(()=>{throw e})))},reset:()=>{o.setState(o.initialState)},setOptions:e=>{var t;t=r(e,o.options),o.options=o.options.mergeOptions?o.options.mergeOptions(u,t):{...u,...t}},getState:()=>o.options.state,setState:e=>{null==o.options.onStateChange||o.options.onStateChange(e)},_getRowId:(e,t,n)=>{var r;return null!=(r=null==o.options.getRowId?void 0:o.options.getRowId(e,t,n))?r:`${n?[n.id,t].join("."):t}`},getCoreRowModel:()=>(o._getCoreRowModel||(o._getCoreRowModel=o.options.getCoreRowModel(o)),o._getCoreRowModel()),getRowModel:()=>o.getPaginationRowModel(),getRow:(e,t)=>{let n=(t?o.getPrePaginationRowModel():o.getRowModel()).rowsById[e];if(!n&&!(n=o.getCoreRowModel().rowsById[e]))throw Error();return n},_getDefaultColumnDef:i(()=>[o.options.defaultColumn],e=>{var t;return e=null!=(t=e)?t:{},{header:e=>{let t=e.header.column.columnDef;return t.accessorKey?t.accessorKey:t.accessorFn?t.id:null},cell:e=>{var t,n;return null!=(t=null==(n=e.renderValue())||null==n.toString?void 0:n.toString())?t:null},...o._features.reduce((e,t)=>Object.assign(e,null==t.getDefaultColumnDef?void 0:t.getDefaultColumnDef()),{}),...e}},a(e,"debugColumns","_getDefaultColumnDef")),_getColumnDefs:()=>o.options.columns,getAllColumns:i(()=>[o._getColumnDefs()],e=>{let t=function(e,n,r){return void 0===r&&(r=0),e.map(e=>{let l=function(e,t,n,r){var l,o;let u,s={...e._getDefaultColumnDef(),...t}
4,c=s.accessorKey,d=null!=(l=null!=(o=s.id)?o:c?"function"==typeof String.prototype.replaceAll?c.replaceAll(".","_"):c.replace(/\./g,"_"):void 0)?l:"string"==typeof s.header?s.header:void 0;if(s.accessorFn?u=s.accessorFn:c&&(u=c.includes(".")?e=>{let t=e;for(let e of c.split(".")){var n;t=null==(n=t)?void 0:n[e]}return t}:e=>e[s.accessorKey]),!d)throw Error();let f={id:`${String(d)}`,accessorFn:u,parent:r,depth:n,columnDef:s,columns:[],getFlatColumns:i(()=>[!0],()=>{var e;return[f,...null==(e=f.columns)?void 0:e.flatMap(e=>e.getFlatColumns())]},a(e.options,"debugColumns","column.getFlatColumns")),getLeafColumns:i(()=>[e._getOrderColumnsFn()],e=>{var t;return null!=(t=f.columns)&&t.length?e(f.columns.flatMap(e=>e.getLeafColumns())):[f]},a(e.options,"debugColumns","column.getLeafColumns"))};for(let t of e._features)null==t.createColumn||t.createColumn(f,e);return f}(o,e,r,n);return l.columns=e.columns?t(e.columns,l,r+1):[],l})};return t(e)},a(e,"debugColumns","getAllColumns")),getAllFlatColumns:i(()=>[o.getAllColumns()],e=>e.flatMap(e=>e.getFlatColumns()),a(e,"debugColumns","getAllFlatColumns")),_getAllFlatColumnsById:i(()=>[o.getAllFlatColumns()],e=>e.reduce((e,t)=>(e[t.id]=t,e),{}),a(e,"debugColumns","getAllFlatColumnsById")),getAllLeafColumns:i(()=>[o.getAllColumns(),o._getOrderColumnsFn()],(e,t)=>t(e.flatMap(e=>e.getLeafColumns())),a(e,"debugColumns","getAllLeafColumns")),getColumn:e=>o._getAllFlatColumnsById()[e]};Object.assign(o,f);for(let e=0;e<o._features.length;e++){let t=o._features[e];null==t||null==t.createTable||t.createTable(o)}return o}function U(){return e=>i(()=>[e.options.data],t=>{let n={rows:[],flatRows:[],rowsById:{}},r=function(t,l,o){void 0===l&&(l=0);let i=[];for(let u=0;u<t.length;u++){let s=d(e,e._getRowId(t[u],u,o),t[u],u,l,void 0,null==o?void 0:o.id);if(n.flatRows.push(s),n.rowsById[s.id]=s,i.push(s),e.options.getSubRows){var a;s.originalSubRows=e.options.getSubRows(t[u],u),null!=(a=s.originalSubRows)&&a.length&&(s.subRows=r(s.originalSubRows,l+1,s))}}return i};return n.rows=r(t),n},a(e.options,"debugTable","getRowModel",()=>e._autoResetPageIndex()))}function q(){return e=>i(()=>[e.getState().sorting,e.getPreSortedRowModel()],(t,n)=>{if(!n.rows.length||!(null!=t&&t.length))return n;let r=e.getState().sorting,l=[],o=r.filter(t=>{var n;return null==(n=e.getColumn(t.id))?void 0:n.getCanSort()}),i={};o.forEach(t=>{let n=e.getColumn(t.id);n&&(i[t.id]={sortUndefined:n.columnDef.sortUndefined,invertSorting:n.columnDef.invertSorting,sortingFn:n.getSortingFn()})});let a=e=>{let t=e.map(e=>({...e}));return t.sort((e,t)=>{for(let r=0;r<o.length;r+=1){var n;let l=o[r],a=i[l.id],u=a.sortUndefined,s=null!=(n=null==l?void 0:l.desc)&&n,c=0;if(u){let n=e.getValue(l.id),r=t.getValue(l.id),o=void 0===n,i=void 0===r;if(o||i){if("first"===u)return o?-1:1;if("last"===u)return o?1:-1;c=o&&i?0:o?u:-u}}if(0===c&&(c=a.sortingFn(e,t,l.id)),0!==c)return s&&(c*=-1),a.invertSorting&&(c*=-1),c}return e.index-t.index}),t.forEach(e=>{var t;l.push(e),null!=(t=e.subRows)&&t.length&&(e.subRows=a(e.subRows))}),t};return{rows:a(n.rows),flatRows:l,rowsById:n.rowsById}},a(e.options,"debugTable","getSortedRowModel",()=>e._autoResetPageIndex()))}},50251:(e,t,n)=>{n.d(t,{S:()=>l});var r=n(90792);function l(e){return null===e||(0,r.Ee)(e)||(0,r.Ny)(e)?1:(0,r.es)(e)?2:void 0}},51508:(e,t,n)=>{function r(e){return e&&"object"==typeof e?"position"in e||"type"in e?o(e.position):"start"in e||"end"in e?o(e):"line"in e||"column"in e?l(e):"":""}function l(e){return i(e&&e.line)+":"+i(e&&e.column)}function o(e){return l(e&&e.start)+"-"+l(e&&e.end)}function i(e){return e&&"number"==typeof e?e:1}n.d(t,{L:()=>r})},52571:(e,t,n)=>{n.d(t,{I:()=>s});var r=n(45657),l=n(9561),o=n(21983);let i=/[A-Z]/g,a=/-[a-z]/g,u=/^data[-\w.:]+$/i;function s(e,t){let n=(0,o.S)(t),s=t,f=l.R;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&u.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(a,d);s="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!a.test(e)){let n=e.replace(i,c);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}f=r.E}return new f(s,t)}function c(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},55407:(e,t,n)=>{n.d(t,{f:()=>r});let r=(0,n(71087).C)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"])},57921:(e,t,n)=>{n.d(t,{W:()=>r});function r(e,t,n){let r=[],l=-1;for(;++l<e.length;){let o=e[l].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}},59475:(e,t,n)=>{n.d(t,{Ay:()=>d});let r="object"==typeof self?self:globalThis,l=(e,t)=>
4{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw TypeError("unable to deserialize "+e)}return new r[e](t)},o=e=>{var t;let n,o;return(t=new Map,n=(e,n)=>(t.set(n,e),e),o=i=>{if(t.has(i))return t.get(i);let[a,u]=e[i];switch(a){case 0:case -1:return n(u,i);case 1:{let e=n([],i);for(let t of u)e.push(o(t));return e}case 2:{let e=n({},i);for(let[t,n]of u)e[o(t)]=o(n);return e}case 3:return n(new Date(u),i);case 4:{let{source:e,flags:t}=u;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of u)e.set(o(t),o(n));return e}case 6:{let e=n(new Set,i);for(let t of u)e.add(o(t));return e}case 7:{let{name:e,message:t}=u;return n("function"==typeof r[e]?l(e,t):Error(t),i)}case 8:return n(BigInt(u),i);case"BigInt":return n(Object(BigInt(u)),i);case"ArrayBuffer":return n(new Uint8Array(u).buffer,u);case"DataView":{let{buffer:e}=new Uint8Array(u);return n(new DataView(e),u)}}return n(l(a,u),i)})(0)},{toString:i}={},{keys:a}=Object,u=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=i.call(e).slice(8,-1);switch(n){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:e instanceof Error?[7,e.name||"Error"]:[2,n]},s=([e,t])=>0===e&&("function"===t||"symbol"===t),c=(e,{json:t,lossy:n}={})=>{var r,l,o;let i,c,d=[];return(r=!(t||n),l=!!t,o=new Map,i=(e,t)=>{let n=d.push(e)-1;return o.set(t,n),n},c=e=>{if(o.has(e))return o.get(e);let[t,n]=u(e);switch(t){case 0:{let l=e;switch(n){case"bigint":t=8,l=e.toString();break;case"function":case"symbol":if(r)throw TypeError("unable to serialize "+n);l=null;break;case"undefined":return i([-1],e)}return i([t,l],e)}case 1:{if(n){let t=e;return"DataView"===n?t=new Uint8Array(e.buffer):"ArrayBuffer"===n&&(t=new Uint8Array(e)),i([n,[...t]],e)}let r=[],l=i([t,r],e);for(let t of e)r.push(c(t));return l}case 2:{if(n)switch(n){case"BigInt":return i([n,e.toString()],e);case"Boolean":case"Number":case"String":return i([n,e.valueOf()],e)}if(l&&"toJSON"in e)return c(e.toJSON());let o=[],d=i([t,o],e);for(let t of a(e))(r||!s(u(e[t])))&&o.push([c(t),c(e[t])]);return d}case 3:return i([t,isNaN(e.getTime())?"":e.toISOString()],e);case 4:{let{source:n,flags:r}=e;return i([t,{source:n,flags:r}],e)}case 5:{let n=[],l=i([t,n],e);for(let[t,l]of e)(r||!(s(u(t))||s(u(l))))&&n.push([c(t),c(l)]);return l}case 6:{let n=[],l=i([t,n],e);for(let t of e)(r||!s(u(t)))&&n.push(c(t));return l}}let{message:d}=e;return i([t,{name:n,message:d}],e)})(e),d},d="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?o(c(e,t)):structuredClone(e):(e,t)=>o(c(e,t))},61976:(e,t,n)=>{n.d(t,{YR:()=>l});var r=n(14998);function l(e,t,n,l){let o,i,a;"function"==typeof t&&"function"!=typeof n?(i=void 0,a=t,o=n):(i=t,a=n,o=l),(0,r.VG)(e,i,function(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return a(e,r,n)},o)}},62116:function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let n=null;if(!e||"string"!=typeof e)return n;let r=(0,l.default)(e),o="function"==typeof t;return r.forEach(e=>{if("declaration"!==e.type)return;let{property:r,value:l}=e;o?t(r,l,e):l&&((n=n||{})[r]=l)}),n};let l=r(n(7228))},62879:(e,t,n)=>{function r(e,t,n,r){let l,o=e.length,i=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)(l=Array.from(r)).unshift(t,n),e.splice(...l);else for(n&&e.splice(t,n);i<r.length;)(l=r.slice(i,i+1e4)).unshift(t,0),e.splice(...l),i+=1e4,t+=1e4}function l(e,t){return e.length>0?(r(e,e.length,0,t),e):t}n.d(t,{V:()=>l,m:()=>r})},66057:(e,t,n)=>{function r(e){if(e)throw e}n.d(t,{l:()=>d});var l=n(71328),o=n(68025);function i(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}var a=n(20526);let u=function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},s={}.hasOwnProperty;class c extends u{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=function(){let e=[],t={run:function(...t){let n=-1,r=t.pop();if("function"!=typeof r)throw TypeError("Expected function as last argument, not "+r);!function l(o,...i){let a=e[++n],u=-1;if(o)return void r(o);for(;++u<t.length;)(null===i[u]||void 0===i[u])&&(i[u]=t[u]);t=i,a?(function(e,t){let n;return function(...t){let o,i=e.length>t.length;
4i&&t.push(r);try{o=e.apply(this,t)}catch(e){if(i&&n)throw e;return r(e)}i||(o&&o.then&&"function"==typeof o.then?o.then(l,r):o instanceof Error?r(o):l(o))};function r(e,...l){n||(n=!0,t(e,...l))}function l(e){r(null,e)}})(a,l)(...i):r(null,...i)}(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){let e=new c,t=-1;for(;++t<this.attachers.length;){let n=this.attachers[t];e.use(...n)}return e.data(l(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2==arguments.length?(g("data",this.frozen),this.namespace[e]=t,this):s.call(this.namespace,e)&&this.namespace[e]||void 0:e?(g("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;for(;++this.freezeIndex<this.attachers.length;){let[e,...t]=this.attachers[this.freezeIndex];if(!1===t[0])continue;!0===t[0]&&(t[0]=void 0);let n=e.call(this,...t);"function"==typeof n&&this.transformers.use(n)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=v(e),n=this.parser||this.Parser;return f("parse",n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),f("process",this.parser||this.Parser),p("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,l){let i=v(e),a=n.parse(i);function u(e,n){e||!n?l(e):r?r(n):((0,o.ok)(t,"`done` is defined if `resolve` is not"),t(void 0,n))}n.run(a,i,function(e,t,r){var l,o;if(e||!t||!r)return u(e);let i=n.stringify(t,r);"string"==typeof(l=i)||(o=l)&&"object"==typeof o&&"byteLength"in o&&"byteOffset"in o?r.value=i:r.result=i,u(e,r)})}}processSync(e){let t,n=!1;return this.freeze(),f("processSync",this.parser||this.Parser),p("processSync",this.compiler||this.Compiler),this.process(e,function(e,l){n=!0,r(e),t=l}),m("processSync","process",n),(0,o.ok)(t,"we either bailed on an error or have a tree"),t}run(e,t,n){h(e),this.freeze();let r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?l(void 0,n):new Promise(l);function l(l,i){(0,o.ok)("function"!=typeof t,"`file` can’t be a `done` anymore, we checked");let a=v(t);r.run(e,a,function(t,r,a){let u=r||e;t?i(t):l?l(u):((0,o.ok)(n,"`done` is defined if `resolve` is not"),n(void 0,u,a))})}}runSync(e,t){let n,l=!1;return this.run(e,t,function(e,t){r(e),n=t,l=!0}),m("runSync","run",l),(0,o.ok)(n,"we either bailed on an error or have a tree"),n}stringify(e,t){this.freeze();let n=v(t),r=this.compiler||this.Compiler;return p("stringify",r),h(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(g("use",this.frozen),null==e);else if("function"==typeof e)u(e,t);else if("object"==typeof e)Array.isArray(e)?a(e):o(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function o(e){if(!("plugins"in e)&&!("settings"in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");a(e.plugins),e.settings&&(r.settings=l(!0,r.settings,e.settings))}function a(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;)!function(e){if("function"==typeof e)u(e,[]);else if("object"==typeof e)if(Array.isArray(e)){let[t,...n]=e;u(t,n)}else o(e);else throw TypeError("Expected usable value, not `"+e+"`")}(e[t]);else throw TypeError("Expected a list of plugins, not `"+e+"`")}function u(e,t){let r=-1,o=-1;for(;++r<n.length;)if(n[r][0]===e){o=r;break}if(-1===o)n.push([e,...t]);else if(t.length>0){let[r,...a]=t,u=n[o][1];i(u)&&i(r)&&(r=l(!0,u,r)),n[o]=[e,r,...a]}}}}let d=new c().freeze();function f(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function p(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function g(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function h(e){if(!i(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function m(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function v(e){var t;return(t=e)&&"object"==typeof t&&"message"in t&&"messages"in t?e:new a.T(e)}},68025:(e,t,n)=>{function r(){}function l(){}n.d(t,{HB:()=>l,ok:()=>r})},71087:(e,t,n)=>{n.d(t,{C:()=>r});let r=function(e){var t,n;if(null==e)return o;if("function"==typeof e)return l(e);
4if("object"==typeof e){return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=r(e[n]);return l(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):(t=e,l(function(e){let n;for(n in t)if(e[n]!==t[n])return!1;return!0}))}if("string"==typeof e){return n=e,l(function(e){return e&&e.type===n})}throw Error("Expected function, string, or object as test")};function l(e){return function(t,n,r){return!!(function(e){return null!==e&&"object"==typeof e&&"type"in e}(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function o(){return!0}},71328:e=>{var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,l=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},i=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,l=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!l&&!o)return!1;for(r in e);return void 0===r||t.call(e,r)},a=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},u=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;else if(l)return l(e,n).value}return e[n]};e.exports=function e(){var t,n,r,l,s,c,d=arguments[0],f=1,p=arguments.length,g=!1;for("boolean"==typeof d&&(g=d,d=arguments[1]||{},f=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});f<p;++f)if(t=arguments[f],null!=t)for(n in t)r=u(d,n),d!==(l=u(t,n))&&(g&&l&&(i(l)||(s=o(l)))?(s?(s=!1,c=r&&o(r)?r:[]):c=r&&i(r)?r:{},a(d,{name:n,newValue:e(g,c,l)})):void 0!==l&&a(d,{name:n,newValue:l}));return d}},74560:(e,t,n)=>{n.d(t,{UU:()=>d,jD:()=>c,ni:()=>s});let r=/[$_\p{ID_Start}]/u,l=/[$_\u{200C}\u{200D}\p{ID_Continue}]/u,o=/[-$_\u{200C}\u{200D}\p{ID_Continue}]/u,i=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,a=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,u={};function s(e){return!!e&&r.test(String.fromCodePoint(e))}function c(e,t){let n=(t||u).jsx?o:l;return!!e&&n.test(String.fromCodePoint(e))}function d(e,t){return((t||u).jsx?a:i).test(e)}},76113:(e,t,n)=>{n.d(t,{y:()=>o});var r=n(62879);let l={}.hasOwnProperty;function o(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let o,i=(l.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];if(a)for(o in a){l.call(i,o)||(i[o]=[]);let e=a[o];!function(e,t){let n=-1,l=[];for(;++n<t.length;)("after"===t[n].add?e:l).push(t[n]);(0,r.m)(e,0,0,l)}(i[o],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}},77040:(e,t,n)=>{n.d(t,{s:()=>l});let r=document.createElement("i");function l(e){let t="&"+e+";";r.innerHTML=t;let n=r.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}},77111:(e,t,n)=>{function r(e){let t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function l(e){return e.join(" ").trim()}n.d(t,{A:()=>l,q:()=>r})},85857:(e,t,n)=>{n.d(t,{m:()=>r});function r(e,t){return!!(!1===t.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}},88484:(e,t,n)=>{n.d(t,{d:()=>l});let r={};function l(e,t){let n=t||r;return o(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}function o(e,t,n){var r;if((r=e)&&"object"==typeof r){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return i(e.children,t,n)}return Array.isArray(e)?i(e,t,n):""}function i(e,t,n){let r=[],l=-1;for(;++l<e.length;)r[l]=o(e[l],t,n);return r.join("")}},88497:(e,t,n)=>{n.d(t,{N:()=>l});var r=n(90792);function l(e,t,n,l){let o=l?l-1:1/0,i=0;return function(l){return(0,r.On)(l)?(e.enter(n),function l(a){return(0,r.On)(a)&&i++<o?(e.consume(a),l):(e.exit(n),t(a))}(l)):t(l)}}},88524:function(e,t,n){var r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(62116)),l=n(14324);function o(e,t){var n={};return e&&"string"==typeof e&&(0,r.default)(e,function(e,r){e&&r&&(n[(0,l.camelCase)(e,t)]=r)}),n}o.default=o,e.exports=o},90792:(e,t,n)=>{n.d(t,{BM:()=>a,CW:()=>r,Ee:()=>d,HP:()=>c,JQ:()=>i,Ny:()=>g,On:()=>f,cx:()=>o,es:()=>p,lV:()=>l,ok:()=>u,ol:()=>s});let r=h(/[A-Za-z]/),l=h(/[\dA-Za-z]/),o=h(/[#-'*+\--9=?A-Z^-~]/);function i(e){return null!==e&&(e<32||127===e)}let a=h(/\d/),u=h(/[\dA-Fa-f]/),s=h(/[!-/:-@[-`{-~]/);function c(e){return null!==e&&e<-2}function d(e){return null!==e&&(e<0||32===e)}function f(e){return -2===e||-1===e||32===e}let p=h(/\p{P}|\p{S}/u),g=h(/\s/);function h(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}},91168:(e,t,n)=>{n.d(t,{Hs:()=>k,UC:()=>_,VY:()=>G,ZL:()=>M,bL:()=>w,bm:()=>q,hE:()=>j,hJ:()=>D,l9:()=>P});var r=n(2315),l=n(33397),o=n(43841),i=n(18133),a=n(37713),u=n(72529),s=n(23302),c=n(92011),d=n(3526),f=n(46205),p=n(29971),g=n(11585),h=n(81116),m=n(67048),v=n(64696),b=n(68987),y="Dialog",[x,k]=(0,i.A)(y),[S,C]=x(y),w=e=>{let{__scopeDialog:t,children:n,open:l,defaultOpen:o,onOpenChange:i,modal:s=!0}=e,c=r.useRef(null),d=r.useRef(null),[f,p]=(0,u.i)({prop:l,defaultProp:o??!1,onChange:i,caller:y});return(0,b.jsx)(S,{scope:t,triggerRef:c,contentRef:d,contentId:(0,a.B)(),titleId:(0,a.B)(),descriptionId:(0,a.B)(),open:f,onOpenChange:p,onOpenToggle:r.useCallback(()=>p(e=>!e),[p]),modal:s,children:n})};w.displayName=y;var R="DialogTrigger",P=r.forwardRef((e,t)=>
4{let{__scopeDialog:n,...r}=e,i=C(R,n),a=(0,o.s)(t,i.triggerRef);return(0,b.jsx)(p.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":W(i.open),...r,ref:a,onClick:(0,l.mK)(e.onClick,i.onOpenToggle)})});P.displayName=R;var E="DialogPortal",[F,I]=x(E,{forceMount:void 0}),M=e=>{let{__scopeDialog:t,forceMount:n,children:l,container:o}=e,i=C(E,t);return(0,b.jsx)(F,{scope:t,forceMount:n,children:r.Children.map(l,e=>(0,b.jsx)(f.C,{present:n||i.open,children:(0,b.jsx)(d.Z,{asChild:!0,container:o,children:e})}))})};M.displayName=E;var A="DialogOverlay",D=r.forwardRef((e,t)=>{let n=I(A,e.__scopeDialog),{forceMount:r=n.forceMount,...l}=e,o=C(A,e.__scopeDialog);return o.modal?(0,b.jsx)(f.C,{present:r||o.open,children:(0,b.jsx)(O,{...l,ref:t})}):null});D.displayName=A;var L=(0,v.TL)("DialogOverlay.RemoveScroll"),O=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,l=C(A,n),i=(0,s.e0)(),a=(0,o.s)(t,i);return(0,b.jsx)(h.A,{as:L,allowPinchZoom:!0,shards:[l.contentRef],children:(0,b.jsx)(p.sG.div,{"data-state":W(l.open),...r,ref:a,style:{pointerEvents:"auto",...r.style}})})}),T="DialogContent",_=r.forwardRef((e,t)=>{let n=I(T,e.__scopeDialog),{forceMount:r=n.forceMount,...l}=e,o=C(T,e.__scopeDialog);return(0,b.jsx)(f.C,{present:r||o.open,children:o.modal?(0,b.jsx)(z,{...l,ref:t}):(0,b.jsx)(V,{...l,ref:t})})});_.displayName=T;var z=r.forwardRef((e,t)=>{let n=C(T,e.__scopeDialog),i=r.useRef(null),a=(0,o.s)(t,n.contentRef,i);return r.useEffect(()=>{let e=i.current;if(e)return(0,m.Eq)(e)},[]),(0,b.jsx)(H,{...e,ref:a,trapFocus:n.open,disableOutsidePointerEvents:n.open,onCloseAutoFocus:(0,l.mK)(e.onCloseAutoFocus,e=>{e.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:(0,l.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,l.mK)(e.onFocusOutside,e=>e.preventDefault())})}),V=r.forwardRef((e,t)=>{let n=C(T,e.__scopeDialog),l=r.useRef(!1),o=r.useRef(!1);return(0,b.jsx)(H,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(l.current||n.triggerRef.current?.focus(),t.preventDefault()),l.current=!1,o.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(l.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let r=t.target;n.triggerRef.current?.contains(r)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),H=r.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:l,onCloseAutoFocus:o,...i}=e,a=C(T,n);return(0,g.Oh)(),(0,b.jsx)(b.Fragment,{children:(0,b.jsx)(c.n,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:l,onUnmountAutoFocus:o,children:(0,b.jsx)(s.qW,{role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":W(a.open),...i,ref:t,deferPointerDownOutside:!0,onDismiss:()=>a.onOpenChange(!1)})})})}),N="DialogTitle",j=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,l=C(N,n);return(0,b.jsx)(p.sG.h2,{id:l.titleId,...r,ref:t})});j.displayName=N;var B="DialogDescription",G=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,l=C(B,n);return(0,b.jsx)(p.sG.p,{id:l.descriptionId,...r,ref:t})});G.displayName=B;var U="DialogClose",q=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=C(U,n);return(0,b.jsx)(p.sG.button,{type:"button",...r,ref:t,onClick:(0,l.mK)(e.onClick,()=>o.onOpenChange(!1))})});function W(e){return e?"open":"closed"}q.displayName=U},92804:(e,t,n)=>{n.d(t,{G1:()=>i,PW:()=>l,Y:()=>r});let r=o("end"),l=o("start");function o(e){return function(t){let n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function i(e){let t=l(e),n=r(e);if(t&&n)return{start:t,end:n}}},93077:(e,t,n)=>{n.d(t,{C:()=>r});function r(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}},93375:(e,t,n)=>{n.d(t,{s:()=>i});var r=n(77040),l=n(93077);let o=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function i(e){return e.replace(o,a)}function a(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;
4return(0,l.C)(n.slice(t?2:1),t?16:10)}return(0,r.s)(n)||e}},95257:(e,t,n)=>{n.d(t,{T:()=>r});function r(e){return"&#x"+e.toString(16).toUpperCase()+";"}},96148:(e,t,n)=>{n.d(t,{_:()=>S});var r=n(68025),l=n(59475),o=n(90792);function i(e){let t=[],n=-1,r=0,l=0;for(;++n<e.length;){let i=e.charCodeAt(n),a="";if(37===i&&(0,o.lV)(e.charCodeAt(n+1))&&(0,o.lV)(e.charCodeAt(n+2)))l=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(a=String.fromCharCode(i));else if(i>55295&&i<57344){let t=e.charCodeAt(n+1);i<56320&&t>56319&&t<57344?(a=String.fromCharCode(i,t),l=1):a="�"}else a=String.fromCharCode(i);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+l+1,a=""),l&&(n+=l,l=0)}return t.join("")+e.slice(r)}function a(e,t){let n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function u(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}var s=n(61976),c=n(92804);function d(e,t){let n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];let l=e.all(t),o=l[0];o&&"text"===o.type?o.value="["+o.value:l.unshift({type:"text",value:"["});let i=l[l.length-1];return i&&"text"===i.type?i.value+=r:l.push({type:"text",value:r}),l}function f(e){let t=e.spread;return null==t?e.children.length>1:t}function p(e,t,n){let r=0,l=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(l-1);for(;9===t||32===t;)l--,t=e.codePointAt(l-1)}return l>r?e.slice(r,l):""}let g={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r={},l=t.lang?t.lang.split(/\s+/):[];l.length>0&&(r.className=["language-"+l[0]]);let o={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o={type:"element",tagName:"pre",properties:{},children:[o=e.applyData(t,o)]},e.patch(t,o),o},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){let n,r="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",l=String(t.identifier).toUpperCase(),o=i(l.toLowerCase()),a=e.footnoteOrder.indexOf(l),u=e.footnoteCounts.get(l);void 0===u?(u=0,e.footnoteOrder.push(l),n=e.footnoteOrder.length):n=a+1,u+=1,e.footnoteCounts.set(l,u);let s={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+o,id:r+"fnref-"+o+(u>1?"-"+u:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,s);let c={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return d(e,t);let l={src:i(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(l.title=r.title);let o={type:"element",tagName:"img",properties:l,children:[]};return e.patch(t,o),e.applyData(t,o)},image:function(e,t){let n={src:i(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return d(e,t);let l={href:i(r.url||"")};null!==r.title&&void 0!==r.title&&(l.title=r.title);let o={type:"element",tagName:"a",properties:l,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)},link:function(e,t){let n={href:i(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){let r=e.all(t),l=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=f(n[r])}return t}(n):f(t),o={},i=[];if("boolean"==typeof t.checked){let e,n=r[0];n&&"element"===n.type&&"p"===n.tagName?e=n:(e={type:"element",tagName:"p",properties:{},children:[]},r.unshift(e)),e.children.length>0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let a=-1;for(;++a<r.length;){let e=r[a];(l||0!==a||"element"!==e.type||"p"!==e.tagName)&&i.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||l?i.push(e):i.push(...e.children)}let u=r[r.length-1];u&&(l||"element"!==u.type||"p"!==u.tagName)&&i.push({type:"text",value:"\n"});let s={type:"element",tagName:"li",properties:o,children:i};return e.patch(t,s),e.applyData(t,s)},list:function(e,t){let n={},r=e.all(t),l=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++l<r.length;){let e=r[l];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}let o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)},paragraph:function(e,t){let n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){let n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){let n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){let n=e.all(t),r=n.shift(),l=[];
4if(r){let n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),l.push(n)}if(n.length>0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=(0,c.PW)(t.children[1]),i=(0,c.Y)(t.children[t.children.length-1]);o&&i&&(r.position={start:o,end:i}),l.push(r)}let o={type:"element",tagName:"table",properties:{},children:e.wrap(l,!0)};return e.patch(t,o),e.applyData(t,o)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,l=0===(r?r.indexOf(t):1)?"th":"td",o=n&&"table"===n.type?n.align:void 0,i=o?o.length:t.children.length,a=-1,u=[];for(;++a<i;){let n=t.children[a],r={},i=o?o[a]:void 0;i&&(r.align=i);let s={type:"element",tagName:l,properties:r,children:[]};n&&(s.children=e.all(n),e.patch(n,s),s=e.applyData(n,s)),u.push(s)}let s={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(t,s),e.applyData(t,s)},text:function(e,t){let n={type:"text",value:function(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),l=0,o=[];for(;r;)o.push(p(t.slice(l,r.index),l>0,!0),r[0]),l=r.index+r[0].length,r=n.exec(t);return o.push(p(t.slice(l),l>0,!1)),o.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:h,yaml:h,definition:h,footnoteDefinition:h};function h(){}let m={}.hasOwnProperty,v={};function b(e,t){e.position&&(t.position=(0,c.G1)(e))}function y(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,o=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}),"element"===n.type&&o&&Object.assign(n.properties,(0,l.Ay)(o)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function x(e,t){let n=[],r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function k(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function S(e,t){let n,o,c,d,f=(n=t||v,o=new Map,c=new Map,d={all:function(e){let t=[];if("children"in e){let n=e.children,r=-1;for(;++r<n.length;){let l=d.one(n[r],e);if(l){if(r&&"break"===n[r-1].type&&(Array.isArray(l)||"text"!==l.type||(l.value=k(l.value)),!Array.isArray(l)&&"element"===l.type)){let e=l.children[0];e&&"text"===e.type&&(e.value=k(e.value))}Array.isArray(l)?t.push(...l):t.push(l)}}}return t},applyData:y,definitionById:o,footnoteById:c,footnoteCounts:new Map,footnoteOrder:[],handlers:{...g,...n.handlers},one:function(e,t){let n=e.type,r=d.handlers[n];if(m.call(d.handlers,n)&&r)return r(d,e,t);if(d.options.passThrough&&d.options.passThrough.includes(n)){if("children"in e){let{children:t,...n}=e,r=(0,l.Ay)(n);return r.children=d.all(e),r}return(0,l.Ay)(e)}return(d.options.unknownHandler||function(e,t){let n=t.data||{},r="value"in t&&!(m.call(n,"hProperties")||m.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)})(d,e,t)},options:n,patch:b,wrap:x},(0,s.YR)(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){let t="definition"===e.type?o:c,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),d),p=f.one(e,void 0),h=function(e){let t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||a,r=e.options.footnoteBackLabel||u,o=e.options.footnoteLabel||"Footnotes",s=e.options.footnoteLabelTagName||"h2",c=e.options.footnoteLabelProperties||{className:["sr-only"]},d=[],f=-1;for(;++f<e.footnoteOrder.length;){let l=e.footnoteById.get(e.footnoteOrder[f]);if(!l)continue;let o=e.all(l),a=String(l.identifier).toUpperCase(),u=i(a.toLowerCase()),s=0,c=[],p=e.footnoteCounts.get(a);for(;void 0!==p&&++s<=p;){c.length>0&&c.push({type:"text",value:" "});let e="string"==typeof n?n:n(f,s);"string"==typeof e&&(e={type:"text",value:e}),c.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+u+(s>1?"-"+s:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(f,s),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let g=o[o.length-1];if(g&&"element"===g.type&&"p"===g.tagName){let e=g.children[g.children.length-1];e&&"text"===e.type?e.value+=" ":g.children.push({type:"text",value:" "}),g.children.push(...c)}else o.push(...c);let h={type:"element",tagName:"li",properties:{id:t+"fn-"+u},children:e.wrap(o,!0)};e.patch(l,h),d.push(h)}if(0!==d.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:s,properties:{...(0,l.Ay)(c),id:"footnote-label"},children:[{type:"text",value:o}]}
4,{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(d,!0)},{type:"text",value:"\n"}]}}(f),S=Array.isArray(p)?{type:"root",children:p}:p||{type:"root",children:[]};return h&&((0,r.ok)("children"in S),S.children.push({type:"text",value:"\n"},h)),S}},99728:(e,t,n)=>{function r(e,t,n){return">"+(n?"":" ")+e}n.d(t,{p:()=>P});var l=n(24670);function o(e,t,n,r){let o=-1;for(;++o<n.unsafe.length;)if("\n"===n.unsafe[o].character&&(0,l.q)(n.stack,n.unsafe[o]))return/[ \t]/.test(r.before)?"":" ";return"\\\n"}var i=n(85857);function a(e,t,n){return(n?"":"    ")+e}function u(e){let t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}var s=n(95257),c=n(50251);function d(e,t,n){let r=(0,c.S)(e),l=(0,c.S)(t);return void 0===r?void 0===l?"_"===n?{inside:!0,outside:!0}:{inside:!1,outside:!1}:1===l?{inside:!0,outside:!0}:{inside:!1,outside:!0}:1===r?void 0===l?{inside:!1,outside:!1}:1===l?{inside:!0,outside:!0}:{inside:!1,outside:!1}:void 0===l?{inside:!1,outside:!1}:1===l?{inside:!0,outside:!1}:{inside:!1,outside:!1}}function f(e,t,n,r){let l=function(e){let t=e.options.emphasis||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}(n),o=n.enter("emphasis"),i=n.createTracker(r),a=i.move(l),u=i.move(n.containerPhrasing(e,{after:l,before:a,...i.current()})),c=u.charCodeAt(0),f=d(r.before.charCodeAt(r.before.length-1),c,l);f.inside&&(u=(0,s.T)(c)+u.slice(1));let p=u.charCodeAt(u.length-1),g=d(r.after.charCodeAt(0),p,l);g.inside&&(u=u.slice(0,-1)+(0,s.T)(p));let h=i.move(l);return o(),n.attentionEncodeSurroundingInfo={after:g.outside,before:f.outside},a+u+h}f.peek=function(e,t,n){return n.options.emphasis||"*"};var p=n(43372);function g(e){return e.value||""}function h(e,t,n,r){let l=u(n),o='"'===l?"Quote":"Apostrophe",i=n.enter("image"),a=n.enter("label"),s=n.createTracker(r),c=s.move("![");return c+=s.move(n.safe(e.alt,{before:c,after:"]",...s.current()})),c+=s.move("]("),a(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),c+=s.move("<"),c+=s.move(n.safe(e.url,{before:c,after:">",...s.current()})),c+=s.move(">")):(a=n.enter("destinationRaw"),c+=s.move(n.safe(e.url,{before:c,after:e.title?" ":")",...s.current()}))),a(),e.title&&(a=n.enter(`title${o}`),c+=s.move(" "+l),c+=s.move(n.safe(e.title,{before:c,after:l,...s.current()})),c+=s.move(l),a()),c+=s.move(")"),i(),c}function m(e,t,n,r){let l=e.referenceType,o=n.enter("imageReference"),i=n.enter("label"),a=n.createTracker(r),u=a.move("!["),s=n.safe(e.alt,{before:u,after:"]",...a.current()});u+=a.move(s+"]["),i();let c=n.stack;n.stack=[],i=n.enter("reference");let d=n.safe(n.associationId(e),{before:u,after:"]",...a.current()});return i(),n.stack=c,o(),"full"!==l&&s&&s===d?"shortcut"===l?u=u.slice(0,-1):u+=a.move("]"):u+=a.move(d+"]"),u}function v(e,t,n){let r=e.value||"",l="`",o=-1;for(;RegExp("(^|[^`])"+l+"([^`]|$)").test(r);)l+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o<n.unsafe.length;){let e,t=n.unsafe[o],l=n.compilePattern(t);if(t.atBreak)for(;e=l.exec(r);){let t=e.index;10===r.charCodeAt(t)&&13===r.charCodeAt(t-1)&&t--,r=r.slice(0,t)+" "+r.slice(e.index+1)}}return l+r+l}g.peek=function(){return"<"},h.peek=function(){return"!"},m.peek=function(){return"!"},v.peek=function(){return"`"};var b=n(88484);function y(e,t){let n=(0,b.d)(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&1===e.children.length&&"text"===e.children[0].type&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}function x(e,t,n,r){let l,o,i=u(n),a='"'===i?"Quote":"Apostrophe",s=n.createTracker(r);if(y(e,n)){let t=n.stack;n.stack=[],l=n.enter("autolink");let r=s.move("<");return r+=s.move(n.containerPhrasing(e,{before:r,after:">",...s.current()})),r+=s.move(">"),l(),n.stack=t,r}l=n.enter("link"),o=n.enter("label");let c=s.move("[");return c+=s.move(n.containerPhrasing(e,{before:c,after:"](",...s.current()})),c+=s.move("]("),o(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(o=n.enter("destinationLiteral"),c+=s.move("<"),c+=s.move(n.safe(e.url,{before:c,after:">",...s.current()})),c+=s.move(">")):(o=n.enter("destinationRaw"),c+=s.move(n.safe(e.url,{before:c,after:e.title?" ":")",...s.current()}))),o(),e.title&&(o=n.enter(`title${a}`),c+=s.move(" "+i),c+=s.move(n.safe(e.title,{before:c,after:i,...s.current()})),c+=s.move(i),o()),c+=s.move(")"),l(),c}function k(e,t,n,r){let l=e.referenceType,o=n.enter("linkReference"),i=n.enter("label"),a=n.createTracker(r),u=a.move("["),s=n.containerPhrasing(e,{before:u,after:"]",...a.current()});u+=a.move(s+"]["),i();let c=n.stack;n.stack=[],i=n.enter("reference");let d=n.safe(n.associationId(e),{before:u,after:"]",...a.current()});return i(),n.stack=c,o(),"full"!==l&&s&&s===d?"shortcut"===l?u=u.slice(0,-1):u+=a.move("]"):u+=a.move(d+"]"),u}function S(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function C(e){let t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}x.peek=function(e,t,n){return y(e,n)?"<":"["},k.peek=function(){return"["};var w=n(55407);function R(e,t,n,r){let l=function(e){let t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),o=n.enter("strong"),i=n.createTracker(r),a=i.move(l+l),u=i.move(n.containerPhrasing(e,{after:l,before:a,...i.current()})),c=u.charCodeAt(0),f=d(r.before.charCodeAt(r.before.length-1),c,l);f.inside&&(u=(0,s.T)(c)+u.slice(1));let p=u.charCodeAt(u.length-1),g=d(r.after.charCodeAt(0),p,l);
4g.inside&&(u=u.slice(0,-1)+(0,s.T)(p));let h=i.move(l+l);return o(),n.attentionEncodeSurroundingInfo={after:g.outside,before:f.outside},a+u+h}R.peek=function(e,t,n){return n.options.strong||"*"};let P={blockquote:function(e,t,n,l){let o=n.enter("blockquote"),i=n.createTracker(l);i.move("> "),i.shift(2);let a=n.indentLines(n.containerFlow(e,i.current()),r);return o(),a},break:o,code:function(e,t,n,r){let l=function(e){let t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),o=e.value||"",u="`"===l?"GraveAccent":"Tilde";if((0,i.m)(e,n)){let e=n.enter("codeIndented"),t=n.indentLines(o,a);return e(),t}let s=n.createTracker(r),c=l.repeat(Math.max(function(e,t){let n=String(e),r=n.indexOf(t),l=r,o=0,i=0;if("string"!=typeof t)throw TypeError("Expected substring");for(;-1!==r;)r===l?++o>i&&(i=o):o=1,l=r+t.length,r=n.indexOf(t,l);return i}(o,l)+1,3)),d=n.enter("codeFenced"),f=s.move(c);if(e.lang){let t=n.enter(`codeFencedLang${u}`);f+=s.move(n.safe(e.lang,{before:f,after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${u}`);f+=s.move(" "),f+=s.move(n.safe(e.meta,{before:f,after:"\n",encode:["`"],...s.current()})),t()}return f+=s.move("\n"),o&&(f+=s.move(o+"\n")),f+=s.move(c),d(),f},definition:function(e,t,n,r){let l=u(n),o='"'===l?"Quote":"Apostrophe",i=n.enter("definition"),a=n.enter("label"),s=n.createTracker(r),c=s.move("[");return c+=s.move(n.safe(n.associationId(e),{before:c,after:"]",...s.current()})),c+=s.move("]: "),a(),!e.url||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),c+=s.move("<"),c+=s.move(n.safe(e.url,{before:c,after:">",...s.current()})),c+=s.move(">")):(a=n.enter("destinationRaw"),c+=s.move(n.safe(e.url,{before:c,after:e.title?" ":"\n",...s.current()}))),a(),e.title&&(a=n.enter(`title${o}`),c+=s.move(" "+l),c+=s.move(n.safe(e.title,{before:c,after:l,...s.current()})),c+=s.move(l),a()),i(),c},emphasis:f,hardBreak:o,heading:function(e,t,n,r){let l=Math.max(Math.min(6,e.depth||1),1),o=n.createTracker(r);if((0,p.f)(e,n)){let t=n.enter("headingSetext"),r=n.enter("phrasing"),i=n.containerPhrasing(e,{...o.current(),before:"\n",after:"\n"});return r(),t(),i+"\n"+(1===l?"=":"-").repeat(i.length-(Math.max(i.lastIndexOf("\r"),i.lastIndexOf("\n"))+1))}let i="#".repeat(l),a=n.enter("headingAtx"),u=n.enter("phrasing");o.move(i+" ");let c=n.containerPhrasing(e,{before:"# ",after:"\n",...o.current()});return/^[\t ]/.test(c)&&(c=(0,s.T)(c.charCodeAt(0))+c.slice(1)),c=c?i+" "+c:i,n.options.closeAtx&&(c+=" "+i),u(),a(),c},html:g,image:h,imageReference:m,inlineCode:v,link:x,linkReference:k,list:function(e,t,n,r){let l=n.enter("list"),o=n.bulletCurrent,i=e.ordered?function(e){let t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):S(n),a=e.ordered?"."===i?")":".":function(e){let t=S(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n),u=!!t&&!!n.bulletLastUsed&&i===n.bulletLastUsed;if(!e.ordered){let t=e.children?e.children[0]:void 0;if("*"!==i&&"-"!==i||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(u=!0),C(n)===i&&t){let t=-1;for(;++t<e.children.length;){let n=e.children[t];if(n&&"listItem"===n.type&&n.children&&n.children[0]&&"thematicBreak"===n.children[0].type){u=!0;break}}}}u&&(i=a),n.bulletCurrent=i;let s=n.containerFlow(e,r);return n.bulletLastUsed=i,n.bulletCurrent=o,l(),s},listItem:function(e,t,n,r){let l=function(e){let t=e.options.listItemIndent||"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n),o=n.bulletCurrent||S(n);t&&"list"===t.type&&t.ordered&&(o=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+o);let i=o.length+1;("tab"===l||"mixed"===l&&(t&&"list"===t.type&&t.spread||e.spread))&&(i=4*Math.ceil(i/4));let a=n.createTracker(r);a.move(o+" ".repeat(i-o.length)),a.shift(i);let u=n.enter("listItem"),s=n.indentLines(n.containerFlow(e,a.current()),function(e,t,n){return t?(n?"":" ".repeat(i))+e:(n?o:o+" ".repeat(i-o.length))+e});return u(),s},paragraph:function(e,t,n,r){let l=n.enter("paragraph"),o=n.enter("phrasing"),i=n.containerPhrasing(e,r);return o(),l(),i},root:function(e,t,n,r){return(e.children.some(function(e){return(0,w.f)(e)})?n.containerPhrasing:n.containerFlow).call(n,e,r)},strong:R,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){let r=(C(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}}}}]);
5//# chunkId=01a0b137-1c84-7ae2-a0c7-0e7214f4d8a6

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.