Page Not Found
We could not find what you were looking for.
Please contact the owner of the site that linked you to the original URL and let them know their link is broken.
diff --git a/404.html b/404.html index 2c71bb1b..58c9c6f2 100644 --- a/404.html +++ b/404.html @@ -4,8 +4,8 @@
We could not find what you were looking for.
Please contact the owner of the site that linked you to the original URL and let them know their link is broken.
["'])(?.*?)\1/,h=/\{(? [\d,-]+)\}/,p={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},m={...p,lua:{start:"--",end:""},wasm:{start:"\\;\\;",end:""},tex:{start:"%",end:""},vb:{start:"['\u2018\u2019]",end:""},vbnet:{start:"(?:_\\s*)?['\u2018\u2019]",end:""},rem:{start:"[Rr][Ee][Mm]\\b",end:""},f90:{start:"!",end:""},ml:{start:"\\(\\*",end:"\\*\\)"},cobol:{start:"\\*>",end:""}},g=Object.keys(p);function y(e,t){const n=e.map((e=>{const{start:n,end:r}=m[e];return`(?:${n}\\s*(${t.flatMap((e=>[e.line,e.block?.start,e.block?.end].filter(Boolean))).join("|")})\\s*${r})`})).join("|");return new RegExp(`^\\s*(?:${n})\\s*$`)}function v(e,t){let n=e.replace(/\n$/,"");const{language:r,magicComments:o,metastring:i}=t;if(i&&h.test(i)){const e=i.match(h).groups.range;if(0===o.length)throw new Error(`A highlight range has been given in code block's metastring (\`\`\` ${i}), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.`);const t=o[0].className,r=f()(e).filter((e=>e>0)).map((e=>[e-1,[t]]));return{lineClassNames:Object.fromEntries(r),code:n}}if(void 0===r)return{lineClassNames:{},code:n};const s=function(e,t){switch(e){case"js":case"javascript":case"ts":case"typescript":return y(["js","jsBlock"],t);case"jsx":case"tsx":return y(["js","jsBlock","jsx"],t);case"html":return y(["js","jsBlock","html"],t);case"python":case"py":case"bash":return y(["bash"],t);case"markdown":case"md":return y(["html","jsx","bash"],t);case"tex":case"latex":case"matlab":return y(["tex"],t);case"lua":case"haskell":case"sql":return y(["lua"],t);case"wasm":return y(["wasm"],t);case"vb":case"vba":case"visual-basic":return y(["vb","rem"],t);case"vbnet":return y(["vbnet","rem"],t);case"batch":return y(["rem"],t);case"basic":return y(["rem","f90"],t);case"fsharp":return y(["js","ml"],t);case"ocaml":case"sml":return y(["ml"],t);case"fortran":return y(["f90"],t);case"cobol":return y(["cobol"],t);default:return y(g,t)}}(r,o),a=n.split("\n"),u=Object.fromEntries(o.map((e=>[e.className,{start:0,range:""}]))),c=Object.fromEntries(o.filter((e=>e.line)).map((e=>{let{className:t,line:n}=e;return[n,t]}))),l=Object.fromEntries(o.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.start,t]}))),d=Object.fromEntries(o.filter((e=>e.block)).map((e=>{let{className:t,block:n}=e;return[n.end,t]})));for(let f=0;f void 0!==e));c[t]?u[c[t]].range+=`${f},`:l[t]?u[l[t]].start=f:d[t]&&(u[d[t]].range+=`${u[d[t]].start}-${f-1},`),a.splice(f,1)}n=a.join("\n");const p={};return Object.entries(u).forEach((e=>{let[t,{range:n}]=e;f()(n).forEach((e=>{p[e]??=[],p[e].push(t)}))})),{lineClassNames:p,code:n}}const b={codeBlockContainer:"codeBlockContainer_ZGJx"};var _=n(52322);function w(e){let{as:t,...n}=e;const r=function(e){const t={color:"--prism-color",backgroundColor:"--prism-background-color"},n={};return Object.entries(e.plain).forEach((e=>{let[r,o]=e;const i=t[r];i&&"string"==typeof o&&(n[i]=o)})),n}(u());return(0,_.jsx)(t,{...n,style:r,className:(0,i.Z)(n.className,b.codeBlockContainer,c.k.common.codeBlock)})}const E={codeBlockContent:"codeBlockContent_qZBB",codeBlockTitle:"codeBlockTitle_zAEH",codeBlock:"codeBlock_TAPP",codeBlockStandalone:"codeBlockStandalone_K9VJ",codeBlockLines:"codeBlockLines_AdAo",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_p5De",buttonGroup:"buttonGroup_TNwR"};function k(e){let{children:t,className:n}=e;return(0,_.jsx)(w,{as:"pre",tabIndex:0,className:(0,i.Z)(E.codeBlockStandalone,"thin-scrollbar",n),children:(0,_.jsx)("code",{className:E.codeBlockLines,children:t})})}var x=n(6335);const D={attributes:!0,characterData:!0,childList:!0,subtree:!0};function S(e,t){const[n,o]=(0,r.useState)(),i=(0,r.useCallback)((()=>{o(e.current?.closest("[role=tabpanel][hidden]"))}),[e,o]);(0,r.useEffect)((()=>{i()}),[i]),function(e,t,n){void 0===n&&(n=D);const o=(0,x.zX)(t),i=(0,x.Ql)(n);(0,r.useEffect)((()=>{const t=new MutationObserver(o);return e&&t.observe(e,i),()=>t.disconnect()}),[e,o,i])}(n,(e=>{e.forEach((e=>{"attributes"===e.type&&"hidden"===e.attributeName&&(t(),i())}))}),{attributes:!0,characterData:!1,childList:!1,subtree:!1})}var C=n(16935);const O={codeLine:"codeLine_DPDv",codeLineNumber:"codeLineNumber_YxQB",codeLineContent:"codeLineContent_SOIp"};function $(e){let{line:t,classNames:n,showLineNumbers:r,getLineProps:o,getTokenProps:s}=e;1===t.length&&"\n"===t[0].content&&(t[0].content="");const a=o({line:t,className:(0,i.Z)(n,r&&O.codeLine)}),u=t.map(((e,t)=>(0,_.jsx)("span",{...s({token:e})},t)));return(0,_.jsxs)("span",{...a,children:[r?(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)("span",{className:O.codeLineNumber}),(0,_.jsx)("span",{className:O.codeLineContent,children:u})]}):u,(0,_.jsx)("br",{})]})}var A=n(1077);function P(e){return(0,_.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,_.jsx)("path",{fill:"currentColor",d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"})})}function j(e){return(0,_.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,_.jsx)("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})}const F={copyButtonCopied:"copyButtonCopied_Mzdr",copyButtonIcons:"copyButtonIcons_MVhB",copyButtonIcon:"copyButtonIcon_yxgH",copyButtonSuccessIcon:"copyButtonSuccessIcon_QJLJ"};function I(e){let{code:t,className:n}=e;const[o,s]=(0,r.useState)(!1),a=(0,r.useRef)(void 0),u=(0,r.useCallback)((()=>{!function(e,t){let{target:n=document.body}=void 0===t?{}:t;if("string"!=typeof e)throw new TypeError(`Expected parameter \`text\` to be a \`string\`, got \`${typeof e}\`.`);const r=document.createElement("textarea"),o=document.activeElement;r.value=e,r.setAttribute("readonly",""),r.style.contain="strict",r.style.position="absolute",r.style.left="-9999px",r.style.fontSize="12pt";const i=document.getSelection(),s=i.rangeCount>0&&i.getRangeAt(0);n.append(r),r.select(),r.selectionStart=0,r.selectionEnd=e.length;let a=!1;try{a=document.execCommand("copy")}catch{}r.remove(),s&&(i.removeAllRanges(),i.addRange(s)),o&&o.focus()}(t),s(!0),a.current=window.setTimeout((()=>{s(!1)}),1e3)}),[t]);return(0,r.useEffect)((()=>()=>window.clearTimeout(a.current)),[]),(0,_.jsx)("button",{type:"button","aria-label":o?(0,A.translate)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,A.translate)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,A.translate)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,i.Z)("clean-btn",n,F.copyButton,o&&F.copyButtonCopied),onClick:u,children:(0,_.jsxs)("span",{className:F.copyButtonIcons,"aria-hidden":"true",children:[(0,_.jsx)(P,{className:F.copyButtonIcon}),(0,_.jsx)(j,{className:F.copyButtonSuccessIcon})]})})}function N(e){return(0,_.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,_.jsx)("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})})}const T={wordWrapButtonIcon:"wordWrapButtonIcon_SMj9",wordWrapButtonEnabled:"wordWrapButtonEnabled_vR9E"};function M(e){let{className:t,onClick:n,isEnabled:r}=e;const o=(0,A.translate)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,_.jsx)("button",{type:"button",onClick:n,className:(0,i.Z)("clean-btn",t,r&&T.wordWrapButtonEnabled),"aria-label":o,title:o,children:(0,_.jsx)(N,{className:T.wordWrapButtonIcon,"aria-hidden":"true"})})}function R(e){let{children:t,className:n="",metastring:o,title:s,showLineNumbers:c,language:l}=e;const{prism:{defaultLanguage:f,magicComments:h}}=(0,a.L)(),p=function(e){return e?.toLowerCase()}(l??function(e){const t=e.split(" ").find((e=>e.startsWith("language-")));return t?.replace(/language-/,"")}(n)??f),m=u(),g=function(){const[e,t]=(0,r.useState)(!1),[n,o]=(0,r.useState)(!1),i=(0,r.useRef)(null),s=(0,r.useCallback)((()=>{const n=i.current.querySelector("code");e?n.removeAttribute("style"):(n.style.whiteSpace="pre-wrap",n.style.overflowWrap="anywhere"),t((e=>!e))}),[i,e]),a=(0,r.useCallback)((()=>{const{scrollWidth:e,clientWidth:t}=i.current,n=e>t||i.current.querySelector("code").hasAttribute("style");o(n)}),[i]);return S(i,a),(0,r.useEffect)((()=>{a()}),[e,a]),(0,r.useEffect)((()=>(window.addEventListener("resize",a,{passive:!0}),()=>{window.removeEventListener("resize",a)})),[a]),{codeBlockRef:i,isEnabled:e,isCodeScrollable:n,toggle:s}}(),y=function(e){return e?.match(d)?.groups.title??""}(o)||s,{lineClassNames:b,code:k}=v(t,{metastring:o,language:p,magicComments:h}),x=c??function(e){return Boolean(e?.includes("showLineNumbers"))}(o);return(0,_.jsxs)(w,{as:"div",className:(0,i.Z)(n,p&&!n.includes(`language-${p}`)&&`language-${p}`),children:[y&&(0,_.jsx)("div",{className:E.codeBlockTitle,children:y}),(0,_.jsxs)("div",{className:E.codeBlockContent,children:[(0,_.jsx)(C.y$,{theme:m,code:k,language:p??"text",children:e=>{let{className:t,style:n,tokens:r,getLineProps:o,getTokenProps:s}=e;return(0,_.jsx)("pre",{tabIndex:0,ref:g.codeBlockRef,className:(0,i.Z)(t,E.codeBlock,"thin-scrollbar"),style:n,children:(0,_.jsx)("code",{className:(0,i.Z)(E.codeBlockLines,x&&E.codeBlockLinesWithNumbering),children:r.map(((e,t)=>(0,_.jsx)($,{line:e,getLineProps:o,getTokenProps:s,classNames:b[t],showLineNumbers:x},t)))})})}}),(0,_.jsxs)("div",{className:E.buttonGroup,children:[(g.isEnabled||g.isCodeScrollable)&&(0,_.jsx)(M,{className:E.codeButton,onClick:()=>g.toggle(),isEnabled:g.isEnabled}),(0,_.jsx)(I,{className:E.codeButton,code:k})]})]})]})}function B(e){let{children:t,...n}=e;const i=(0,o.Z)(),s=function(e){return r.Children.toArray(e).some((e=>(0,r.isValidElement)(e)))?e:Array.isArray(e)?e.join(""):e}(t),a="string"==typeof s?R:k;return(0,_.jsx)(a,{...n,children:s},String(i))}},98480:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>m});var r=n(2784),o=n(40489),i=n(42530),s=n(89741),a=n(28698);const u={details:"details_B4FW",isBrowser:"isBrowser_Cof9",collapsibleContent:"collapsibleContent_VYua"};var c=n(52322);function l(e){return!!e&&("SUMMARY"===e.tagName||l(e.parentElement))}function f(e,t){return!!e&&(e===t||f(e.parentElement,t))}function d(e){let{summary:t,children:n,...d}=e;(0,i.Z)().collectAnchor(d.id);const h=(0,s.Z)(),p=(0,r.useRef)(null),{collapsed:m,setCollapsed:g}=(0,a.u)({initialState:!d.open}),[y,v]=(0,r.useState)(d.open),b=r.isValidElement(t)?t:(0,c.jsx)("summary",{children:t??"Details"});return(0,c.jsxs)("details",{...d,ref:p,open:y,"data-collapsed":m,className:(0,o.Z)(u.details,h&&u.isBrowser,d.className),onMouseDown:e=>{l(e.target)&&e.detail>1&&e.preventDefault()},onClick:e=>{e.stopPropagation();const t=e.target;l(t)&&f(t,p.current)&&(e.preventDefault(),m?(g(!1),v(!0)):g(!0))},children:[b,(0,c.jsx)(a.z,{lazy:!1,collapsed:m,disableSSRStyle:!0,onCollapseTransitionEnd:e=>{g(e),v(!e)},children:(0,c.jsx)("div",{className:u.collapsibleContent,children:n})})]})}const h={details:"details_SZgV"},p="alert alert--info";function m(e){let{...t}=e;return(0,c.jsx)(d,{...t,className:(0,o.Z)(p,h.details,t.className)})}},82009:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});n(2784);var r=n(40489);const o={tabItem:"tabItem_OMyP"};var i=n(52322);function s(e){let{children:t,hidden:n,className:s}=e;return(0,i.jsx)("div",{role:"tabpanel",className:(0,r.Z)(o.tabItem,s),hidden:n,children:t})}},77336:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>E});var r=n(2784),o=n(40489),i=n(24126),s=n(7267),a=n(70164),u=n(32424),c=n(42244),l=n(37611);function f(e){return r.Children.toArray(e).filter((e=>"\n"!==e)).map((e=>{if(!e||(0,r.isValidElement)(e)&&function(e){const{props:t}=e;return!!t&&"object"==typeof t&&"value"in t}(e))return e;throw new Error(`Docusaurus error: Bad child <${"string"==typeof e.type?e.type:e.type.name}>: all children of the component should be , and every should have a unique "value" prop.`)}))?.filter(Boolean)??[]}function d(e){const{values:t,children:n}=e;return(0,r.useMemo)((()=>{const e=t??function(e){return f(e).map((e=>{let{props:{value:t,label:n,attributes:r,default:o}}=e;return{value:t,label:n,attributes:r,default:o}}))}(n);return function(e){const t=(0,c.l)(e,((e,t)=>e.value===t.value));if(t.length>0)throw new Error(`Docusaurus error: Duplicate values "${t.map((e=>e.value)).join(", ")}" found in . Every value needs to be unique.`)}(e),e}),[t,n])}function h(e){let{value:t,tabValues:n}=e;return n.some((e=>e.value===t))}function p(e){let{queryString:t=!1,groupId:n}=e;const o=(0,s.k6)(),i=function(e){let{queryString:t=!1,groupId:n}=e;if("string"==typeof t)return t;if(!1===t)return null;if(!0===t&&!n)throw new Error('Docusaurus error: The component groupId prop is required if queryString=true, because this value is used as the search param name. You can also provide an explicit value such as queryString="my-search-param".');return n??null}({queryString:t,groupId:n});return[(0,u._X)(i),(0,r.useCallback)((e=>{if(!i)return;const t=new URLSearchParams(o.location.search);t.set(i,e),o.replace({...o.location,search:t.toString()})}),[i,o])]}function m(e){const{defaultValue:t,queryString:n=!1,groupId:o}=e,i=d(e),[s,u]=(0,r.useState)((()=>function(e){let{defaultValue:t,tabValues:n}=e;if(0===n.length)throw new Error("Docusaurus error: the component requires at least one children component");if(t){if(!h({value:t,tabValues:n}))throw new Error(`Docusaurus error: The has a defaultValue "${t}" but none of its children has the corresponding value. Available values are: ${n.map((e=>e.value)).join(", ")}. If you intend to show no default tab, use defaultValue={null} instead.`);return t}const r=n.find((e=>e.default))??n[0];if(!r)throw new Error("Unexpected error: 0 tabValues");return r.value}({defaultValue:t,tabValues:i}))),[c,f]=p({queryString:n,groupId:o}),[m,g]=function(e){let{groupId:t}=e;const n=function(e){return e?`docusaurus.tab.${e}`:null}(t),[o,i]=(0,l.Nk)(n);return[o,(0,r.useCallback)((e=>{n&&i.set(e)}),[n,i])]}({groupId:o}),y=(()=>{const e=c??m;return h({value:e,tabValues:i})?e:null})();(0,a.Z)((()=>{y&&u(y)}),[y]);return{selectedValue:s,selectValue:(0,r.useCallback)((e=>{if(!h({value:e,tabValues:i}))throw new Error(`Can't select invalid tab value=${e}`);u(e),f(e),g(e)}),[f,g,i]),tabValues:i}}var g=n(89741);const y={tabList:"tabList_M0Dn",tabItem:"tabItem_ysIP"};var v=n(52322);function b(e){let{className:t,block:n,selectedValue:r,selectValue:s,tabValues:a}=e;const u=[],{blockElementScrollPositionUntilNextRender:c}=(0,i.o5)(),l=e=>{const t=e.currentTarget,n=u.indexOf(t),o=a[n].value;o!==r&&(c(t),s(o))},f=e=>{let t=null;switch(e.key){case"Enter":l(e);break;case"ArrowRight":{const n=u.indexOf(e.currentTarget)+1;t=u[n]??u[0];break}case"ArrowLeft":{const n=u.indexOf(e.currentTarget)-1;t=u[n]??u[u.length-1];break}}t?.focus()};return(0,v.jsx)("ul",{role:"tablist","aria-orientation":"horizontal",className:(0,o.Z)("tabs",{"tabs--block":n},t),children:a.map((e=>{let{value:t,label:n,attributes:i}=e;return(0,v.jsx)("li",{role:"tab",tabIndex:r===t?0:-1,"aria-selected":r===t,ref:e=>u.push(e),onKeyDown:f,onClick:l,...i,className:(0,o.Z)("tabs__item",y.tabItem,i?.className,{"tabs__item--active":r===t}),children:n??t},t)}))})}function _(e){let{lazy:t,children:n,selectedValue:o}=e;const i=(Array.isArray(n)?n:[n]).filter(Boolean);if(t){const e=i.find((e=>e.props.value===o));return e?(0,r.cloneElement)(e,{className:"margin-top--md"}):null}return(0,v.jsx)("div",{className:"margin-top--md",children:i.map(((e,t)=>(0,r.cloneElement)(e,{key:t,hidden:e.props.value!==o})))})}function w(e){const t=m(e);return(0,v.jsxs)("div",{className:(0,o.Z)("tabs-container",y.tabList),children:[(0,v.jsx)(b,{...t,...e}),(0,v.jsx)(_,{...t,...e})]})}function E(e){const t=(0,g.Z)();return(0,v.jsx)(w,{...e,children:f(e.children)},String(t))}},14963:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(9966);t.default=function(){return o.default.createElement(o.default.Fragment,null,o.default.createElement(s.TypeLabel,null),"\xa0:\xa0",o.default.createElement(s.FalseLabel,null),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.default,{values:{id:"json-schema.labels.false"}},"Always invalid")))}},48800:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(9966),a=n(94598),u=n(77740),c=n(54884);t.default=function(e){let{schema:t}=e;const n=(0,a.useJSVOptionsContext)(),r="boolean"!=typeof t,l=r?t.description:void 0;return o.default.createElement(o.default.Fragment,null,o.default.createElement(s.TypeLabel,null),"\xa0:\xa0",o.default.createElement(s.TrueLabel,null),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.default,{values:{id:"json-schema.labels.true"}},"Always valid")),r&&o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(u.QualifierMessages,{schema:t,options:n})),void 0!==l&&o.default.createElement(c.CreateDescription,{description:l}))}},38753:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(77740),s=n(94598),a=n(9966),u=n(54884);t.default=function(e){const{schema:t,nullable:n,description:r}=e,c=(0,s.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.TypeLabel,null),"\xa0:\xa0",o.default.createElement(a.BooleanLabel,null),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.QualifierMessages,{schema:t,options:c,nullable:n})),void 0!==r&&o.default.createElement(u.CreateDescription,{description:r}))}},96187:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(94598);t.default=function(e){const{description:t}=e,{DescriptionComponent:n}=(0,i.useJSVOptionsContext)();return o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},n?o.default.createElement(n,{description:t}):t)}},15093:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(77740),s=n(94598),a=n(9966),u=n(54884);t.default=function(e){const{schema:t,nullable:n,description:r}=e,c=(0,s.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.TypeLabel,null),"\xa0:\xa0",o.default.createElement(a.IntegerLabel,null),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.QualifierMessages,{schema:t,options:c,nullable:n})),void 0!==r&&o.default.createElement(u.CreateDescription,{description:r}))}},18938:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(77740),s=n(94598),a=n(9966),u=n(54884);t.default=function(e){const{schema:t,description:n}=e,r=(0,s.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.TypeLabel,null),"\xa0:\xa0",o.default.createElement(a.NullLabel,null),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.QualifierMessages,{schema:t,options:r})),void 0!==n&&o.default.createElement(u.CreateDescription,{description:n}))}},1996:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(77740),s=n(94598),a=n(9966),u=n(54884);t.default=function(e){const{schema:t,description:n,nullable:r}=e,c=(0,s.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.TypeLabel,null),"\xa0:\xa0",o.default.createElement(a.NumberLabel,null),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.QualifierMessages,{schema:t,options:c,nullable:r})),void 0!==n&&o.default.createElement(u.CreateDescription,{description:n}))}},76559:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(77740),s=n(94598),a=n(9966),u=n(54884);t.default=function(e){const{schema:t,nullable:n,description:r}=e,c=(0,s.useJSVOptionsContext)(),l=t.format;return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.TypeLabel,null),"\xa0:\xa0",o.default.createElement(a.StringLabel,{format:l}),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(i.QualifierMessages,{schema:t,options:c,nullable:n})),void 0!==r&&o.default.createElement(u.CreateDescription,{description:r}))}},95566:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(94598),s=n(85685);t.default=function(e){const{value:t,schema:n}=e,{ValueComponent:r}=(0,i.useJSVOptionsContext)();return r?o.default.createElement(r,{value:t,schema:n}):(0,s.printSchemaType)(t)}},85901:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(51074);t.default=function(e){const{schema:t}=e;let n=t.dependencies,r=Object.entries(n).reduce(((e,t)=>{let[n,r]=t;return Array.isArray(r)?e.dependentRequired[n]=r:e.dependentSchemas[n]=r,e}),{dependentRequired:{},dependentSchemas:{}});return o.default.createElement(o.default.Fragment,null,Object.keys(r.dependentRequired).length>0&&o.default.createElement(i.DependentRequired,{schema:{dependentRequired:r.dependentRequired}}),Object.keys(r.dependentSchemas).length>0&&o.default.createElement(i.DependentSchemas,{schema:{dependentSchemas:r.dependentSchemas}}))}},31892:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(14043);t.default=function(e){const{schema:t}=e;let n=t.dependentRequired,r={allOf:Object.entries(n).map((e=>{let[t,n]=e;return{if:{type:"object",required:[t]},then:{type:"object",required:n}}}))};return o.default.createElement(i.AllOfSchema,{schema:r})}},79131:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(14043);t.default=function(e){const{schema:t}=e;let n=t.dependentSchemas,r={allOf:Object.entries(n).map((e=>{let[t,n]=e;return{if:{type:"object",required:[t]},then:n}}))};return o.default.createElement(i.AllOfSchema,{schema:r})}},54742:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(82009)),s=r(n(77336)),a=n(2204),u=n(94598),c=n(9966);t.default=function(e){const{schema:t}=e,n=void 0!==t.then,r=void 0!==t.else;let l=[{value:"schema_if",label:o.default.createElement(c.IfLabel,null)},n&&{value:"schema_then",label:o.default.createElement(c.ThenLabel,null)},r&&{value:"schema_else",label:o.default.createElement(c.ElseLabel,null)}].filter((e=>"boolean"!=typeof e));return o.default.createElement(s.default,{defaultValue:"schema_if",values:l},l.map((e=>o.default.createElement(i.default,{value:e.value,key:e.value},function(e,t){switch(e){case"schema_if":return o.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:"/if"},o.default.createElement(a.CreateNodes,{schema:t.if}));case"schema_then":return o.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:"/then"},o.default.createElement(a.CreateNodes,{schema:t.then}));case"schema_else":return o.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:"/else"},o.default.createElement(a.CreateNodes,{schema:t.else}))}}(e.value,t)))))}},51074:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaConditional=t.Dependencies=t.DependentSchemas=t.DependentRequired=t.IfElseThen=void 0;var o=n(54742);Object.defineProperty(t,"IfElseThen",{enumerable:!0,get:function(){return r(o).default}});var i=n(31892);Object.defineProperty(t,"DependentRequired",{enumerable:!0,get:function(){return r(i).default}});var s=n(79131);Object.defineProperty(t,"DependentSchemas",{enumerable:!0,get:function(){return r(s).default}});var a=n(85901);Object.defineProperty(t,"Dependencies",{enumerable:!0,get:function(){return r(a).default}});var u=n(94845);Object.defineProperty(t,"SchemaConditional",{enumerable:!0,get:function(){return r(u).default}})},53303:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);function u(e){let{count:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.additionalItemsEntry",count:t}},"items[{count},...]"))}t.default=function(e){const{schema:t}=e;let n=t.additionalItems;if(void 0===n||"boolean"==typeof n)return o.default.createElement(o.default.Fragment,null);const r=Array.isArray(t.items)?t.items.length:1;return o.default.createElement("ul",null,o.default.createElement(a.SchemaHierarchyComponent,{innerJsonPointer:"/additionalItems"},o.default.createElement(s.CreateEdge,{key:"array_additionalItems",name:o.default.createElement(u,{count:r}),schema:n,required:void 0!==t.minItems&&r>=t.minItems-1})))}},3606:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);t.default=function(e){const{schema:t}=e;let n=t.contains;if(void 0===n)return o.default.createElement(o.default.Fragment,null);const r=o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.containsEntry"}},"items[..., x, ...]"));return o.default.createElement("ul",null,o.default.createElement(a.SchemaHierarchyComponent,{innerJsonPointer:"/contains"},o.default.createElement(s.CreateEdge,{key:"contains",name:r,schema:n,required:void 0!==t.minContains&&t.minContains>0})))}},55242:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(30559)),s=r(n(3606)),a=r(n(77610)),u=r(n(53303)),c=r(n(96912)),l=n(77740),f=n(94598),d=n(9966),h=n(54884);t.default=function(e){const{schema:t,nullable:n,description:r}=e,p=(0,f.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(d.TypeLabel,null),"\xa0:\xa0",o.default.createElement(d.ArrayLabel,null),o.default.createElement(a.default,{schema:t}),o.default.createElement(i.default,{schema:t}),o.default.createElement(u.default,{schema:t}),o.default.createElement(c.default,{schema:t}),o.default.createElement(s.default,{schema:t}),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(l.QualifierMessages,{schema:t,options:p,nullable:n})),void 0!==r&&o.default.createElement(h.CreateDescription,{description:r}))}},30559:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);function u(e){let{index:t,isArray:n}=e,r=n?t:"x";return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.itemsEntry",index:r}},"items[{index}]"))}t.default=function(e){const{schema:t}=e;let n=t.items;if(void 0===n)return o.default.createElement(o.default.Fragment,null);const r=Array.isArray(t.prefixItems)?t.prefixItems.length:0,i=Array.isArray(n),c=Array.isArray(n)?n:[n],l=c.length;return o.default.createElement("ul",null,c.map(((e,n)=>o.default.createElement(a.SchemaHierarchyComponent,{key:`array_items_${n}`,innerJsonPointer:"/items"+(i?`/${n}`:"")},o.default.createElement(s.CreateEdge,{name:o.default.createElement(u,{index:r+n,isArray:i}),schema:e,required:void 0!==t.minItems&&t.minItems>=l})))))}},77610:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);function u(e){let{count:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.prefixItemsEntry",count:t}},"items[{count}]"))}t.default=function(e){const{schema:t}=e;let n=t.prefixItems;if(void 0===n)return o.default.createElement(o.default.Fragment,null);let r=Array.isArray(n),i=Array.isArray(n)?n.length:1,c=Array.isArray(n)?n:[n];return o.default.createElement("ul",null,c.map(((e,n)=>o.default.createElement(a.SchemaHierarchyComponent,{key:`schema_hierarchy_${n}`,innerJsonPointer:"/prefixItems"+(r?`/${n}`:"")},o.default.createElement(s.CreateEdge,{key:`array_prefixItems_${n}`,name:o.default.createElement(u,{count:n}),schema:e,required:void 0!==t.minItems&&t.minItems>=i})))))}},96912:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);function u(){return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.unevaluatedItemsEntry"}},"items[y]"))}t.default=function(e){const{schema:t}=e;let n=t.unevaluatedItems;return void 0===n||"boolean"==typeof n?o.default.createElement(o.default.Fragment,null):o.default.createElement("ul",null,o.default.createElement(a.SchemaHierarchyComponent,{innerJsonPointer:"/unevaluatedItems"},o.default.createElement(s.CreateEdge,{key:"array_unevaluatedItems",name:o.default.createElement(u,null),schema:n,required:!1})))}},39820:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CreateArray=void 0;var o=n(55242);Object.defineProperty(t,"CreateArray",{enumerable:!0,get:function(){return r(o).default}})},54884:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CreateValue=t.CreateDescription=t.CreateAlwaysInvalid=t.CreateAlwaysValid=t.CreateNull=t.CreateInteger=t.CreateNumber=t.CreateBoolean=t.CreateString=t.CreateArray=t.CreateObject=t.SchemaConditional=t.SchemaComposition=void 0;var o=n(14043);Object.defineProperty(t,"SchemaComposition",{enumerable:!0,get:function(){return o.SchemaComposition}});var i=n(51074);Object.defineProperty(t,"SchemaConditional",{enumerable:!0,get:function(){return i.SchemaConditional}});var s=n(52313);Object.defineProperty(t,"CreateObject",{enumerable:!0,get:function(){return s.CreateObject}});var a=n(39820);Object.defineProperty(t,"CreateArray",{enumerable:!0,get:function(){return a.CreateArray}});var u=n(76559);Object.defineProperty(t,"CreateString",{enumerable:!0,get:function(){return r(u).default}});var c=n(38753);Object.defineProperty(t,"CreateBoolean",{enumerable:!0,get:function(){return r(c).default}});var l=n(1996);Object.defineProperty(t,"CreateNumber",{enumerable:!0,get:function(){return r(l).default}});var f=n(15093);Object.defineProperty(t,"CreateInteger",{enumerable:!0,get:function(){return r(f).default}});var d=n(18938);Object.defineProperty(t,"CreateNull",{enumerable:!0,get:function(){return r(d).default}});var h=n(48800);Object.defineProperty(t,"CreateAlwaysValid",{enumerable:!0,get:function(){return r(h).default}});var p=n(14963);Object.defineProperty(t,"CreateAlwaysInvalid",{enumerable:!0,get:function(){return r(p).default}});var m=n(96187);Object.defineProperty(t,"CreateDescription",{enumerable:!0,get:function(){return r(m).default}});var g=n(95566);Object.defineProperty(t,"CreateValue",{enumerable:!0,get:function(){return r(g).default}})},34446:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);function u(){return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.additionalProperties"}},"property name*"))}t.default=function(e){const{schema:t}=e;let n=t.additionalProperties;return void 0===n||"boolean"==typeof n?o.default.createElement(o.default.Fragment,null):o.default.createElement("ul",null,o.default.createElement(a.SchemaHierarchyComponent,{innerJsonPointer:"/additionalProperties"},o.default.createElement(s.CreateEdge,{key:"object_additionalProperties",name:o.default.createElement(u,null),schema:n,required:!1})))}},18315:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(34446)),s=r(n(48439)),a=r(n(92190)),u=r(n(32457)),c=r(n(24595)),l=r(n(1431)),f=n(77740),d=n(94598),h=n(9966),p=n(54884);t.default=function(e){const{schema:t,nullable:n,description:r}=e,m=(0,d.useJSVOptionsContext)();return o.default.createElement(o.default.Fragment,null,o.default.createElement(h.TypeLabel,null),"\xa0:\xa0",o.default.createElement(h.ObjectLabel,null),o.default.createElement(c.default,{schema:t}),o.default.createElement(s.default,{schema:t}),o.default.createElement(a.default,{schema:t}),o.default.createElement(u.default,{schema:t}),o.default.createElement(i.default,{schema:t}),o.default.createElement(l.default,{schema:t}),o.default.createElement("div",{style:{marginTop:"var(--ifm-table-cell-padding)"}},o.default.createElement(f.QualifierMessages,{schema:t,options:m,nullable:n})),void 0!==r&&o.default.createElement(p.CreateDescription,{description:r}))}},92190:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204),s=n(94598),a=n(77740);t.default=function(e){const{schema:t}=e,n=t.patternProperties;return void 0===n?o.default.createElement(o.default.Fragment,null):o.default.createElement("ul",null,Object.entries(n).map((e=>{let[t,n]=e;return o.default.createElement(s.SchemaHierarchyComponent,{key:`object_patternProperties_${t}`,innerJsonPointer:`/patternProperties/${(0,a.encodeStringForJSONPointer)(t)}`},o.default.createElement(i.CreateEdge,{name:o.default.createElement("code",null,t),schema:n,required:!1}))})))}},48439:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204),s=n(94598),a=n(77740);t.default=function(e){const{schema:t}=e,n=t.properties;return void 0===n?o.default.createElement(o.default.Fragment,null):o.default.createElement("ul",null,Object.entries(n).map((e=>{let[n,r]=e;return o.default.createElement(s.SchemaHierarchyComponent,{key:`object_properties_${n}`,innerJsonPointer:`/properties/${(0,a.encodeStringForJSONPointer)(n)}`},o.default.createElement(i.CreateEdge,{name:o.default.createElement("strong",null,n),schema:r,required:!!Array.isArray(t.required)&&t.required.includes(n)}))})))}},32457:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204),s=n(94598);t.default=function(e){const{schema:t}=e;let n=t.propertyNames;if(void 0===n||"boolean"==typeof n||void 0===n.pattern)return o.default.createElement(o.default.Fragment,null);let r=n.pattern,a={...n};return delete a.pattern,o.default.createElement("ul",null,o.default.createElement(s.SchemaHierarchyComponent,{innerJsonPointer:"/propertyNames"},o.default.createElement(i.CreateEdge,{key:"propertyNames",name:o.default.createElement("code",null,r),schema:a,required:!1})))}},1431:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);function u(){return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.unevaluatedProperties"}},"property name*"))}t.default=function(e){const{schema:t}=e;let n=t.unevaluatedProperties;return void 0===n||"boolean"==typeof n?o.default.createElement(o.default.Fragment,null):o.default.createElement("ul",null,o.default.createElement(a.SchemaHierarchyComponent,{innerJsonPointer:"/unevaluatedProperties"},o.default.createElement(s.CreateEdge,{key:"object_unevaluatedProperties",name:o.default.createElement(u,null),schema:n,required:!1})))}},24595:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204),s=n(94598),a=n(77740);t.default=function(e){const{schema:t}=e,n=t.required||[],r=Object.keys(t.properties||{}),u=n.filter((e=>!r.includes(e)));return 0===u.length?o.default.createElement(o.default.Fragment,null):o.default.createElement("ul",null,u.map(((e,t)=>o.default.createElement(s.SchemaHierarchyComponent,{key:`object_unlisted_properties_${t}`,innerJsonPointer:`/properties/${(0,a.encodeStringForJSONPointer)(e)}`},o.default.createElement(i.CreateEdge,{name:o.default.createElement("strong",null,e),schema:!0,required:!0})))))}},52313:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CreateObject=void 0;var o=n(18315);Object.defineProperty(t,"CreateObject",{enumerable:!0,get:function(){return r(o).default}})},65296:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(82009)),s=r(n(77336)),a=n(2204),u=n(94598),c=n(77740);t.default=function(e){const{schema:t}=e;let n=t.allOf,r="allOf";return o.default.createElement("div",null,o.default.createElement("span",{className:"badge badge--info"},r),o.default.createElement(s.default,null,n.map(((e,t)=>o.default.createElement(i.default,{key:`schema_${r}_${t}`,value:`schema_${r}_${t}`,label:o.default.createElement(c.GenerateFriendlyName,{schema:e})},o.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:`/allOf/${t}`},o.default.createElement(a.CreateNodes,{schema:e})))))))}},74517:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(82009)),s=r(n(77336)),a=n(2204),u=n(94598),c=n(77740);t.default=function(e){const{schema:t}=e;let n=t.anyOf,r="anyOf";return o.default.createElement("div",null,o.default.createElement("span",{className:"badge badge--info"},r),o.default.createElement(s.default,null,n.map(((e,t)=>o.default.createElement(i.default,{key:`schema_${r}_${t}`,value:`schema_${r}_${t}`,label:o.default.createElement(c.GenerateFriendlyName,{schema:e})},o.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:`/anyOf/${t}`},o.default.createElement(a.CreateNodes,{schema:e})))))))}},14043:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaComposition=t.NotSchema=t.OneOfSchema=t.AnyOfSchema=t.AllOfSchema=void 0;var o=n(70213);Object.defineProperty(t,"AllOfSchema",{enumerable:!0,get:function(){return r(o).default}});var i=n(74517);Object.defineProperty(t,"AnyOfSchema",{enumerable:!0,get:function(){return r(i).default}});var s=n(49549);Object.defineProperty(t,"OneOfSchema",{enumerable:!0,get:function(){return r(s).default}});var a=n(83291);Object.defineProperty(t,"NotSchema",{enumerable:!0,get:function(){return r(a).default}});var u=n(17228);Object.defineProperty(t,"SchemaComposition",{enumerable:!0,get:function(){return r(u).default}})},83291:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204),s=n(94598);t.default=function(e){const{schema:t}=e;let n=t.not;return o.default.createElement("div",null,o.default.createElement("span",{className:"badge badge--danger"},"not"),o.default.createElement("br",null),o.default.createElement(s.SchemaHierarchyComponent,{innerJsonPointer:"/not"},o.default.createElement(i.CreateNodes,{schema:n})))}},49549:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(82009)),s=r(n(77336)),a=n(2204),u=n(94598),c=n(77740);t.default=function(e){const{schema:t}=e;let n=t.oneOf,r="oneOf";return o.default.createElement("div",null,o.default.createElement("span",{className:"badge badge--info"},r),o.default.createElement(s.default,null,n.map(((e,t)=>o.default.createElement(i.default,{key:`schema_${r}_${t}`,value:`schema_${r}_${t}`,label:o.default.createElement(c.GenerateFriendlyName,{schema:e})},o.default.createElement(u.SchemaHierarchyComponent,{innerJsonPointer:`/oneOf/${t}`},o.default.createElement(a.CreateNodes,{schema:e})))))))}},17228:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(14043);t.default=function(e){const{schema:t}=e;return o.default.createElement(o.default.Fragment,null,void 0!==t.oneOf&&o.default.createElement(i.OneOfSchema,{schema:t}),void 0!==t.anyOf&&o.default.createElement(i.AnyOfSchema,{schema:t}),void 0!==t.allOf&&o.default.createElement(i.AllOfSchema,{schema:t}),void 0!==t.not&&o.default.createElement(i.NotSchema,{schema:t}))}},83327:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(98480));t.default=function(e){const{summary:t,children:n,detailsProps:r}=e;return o.default.createElement(i.default,{summary:o.default.createElement("summary",null,t),...r},n)}},50279:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204);t.default=function(e){let{name:t,schema:n,required:r}=e;return o.default.createElement(i.SchemaItem,{name:t,schema:n,required:r})}},42360:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204),s=n(54884),a=n(2204),u=n(77740);t.default=function(e){const{schema:t}=e;if("boolean"==typeof t)return o.default.createElement(a.CreateValidOrInvalid,{schema:t});const n=(0,u.isSchemaComposition)(t),r=(0,u.isSchemaConditional)(t);return o.default.createElement(o.default.Fragment,null,o.default.createElement(i.CreateTypes,{schema:t}),n&&o.default.createElement(s.SchemaComposition,{schema:t}),r&&o.default.createElement(s.SchemaConditional,{schema:t}))}},8563:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(82009)),s=r(n(77336)),a=n(2204),u=n(77740);function c(e){const{schema:t,type:n,nullable:r}=e;return o.default.createElement(a.RenderProvidedType,{schema:t,type:n,nullable:r})}function l(e){const{schema:t,types:n,nullable:r}=e;return o.default.createElement(s.default,{defaultValue:n[0].value,values:n,key:"multiple_types"},n.map((e=>o.default.createElement(i.default,{key:e.value,value:e.value},o.default.createElement(a.RenderProvidedType,{type:e.value,schema:t,nullable:r})))))}t.default=function(e){const{schema:t}=e,n=(0,u.detectedTypes)(t),r=n.includes("null");if(1===n.length||r&&2===n.length){const e=n.find((e=>"null"!==e))||n[0];return o.default.createElement(c,{schema:t,type:e,nullable:r})}if(n.length>1){const e=n.filter((e=>"null"!==e)).map((e=>({value:e,label:o.default.createElement(a.TypeLabelSwitch,{type:e})})));return o.default.createElement(l,{schema:t,types:e,nullable:r})}return(0,u.isSchemaComposition)(t)?o.default.createElement(o.default.Fragment,null):o.default.createElement(a.CreateValidOrInvalid,{schema:t})}},67189:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(54884);t.default=function(e){const{schema:t}=e;return o.default.createElement(o.default.Fragment,null,t&&o.default.createElement(i.CreateAlwaysValid,{schema:t}),!t&&o.default.createElement(i.CreateAlwaysInvalid,null))}},99798:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(54884);t.default=function(e){let{schema:t,type:n,nullable:r}=e;const s={description:t.description,nullable:r};switch(n){case"array":return o.default.createElement(i.CreateArray,{schema:t,...s});case"object":return o.default.createElement(i.CreateObject,{schema:t,...s});case"string":return o.default.createElement(i.CreateString,{schema:t,...s});case"boolean":return o.default.createElement(i.CreateBoolean,{schema:t,...s});case"number":return o.default.createElement(i.CreateNumber,{schema:t,...s});case"integer":return o.default.createElement(i.CreateInteger,{schema:t,...s});default:return o.default.createElement(i.CreateNull,{schema:t,...s})}}},25321:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(2204),s=n(94598),a=n(9966),u=n(77740),c=r(n(86448));t.default=function(e){let{schema:t,name:n,required:r}=e;const{jsonPointer:l,level:f}=(0,s.useSchemaHierarchyContext)();let d=t,h="boolean"!=typeof d&&!0===d.deprecated,p="boolean"!=typeof d&&!0===d.readOnly,m="boolean"!=typeof d&&!0===d.writeOnly,g="boolean"!=typeof d&&(void 0!==d.const||Array.isArray(d.enum)&&1===d.enum.length),y=!h&&r;const v=o.default.createElement(o.default.Fragment,null,n,"\xa0",o.default.createElement(u.GenerateFriendlyName,{schema:t}),y&&o.default.createElement(o.default.Fragment,null,"\xa0"),y&&o.default.createElement(a.RequiredLabel,null),h&&o.default.createElement(o.default.Fragment,null,"\xa0"),h&&o.default.createElement(a.DeprecatedLabel,null),p&&o.default.createElement(o.default.Fragment,null,"\xa0"),p&&o.default.createElement(a.ReadOnlyLabel,null),m&&o.default.createElement(o.default.Fragment,null,"\xa0"),m&&o.default.createElement(a.WriteOnlyLabel,null),g&&o.default.createElement(o.default.Fragment,null,"\xa0"),g&&o.default.createElement(a.ConstantLabel,null));return o.default.createElement("li",{className:c.default.schemaItem,id:l,"data-level":f},o.default.createElement(i.Collapsible,{summary:v,detailsProps:{open:!1}},o.default.createElement(o.default.Fragment,null,o.default.createElement(i.CreateNodes,{schema:t}))))}},40080:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(9966);t.default=function(e){const{type:t,...n}=e;switch(t){case"string":return o.default.createElement(i.StringLabel,{...n});case"number":return o.default.createElement(i.NumberLabel,{...n});case"boolean":return o.default.createElement(i.BooleanLabel,{...n});case"object":return o.default.createElement(i.ObjectLabel,{...n});case"array":return o.default.createElement(i.ArrayLabel,{...n});case"integer":return o.default.createElement(i.IntegerLabel,{...n});case"null":return o.default.createElement(i.NullLabel,{...n});case!0:return o.default.createElement(i.TrueLabel,{...n});case!1:return o.default.createElement(i.FalseLabel,{...n});default:return o.default.createElement("span",{style:{opacity:"0.6"}},t)}}},2204:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaItem=t.RenderProvidedType=t.TypeLabelSwitch=t.CreateTypes=t.CreateValidOrInvalid=t.CreateEdge=t.CreateNodes=t.Collapsible=void 0;var o=n(83327);Object.defineProperty(t,"Collapsible",{enumerable:!0,get:function(){return r(o).default}});var i=n(14130);Object.defineProperty(t,"CreateNodes",{enumerable:!0,get:function(){return r(i).default}});var s=n(50279);Object.defineProperty(t,"CreateEdge",{enumerable:!0,get:function(){return r(s).default}});var a=n(67189);Object.defineProperty(t,"CreateValidOrInvalid",{enumerable:!0,get:function(){return r(a).default}});var u=n(8563);Object.defineProperty(t,"CreateTypes",{enumerable:!0,get:function(){return r(u).default}});var c=n(40080);Object.defineProperty(t,"TypeLabelSwitch",{enumerable:!0,get:function(){return r(c).default}});var l=n(99798);Object.defineProperty(t,"RenderProvidedType",{enumerable:!0,get:function(){return r(l).default}});var f=n(25321);Object.defineProperty(t,"SchemaItem",{enumerable:!0,get:function(){return r(f).default}})},94598:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(60168),t),o(n(50121),t)},60168:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JSVOptionsContextProvider=t.useJSVOptionsContext=t.JSVOptionsContext=void 0;const r=n(2784);t.JSVOptionsContext=(0,r.createContext)({fullSchema:!1,showExamples:!1,qualifierMessagesOrder:void 0,DescriptionComponent:void 0,UnresolvedRefsComponent:void 0});t.useJSVOptionsContext=()=>(0,r.useContext)(t.JSVOptionsContext),t.JSVOptionsContextProvider=t.JSVOptionsContext.Provider},50121:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaHierarchyComponent=t.SchemaHierarchyContextProvider=t.useSchemaHierarchyContext=t.SchemaHierarchyContext=void 0;const s=i(n(2784));t.SchemaHierarchyContext=(0,s.createContext)({jsonPointer:"",level:0});t.useSchemaHierarchyContext=()=>(0,s.useContext)(t.SchemaHierarchyContext),t.SchemaHierarchyContextProvider=t.SchemaHierarchyContext.Provider,t.SchemaHierarchyComponent=function(e){let{innerJsonPointer:n,children:r}=e;const{jsonPointer:o,level:i}=(0,t.useSchemaHierarchyContext)();return s.default.createElement(t.SchemaHierarchyContextProvider,{value:{jsonPointer:`${o}${n}`,level:i+1}},r)}},70056:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});const s=i(n(2784)),a=n(20028),u=n(2204),c=n(94598),l=n(9966);function f(e){const{error:t}=e;return s.default.createElement("div",null,s.default.createElement(l.ErrorOccurredLabel,{error:t}))}function d(e){const{schema:t,viewerOptions:n}=e,r="boolean"!=typeof t&&void 0!==t.title?t.title:"Schema",o={fullSchema:t,...n};return s.default.createElement(c.SchemaHierarchyContextProvider,{value:{jsonPointer:"",level:0}},s.default.createElement(c.JSVOptionsContextProvider,{value:o},s.default.createElement(u.Collapsible,{summary:s.default.createElement("strong",null,r),detailsProps:{open:!0,className:e.className||"json-schema-viewer"}},s.default.createElement(u.CreateNodes,{schema:t}))))}t.default=function(e){const{schema:t,resolverOptions:n,viewerOptions:r}=e,[o,i]=(0,s.useState)(void 0),[u,c]=(0,s.useState)(void 0);return(0,s.useEffect)((()=>{(new a.Resolver).resolve(t,n).then((e=>{c(e.result)})).catch((e=>{i(e)}))}),[]),void 0!==o?s.default.createElement(f,{error:o}):void 0===u?s.default.createElement(l.LoadingLabel,null):s.default.createElement(d,{schema:u,viewerOptions:r,className:e.className})}},34929:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(o.default.Fragment,null,"\xa0");return o.default.createElement(o.default.Fragment,null,e,o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.and"}},"AND")),e)}},23492:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.array"}},"array"))}},29277:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.boolean"}},"boolean"))}},59164:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=r(n(89754));t.default=function(){return o.default.createElement("strong",{className:s.default.constant},o.default.createElement(i.default,{values:{id:"json-schema.keywords.const"}},"constant"))}},55548:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=r(n(3350));t.default=function(){return o.default.createElement("strong",{className:s.default.deprecated},o.default.createElement(i.default,{values:{id:"json-schema.keywords.deprecated"}},"deprecated"))}},66113:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.else"}},"Else"))}},43297:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(e){const{error:t}=e;return o.default.createElement(i.default,{values:{id:"json-schema.labels.errorOccurred",message:t.message}},"Something bad happens : {message}")}},94315:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.false"}},"none"))}},61380:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.if"}},"If"))}},15973:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.integer"}},"integer"))}},3207:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("div",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.loading"}},"Loading ...."))}},83204:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.not"}},"NOT"))}},6760:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.null"}},"null"))}},17487:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.number"}},"number"))}},93594:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.object"}},"object"))}},27532:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(o.default.Fragment,null,"\xa0");return o.default.createElement(o.default.Fragment,null,e,o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.or"}},"OR")),e)}},23373:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=r(n(65950));t.default=function(){return o.default.createElement("strong",{className:s.default.readOnly},o.default.createElement(i.default,{values:{id:"json-schema.keywords.readOnly"}},"readOnly"))}},35405:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=r(n(43654));t.default=function(){return o.default.createElement("strong",{className:s.default.required},o.default.createElement(i.default,{values:{id:"json-schema.keywords.required"}},"required"))}},74591:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(e){let{format:t}=e;return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.string"}},"string"),void 0!==t&&o.default.createElement(o.default.Fragment,null,"\xa0",`(${t})`))}},77502:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.then"}},"Then"))}},83978:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("span",{style:{opacity:"0.6"}},o.default.createElement(i.default,{values:{id:"json-schema.keywords.true"}},"any"))}},74731:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){return o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.type",count:1}},"type"))}},82093:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=r(n(65128));t.default=function(){return o.default.createElement("strong",{className:s.default.writeOnly},o.default.createElement(i.default,{values:{id:"json-schema.keywords.writeOnly"}},"writeOnly"))}},25006:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(o.default.Fragment,null,"\xa0");return o.default.createElement(o.default.Fragment,null,e,o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.xor"}},"XOR")),e)}},9966:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ConstantLabel=t.XorLabel=t.NotLabel=t.OrLabel=t.AndLabel=t.NullLabel=t.IntegerLabel=t.NumberLabel=t.BooleanLabel=t.StringLabel=t.FalseLabel=t.TrueLabel=t.WriteOnlyLabel=t.ReadOnlyLabel=t.DeprecatedLabel=t.RequiredLabel=t.ErrorOccurredLabel=t.LoadingLabel=t.ElseLabel=t.ThenLabel=t.IfLabel=t.TypeLabel=t.ArrayLabel=t.ObjectLabel=void 0;var o=n(93594);Object.defineProperty(t,"ObjectLabel",{enumerable:!0,get:function(){return r(o).default}});var i=n(23492);Object.defineProperty(t,"ArrayLabel",{enumerable:!0,get:function(){return r(i).default}});var s=n(74731);Object.defineProperty(t,"TypeLabel",{enumerable:!0,get:function(){return r(s).default}});var a=n(61380);Object.defineProperty(t,"IfLabel",{enumerable:!0,get:function(){return r(a).default}});var u=n(77502);Object.defineProperty(t,"ThenLabel",{enumerable:!0,get:function(){return r(u).default}});var c=n(66113);Object.defineProperty(t,"ElseLabel",{enumerable:!0,get:function(){return r(c).default}});var l=n(3207);Object.defineProperty(t,"LoadingLabel",{enumerable:!0,get:function(){return r(l).default}});var f=n(43297);Object.defineProperty(t,"ErrorOccurredLabel",{enumerable:!0,get:function(){return r(f).default}});var d=n(35405);Object.defineProperty(t,"RequiredLabel",{enumerable:!0,get:function(){return r(d).default}});var h=n(55548);Object.defineProperty(t,"DeprecatedLabel",{enumerable:!0,get:function(){return r(h).default}});var p=n(23373);Object.defineProperty(t,"ReadOnlyLabel",{enumerable:!0,get:function(){return r(p).default}});var m=n(82093);Object.defineProperty(t,"WriteOnlyLabel",{enumerable:!0,get:function(){return r(m).default}});var g=n(83978);Object.defineProperty(t,"TrueLabel",{enumerable:!0,get:function(){return r(g).default}});var y=n(94315);Object.defineProperty(t,"FalseLabel",{enumerable:!0,get:function(){return r(y).default}});var v=n(74591);Object.defineProperty(t,"StringLabel",{enumerable:!0,get:function(){return r(v).default}});var b=n(29277);Object.defineProperty(t,"BooleanLabel",{enumerable:!0,get:function(){return r(b).default}});var _=n(17487);Object.defineProperty(t,"NumberLabel",{enumerable:!0,get:function(){return r(_).default}});var w=n(15973);Object.defineProperty(t,"IntegerLabel",{enumerable:!0,get:function(){return r(w).default}});var E=n(6760);Object.defineProperty(t,"NullLabel",{enumerable:!0,get:function(){return r(E).default}});var k=n(34929);Object.defineProperty(t,"AndLabel",{enumerable:!0,get:function(){return r(k).default}});var x=n(27532);Object.defineProperty(t,"OrLabel",{enumerable:!0,get:function(){return r(x).default}});var D=n(83204);Object.defineProperty(t,"NotLabel",{enumerable:!0,get:function(){return r(D).default}});var S=n(25006);Object.defineProperty(t,"XorLabel",{enumerable:!0,get:function(){return r(S).default}});var C=n(59164);Object.defineProperty(t,"ConstantLabel",{enumerable:!0,get:function(){return r(C).default}})},93325:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(9966);function a(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.minContains",count:t}},"at least {count} valid item(s)"))}function u(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.maxContains",count:t}},"at most {count} valid item(s)"))}t.default=function(e){const{schema:t}=e;let n=t,r=void 0!==n.minContains&&void 0!==n.maxContains;const c=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.contains"}},"Must contain : "));return o.default.createElement("div",{key:r?"minContainsAndmaxContains":void 0!==n.minContains?"minContains":"maxContains"},c,"\xa0",void 0!==n.minContains&&o.default.createElement(a,{value:n.minContains}),r&&o.default.createElement(s.AndLabel,null),void 0!==n.maxContains&&o.default.createElement(u,{value:n.maxContains}))}},40877:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(9966);function a(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.minItems",count:t}},">= {count}"))}function u(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.maxItems",count:t}},"<= {count}"))}t.default=function(e){const{schema:t}=e;let n=void 0!==t.minItems&&void 0!==t.maxItems;const r=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.lengthItems"}},"Length :"));return o.default.createElement("div",{key:n?"minItemsAndmaxItems":void 0!==t.minItems?"minItems":"maxItems"},r,"\xa0",void 0!==t.minItems&&o.default.createElement(a,{value:t.minItems}),n&&o.default.createElement(s.AndLabel,null),void 0!==t.maxItems&&o.default.createElement(u,{value:t.maxItems}))}},92065:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.uniqueItems"}},"Unique items :")),t=o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.uniqueItemsOnly"}},"yes"));return o.default.createElement("div",{key:"uniqueItems"},e,"\xa0",t)}},69705:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(54884);t.default=function(e){const{schema:t}=e,n=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.const"}},"Constant value :"));return o.default.createElement("div",{key:"const"},n,"\xa0",o.default.createElement(s.CreateValue,{value:t.const,schema:t}))}},47131:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(85685);t.default=function(e){const{schema:t}=e,n=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.contentEncoding"}},"Encoding :"));return o.default.createElement("div",{key:"contentEncoding"},n,"\xa0",(0,s.printSchemaType)(t.contentEncoding))}},76884:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(85685);t.default=function(e){const{schema:t}=e,n=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.contentMediaType"}},"Media type :"));return o.default.createElement("div",{key:"contentMediaType"},n,"\xa0",(0,s.printSchemaType)(t.contentMediaType))}},85734:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(2204),a=n(94598);t.default=function(e){const{schema:t}=e,n=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.contentSchema"}},"Decoded content must be validated against this schema :"));return o.default.createElement("div",{key:"contentSchema"},n,"\xa0",o.default.createElement(s.Collapsible,{summary:o.default.createElement("strong",null,"Schema"),detailsProps:{open:!0}},o.default.createElement(a.SchemaHierarchyComponent,{innerJsonPointer:"/contentSchema"},o.default.createElement(s.CreateNodes,{schema:t.contentSchema}))))}},69617:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(54884);t.default=function(e){const{schema:t}=e,n=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.default"}},"Default value :"));return o.default.createElement("div",{key:"default"},n,"\xa0",o.default.createElement(s.CreateValue,{value:t.default,schema:t}))}},99272:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(i.default,{values:{id:"json-schema.labels.deprecated"}},"Deprecated");return o.default.createElement("div",{key:"deprecated"},"\ud83d\udea8\xa0",e)}},78661:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(54884);t.default=function(e){const{schema:t}=e,n=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.enum"}},"Possible values :"));return o.default.createElement("div",{key:"enum"},n,"\xa0",o.default.createElement("ul",null,t.enum.map(((e,n)=>o.default.createElement("li",{key:n},o.default.createElement(s.CreateValue,{value:e,schema:t}))))))}},21499:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=r(n(82009)),a=r(n(77336)),u=n(54884);t.default=function(e){const{schema:t}=e,n=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.examples"}},"Example values :"));let r=t.examples.map(((e,t)=>({id:t,value:e,label:o.default.createElement(i.default,{values:{id:"json-schema.labels.exampleItem",index:t}},"Example {index}")})));return o.default.createElement("div",{key:"examples"},n,"\xa0",o.default.createElement(a.default,null,r.map((e=>o.default.createElement(s.default,{key:e.id,value:e.id.toString(),label:e.label},o.default.createElement(u.CreateValue,{value:e.value,schema:t}))))))}},34785:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(i.default,{values:{id:"json-schema.labels.noExtraItems"}},"No extra item(s) are authorized in this array");return o.default.createElement("div",{key:"no-extra-items"},"\ud83d\udea8\xa0",e)}},71722:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(i.default,{values:{id:"json-schema.labels.noExtraProperties"}},"No extra propertie(s) are authorized in this object");return o.default.createElement("div",{key:"no-extra-properties"},"\ud83d\udea8\xa0",e)}},7004:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(i.default,{values:{id:"json-schema.labels.nullable"}},"Nullable");return o.default.createElement("div",{key:"nullable"},"\u2753\xa0",e)}},81165:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(9966);function a(e){let{value:t,exclusive:n}=e;return n?o.default.createElement(i.default,{values:{id:"json-schema.keywords.minimumExlusive",count:t}},"> {count}"):o.default.createElement(i.default,{values:{id:"json-schema.keywords.minimum",count:t}},">= {count}")}function u(e){let{value:t,exclusive:n}=e;return n?o.default.createElement(i.default,{values:{id:"json-schema.keywords.maximumExlusive",count:t}},"< {count}"):o.default.createElement(i.default,{values:{id:"json-schema.keywords.maximum",count:t}},"<= {count}")}t.default=function(e){const{schema:t}=e;let n=t.exclusiveMinimum||t.minimum,r=void 0!==t.exclusiveMinimum,c=t.exclusiveMaximum||t.maximum,l=void 0!==t.exclusiveMaximum;const f=void 0!==n&&void 0!==c,d=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.numberMinimumMaximum"}},"Possible values :"));return o.default.createElement("div",{key:"number-range"},d,"\xa0",void 0!==n&&o.default.createElement("code",null,o.default.createElement(a,{exclusive:r,value:n})),f&&o.default.createElement(s.AndLabel,null),void 0!==c&&o.default.createElement("code",null,o.default.createElement(u,{exclusive:l,value:c})))}},72040:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(e){const{schema:t}=e;return o.default.createElement("div",{key:"multipleOf"},o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.multipleOf"}},"Possible values :")),"\xa0",o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.multipleOf",count:t.multipleOf}},"multiple of {count}")))}},85769:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(9966);function a(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.minProperties",count:t}},">= {count} propertie(s)"))}function u(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.maxProperties",count:t}},"<= {count} propertie(s)"))}t.default=function(e){const{schema:t}=e;let n=void 0!==t.minProperties&&void 0!==t.maxProperties;const r=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.lengthProperties"}},"Length :"));return o.default.createElement("div",{key:n?"minPropertiesAndMaxProperties":void 0!==t.minProperties?"minProperties":"maxProperties"},r,"\xa0",void 0!==t.minProperties&&o.default.createElement(a,{value:t.minProperties}),n&&o.default.createElement(s.AndLabel,null),void 0!==t.maxProperties&&o.default.createElement(u,{value:t.maxProperties}))}},74490:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(e){const{schema:t}=e;return o.default.createElement("div",{key:"pattern"},o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.pattern"}},"Pattern :")),"\xa0",o.default.createElement("code",null,t.pattern))}},16272:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_ORDER=t.CHECKS_MAP=void 0;const a=s(n(2784)),u=i(n(85685)),c=n(7639),l={nullable:{match:e=>{let{nullable:t}=e;return!0===t},Component:()=>a.default.createElement(u.NullableQM,{key:"nullable"})},deprecated:{match:e=>{let{schema:t}=e;return!0===t.deprecated},Component:()=>a.default.createElement(u.DeprecatedQM,{key:"deprecated"})},readOnly:{match:e=>{let{schema:t}=e;return!0===t.readOnly},Component:()=>a.default.createElement(u.ReadOnlyQM,{key:"readOnly"})},writeOnly:{match:e=>{let{schema:t}=e;return!0===t.writeOnly},Component:()=>a.default.createElement(u.WriteOnlyQM,{key:"writeOnly"})},enum:{match:e=>{let{schema:t}=e;return void 0!==t.enum},Component:e=>{let{schema:t}=e;return a.default.createElement(u.EnumQM,{key:"enum",schema:t})}},stringLength:{match:e=>{let{schema:t}=e;return void 0!==t.minLength||void 0!==t.maxLength},Component:e=>{let{schema:t}=e;return a.default.createElement(u.StringLengthQM,{key:"stringLength",schema:t})}},objectProperties:{match:e=>{let{schema:t}=e;return void 0!==t.minProperties||void 0!==t.maxProperties},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ObjectPropertiesQM,{key:"objectProperties",schema:t})}},"no-extra-properties":{match:e=>{let{schema:t}=e;return!1===t.additionalProperties||!1===t.unevaluatedProperties},Component:()=>a.default.createElement(u.NoExtraPropertiesQM,{key:"no-extra-properties"})},arrayItems:{match:e=>{let{schema:t}=e;return void 0!==t.minItems||void 0!==t.maxItems},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ArrayNumberOfItemsQM,{key:"arrayItems",schema:t})}},arrayContains:{match:e=>{let{schema:t}=e;return void 0!==t.minContains||void 0!==t.maxContains},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ArrayContainsNumberQM,{key:"arrayContains",schema:t})}},"no-extra-items":{match:e=>{let{schema:t}=e;return!1===t.unevaluatedItems||!1===t.items||!1===t.additionalItems},Component:()=>a.default.createElement(u.NoExtraItemsQM,{key:"no-extra-items"})},"number-range":{match:e=>{let{schema:t}=e;return void 0!==t.minimum||void 0!==t.exclusiveMinimum||void 0!==t.maximum||void 0!==t.exclusiveMaximum},Component:e=>{let{schema:t}=e;return a.default.createElement(u.NumberBoundsQM,{key:"number-range",schema:t})}},pattern:{match:e=>{let{schema:t}=e;return void 0!==t.pattern},Component:e=>{let{schema:t}=e;return a.default.createElement(u.PatternQM,{key:"pattern",schema:t})}},multipleOf:{match:e=>{let{schema:t}=e;return void 0!==t.multipleOf},Component:e=>{let{schema:t}=e;return a.default.createElement(u.MultipleOfQM,{key:"multipleOf",schema:t})}},uniqueItems:{match:e=>{let{schema:t}=e;return void 0!==t.uniqueItems&&!0===t.uniqueItems},Component:()=>a.default.createElement(u.ArrayUniqueItemsQM,{key:"uniqueItems"})},default:{match:e=>{let{schema:t}=e;return void 0!==t.default},Component:e=>{let{schema:t}=e;return a.default.createElement(u.DefaultValueQM,{key:"default",schema:t})}},const:{match:e=>{let{schema:t}=e;return void 0!==t.const},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ConstantQM,{key:"const",schema:t})}},examples:{match:e=>{let{schema:t,options:n}=e;return!0===n.showExamples&&void 0!==t.examples},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ExamplesQM,{key:"examples",schema:t})}},contentMediaType:{match:e=>{let{schema:t}=e;return void 0!==t.contentMediaType},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ContentMediaTypeQM,{key:"contentMediaType",schema:t})}},contentEncoding:{match:e=>{let{schema:t}=e;return void 0!==t.contentEncoding},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ContentEncodingQM,{key:"contentEncoding",schema:t})}},contentSchema:{match:e=>{let{schema:t}=e;return void 0!==t.contentSchema},Component:e=>{let{schema:t}=e;return a.default.createElement(u.ContentSchemaQM,{key:"contentSchema",schema:t})}},unsolvedRefs:{match:e=>{let{schema:t}=e;return(0,c.hasUnresolvedRefs)(t)},Component:e=>a.default.createElement(u.UnsolvedRefsQM,{key:"unsolvedRefs",...e})}};t.CHECKS_MAP=l;t.DEFAULT_ORDER=["nullable","deprecated","readOnly","writeOnly","enum","stringLength","objectProperties","no-extra-properties","arrayItems","arrayContains","no-extra-items","number-range","pattern","multipleOf","uniqueItems","contentEncoding","contentMediaType","contentSchema","default","const","examples","unsolvedRefs"]},88870:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(i.default,{values:{id:"json-schema.labels.readOnly"}},"read only");return o.default.createElement("div",{key:"readOnly"},"\ud83d\udea8\xa0",e)}},6165:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077)),s=n(9966);function a(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.minLength",count:t}},">= {count} character(s)"))}function u(e){let{value:t}=e;return o.default.createElement("code",null,o.default.createElement(i.default,{values:{id:"json-schema.keywords.maxLength",count:t}},"<= {count} character(s)"))}t.default=function(e){const{schema:t}=e;let n=void 0!==t.minLength&&void 0!==t.maxLength;const r=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.length"}},"Length :"));return o.default.createElement("div",{key:n?"minLengthAndmaxLength":void 0!==t.minLength?"minLength":"maxLength"},r,"\xa0",void 0!==t.minLength&&o.default.createElement(a,{value:t.minLength}),n&&o.default.createElement(s.AndLabel,null),void 0!==t.maxLength&&o.default.createElement(u,{value:t.maxLength}))}},70951:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(e){const{schema:t,options:{UnresolvedRefsComponent:n}}=e,r=o.default.createElement("strong",null,o.default.createElement(i.default,{values:{id:"json-schema.labels.unsolvedRefs"}},"Unsolved ref(s) :"));let s=[t.$ref,t.$dynamicRef,t.$recursiveRef].filter((e=>void 0!==e)).join(" ");return o.default.createElement("div",{key:"unsolvedRefs"},n?o.default.createElement(n,{schema:t}):o.default.createElement(o.default.Fragment,null,r,"\xa0",s))}},64832:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=r(n(1077));t.default=function(){const e=o.default.createElement(i.default,{values:{id:"json-schema.labels.writeOnly"}},"write only");return o.default.createElement("div",{key:"writeOnly"},"\ud83d\udea8\xa0",e)}},85685:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.QUALIFIERS_DEFAULT_ORDER=t.QUALIFIERS_MAP=t.UnsolvedRefsQM=t.ContentSchemaQM=t.ContentEncodingQM=t.ContentMediaTypeQM=t.NullableQM=t.WriteOnlyQM=t.ReadOnlyQM=t.DeprecatedQM=t.ExamplesQM=t.ConstantQM=t.DefaultValueQM=t.ArrayUniqueItemsQM=t.MultipleOfQM=t.PatternQM=t.NumberBoundsQM=t.NoExtraItemsQM=t.ArrayContainsNumberQM=t.ArrayNumberOfItemsQM=t.NoExtraPropertiesQM=t.ObjectPropertiesQM=t.StringLengthQM=t.EnumQM=t.printSchemaType=void 0;const o=r(n(2784)),i=r(n(84560));t.printSchemaType=function(e){return["string","number","bigint","boolean"].includes(typeof e)?o.default.createElement("code",null,e.toString()):o.default.createElement(i.default,{language:"json"},`${JSON.stringify(e)}`)};var s=n(78661);Object.defineProperty(t,"EnumQM",{enumerable:!0,get:function(){return r(s).default}});var a=n(6165);Object.defineProperty(t,"StringLengthQM",{enumerable:!0,get:function(){return r(a).default}});var u=n(85769);Object.defineProperty(t,"ObjectPropertiesQM",{enumerable:!0,get:function(){return r(u).default}});var c=n(71722);Object.defineProperty(t,"NoExtraPropertiesQM",{enumerable:!0,get:function(){return r(c).default}});var l=n(40877);Object.defineProperty(t,"ArrayNumberOfItemsQM",{enumerable:!0,get:function(){return r(l).default}});var f=n(93325);Object.defineProperty(t,"ArrayContainsNumberQM",{enumerable:!0,get:function(){return r(f).default}});var d=n(34785);Object.defineProperty(t,"NoExtraItemsQM",{enumerable:!0,get:function(){return r(d).default}});var h=n(81165);Object.defineProperty(t,"NumberBoundsQM",{enumerable:!0,get:function(){return r(h).default}});var p=n(74490);Object.defineProperty(t,"PatternQM",{enumerable:!0,get:function(){return r(p).default}});var m=n(72040);Object.defineProperty(t,"MultipleOfQM",{enumerable:!0,get:function(){return r(m).default}});var g=n(92065);Object.defineProperty(t,"ArrayUniqueItemsQM",{enumerable:!0,get:function(){return r(g).default}});var y=n(69617);Object.defineProperty(t,"DefaultValueQM",{enumerable:!0,get:function(){return r(y).default}});var v=n(69705);Object.defineProperty(t,"ConstantQM",{enumerable:!0,get:function(){return r(v).default}});var b=n(21499);Object.defineProperty(t,"ExamplesQM",{enumerable:!0,get:function(){return r(b).default}});var _=n(99272);Object.defineProperty(t,"DeprecatedQM",{enumerable:!0,get:function(){return r(_).default}});var w=n(88870);Object.defineProperty(t,"ReadOnlyQM",{enumerable:!0,get:function(){return r(w).default}});var E=n(64832);Object.defineProperty(t,"WriteOnlyQM",{enumerable:!0,get:function(){return r(E).default}});var k=n(7004);Object.defineProperty(t,"NullableQM",{enumerable:!0,get:function(){return r(k).default}});var x=n(76884);Object.defineProperty(t,"ContentMediaTypeQM",{enumerable:!0,get:function(){return r(x).default}});var D=n(47131);Object.defineProperty(t,"ContentEncodingQM",{enumerable:!0,get:function(){return r(D).default}});var S=n(85734);Object.defineProperty(t,"ContentSchemaQM",{enumerable:!0,get:function(){return r(S).default}});var C=n(70951);Object.defineProperty(t,"UnsolvedRefsQM",{enumerable:!0,get:function(){return r(C).default}});var O=n(16272);Object.defineProperty(t,"QUALIFIERS_MAP",{enumerable:!0,get:function(){return O.CHECKS_MAP}}),Object.defineProperty(t,"QUALIFIERS_DEFAULT_ORDER",{enumerable:!0,get:function(){return O.DEFAULT_ORDER}})},7639:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.detectedTypes=t.hasUnresolvedRefs=t.isNull=t.isBoolean=t.isSchemaConditional=t.isSchemaComposition=t.isInteger=t.isNumeric=t.isStringType=t.isArrayType=t.isObjectType=void 0;t.isObjectType=e=>"boolean"!=typeof e&&("object"===e.type||void 0!==e.properties||void 0!==e.additionalProperties||void 0!==e.patternProperties||void 0!==e.propertyNames||void 0!==e.minProperties||void 0!==e.maxProperties||void 0!==e.required||void 0!==e.unevaluatedProperties);t.isArrayType=e=>{var t;return"boolean"!=typeof e&&("array"===e.type||void 0!==e.items||void 0!==e.minItems||void 0!==e.maxItems||void 0!==e.additionalItems||void 0!==e.contains||void 0!==e.minContains||void 0!==e.maxContains||void 0!==e.prefixItems||void 0!==e.unevaluatedItems||Array.isArray(e.const)||(null===(t=e.enum)||void 0===t?void 0:t.some((e=>Array.isArray(e)))))};t.isStringType=e=>{var t;return"boolean"!=typeof e&&("string"===e.type||void 0!==e.minLength||void 0!==e.maxLength||void 0!==e.pattern||(null===(t=e.enum)||void 0===t?void 0:t.some((e=>"string"==typeof e)))||"string"==typeof e.const)};t.isNumeric=e=>{var t;return"boolean"!=typeof e&&("number"===e.type||void 0!==e.multipleOf||void 0!==e.minimum||void 0!==e.exclusiveMinimum||void 0!==e.maximum||void 0!==e.exclusiveMaximum||(null===(t=e.enum)||void 0===t?void 0:t.some((e=>"number"==typeof e)))||"number"==typeof e.const)};t.isInteger=e=>{var t;return"boolean"!=typeof e&&("integer"===e.type||1===e.multipleOf||(null===(t=e.enum)||void 0===t?void 0:t.some((e=>"bigint"==typeof e)))||"bigint"==typeof e.const)};t.isSchemaComposition=e=>"boolean"!=typeof e&&(void 0!==e.allOf||void 0!==e.anyOf||void 0!==e.oneOf||void 0!==e.not);t.isSchemaConditional=e=>"boolean"!=typeof e&&(void 0!==e.if||void 0!==e.dependencies||void 0!==e.dependentRequired||void 0!==e.dependentSchemas);t.isBoolean=e=>{var t;return"boolean"!=typeof e&&("boolean"===e.type||(null===(t=e.enum)||void 0===t?void 0:t.some((e=>"boolean"==typeof e)))||"boolean"==typeof e.const)};t.isNull=e=>{var t;return"boolean"!=typeof e&&("null"===e.type||(null===(t=e.enum)||void 0===t?void 0:t.some((e=>null===e)))||null===e.const)};function*n(e){(0,t.isNull)(e)&&(yield"null"),(0,t.isObjectType)(e)&&(yield"object"),(0,t.isArrayType)(e)&&(yield"array"),(0,t.isStringType)(e)&&(yield"string"),(0,t.isBoolean)(e)&&(yield"boolean"),(0,t.isInteger)(e)&&(yield"integer"),!(0,t.isInteger)(e)&&(0,t.isNumeric)(e)&&(yield"number")}t.hasUnresolvedRefs=e=>"boolean"!=typeof e&&(void 0!==e.$ref||void 0!==e.$dynamicRef||void 0!==e.$recursiveRef),t.detectedTypes=function(e){const t=Array.isArray(e.type)?e.type:void 0!==e.type?[e.type]:[];return 0!==t.length?[...new Set(t)]:[...n(e)]}},41168:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.encodeStringForJSONPointer=void 0,t.encodeStringForJSONPointer=function(e){return e.replace(/~/g,"~0").replace(/\//g,"~1").replace(/%/g,"%25")}},40578:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(77740),s=n(2204),a=n(9966);function u(e,t){return!(t<=1)&&e!==t-1}function c(e){let{schema:t}=e;if("boolean"==typeof t)return o.default.createElement(s.TypeLabelSwitch,{type:t});if(t.title)return o.default.createElement(o.default.Fragment,null,t.title);const n=(0,i.detectedTypes)(t);return 0===n.length?o.default.createElement(l,{schema:t}):o.default.createElement(o.default.Fragment,null,n.map(((e,r)=>o.default.createElement(o.default.Fragment,{key:r},o.default.createElement(f,{schema:t,type:e}),u(r,n.length)&&o.default.createElement(a.OrLabel,null)))))}function l(e){let{schema:t}=e;if(void 0!==t.not)return o.default.createElement(o.default.Fragment,null,o.default.createElement(a.NotLabel,null)," ( ",o.default.createElement(c,{schema:t.not})," ) ");if(t.anyOf||t.oneOf||t.allOf){const e=t.anyOf?o.default.createElement(a.OrLabel,null):t.oneOf?o.default.createElement(a.XorLabel,null):o.default.createElement(a.AndLabel,null),n=t.allOf||t.anyOf||t.oneOf;return o.default.createElement(o.default.Fragment,null,n.map(((t,r)=>o.default.createElement(o.default.Fragment,{key:r},o.default.createElement(c,{schema:t}),u(r,n.length)&&e))))}return o.default.createElement(s.TypeLabelSwitch,{type:!0})}function f(e){let{schema:t,type:n}=e;if("string"===n&&void 0!==t.format)return o.default.createElement(s.TypeLabelSwitch,{type:t.format});if("array"===n)return o.default.createElement(d,{schema:t});if(!["array","object"].includes(n)){if(void 0!==t.const)return o.default.createElement("code",null,`${JSON.stringify(t.const)}`);if(void 0!==t.enum&&1===t.enum.length)return o.default.createElement("code",null,`${JSON.stringify(t.enum[0])}`)}return o.default.createElement(s.TypeLabelSwitch,{type:n})}function d(e){let{schema:t}=e;if([void 0,!1].includes(t.items)&&[void 0,!1].includes(t.prefixItems)&&void 0===t.contains)return o.default.createElement(s.TypeLabelSwitch,{type:"array"});let n=[];if(Array.isArray(t.prefixItems)&&n.push(...t.prefixItems.map(((e,t)=>o.default.createElement(c,{schema:e,key:`prefixItems_${t}`})))),void 0!==t.items&&"boolean"!=typeof t.items){let e=Array.isArray(t.items)?t.items:[t.items];n.push(...e.map(((e,t)=>o.default.createElement(c,{schema:e,key:`items_${t}`}))))}return void 0!==t.additionalItems&&"boolean"!=typeof t.additionalItems&&n.push(o.default.createElement(c,{schema:t.additionalItems,key:"additionalItems"})),void 0!==t.unevaluatedItems&&"boolean"!=typeof t.unevaluatedItems&&n.push(o.default.createElement(c,{schema:t.unevaluatedItems,key:"unevaluatedItems"})),void 0!==t.contains&&n.push(o.default.createElement(o.default.Fragment,{key:"before_contains"},"..."),o.default.createElement(c,{schema:t.contains,key:"contains"})),!1!==t.unevaluatedItems&&!1!==t.items&&!1!==t.additionalItems&&n.push(o.default.createElement(o.default.Fragment,{key:"open_tuple"},"...")),o.default.createElement(o.default.Fragment,null,"(",n.map(((e,t)=>o.default.createElement(o.default.Fragment,{key:t},e,u(t,n.length)&&","))),")[]")}t.default=c},72223:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=r(n(2784)),i=n(85685);t.default=function(e){const{options:t}=e,n=t.qualifierMessagesOrder||i.QUALIFIERS_DEFAULT_ORDER;return o.default.createElement(o.default.Fragment,null,n.filter((t=>i.QUALIFIERS_MAP[t].match(e))).map((t=>i.QUALIFIERS_MAP[t].Component(e))))}},77740:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.QualifierMessages=t.GenerateFriendlyName=void 0;var s=n(40578);Object.defineProperty(t,"GenerateFriendlyName",{enumerable:!0,get:function(){return i(s).default}});var a=n(72223);Object.defineProperty(t,"QualifierMessages",{enumerable:!0,get:function(){return i(a).default}}),o(n(7639),t),o(n(41168),t)},75548:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.referencesYaml=t.referencesId=t.describeSchema=void 0;const s=i(n(45984)),a=n(77107);function u(e,t){if(!t)return e;let n=s.parseDocument(e);for(const r of t.slice(2).split("/"))if(n=n.get(r,!0),!n)throw new Error(`Pointer ${t} not found in schema`);return s.stringify(n)}function c(e){return 1===Object.keys(e).length&&"id"in e}function l(e){return 1===Object.keys(e).length&&"yaml"in e}t.describeSchema=function(e){let{schema:t,pointer:n}=e;if("string"==typeof n&&!n.startsWith("#"))throw new Error("`pointer` option must start with '#'");return c(t)?function(e){let{schema:{id:t},pointer:n}=e;const[r,o]=t.split("#"),i=o?function(e){const t=e.filter((e=>"string"==typeof e)).map((e=>e.slice(1))).join("");if(0===t.length)return;return`#${t}`}([`#${o}`,n]):n,c=a.schemaYamls[r];if(!c)throw new Error(`Unknown schema with $id "${r}"`);const l=u(c,i),f=s.parse(l),d=s.parse(c);return{id:r,pointer:i,yaml:l,schema:f,rootSchema:d}}({schema:t,pointer:n}):l(t)?function(e){let{schema:{yaml:t},pointer:n}=e;const r=u(t,n),o=s.parse(r),i=s.parse(t),a=o.$id;return a?{id:a,pointer:n,yaml:r,schema:o,rootSchema:i}:{pointer:n,yaml:r,schema:o,rootSchema:i}}({schema:t,pointer:n}):function(e){let{schema:t,pointer:n}=e;const r=u(s.stringify(t),n),o=s.parse(r),i=o.$id;return i?{id:i,pointer:n,yaml:r,schema:o,rootSchema:t}:{pointer:n,yaml:r,schema:o,rootSchema:t}}({schema:t,pointer:n})},t.referencesId=c,t.referencesYaml=l},99372:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.schemaIds=t.schemas=void 0,o(n(75548),t);var i=n(52109);Object.defineProperty(t,"schemas",{enumerable:!0,get:function(){return i.schemas}}),Object.defineProperty(t,"schemaIds",{enumerable:!0,get:function(){return i.schemaIds}})},52109:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.schemas=t.schemaIds=void 0;const r=n(75548),o=n(77107);t.schemaIds=Object.keys(o.schemaYamls),t.schemas=t.schemaIds.map((e=>({[e]:(0,r.describeSchema)({schema:{id:e}}).schema}))).reduce(((e,t)=>Object.assign(Object.assign({},e),t)),{})},77107:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.schemaYamls=void 0,t.schemaYamls={"schema:ethdebug/format/materials/compilation":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/materials/compilation"\n\ntitle: ethdebug/format/materials/compilation\ndescription: |\n An object representing a single invocation of a compiler.\n\ntype: object\nproperties:\n id:\n description: |\n Compilation ID. Optional, but **should** be specified.\n\n This value **should** be globally-unique and generated only from the\n compiler inputs (settings, sources, etc.); the same compiler inputs/\n settings **should** produce the same identifier.\n\n $ref: "schema:ethdebug/format/materials/id"\n\n compiler:\n type: object\n title: Compiler name and version\n properties:\n name:\n type: string\n description: Compiler name\n\n version:\n type: string\n description: |\n Compiler version.\n\n This value **should** be specified using the most detailed version\n representation available, i.e., including source control hash and\n compiler build information whenever possible.\n\n required:\n - name\n - version\n\n examples:\n - name: lllc\n version: 0.4.12-develop.2017.6.27+commit.b83f77e0.Linux.g++\n\n settings:\n description: |\n Compiler settings in a format native to the compiler.\n\n For compilers whose settings includes full source representations, this\n field **should** be specified in such a way that avoids large data\n redundancies (e.g. if compiler settings contain full source\n representations, then this field would significantly duplicate the\n information represented by the `sources` field in this object).\n\n In situations where settings information duplicates information\n represented elsewhere in **ethdebug/format**, compilers **may** adopt\n any reasonable strategy, e.g.:\n - omit duplications partially (leaving the rest of the settings\n intact)\n - omit this field entirely\n - specify this field as a hash of the full settings\n representation (with the expectation that users of this format will\n have access to the full representation by some other means)\n\n allOf:\n - true\n\n sources:\n type: array\n items:\n $ref: "schema:ethdebug/format/materials/source"\n\nrequired:\n - compiler\n - sources\n\nexamples:\n - compiler:\n name: lllc\n version: 0.4.12-develop.2017.6.27+commit.b83f77e0.Linux.g++\n sources:\n - id: 0\n path: stdin\n contents: |\n (add 1 (mul 2 (add 3 4)))\n language: LLL\n',"schema:ethdebug/format/materials/id":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/materials/id"\n\ntitle: ethdebug/format/materials/id\ndescription: An opaque external ID (likely generated by compiler)\n\ntype:\n - number\n - string\n\nexamples:\n - 5\n - "five"\n',"schema:ethdebug/format/materials/reference":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/materials/reference"\n\ntitle: ethdebug/format/materials/reference\ndescription: A reference to an external resource by ID\n\ntype: object\nproperties:\n id:\n $ref: "schema:ethdebug/format/materials/id"\n\n type:\n enum:\n - compilation\n - source\n\nrequired: [id]\n\nunevaluatedProperties: false\n\nexamples:\n - id: 1\n',"schema:ethdebug/format/materials/source-range":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/materials/source-range"\n\ntitle: ethdebug/format/materials/source-range\ndescription: |\n A range of bytes in a particular source.\n\n Note that this refers to the bytes range in the original character encoding\n for the source, not the character encoding used for strings in this JSON\n format (UTF-8). For compilers that support input sources in encodings other\n than this format\'s transmission encoding, compilers **must** address source\n ranges in this original encoding, and debuggers **must** re-encode source\n contents obtained from this format _before_ performing any range addressing.\n\n (Compilers that only accept UTF-8 or ASCII are naturally exempt from this\n concern.)\n\ntype: object\nproperties:\n compilation:\n title: Compilation reference by ID\n $ref: "schema:ethdebug/format/materials/reference"\n\n source:\n title: Source reference by ID\n $ref: "schema:ethdebug/format/materials/reference"\n\n range:\n type: object\n properties:\n offset:\n description: Byte offset at beginning of range\n type: number\n\n length:\n description: Number of bytes contained in range\n type: number\n\n unevaluatedProperties: false\n\n required:\n - offset\n - length\n\nunevaluatedProperties: false\n\nrequired:\n - source\n - range\n\nexamples:\n - source:\n id: 5\n range:\n offset: 20\n length: 100\n',"schema:ethdebug/format/materials/source":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/materials/source"\n\ntitle: ethdebug/format/materials/source\ndescription: |\n An object representing one unit of compiler input, the raw text contents and\n identifying metadata (such as file path) that were given to the compiler as\n part of a compilation.\n\ntype: object\nproperties:\n id:\n description: |\n Source identifier. This field **must** be unique for all sources\n within a single compiler invocation (compilation).\n $ref: "schema:ethdebug/format/materials/id"\n\n path:\n type: string\n description: |\n Hierarchical file-system-like path to this source. This value may\n be an absolute path, a path relative to some root directory, a path\n to some resource within a package, etc.\n\n This value does not need to correspond to any file on disk (either\n physical or virtual), and might instead refer to a path identifier\n for a source that was generated by a compiler or other development tool.\n\n This format makes no specific restrictions on how paths should be\n specified (e.g., no restriction on path separators, etc.), other than\n that values for this field should match what users observe elsewhere for\n the inputs/outputs of this particular compiler invocation.\n\n If no path information is available for a particular source, e.g. if the\n source was provided to the compiler via shell standard input, this field\n should indicate that somehow (e.g., specifying `"path": "stdin"` or\n similar).\n\n This field\'s value **should** be unique across all sources within the\n same compilation.\n\n contents:\n description: |\n The full contents of the source, possibly re-encoded as UTF-8 to\n match parent JSON encoding.\n\n In cases where input source used a different encoding, this object\n **must** also specify an `encoding` property to indicate the\n encoding originally used. Where relevant, debuggers **must** also\n convert these `contents` back to the specified original encoding so\n as to match code author expectations.\n\n type: string\n\n encoding:\n description: |\n Character encoding of original source `contents`. This property\n is **required** if this encoding does not match the JSON transmission\n encoding (UTF-8), since the value of the `contents` property will\n represent the text of the source of this JSON encoding.\n\n This property **must not** appear in objects that do not specify\n a `contents` property.\n\n type: string\n\n language:\n description: |\n The high-level language that the source contents are written in.\n\n type: string\n\nrequired:\n - id\n - path\n - contents\n - language\n\nexamples:\n - id: 5\n path: ./contracts/SimpleStorage.sol\n contents: |\n // SPDX-License-Identifier: GPL-3.0\n pragma solidity >=0.4.16 <0.9.0;\n\n contract SimpleStorage {\n uint storedData;\n\n function set(uint x) public {\n storedData = x;\n }\n\n function get() public view returns (uint) {\n return storedData;\n }\n }\n\n language:\n Solidity\n',"schema:ethdebug/format/pointer/collection/conditional":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/collection/conditional"\n\ntitle: ethdebug/format/pointer/collection/conditional\ndescription: |\n A pointer defined conditionally based on the non-zero-ness of some expression\n\ntype: object\n\nproperties:\n if:\n $ref: "schema:ethdebug/format/pointer/expression"\n then:\n $ref: "schema:ethdebug/format/pointer"\n else:\n $ref: "schema:ethdebug/format/pointer"\n\nrequired:\n - if\n - then\n\nadditionalProperties: false\n\nexamples:\n - if: 0\n then:\n location: memory\n offset: 0\n length: 1\n else:\n location: memory\n offset: 1\n length: 1\n',"schema:ethdebug/format/pointer/collection/group":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/collection/group"\n\ntitle: ethdebug/format/pointer/collection/group\ndescription: |\n A composite collection of pointers\ntype: object\nproperties:\n group:\n type: array\n items:\n $ref: "schema:ethdebug/format/pointer"\n minItems: 1\nrequired:\n - group\nadditionalProperties: false\n\nexamples:\n - group:\n - name: "data-pointer"\n location: stack\n slot: 0\n - location: memory\n offset:\n $read: "data-pointer"\n length: 32\n',"schema:ethdebug/format/pointer/collection/list":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/collection/list"\n\ntitle: ethdebug/format/pointer/collection/list\ndescription: |\n An ordered list of pointers, indexed starting at zero.\ntype: object\n\nproperties:\n list:\n type: object\n properties:\n count:\n description: |\n The size of the list that this collection represents.\n $ref: "schema:ethdebug/format/pointer/expression"\n each:\n description: |\n An identifier name whose value as an expression resolves to the index\n in the list\n $ref: "schema:ethdebug/format/pointer/identifier"\n is:\n description: |\n The dynamically-generated pointer repeated as a list\n $ref: "schema:ethdebug/format/pointer"\n required:\n - count\n - each\n - is\n\nrequired:\n - list\n\nadditionalProperties: false\n\nexamples:\n - list:\n count: 5\n each: "index"\n is:\n location: memory\n offset:\n $read: "index"\n length: 1\n',"schema:ethdebug/format/pointer/collection/scope":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/collection/scope"\n\ntitle: ethdebug/format/pointer/collection/scope\ndescription: |\n A pointer defined with the aid of additional variables with values specified\n as expressions.\n\n Variables are specified by the `define` field as an object mapping of\n expression by identifier. Variables are specified **in order**, so that\n later appearing variables may reference earlier ones in the same object.\n\ntype: object\n\nproperties:\n define:\n title: Mapping of variables to expression value\n type: object\n patternProperties:\n "^[a-zA-Z_\\\\-]+[a-zA-Z0-9$_\\\\-]*$":\n $ref: "schema:ethdebug/format/pointer/expression"\n additionalProperties: false\n in:\n $ref: "schema:ethdebug/format/pointer"\n\nrequired:\n - define\n - in\n\nadditionalProperties: false\n\nexamples:\n - define:\n example-offset:\n $sum: [1, 2]\n example-length:\n $product: [2, $wordsize]\n in:\n name: example\n location: memory\n offset: example-offset\n length: example-length\n',"schema:ethdebug/format/pointer/collection":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/collection"\n\ntitle: ethdebug/format/pointer/collection\ndescription: |\n A representation of a collection of pointers to data in the EVM\ntype: object\n\nallOf:\n - oneOf:\n - required:\n - group\n - required:\n - list\n - required:\n - if\n - required:\n - define\n - if:\n required:\n - group\n then:\n $ref: "schema:ethdebug/format/pointer/collection/group"\n\n - if:\n required:\n - list\n then:\n $ref: "schema:ethdebug/format/pointer/collection/list"\n\n - if:\n required:\n - if\n then:\n $ref: "schema:ethdebug/format/pointer/collection/conditional"\n\n - if:\n required:\n - define\n then:\n $ref: "schema:ethdebug/format/pointer/collection/scope"\n',"schema:ethdebug/format/pointer/expression":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/expression"\n\ntitle: ethdebug/format/pointer/expression\ndescription: |\n A schema for describing expressions that evaluate to values.\n\noneOf:\n - $ref: "#/$defs/Literal"\n - $ref: "#/$defs/Variable"\n - $ref: "#/$defs/Constant"\n - $ref: "#/$defs/Arithmetic"\n - $ref: "#/$defs/Lookup"\n - $ref: "#/$defs/Read"\n - $ref: "#/$defs/Keccak256"\n - $ref: "#/$defs/Resize"\n\n$defs:\n Literal:\n title: Literal value\n description: |\n An unsigned number or a `0x`-prefixed string of hexadecimal digits\n\n oneOf:\n - type: integer\n description: A non-negative integer literal\n min: 0\n\n - type: string\n description: |\n A `0x`-prefixed hexadecimal string representing literal bytes\n pattern: "^0x[0-9a-fA-F]{1,}$"\n\n examples:\n - 5\n - "0x0000000000000000000000000000000000000000000000000000000000000000"\n\n Constant:\n title: Constant value\n type: string\n enum:\n - $wordsize\n\n Variable:\n title: Variable identifier\n description: |\n A string that matches an identifier used in an earlier declaration of\n a scalar variable. This expression evaluates to the value of that\n variable.\n $ref: "schema:ethdebug/format/pointer/identifier"\n\n Arithmetic:\n title: Arithmetic operation\n type: object\n properties:\n "$sum":\n description: |\n A list of expressions to be added together.\n $ref: "#/$defs/Operands"\n "$difference":\n description: |\n A tuple of two expressions where the second is to be subtracted from\n the first.\n\n If the second operand is larger than the first, the result of this\n arithmetic operation is defined to equal zero (`0`).\n\n (i.e., `{ "$difference": [a, b] }` equals `a` minus `b`.)\n $ref: "#/$defs/Operands"\n minItems: 2\n maxItems: 2\n "$product":\n description: |\n A list of expressions to be multipled.\n $ref: "#/$defs/Operands"\n "$quotient":\n description: |\n A tuple of two expressions where the first corresponds to the\n dividend and the second corresponds to the divisor, for the purposes\n of doing integer division.\n\n (i.e., `{ "$quotient": [a, b] }` equals `a` divided by `b`.)\n $ref: "#/$defs/Operands"\n minItems: 2\n maxItems: 2\n "$remainder":\n description: |\n A tuple of two expressions where the first corresponds to the\n dividend and the second corresponds to the divisor, for the purposes\n of computing the modular-arithmetic remainder.\n\n (i.e., `{ "$remainder": [a, b] }` equals `a` mod `b`.)\n $ref: "#/$defs/Operands"\n minItems: 2\n maxItems: 2\n additionalProperties: false\n minProperties: 1\n maxProperties: 1\n examples:\n - "$sum": [5, 3, 4]\n - "$difference": [5, 3]\n - "$product": [5, 3, 0]\n - "$quotient": [5, 3]\n - "$remainder":\n - "$product":\n - 2\n - 2\n - 2\n - 2\n - 3\n\n Operands:\n type: array\n items:\n $ref: "schema:ethdebug/format/pointer/expression"\n\n Lookup:\n title: Lookup region definition\n description: |\n An object of the form `{ ". ": " " }`, to\n denote that this expression is equivalent to the defined value for\n the property named ` ` inside the region referenced as\n ` `.\n\n ` ` **must** be a valid and present property on the\n corresponding region, or it **must** correspond to an optional property\n whose schema specifies a default value for that property.\n type: object\n patternProperties:\n "^\\\\.(offset|length|slot)$":\n $ref: "#/$defs/Reference"\n additionalProperties: false\n minProperties: 1\n maxProperties: 1\n\n examples:\n - .offset: "array-count"\n - .length: "array-item"\n - .offset: $this\n\n\n Read:\n title: Read region bytes\n description: |\n An object of the form `{ "$read": " " }`. The value of this\n expression equals the raw bytes present in the running machine state\n in the referenced region.\n type: object\n properties:\n $read:\n $ref: "#/$defs/Reference"\n required:\n - $read\n additionalProperties: false\n examples:\n - $read: "struct-start"\n\n Reference:\n title: Region reference\n description: |\n A string value that **must** either be the `"name"` of at least one\n region declared with `{ "name": " " }` previously in some root\n pointer representation, or it **must** be the literal value `"$this"`,\n which indicates a reference to the region containing this expression.\n\n If more than one region is defined with the same name, resolution is\n defined as firstly resolving to the latest earlier sibling that declares\n the matching name, then secondly resolving to the parent if it matches,\n then to parent\'s earlier siblings, and so on.\n type: string\n\n oneOf:\n - $ref: "schema:ethdebug/format/pointer/identifier"\n - const: "$this"\n description: |\n Indicates a reference to the region containing this expression.\n\n Keccak256:\n title: Keccak256 hash\n description: |\n An object of the form `{ "$keccak256": [...values] }`, indicating that this\n expression evaluates to the Solidity-style keccak256 hash of the\n tightly-packed bytes encoded by `values`.\n type: object\n properties:\n $keccak256:\n title: Array of hashed values\n type: array\n items:\n $ref: "schema:ethdebug/format/pointer/expression"\n additionalProperties: false\n required:\n - $keccak256\n examples:\n - $keccak256:\n - 0\n - "0x00"\n\n Resize:\n title: Resize data\n description: |\n An object of the form `{ "$sized ": }`, where ` ` is the\n smallest decimal representation of an unsigned integer and where\n ` ` is another expression.\n\n This object\'s value is evaluated as follows, based on the number\n represented by ` ` and the bytes width of ` `:\n - If the width equals ` `, this object evalutes to the same value as\n ` ` (equivalent to the identity function or no-op).\n - If the width is less than ` `, this object evalutes to the same value\n as ` ` but with additional zero-bytes (`0x00`) prepended on\n the left (most significant) side, such that the resulting bytes width\n equals ` `.\n - If the width exceeds ` `, this object evalutes to the same value\n as ` ` but with a number of bytes removed from the left\n (most significant) side until the bytes width equals ` `.\n\n (These cases match the behavior that Solidity uses for resizing its\n `bytesN`/`uintN` types.)\n type: object\n additionalProperties: false\n patternProperties:\n "^\\\\$sized([1-9]+[0-9]*)$":\n $ref: "schema:ethdebug/format/pointer/expression"\n minProperties: 1\n maxProperties: 1\n examples:\n - $sized2: "0x00" # 0x0000\n - $sized2: "0xffffff" # 0xffff\n\nexamples:\n - 0\n - $sum:\n - .offset: "array-start"\n - .length: "array-start"\n - 1\n - $keccak256:\n - 5\n - .offset: "array-start"\n',"schema:ethdebug/format/pointer/identifier":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/identifier"\n\ntitle: ethdebug/format/pointer/identifier\ndescription: |\n An identifier for use within the context of a root pointer\ntype: string\npattern: "^[a-zA-Z_\\\\-]+[a-zA-Z0-9$_\\\\-]*$"\n\nexamples:\n - a\n - a0\n - -$\n - __init__\n',"schema:ethdebug/format/pointer/region/base":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/base"\n\ntitle: ethdebug/format/pointer/region/base\ndescription: |\n Common schema for all region schemas, regardless of `"location": ...`.\n\ntype: object\nproperties:\n name:\n $ref: "schema:ethdebug/format/pointer/identifier"\n\n location:\n type: string\n\nrequired:\n - location\n\nexamples:\n - name: "array-item"\n location: memory\n',"schema:ethdebug/format/pointer/region/calldata":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/calldata"\n\ntitle: ethdebug/format/pointer/region/calldata\ndescription: |\n A schema for representing a region of data in message calldata.\n\n This schema is constructed by extending the base region schema\n and the schema for the slice addressing scheme.\ntype: object\n\nallOf:\n - title: \'{\xa0"location":\xa0"calldata"\xa0}\' # note: whitespace chars are \\255 (nbsp)\n properties:\n location:\n const: calldata\n\n required:\n - location\n - $ref: "schema:ethdebug/format/pointer/region/base"\n - $ref: "schema:ethdebug/format/pointer/scheme/slice"\n\nunevaluatedProperties: false\n\nexamples:\n - location: calldata\n offset: "0x04"\n length: 32\n',"schema:ethdebug/format/pointer/region/code":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/code"\n\ntitle: ethdebug/format/pointer/region/code\ndescription: |\n A schema for representing a region of data in EVM bytecode.\n\n This schema is constructed by extending the base region schema\n and the schema for the slice addressing scheme.\ntype: object\n\nallOf:\n - title: \'{\xa0"location":\xa0"code"\xa0}\' # note: whitespace chars are \\255 (nbsp)\n properties:\n location:\n const: code\n\n required:\n - location\n - $ref: "schema:ethdebug/format/pointer/region/base"\n - $ref: "schema:ethdebug/format/pointer/scheme/slice"\n\nunevaluatedProperties: false\n\nexamples:\n - location: code\n offset: "0x04"\n length: 32\n',"schema:ethdebug/format/pointer/region/memory":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/memory"\n\ntitle: ethdebug/format/pointer/region/memory\ndescription: |\n A schema for representing a region of data in EVM memory. Pointer regions\n within memory represent a single/atomic sequence of byte locations.\n\n This schema is constructed by extending the base region schema\n and the schema for the slice addressing scheme.\ntype: object\n\nallOf:\n - title: \'{\xa0"location":\xa0"memory"\xa0}\' # note: whitespace chars are \\255 (nbsp)\n properties:\n location:\n const: memory\n\n required:\n - location\n - $ref: "schema:ethdebug/format/pointer/region/base"\n - $ref: "schema:ethdebug/format/pointer/scheme/slice"\n\nunevaluatedProperties: false\n\nexamples:\n - location: memory\n offset: "0x04"\n length: 32\n',"schema:ethdebug/format/pointer/region/returndata":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/returndata"\n\ntitle: ethdebug/format/pointer/region/returndata\ndescription: |\n A schema for representing a region of data in message returndata.\n\n This schema is constructed by extending the base region schema\n and the schema for the slice addressing scheme.\ntype: object\n\nallOf:\n - title: \'{\xa0"location":\xa0"returndata"\xa0}\' # note: whitespace chars are \\255 (nbsp)\n properties:\n location:\n const: returndata\n\n required:\n - location\n - $ref: "schema:ethdebug/format/pointer/region/base"\n - $ref: "schema:ethdebug/format/pointer/scheme/slice"\n\nunevaluatedProperties: false\n\nexamples:\n - location: returndata\n offset: "0x04"\n length: 32\n',"schema:ethdebug/format/pointer/region/stack":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/stack"\n\ntitle: ethdebug/format/pointer/region/stack\ndescription: |\n A schema for representing a region of data in the EVM.\n\n Describes stack slots as number of positions from the top (at time of\n observation). Debuggers reading this information **should** immediately\n convert these positions to absolute positions from the bottom.\n\n This schema is constructed by extending the base region schema\n and the schema for the segment addressing scheme.\ntype: object\n\nallOf:\n - title: \'{\xa0"location":\xa0"stack"\xa0}\' # note: whitespace chars are \\255 (nbsp)\n properties:\n location:\n const: stack\n\n required:\n - location\n\n - $ref: "schema:ethdebug/format/pointer/region/base"\n - $ref: "schema:ethdebug/format/pointer/scheme/segment"\n\nunevaluatedProperties: false\n\nexamples:\n - location: stack\n slot: 0\n - location: stack\n slot: 1\n length:\n $product:\n - $wordsize\n - 2\n',"schema:ethdebug/format/pointer/region/storage":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/storage"\n\ntitle: ethdebug/format/pointer/region/storage\ndescription: |\n A schema for representing a region of data in EVM storage.\n\n This schema is constructed by extending the base region schema\n and the schema for the segment addressing scheme.\ntype: object\n\nallOf:\n - title: \'{\xa0"location":\xa0"storage"\xa0}\' # note: whitespace chars are \\255 (nbsp)\n properties:\n location:\n const: storage\n\n required:\n - location\n\n - $ref: "schema:ethdebug/format/pointer/region/base"\n - $ref: "schema:ethdebug/format/pointer/scheme/segment"\n\nunevaluatedProperties: false\n\nexamples:\n - location: storage\n slot: "0x03"\n - location: storage\n slot: "0x06"\n length:\n $product:\n - $wordsize\n - 2\n - location: storage\n slot: "0x08"\n offset:\n $quotient:\n - $wordsize\n - 2\n length:\n $quotient:\n - $wordsize\n - 2\n',"schema:ethdebug/format/pointer/region/transient":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region/transient"\n\ntitle: ethdebug/format/pointer/region/transient\ndescription: |\n A schema for representing a region of data in EVM transient storage.\n\n This schema is constructed by extending the base region schema\n and the schema for the segment addressing scheme.\ntype: object\n\nallOf:\n - title: \'{\xa0"location":\xa0"transient"\xa0}\' # note: whitespace chars are \\255 (nbsp)\n properties:\n location:\n const: transient\n\n required:\n - location\n\n - $ref: "schema:ethdebug/format/pointer/region/base"\n - $ref: "schema:ethdebug/format/pointer/scheme/segment"\n\nunevaluatedProperties: false\n\nexamples:\n - location: transient\n slot: "0x03"\n - location: transient\n slot: "0x06"\n length:\n $product:\n - $wordsize\n - 2\n - location: transient\n slot: "0x08"\n offset:\n $quotient:\n - $wordsize\n - 2\n length:\n $quotient:\n - $wordsize\n - 2\n',"schema:ethdebug/format/pointer/region":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/region"\n\ntitle: ethdebug/format/pointer/region\ndescription: |\n A representation of a region of data in the EVM\ntype: object\n\nproperties:\n location:\n $ref: "#/$defs/Location"\n\n\nallOf:\n - if:\n properties:\n location:\n const: stack\n\n then:\n $ref: "schema:ethdebug/format/pointer/region/stack"\n\n - if:\n properties:\n location:\n const: memory\n\n then:\n $ref: "schema:ethdebug/format/pointer/region/memory"\n\n - if:\n properties:\n location:\n const: storage\n then:\n $ref: "schema:ethdebug/format/pointer/region/storage"\n\n - if:\n properties:\n location:\n const: calldata\n then:\n $ref: "schema:ethdebug/format/pointer/region/calldata"\n\n - if:\n properties:\n location:\n const: returndata\n then:\n $ref: "schema:ethdebug/format/pointer/region/returndata"\n\n - if:\n properties:\n location:\n const: transient\n then:\n $ref: "schema:ethdebug/format/pointer/region/transient"\n\n - if:\n properties:\n location:\n const: code\n then:\n $ref: "schema:ethdebug/format/pointer/region/code"\n\n$defs:\n Location:\n type: string\n enum:\n - stack\n - memory\n - storage\n - calldata\n - returndata\n - transient\n - code\n\nunevaluatedProperties: false\n\nexamples:\n - location: storage\n slot: "0x0000000000000000000000000000000000000000000000000000000000000000"\n\n',"schema:ethdebug/format/pointer/scheme/segment":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/scheme/segment"\n\ntitle: ethdebug/format/pointer/scheme/segment\ndescription: |\n An addressing scheme for pointing to a range of bytes in a data location\n arranged as individually-addressable word-sized slots.\n\n **Note** that this addressing scheme permits addressing byte ranges that\n extend beyond the last byte of a particular slot, or even covering the range\n of multiple slots.\n\n In such cases, this schema defines the range as the concatenation of bytes\n across slots such that the address of the first byte after the end of slot\n `p` (i.e., `{ "offset": "$wordsize" }`) is interpreted as the first byte of\n slot `p + 1`.\n\ntype: object\n\nproperties:\n slot:\n $ref: "schema:ethdebug/format/pointer/expression"\n offset:\n description: |\n The starting byte index within the slot.\n\n This field is **optional**. If unspecified, it has the default value of\n `0`, indicating that the segment begins at the start of the specified\n slot.\n\n This field\'s expression must resolve to a value _n_ such that\n 0 \u2264 _n_ \\< `$wordsize` (i.e., the offset **must**\n begin inside the slot).\n $ref: "schema:ethdebug/format/pointer/expression"\n default: 0\n length:\n description: |\n The length of the bytes range this segment represents.\n\n This field is **optional**. If unspecified, its default value indicates\n that the segment ends at the end of the slot.\n\n If this field has value larger than the default value, i.e., if the\n segment extends beyond the last byte in the slot, then this segment is\n defined to be the concatenation of the sequentially-addressed slot(s)\n following following the slot specified.\n $ref: "schema:ethdebug/format/pointer/expression"\n default:\n $difference:\n - $wordsize\n - .offset: $this\n\nrequired:\n - slot\n\nexamples:\n - slot: 0\n - slot: 1\n length:\n $product:\n - $wordsize\n - 3\n',"schema:ethdebug/format/pointer/scheme/slice":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer/scheme/slice"\n\ntitle: ethdebug/format/pointer/scheme/slice\ndescription: |\n An addressing scheme for pointing to a range of sequential bytes inside\n a data location whose structure is that of a regular bytes array\n (i.e., where bytes are indexed by byte offset, with no concept of word).\n\ntype: object\n\nproperties:\n offset:\n description: |\n The index of the byte (starting from zero) in the data location where\n the slice begins.\n $ref: "schema:ethdebug/format/pointer/expression"\n length:\n description: |\n The length of the slice in number of bytes.\n $ref: "schema:ethdebug/format/pointer/expression"\n\nrequired:\n - offset\n - length\n\nexamples:\n - offset: 0\n length: 32\n',"schema:ethdebug/format/pointer":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/pointer"\n\ntitle: ethdebug/format/pointer\ndescription: |\n A schema for representing a pointer to a data position or a range of data\n positions in the EVM.\n\n An **ethdebug/format/pointer** is either a single region or a structured\n collection of other pointers.\n\ntype: object\n\nif:\n required: [location]\nthen:\n $ref: "schema:ethdebug/format/pointer/region"\nelse:\n $ref: "schema:ethdebug/format/pointer/collection"\n\nexamples:\n - # example: a single particular storage slot\n location: storage\n slot: 2\n\n - # example `uint256[] memory` allocation pointer\n # this pointer composes an ordered list of other pointers\n group:\n # declare the first sub-pointer to be the "array-start" region of data\n # corresponding to the first item in the stack (at time of observation)\n - name: "array-start"\n location: stack\n slot: 0\n\n # declare the "array-count" region to be at the offset indicated by\n # the value at "array-start"\n - name: "array-count"\n location: memory\n offset:\n $read: "array-start"\n length: $wordsize\n\n # thirdly, declare a sub-pointer that is a dynamic list whose size is\n # indicated by the value at "array-count", where each "item-index"\n # corresponds to a discrete "array-item" region\n - list:\n count:\n $read: "array-count"\n each: "item-index"\n is:\n name: "array-item"\n location: "memory"\n offset:\n # array items are positioned so that the item with index 0\n # immediately follows "array-count", and each subsequent item\n # immediately follows the previous.\n $sum:\n - .offset: "array-count"\n - .length: "array-count"\n - $product:\n - "item-index"\n - .length: "array-item"\n length: $wordsize\n\n - # example `struct Record { uint128 x; uint128 y }` in memory\n group:\n - name: "struct-start"\n location: stack\n slot: 0\n\n - name: "struct-member-0"\n location: memory\n # the first struct member begins at the offset indicated by the value\n # at "struct-start"\n offset:\n $read: "struct-start"\n length: $wordsize\n\n - name: "struct-member-1"\n location: memory\n # the second struct member immediately follows the first\n offset:\n $sum:\n - .offset: "struct-member-0"\n - .length: "struct-member-0"\n length: $wordsize\n\n - # example `(struct Record { uint256 x; uint256 y; })[] memory`\n group:\n # declare the first sub-pointer to be the "array-start" region of data\n # corresponding to the first item in the stack (at time of observation)\n - name: "array-start"\n location: stack\n slot: 0\n\n # declares the "array-count" region in memory at the offset indicated\n # by "array-start" and of length equal to word size\n - name: "array-count"\n location: memory\n offset:\n $read: "array-start"\n length: $wordsize\n\n # declare this to include a list of pointers of size indicated by the\n # value at "array-count", where each "item-index" corresponds to a\n # group of pointers\n - list:\n count:\n $read: "array-count"\n each: "item-index"\n is:\n group:\n # each element in the list includes a "struct-pointer" region\n # in memory (laid out sequentially in a block as the raw\n # array data)\n - name: "struct-pointer"\n location: memory\n offset:\n $sum:\n - .offset: "array-count"\n - .length: "array-count"\n - $product:\n - "item-index"\n - .length: "struct-pointer"\n length: $wordsize\n\n # following that pointer leads to the region corresponding to\n # the first member of the struct\n - name: "struct-member-0"\n location: memory\n offset:\n $read: "struct-pointer"\n length: $wordsize\n\n # the second struct member immediately follows the first\n - name: "struct-member-1"\n location: memory\n offset:\n $sum:\n - .offset: "struct-member-0"\n - .length: "struct-member-0"\n length: $wordsize\n\n - # example `string storage` allocation\n define:\n "contract-variable-slot": 0\n in:\n group:\n # for short strings, the length is stored as 2n in the last byte of slot\n - name: "length-flag"\n location: storage\n slot: contract-variable-slot\n offset:\n $difference: [$wordsize, 1]\n length: 1\n\n # long strings may use full word to describe length as 2n+1\n - name: "long-string-length-data"\n location: storage\n slot: contract-variable-slot\n offset: 0\n length: $wordsize\n\n # define the region representing the string data itself conditionally\n # based on odd or even length data\n - if:\n $remainder:\n - $sum:\n - $read: "length-flag"\n - 1\n - 2\n\n # short string case (flag is even)\n then:\n define:\n "string-length":\n $quotient: [{ $read: "length-flag" }, 2]\n in:\n name: "string"\n location: storage\n slot: "contract-variable-slot"\n offset: 0\n length: "string-length"\n\n # long string case (flag is odd)\n else:\n define:\n "string-length":\n $quotient:\n - $difference:\n - $read: "long-string-length-data"\n - 1\n - 2\n\n "start-slot":\n $keccak256:\n - $sized32: "contract-variable-slot"\n\n "total-slots":\n # account for both zero and nonzero slot remainders by adding\n # $wordsize-1 to the length before dividing\n $quotient:\n - $sum: ["string-length", { $difference: [$wordsize, 1] }]\n - $wordsize\n in:\n list:\n count: "total-slots"\n each: "i"\n is:\n define:\n "current-slot":\n $sum: ["start-slot", "i"]\n "previous-length":\n $product: ["i", $wordsize]\n in:\n # conditional based on whether this is the last slot:\n # is the string length longer than the previous length\n # plus this whole slot?\n if:\n $difference:\n - "string-length"\n - $sum: ["previous-length", "$wordsize"]\n then:\n # include the whole slot\n name: "string"\n location: storage\n slot: "current-slot"\n else:\n # include only what\'s left in the string\n name: "string"\n location: storage\n slot: "current-slot"\n offset: 0\n length:\n $difference: ["string-length", "previous-length"]\n',"schema:ethdebug/format/type/base":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/base"\n\ntitle: ethdebug/format/type/base\ndescription:\n Defines the minimally necessary schema for a data type.\n Types belong to a particular `class` (`"elementary"` or `"complex"`),\n and are further identified by a particular `kind`.\ntype: object\noneOf:\n - $ref: "#/$defs/ElementaryType"\n - $ref: "#/$defs/ComplexType"\n\n$defs:\n ElementaryType:\n title: Base elementary type\n description:\n Represents an elementary type (one that does not compose other types)\n type: object\n properties:\n class:\n type: string\n const: elementary\n kind:\n type: string\n contains:\n not:\n description:\n "Elementary types **must not** specify a `contains` field\n (to make it easier to discriminate elementary vs. complex)"\n required:\n - kind\n examples:\n - kind: uint\n bits: 256\n\n ComplexType:\n title: Base complex type\n description:\n Represents a complex type, one that composes other types (e.g., arrays,\n structs, mappings)\n type: object\n properties:\n class:\n type: string\n const: complex\n description: Indicates that this is a complex type\n kind:\n type: string\n description: The specific kind of complex type, e.g., array or struct\n contains:\n title: Complex type `contains` field\n description:\n Either a type wrapper, an array of type wrappers, or an object\n mapping to type wrappers.\n oneOf:\n - $ref: "#/$defs/TypeWrapper"\n - $ref: "#/$defs/TypeWrapperArray"\n - $ref: "#/$defs/TypeWrapperObject"\n\n required:\n - kind\n - contains\n examples:\n - kind: array\n contains:\n type:\n kind: uint\n bits: 256\n - kind: struct\n contains:\n - member: x\n type:\n kind: uint\n bits: 256\n - member: y\n type:\n kind: uint\n bits: 256\n - kind: mapping\n contains:\n key:\n type:\n kind: address\n payable: true\n value:\n type:\n kind: uint\n bits: 256\n\n TypeWrapper:\n title: \'{ "type": ... }\'\n description:\n A wrapper around a type. Defines a `"type"` field that may include a full\n Type representation or a reference to a known Type by ID. Note that this\n schema permits additional properties on the same object.\n type: object\n properties:\n type:\n oneOf:\n - $ref: "schema:ethdebug/format/type/base"\n - $ref: "schema:ethdebug/format/type/reference"\n\n required:\n - type\n\n TypeWrapperArray:\n title: \'{ "type": ... }[]\'\n description: A list of wrapped types, where the wrapper may add fields\n type: array\n items:\n $ref: "#/$defs/TypeWrapper"\n\n TypeWrapperObject:\n title: \'{ "key": { "type": ... }, ... }\'\n description:\n A key-value mapping of wrapped types, where the wrapper may add fields\n type: object\n additionalProperties:\n $ref: "#/$defs/TypeWrapper"\n',"schema:ethdebug/format/type/complex/alias":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/complex/alias"\n\ntitle: ethdebug/format/type/complex/alias\ndescription:\n Schema representing a type alias to another type\n\ntype: object\nproperties:\n class:\n type: string\n const: complex\n kind:\n type: string\n const: alias\n contains:\n $ref: "schema:ethdebug/format/type/wrapper"\n definition:\n $ref: "schema:ethdebug/format/type/definition"\n\nrequired:\n - kind\n - contains\n\nexamples:\n - kind: alias\n contains:\n type:\n kind: uint\n bits: 256\n\n - kind: alias\n contains:\n type:\n kind: array\n contains:\n type:\n class: elementary\n kind: super-uint # unsupported type\n blits: -256\n',"schema:ethdebug/format/type/complex/array":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/complex/array"\n\ntitle: ethdebug/format/type/complex/array\ntype: object\nproperties:\n class:\n type: string\n const: complex\n kind:\n type: string\n const: array\n contains:\n $ref: "schema:ethdebug/format/type/wrapper"\n\nrequired:\n - kind\n - contains\n\nexamples:\n - kind: array\n contains:\n type:\n kind: uint\n bits: 256\n\n - kind: array\n contains:\n type:\n kind: array\n contains:\n type:\n class: elementary\n kind: super-uint # unsupported type\n blits: -256\n',"schema:ethdebug/format/type/complex/function":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/complex/function"\n\ntitle: ethdebug/format/type/complex/function\ndescription: |\n Schema for representing a function type.\n\n Type representations must indicate whether they represent a function that is\n called internally (within the semantics of the language) or a function that\n is called externally (via EVM contract call semantics and the Solidity ABI).\n Internal function types require the `"internal": true` field; external\n function types require `"external": true`.\n\n Note that external function types may include a representation of the\n contract type that defines or provides this function as an external\n interface.\n\ntype: object\nproperties:\n class:\n type: string\n const: complex\n kind:\n type: string\n const: function\n contains:\n type: object\n title: Parameter and return types\n description: |\n Types this function type composes. Function types inherently compose\n two groupings of types (an ordered list of parameter types and typically\n either a return value or return parameters). Function types\' `contains`\n field is organized as a mapping of `parameters` types (a type wrapper for\n a tuple type) and an optional `returns` type (either a generic type\n wrapper or a type wrapper for a tuple type).\n\n This definition applies for both cases (internal and external function\n types). Each of those specific types may expand this `contains` field\n schema with other semantic details (such as an external function type\n indicating the contract type from which it is exposed).\n properties:\n parameters:\n $ref: "#/$defs/Parameters"\n returns:\n type: object\n title: Return type (or tuple of types)\n description: |\n To accommodate languages differing in whether functions return single\n values or lists of values, this field may be either a generic type\n wrapper or explicitly defined as a type wrapper around a tuple type.\n\n Debuggers that implement this schema **should** be aware that\n languages whose functions return sole values might return tuple\n types. Resolving this ambiguity remains outside the scope of the\n schema (but compilers **must** be consistent when representing\n function types in this schema).\n anyOf:\n - $ref: "schema:ethdebug/format/type/wrapper"\n - $ref: "#/$defs/Parameters"\n required:\n - parameters\n definition:\n $ref: "schema:ethdebug/format/type/definition"\n\noneOf:\n - type: object\n title: External function type\n properties:\n internal:\n const: false\n external:\n const: true\n contains:\n type: object\n title: Additional contents\n properties:\n contract:\n type: object\n title: Contract type providing external function\n description:\n A wrapper around the contract type that composes this external\n function type.\n allOf:\n - $ref: "schema:ethdebug/format/type/wrapper"\n - type: object\n title: Contract type wrapper\n properties:\n type:\n $ref: "schema:ethdebug/format/type/elementary/contract"\n required:\n - external\n\n - type: object\n title: Internal function type\n properties:\n internal:\n const: true\n external:\n const: false\n required:\n - internal\n\nexamples:\n - kind: function\n internal: true\n definition:\n name: increment\n contains:\n parameters:\n type:\n kind: tuple\n contains:\n - name: value\n type:\n kind: uint\n bits: 256\n returns:\n type:\n kind: uint\n bits: 256\n - kind: function\n external: true\n definition:\n name: withdraw\n contains:\n contract:\n type:\n kind: contract\n payable: true\n interface: true\n definition:\n name: Bank\n parameters:\n type:\n kind: tuple\n contains:\n - name: beneficiary\n type:\n kind: address\n payable: true\n - name: amount\n type:\n kind: ufixed\n bits: 128\n places: 18\n returns:\n type:\n kind: tuple\n contains: []\n\n$defs:\n Parameters:\n type: object\n title: Parameters\n description:\n A type wrapper around a tuple of types. This schema uses a tuple type to\n represent an ordered list of types.\n allOf:\n - $ref: "schema:ethdebug/format/type/wrapper"\n - title: Tuple type wrapper\n type: object\n properties:\n type:\n $ref: "schema:ethdebug/format/type/complex/tuple"\n',"schema:ethdebug/format/type/complex/mapping":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/complex/mapping"\n\ntitle: ethdebug/format/type/complex/mapping\ndescription:\n Schema for representing mapping types\n\ntype: object\nproperties:\n class:\n type: string\n const: complex\n kind:\n type: string\n const: mapping\n contains:\n type: object\n title: Mapping key/value types\n properties:\n key:\n $ref: "schema:ethdebug/format/type/wrapper"\n value:\n $ref: "schema:ethdebug/format/type/wrapper"\n required:\n - key\n - value\n\nrequired:\n - kind\n - contains\n\nexamples:\n - kind: mapping\n contains:\n key:\n type:\n kind: address\n value:\n type:\n kind: uint\n bits: 256\n',"schema:ethdebug/format/type/complex/struct":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/complex/struct"\n\ntitle: ethdebug/format/type/complex/struct\ndescription:\n Schema for representing struct types\n\ntype: object\nproperties:\n class:\n type: string\n const: complex\n kind:\n type: string\n const: struct\n contains:\n type: array\n items:\n $ref: "#/$defs/MemberField"\n definition:\n $ref: "schema:ethdebug/format/type/definition"\n\nrequired:\n - kind\n - contains\n\nexamples:\n - kind: struct\n contains:\n - name: x\n type:\n kind: uint\n bits: 128\n - name: y\n type:\n kind: uint\n bits: 128\n\n$defs:\n MemberField:\n type: object\n title: MemberField\n description:\n A schema representing a member field inside a struct type. This is an\n **ethdebug/format/type/wrapper** with additional fields.\n allOf:\n - $ref: "schema:ethdebug/format/type/wrapper"\n - title: Additional fields\n description:\n An object with optional `name` property for identifying named struct\n member fields. **Note** that this language does not specify that a\n struct must be consistent in its use of naming for all fields or none\n type: object\n properties:\n name:\n type: string\n',"schema:ethdebug/format/type/complex/tuple":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/complex/tuple"\n\ntitle: ethdebug/format/type/complex/tuple\ndescription:\n Schema for representing tuple types\n\ntype: object\nproperties:\n class:\n type: string\n const: complex\n kind:\n type: string\n const: tuple\n contains:\n type: array\n items:\n $ref: "#/$defs/Element"\n\nrequired:\n - kind\n - contains\n\nexamples:\n - # empty tuple type\n kind: tuple\n contains: []\n\n - kind: tuple\n contains:\n - name: x\n type:\n kind: uint\n bits: 128\n - name: y\n type:\n kind: uint\n bits: 128\n\n$defs:\n Element:\n type: object\n title: Element\n description:\n An optionally named element type within a tuple. This is an\n **ethdebug/format/type/wrapper** with additional fields.\n allOf:\n - $ref: "schema:ethdebug/format/type/wrapper"\n - title: Additional fields\n type: object\n properties:\n name:\n type: string\n description:\n For tuple types where positional element types are identified\n by name, this field **should** include this information.\n\n This schema makes no restriction on whether all-or-no elements\n have names, and so this field may be sparse across elements of\n the same tuple.\n',"schema:ethdebug/format/type/complex":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/complex"\n\ntitle: ethdebug/format/type/complex\ndescription:\n Canonical representation of a complex type\n\ntype: object\nproperties:\n kind:\n $ref: "#/$defs/Kind"\nrequired:\n - kind\n\nallOf:\n - if:\n properties:\n kind:\n const: alias\n then:\n $ref: "schema:ethdebug/format/type/complex/alias"\n\n - if:\n properties:\n kind:\n const: tuple\n then:\n $ref: "schema:ethdebug/format/type/complex/tuple"\n\n - if:\n properties:\n kind:\n const: array\n then:\n $ref: "schema:ethdebug/format/type/complex/array"\n\n - if:\n properties:\n kind:\n const: mapping\n then:\n $ref: "schema:ethdebug/format/type/complex/mapping"\n\n - if:\n properties:\n kind:\n const: struct\n then:\n $ref: "schema:ethdebug/format/type/complex/struct"\n\n - if:\n properties:\n kind:\n const: function\n then:\n $ref: "schema:ethdebug/format/type/complex/function"\n\n$defs:\n Kind:\n title: Known complex kind\n description:\n A schema for the values of `kind` reserved for known complex types\n included in ethdebug/format\n type: string\n enum:\n - alias\n - tuple\n - array\n - mapping\n - struct\n - function\n',"schema:ethdebug/format/type/definition":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/definition"\n\ntitle: ethdebug/format/type/definition\ndescription: |\n Object containing name and location information for a type.\n\n This schema does not require any particular field, but it **must** contain\n at least one property.\n\ntype: object\nproperties:\n name:\n type: string\n\n location:\n $ref: "schema:ethdebug/format/materials/source-range"\n\nanyOf:\n - title: Required `name`\n required: [name]\n - title: Required `location`\n required: [location]\n\nexamples:\n - name: Ballot\n location:\n source:\n id: 5\n range:\n offset: 10\n length: 56\n',"schema:ethdebug/format/type/elementary/address":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/address"\n\ntitle: ethdebug/format/type/elementary/address\ndescription:\n Schema describing the representation of an address type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: address\n payable:\n type: boolean\n description:\n If this field is omitted, this type represents an address whose\n payability is not known.\nrequired:\n - kind\nexamples:\n - # a type for addresses of unknown payability\n kind: address\n\n - # a type for payable addresses\n kind: address\n payable: true\n',"schema:ethdebug/format/type/elementary/bool":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/bool"\n\ntitle: ethdebug/format/type/elementary/bool\ndescription:\n Schema describing the representation of the boolean type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: bool\nrequired:\n - kind\nexamples:\n - kind: bool\n',"schema:ethdebug/format/type/elementary/bytes":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/bytes"\n\ntitle: ethdebug/format/type/elementary/bytes\ndescription:\n Schema describing the representation of a type of bytes string\n (either dynamic or static)\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: bytes\n size:\n type: number\n description:\n The number of bytes in the bytes string. If this field is omitted, this\n type is the dynamic bytes string type.\n minimum: 1\nrequired:\n - kind\nexamples:\n - # example static bytes type\n kind: bytes\n size: 32\n - # example dynamic bytes type\n kind: bytes\n',"schema:ethdebug/format/type/elementary/contract":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/contract"\n\ntitle: ethdebug/format/type/elementary/contract\ndescription:\n Schema describing the representation of a contract type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: contract\n payable:\n type: boolean\n description:\n If this field is omitted, this type represents an address whose\n payability is not known.\n definition:\n $ref: "schema:ethdebug/format/type/definition"\n\noneOf:\n - title: Normal contract type\n properties:\n library:\n const: false\n interface:\n const: false\n\n - title: Contract library type\n properties:\n library:\n const: true\n description:\n Indicates that this is a type representing a library\n required:\n - library\n\n - title: Contract interface type\n properties:\n interface:\n const: true\n description:\n Indicates that this is a type representing an interface\n required:\n - interface\n\nrequired:\n - kind\n\nexamples:\n - kind: contract\n\n - kind: contract\n library: false\n interface: false\n payable: true\n',"schema:ethdebug/format/type/elementary/enum":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/enum"\n\ntitle: ethdebug/format/type/elementary/enum\ndescription:\n Schema describing the representation of an enumerated type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: enum\n values:\n description:\n The allowed values of an enum. This format makes no restriction on which\n values are allowed here.\n type: array\n items: true\n definition:\n $ref: "schema:ethdebug/format/type/definition"\n\nrequired:\n - kind\n - values\n\nexamples:\n - kind: enum\n values:\n - A\n - B\n - C\n',"schema:ethdebug/format/type/elementary/fixed":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/fixed"\n\ntitle: ethdebug/format/type/elementary/fixed\ndescription:\n Schema describing the representation of a signed fixed decimal type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: fixed\n bits:\n type: number\n multipleOf: 8\n minimum: 8\n maximum: 256\n places:\n type: number\n description:\n How many decimal places, implying that a raw value `v` of this type\n should be interpreted as `v / (10**places)`\n minimum: 1\n maximum: 80\nrequired:\n - kind\n - bits\n - places\nexamples:\n - kind: fixed\n bits: 256\n places: 10\n',"schema:ethdebug/format/type/elementary/int":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/int"\n\ntitle: ethdebug/format/type/elementary/int\ndescription:\n Schema describing the representation of a signed integer type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: int\n bits:\n type: number\n multipleOf: 8\n minimum: 8\n maximum: 256\nrequired:\n - kind\n - bits\nexamples:\n - kind: int\n bits: 256\n',"schema:ethdebug/format/type/elementary/string":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/string"\n\ntitle: ethdebug/format/type/elementary/string\ndescription:\n Schema describing the representation of a string type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: string\n encoding:\n type: string\n default: utf-8\nrequired:\n - kind\nexamples:\n - kind: string\n - kind: string\n encoding: utf-16\n',"schema:ethdebug/format/type/elementary/ufixed":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/ufixed"\n\ntitle: ethdebug/format/type/elementary/ufixed\ndescription:\n Schema describing the representation of an unsigned fixed decimal type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: ufixed\n bits:\n type: number\n multipleOf: 8\n minimum: 8\n maximum: 256\n places:\n type: number\n description:\n How many decimal places, implying that a raw value `v` of this type\n should be interpreted as `v / (10**places)`\n minimum: 1\n maximum: 80\nrequired:\n - kind\n - bits\n - places\nexamples:\n - kind: ufixed\n bits: 256\n places: 10\n\n',"schema:ethdebug/format/type/elementary/uint":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary/uint"\n\ntitle: ethdebug/format/type/elementary/uint\ndescription:\n Schema describing the representation of an unsigned integer type\n\ntype: object\nproperties:\n class:\n const: elementary\n kind:\n const: uint\n bits:\n type: number\n multipleOf: 8\n minimum: 8\n maximum: 256\nrequired:\n - kind\n - bits\nexamples:\n - kind: uint\n bits: 256\n',"schema:ethdebug/format/type/elementary":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/elementary"\n\ntitle: ethdebug/format/type/elementary\ndescription:\n Canonical representation of an elementary type\n\ntype: object\nproperties:\n kind:\n $ref: "#/$defs/Kind"\nrequired:\n - kind\n\nallOf:\n - if:\n properties:\n kind:\n const: uint\n then:\n $ref: "schema:ethdebug/format/type/elementary/uint"\n\n - if:\n properties:\n kind:\n const: int\n then:\n $ref: "schema:ethdebug/format/type/elementary/int"\n\n - if:\n properties:\n kind:\n const: bool\n then:\n $ref: "schema:ethdebug/format/type/elementary/bool"\n\n - if:\n properties:\n kind:\n const: bytes\n then:\n $ref: "schema:ethdebug/format/type/elementary/bytes"\n\n - if:\n properties:\n kind:\n const: string\n then:\n $ref: "schema:ethdebug/format/type/elementary/string"\n\n - if:\n properties:\n kind:\n const: ufixed\n then:\n $ref: "schema:ethdebug/format/type/elementary/ufixed"\n\n - if:\n properties:\n kind:\n const: fixed\n then:\n $ref: "schema:ethdebug/format/type/elementary/fixed"\n - if:\n properties:\n kind:\n const: address\n then:\n $ref: "schema:ethdebug/format/type/elementary/address"\n\n - if:\n properties:\n kind:\n const: contract\n then:\n $ref: "schema:ethdebug/format/type/elementary/contract"\n\n - if:\n properties:\n kind:\n const: enum\n then:\n $ref: "schema:ethdebug/format/type/elementary/enum"\n\n$defs:\n Kind:\n title: Known elementary kind\n description:\n A schema for the values of `kind` reserved for known elementary types\n included in ethdebug/format\n type: string\n enum:\n - uint\n - int\n - bool\n - bytes\n - string\n - ufixed\n - fixed\n - address\n - contract\n - enum\n',"schema:ethdebug/format/type/reference":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/reference"\n\ntitle: ethdebug/format/type/reference\ndescription: A reference to a known type by ID\ntype: object\nproperties:\n id:\n type:\n - string\n - number\nadditionalProperties: false\nrequired:\n - id\nexamples:\n - id: 5\n',"schema:ethdebug/format/type/wrapper":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type/wrapper"\n\ntitle: ethdebug/format/type/wrapper\ndescription:\n A wrapper around a type. Defines a `"type"` field that may include a full\n Type representation or a reference to a known Type by ID. Note that this\n schema permits additional properties on the same object.\ntype: object\nproperties:\n type:\n # Discriminate between reference and type based on presence of `id`\n if:\n required:\n - id\n then:\n $ref: "schema:ethdebug/format/type/reference"\n else:\n $ref: "schema:ethdebug/format/type"\n\nrequired:\n - type\n\nexamples:\n - name: beneficiary\n type:\n kind: address\n payable: true\n - type:\n id: " "\n\n$defs:\n Array:\n title: \'{ "type": ... }[]\'\n description: A list of wrapped types, where the wrapper may add fields\n type: array\n items:\n $ref: "schema:ethdebug/format/type/wrapper"\n\n Object:\n title: \'{ "key": { "type": ... }, ... }\'\n description:\n A key-value mapping of wrapped types, where the wrapper may add fields\n type: object\n additionalProperties:\n $ref: "schema:ethdebug/format/type/wrapper"\n',"schema:ethdebug/format/type":'$schema: "https://json-schema.org/draft/2020-12/schema"\n$id: "schema:ethdebug/format/type"\n\ntitle: ethdebug/format/type\ndescription:\n Canonical representation for all types.\ntype: object\n\nif:\n type: object\n title: Known kind\n description:\n If `kind` adheres to the set of known kinds defined by this format\n properties:\n kind:\n anyOf:\n - $ref: "schema:ethdebug/format/type/elementary#/$defs/Kind"\n - $ref: "schema:ethdebug/format/type/complex#/$defs/Kind"\n\nthen:\n type: object\n title: KnownType\n description:\n Then the object must adhere to exactly one known kind of type\n allOf:\n - if:\n properties:\n kind:\n $ref: "schema:ethdebug/format/type/elementary#/$defs/Kind"\n then:\n $ref: "schema:ethdebug/format/type/elementary"\n - if:\n properties:\n kind:\n $ref: "schema:ethdebug/format/type/complex#/$defs/Kind"\n then:\n $ref: "schema:ethdebug/format/type/complex"\n\nelse:\n type: object\n description:\n Else the object must be a valid **ethdebug/format/type/base** with\n additional constraints\n allOf:\n - $ref: "schema:ethdebug/format/type/base"\n - title: Required `class` field\n required:\n - class\n - title: Specialized complex type `contains` field\n type: object\n if:\n description:\n If this object is a complex type\n properties:\n class:\n const: complex\n then:\n description:\n Then the `contains` field must adhere to\n **ethdebug/format/type/wrapper** schemas, not the\n **ethdebug/format/type/base** equivalent.\n\n (i.e., these additional constraints must apply recursively)\n properties:\n contains:\n oneOf:\n - $ref: "schema:ethdebug/format/type/wrapper"\n - $ref: "schema:ethdebug/format/type/wrapper#/$defs/Array"\n - $ref: "schema:ethdebug/format/type/wrapper#/$defs/Object"\n'}},64223:(e,t,n)=>{"use strict";n.d(t,{Z:()=>ui});var r={};n.r(r),n.d(r,{boolean:()=>S,booleanish:()=>C,commaOrSpaceSeparated:()=>j,commaSeparated:()=>P,number:()=>$,overloadedBoolean:()=>O,spaceSeparated:()=>A});var o={};n.r(o),n.d(o,{attentionMarkers:()=>fn,contentInitial:()=>on,disable:()=>dn,document:()=>rn,flow:()=>an,flowInitial:()=>sn,insideSpan:()=>ln,string:()=>un,text:()=>cn});var i=n(2784),s=n(70056),a=n.n(s),u=n(84560),c=n.n(u),l=n(77336),f=n(82009),d=n(99372);const h={"schema:ethdebug/format/type/base":{title:"ethdebug/format/type/base schema",href:"/spec/type/base"},"schema:ethdebug/format/type/base#/$defs/TypeWrapper":{title:"Base type wrapper schema",href:"/spec/type/base#base-type-wrapper-schema"},"schema:ethdebug/format/type/wrapper":{title:"Type wrapper schema",href:"/spec/type/concepts#type-wrapper-schema"},"schema:ethdebug/format/type/reference":{title:"Type reference schema",href:"/spec/type/concepts#type-reference-schema"},"schema:ethdebug/format/type/definition":{title:"Type definition schema",href:"/spec/type/concepts#type-definition-schema"},"schema:ethdebug/format/type":{href:"/spec/type"},"schema:ethdebug/format/type/elementary":{href:"/spec/type#elementary-type-schema"},"schema:ethdebug/format/type/complex":{href:"/spec/type#complex-type-schema"},...["uint","int","ufixed","fixed","bool","bytes","string","address","contract","enum"].map((e=>({[`schema:ethdebug/format/type/elementary/${e}`]:{href:`/spec/type/elementary/${e}`}}))).reduce(((e,t)=>({...e,...t})),{}),...["alias","tuple","array","mapping","struct","function"].map((e=>({[`schema:ethdebug/format/type/complex/${e}`]:{href:`/spec/type/complex/${e}`}}))).reduce(((e,t)=>({...e,...t})),{}),"schema:ethdebug/format/type/complex/function#/$defs/Parameters":{title:"Parameters schema",href:"/spec/type/complex/function#parameters-schema"},"schema:ethdebug/format/pointer":{href:"/spec/pointer"},"schema:ethdebug/format/pointer/region":{href:"/spec/pointer/region"},"schema:ethdebug/format/pointer/region/base":{href:"/spec/pointer/region/base"},...["stack","memory","storage","calldata","returndata","transient","code"].map((e=>({[`schema:ethdebug/format/pointer/region/${e}`]:{href:`/spec/pointer/region/location/${e}`}}))).reduce(((e,t)=>({...e,...t})),{}),...["slice","segment"].map((e=>({[`schema:ethdebug/format/pointer/scheme/${e}`]:{href:`/spec/pointer/region/scheme/${e}`}}))).reduce(((e,t)=>({...e,...t})),{}),"schema:ethdebug/format/pointer/collection":{href:"/spec/pointer/collection"},...["group","list","conditional","scope"].map((e=>({[`schema:ethdebug/format/pointer/collection/${e}`]:{href:`/spec/pointer/collection/${e}`}}))).reduce(((e,t)=>({...e,...t})),{}),"schema:ethdebug/format/pointer/expression":{href:"/spec/pointer/expression"},...Object.entries({Literal:{title:"Literal values schema",anchor:"#literal-values"},Variable:{title:"Variable expression schema",anchor:"#variables"},Arithmetic:{title:"Arithmetic operation expression schema",anchor:"#arithmetic-operations"},Lookup:{title:"Lookup expression schema",anchor:"#lookup-region-definition"},Read:{title:"Read expression schema",anchor:"#reading-from-the-evm"},Keccak256:{title:"Keccak256 hash expression schema",anchor:"#keccak256-hashes"},Resize:{title:"Resize operation schema",anchor:"#resize-operations"},Reference:{title:"Region reference",anchor:"#region-references"}}).map((e=>{let[t,{title:n,anchor:r}]=e;return{[`schema:ethdebug/format/pointer/expression#/$defs/${t}`]:{title:n,href:`/spec/pointer/expression${r}`}}})).reduce(((e,t)=>({...e,...t})),{}),"schema:ethdebug/format/materials/id":{title:"Identifier schema",href:"/spec/materials/id#identifier-schema"},"schema:ethdebug/format/materials/reference":{title:"Identifier schema",href:"/spec/materials/id#reference-schema"},"schema:ethdebug/format/materials/compilation":{title:"Compilation schema",href:"/spec/materials/compilation"},"schema:ethdebug/format/materials/source":{title:"Source schema",href:"/spec/materials/source"}};var p=n(35849);const m=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,g=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,y={};function v(e,t){return((t||y).jsx?g:m).test(e)}const b=/[ \t\n\f\r]/g;function _(e){return""===e.replace(b,"")}class w{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function E(e,t){const n={},r={};let o=-1;for(;++o "xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),L=R({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function z(e,t){return t in e?e[t]:t}function U(e,t){return z(e,t.toLowerCase())}const q=R({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:U,properties:{xmlns:null,xmlnsXLink:null}}),V=R({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:C,ariaAutoComplete:null,ariaBusy:C,ariaChecked:C,ariaColCount:$,ariaColIndex:$,ariaColSpan:$,ariaControls:A,ariaCurrent:null,ariaDescribedBy:A,ariaDetails:null,ariaDisabled:C,ariaDropEffect:A,ariaErrorMessage:null,ariaExpanded:C,ariaFlowTo:A,ariaGrabbed:C,ariaHasPopup:null,ariaHidden:C,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:A,ariaLevel:$,ariaLive:null,ariaModal:C,ariaMultiLine:C,ariaMultiSelectable:C,ariaOrientation:null,ariaOwns:A,ariaPlaceholder:null,ariaPosInSet:$,ariaPressed:C,ariaReadOnly:C,ariaRelevant:null,ariaRequired:C,ariaRoleDescription:A,ariaRowCount:$,ariaRowIndex:$,ariaRowSpan:$,ariaSelected:C,ariaSetSize:$,ariaSort:null,ariaValueMax:$,ariaValueMin:$,ariaValueNow:$,ariaValueText:null,role:null}}),Q=R({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:U,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:P,acceptCharset:A,accessKey:A,action:null,allow:null,allowFullScreen:S,allowPaymentRequest:S,allowUserMedia:S,alt:null,as:null,async:S,autoCapitalize:null,autoComplete:A,autoFocus:S,autoPlay:S,blocking:A,capture:S,charSet:null,checked:S,cite:null,className:A,cols:$,colSpan:null,content:null,contentEditable:C,controls:S,controlsList:A,coords:$|P,crossOrigin:null,data:null,dateTime:null,decoding:null,default:S,defer:S,dir:null,dirName:null,disabled:S,download:O,draggable:C,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:S,formTarget:null,headers:A,height:$,hidden:S,high:$,href:null,hrefLang:null,htmlFor:A,httpEquiv:A,id:null,imageSizes:null,imageSrcSet:null,inert:S,inputMode:null,integrity:null,is:null,isMap:S,itemId:null,itemProp:A,itemRef:A,itemScope:S,itemType:A,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:S,low:$,manifest:null,max:null,maxLength:$,media:null,method:null,min:null,minLength:$,multiple:S,muted:S,name:null,nonce:null,noModule:S,noValidate:S,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:S,optimum:$,pattern:null,ping:A,placeholder:null,playsInline:S,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:S,referrerPolicy:null,rel:A,required:S,reversed:S,rows:$,rowSpan:$,sandbox:A,scope:null,scoped:S,seamless:S,selected:S,shadowRootDelegatesFocus:S,shadowRootMode:null,shape:null,size:$,sizes:null,slot:null,span:$,spellCheck:C,src:null,srcDoc:null,srcLang:null,srcSet:null,start:$,step:null,style:null,tabIndex:$,target:null,title:null,translate:null,type:null,typeMustMatch:S,useMap:null,value:C,width:$,wrap:null,align:null,aLink:null,archive:A,axis:null,background:null,bgColor:null,border:$,borderColor:null,bottomMargin:$,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:S,declare:S,event:null,face:null,frame:null,frameBorder:null,hSpace:$,leftMargin:$,link:null,longDesc:null,lowSrc:null,marginHeight:$,marginWidth:$,noResize:S,noHref:S,noShade:S,noWrap:S,object:null,profile:null,prompt:null,rev:null,rightMargin:$,rules:null,scheme:null,scrolling:C,standby:null,summary:null,text:null,topMargin:$,valueType:null,version:null,vAlign:null,vLink:null,vSpace:$,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:S,disableRemotePlayback:S,prefix:null,property:null,results:$,security:null,unselectable:null}}),X=R({space:"svg",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",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-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"},transform:z,properties:{about:j,accentHeight:$,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:$,amplitude:$,arabicForm:null,ascent:$,attributeName:null,attributeType:null,azimuth:$,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:$,by:null,calcMode:null,capHeight:$,className:A,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:$,diffuseConstant:$,direction:null,display:null,dur:null,divisor:$,dominantBaseline:null,download:S,dx:null,dy:null,edgeMode:null,editable:null,elevation:$,enableBackground:null,end:null,event:null,exponent:$,externalResourcesRequired:null,fill:null,fillOpacity:$,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:P,g2:P,glyphName:P,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:$,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:$,horizOriginX:$,horizOriginY:$,id:null,ideographic:$,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:$,k:$,k1:$,k2:$,k3:$,k4:$,kernelMatrix:j,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:$,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:$,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,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:$,overlineThickness:$,paintOrder:null,panose1:null,path:null,pathLength:$,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:A,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:$,pointsAtY:$,pointsAtZ:$,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:j,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:j,rev:j,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:j,requiredFeatures:j,requiredFonts:j,requiredFormats:j,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:$,specularExponent:$,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:$,strikethroughThickness:$,string:null,stroke:null,strokeDashArray:j,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:$,strokeOpacity:$,strokeWidth:null,style:null,surfaceScale:$,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:j,tabIndex:$,tableValues:null,target:null,targetX:$,targetY:$,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:j,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:$,underlineThickness:$,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:$,values:null,vAlphabetic:$,vMathematical:$,vectorEffect:null,vHanging:$,vIdeographic:$,version:null,vertAdvY:$,vertOriginX:$,vertOriginY:$,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:$,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),H=E([L,B,q,V,Q],"html"),K=E([L,B,q,V,X],"svg"),J=/^data[-\w.:]+$/i,W=/-[a-z]/g,G=/[A-Z]/g;function Z(e){return"-"+e.toLowerCase()}function Y(e){return e.charAt(1).toUpperCase()}const ee={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"};var te=n(63338);const ne=te.default||te,re=ie("end"),oe=ie("start");function ie(e){return function(t){const 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 se(e){return e&&"object"==typeof e?"position"in e||"type"in e?ue(e.position):"start"in e||"end"in e?ue(e):"line"in e||"column"in e?ae(e):"":""}function ae(e){return ce(e&&e.line)+":"+ce(e&&e.column)}function ue(e){return ae(e&&e.start)+"-"+ae(e&&e.end)}function ce(e){return e&&"number"==typeof e?e:1}class le extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",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?r=e:!o.cause&&e&&(i=!0,r=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 s=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=s?s.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=s?s.line:void 0,this.name=se(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,this.expected,this.note,this.url}}le.prototype.file="",le.prototype.name="",le.prototype.reason="",le.prototype.message="",le.prototype.stack="",le.prototype.column=void 0,le.prototype.line=void 0,le.prototype.ancestors=void 0,le.prototype.cause=void 0,le.prototype.fatal=void 0,le.prototype.place=void 0,le.prototype.ruleId=void 0,le.prototype.source=void 0;const fe={}.hasOwnProperty,de=new Map,he=/[A-Z]/g,pe=/-([a-z])/g,me=new Set(["table","tbody","thead","tfoot","tr"]),ge=new Set(["td","th"]),ye="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function ve(e,t){if(!t||void 0===t.Fragment)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if("function"!=typeof t.jsxDEV)throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=function(e,t){return n;function n(n,r,o,i){const s=Array.isArray(o.children),a=oe(n);return t(r,o,i,s,{columnNumber:a?a.column-1:void 0,fileName:e,lineNumber:a?a.line:void 0},void 0)}}(n,t.jsxDEV)}else{if("function"!=typeof t.jsx)throw new TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw new TypeError("Expected `jsxs` in production options");r=function(e,t,n){return r;function r(e,r,o,i){const s=Array.isArray(o.children)?n:t;return i?s(r,o,i):s(r,o)}}(0,t.jsx,t.jsxs)}const o={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?K:H,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},i=be(o,e,void 0);return i&&"string"!=typeof i?i:o.create(e,o.Fragment,{children:i||void 0},void 0)}function be(e,t,n){return"element"===t.type?function(e,t,n){const r=e.schema;let o=r;"svg"===t.tagName.toLowerCase()&&"html"===r.space&&(o=K,e.schema=o);e.ancestors.push(t);const i=xe(e,t.tagName,!1),s=function(e,t){const n={};let r,o;for(o in t.properties)if("children"!==o&&fe.call(t.properties,o)){const i=ke(e,o,t.properties[o]);if(i){const[o,s]=i;e.tableCellAlignToStyle&&"align"===o&&"string"==typeof s&&ge.has(t.tagName)?r=s:n[o]=s}}if(r){(n.style||(n.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=r}return n}(e,t);let a=Ee(e,t);me.has(t.tagName)&&(a=a.filter((function(e){return"string"!=typeof e||!("object"==typeof(t=e)?"text"===t.type&&_(t.value):_(t));var t})));return _e(e,s,i,t),we(s,a),e.ancestors.pop(),e.schema=r,e.create(t,i,s,n)}(e,t,n):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}De(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,n){const r=e.schema;let o=r;"svg"===t.name&&"html"===r.space&&(o=K,e.schema=o);e.ancestors.push(t);const i=null===t.name?e.Fragment:xe(e,t.name,!0),s=function(e,t){const n={};for(const r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){const t=r.data.estree.body[0];t.type;const o=t.expression;o.type;const i=o.properties[0];i.type,Object.assign(n,e.evaluater.evaluateExpression(i.argument))}else De(e,t.position);else{const o=r.name;let i;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){const t=r.value.data.estree.body[0];t.type,i=e.evaluater.evaluateExpression(t.expression)}else De(e,t.position);else i=null===r.value||r.value;n[o]=i}return n}(e,t),a=Ee(e,t);return _e(e,s,i,t),we(s,a),e.ancestors.pop(),e.schema=r,e.create(t,i,s,n)}(e,t,n):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);De(e,t.position)}(e,t):"root"===t.type?function(e,t,n){const r={};return we(r,Ee(e,t)),e.create(t,e.Fragment,r,n)}(e,t,n):"text"===t.type?function(e,t){return t.value}(0,t):void 0}function _e(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function we(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function Ee(e,t){const n=[];let r=-1;const o=e.passKeys?new Map:de;for(;++r 4&&"data"===n.slice(0,4)&&J.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(W,Y);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!W.test(e)){let n=e.replace(G,Z);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=N}return new o(r,t)}(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?function(e,t){const n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(n):n.join(" ").trim()),"style"===r.property){let t="object"==typeof n?n:function(e,t){const n={};try{ne(t,r)}catch(o){if(!e.ignoreInvalidStyle){const t=o,n=new le("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:t,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=ye+"#cannot-parse-style-attribute",n}}return n;function r(e,t){let r=e;"--"!==r.slice(0,2)&&("-ms-"===r.slice(0,4)&&(r="ms-"+r.slice(4)),r=r.replace(pe,Ce)),n[r]=t}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){const t={};let n;for(n in e)fe.call(e,n)&&(t[Se(n)]=e[n]);return t}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?ee[r.property]||r.property:r.attribute,n]}}function xe(e,t,n){let r;if(n)if(t.includes(".")){const e=t.split(".");let n,o=-1;for(;++o o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);s 0?(Ie(e,e.length,0,t),e):t}function Te(e){const t={};let n,r,o,i,s,a,u,c=-1;for(;++c -1&&e.test(String.fromCharCode(t))}}function et(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let i=0;return function(r){if(Ge(r))return e.enter(n),s(r);return t(r)};function s(r){return Ge(r)&&i++ i))return;const n=t.events.length;let o,a,u=n;for(;u--;)if("exit"===t.events[u][0]&&"chunkFlow"===t.events[u][1].type){if(o){a=t.events[u][1].end;break}o=!0}for(y(s),e=n;e r;){const r=n[o];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function v(){r.write([null]),o=void 0,r=void 0,t.containerState._closeFlow=void 0}}},rt={tokenize:function(e,t,n){return et(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const ot={tokenize:function(e,t,n){return function(t){return Ge(t)?et(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||Je(e)?t(e):n(e)}},partial:!0};const it={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?o(t):Je(t)?e.check(st,i,o)(t):(e.consume(t),r)}function o(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function i(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(e){return Te(e),e}},st={tokenize:function(e,t,n){const r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),et(e,o,"linePrefix")};function o(o){if(null===o||Je(o))return n(o);const i=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}},partial:!0};const at={tokenize:function(e){const t=this,n=e.attempt(ot,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,r,et(e,e.attempt(this.parser.constructs.flow,r,e.attempt(it,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}};const ut={resolveAll:dt()},ct=ft("string"),lt=ft("text");function ft(e){return{tokenize:function(t){const n=this,r=this.parser.constructs[e],o=t.attempt(r,i,s);return i;function i(e){return u(e)?o(e):s(e)}function s(e){if(null!==e)return t.enter("data"),t.consume(e),a;t.consume(e)}function a(e){return u(e)?(t.exit("data"),o(e)):(t.consume(e),a)}function u(e){if(null===e)return!0;const t=r[e];let o=-1;if(t)for(;++o -1){const e=s[0];"string"==typeof e?s[0]=e.slice(r):s.shift()}i>0&&s.push(e[o].slice(0,i))}return s}(s,e)}function p(){const{line:e,column:t,offset:n,_index:o,_bufferIndex:i}=r;return{line:e,column:t,offset:n,_index:o,_bufferIndex:i}}function m(){let e;for(;r._index =3&&(null===i||Je(i))?(e.exit("thematicBreak"),t(i)):n(i)}function s(t){return t===r?(e.consume(t),o++,s):(e.exit("thematicBreakSequence"),Ge(t)?et(e,i,"whitespace")(t):i(t))}}};const yt={name:"list",tokenize:function(e,t,n){const r=this,o=r.events[r.events.length-1];let i=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,s=0;return function(t){const o=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===o?!r.containerState.marker||t===r.containerState.marker:Xe(t)){if(r.containerState.type||(r.containerState.type=o,e.enter(o,{_container:!0})),"listUnordered"===o)return e.enter("listItemPrefix"),42===t||45===t?e.check(gt,n,u)(t):u(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),a(t)}return n(t)};function a(t){return Xe(t)&&++s<10?(e.consume(t),a):(!r.interrupt||s<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),u(t)):n(t)}function u(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(ot,r.interrupt?n:c,e.attempt(vt,f,l))}function c(e){return r.containerState.initialBlankLine=!0,i++,f(e)}function l(t){return Ge(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),f):n(t)}function f(n){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(ot,o,i);function o(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,et(e,t,"listItemIndent",r.containerState.size+1)(n)}function i(n){return r.containerState.furtherBlankLines||!Ge(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,s(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(bt,t,s)(n))}function s(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,et(e,e.attempt(yt,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)}},vt={tokenize:function(e,t,n){const r=this;return et(e,(function(e){const o=r.events[r.events.length-1];return!Ge(e)&&o&&"listItemPrefixWhitespace"===o[1].type?t(e):n(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},bt={tokenize:function(e,t,n){const r=this;return et(e,(function(e){const o=r.events[r.events.length-1];return o&&"listItemIndent"===o[1].type&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0};const _t={name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const 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"),o}return n(t)};function o(n){return Ge(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){const r=this;return function(t){if(Ge(t))return et(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t);return o(t)};function o(r){return e.attempt(_t,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function wt(e,t,n,r,o,i,s,a,u){const c=u||Number.POSITIVE_INFINITY;let l=0;return function(t){if(60===t)return e.enter(r),e.enter(o),e.enter(i),e.consume(t),e.exit(i),f;if(null===t||32===t||41===t||Qe(t))return n(t);return e.enter(r),e.enter(s),e.enter(a),e.enter("chunkString",{contentType:"string"}),p(t)};function f(n){return 62===n?(e.enter(i),e.consume(n),e.exit(i),e.exit(o),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),d(n))}function d(t){return 62===t?(e.exit("chunkString"),e.exit(a),f(t)):null===t||60===t||Je(t)?n(t):(e.consume(t),92===t?h:d)}function h(t){return 60===t||62===t||92===t?(e.consume(t),d):d(t)}function p(o){return l||null!==o&&41!==o&&!We(o)?l 999||null===f||91===f||93===f&&!a||94===f&&!u&&"_hiddenFootnoteSupport"in s.parser.constructs?n(f):93===f?(e.exit(i),e.enter(o),e.consume(f),e.exit(o),e.exit(r),t):Je(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),l(f))}function l(t){return null===t||91===t||93===t||Je(t)||u++>999?(e.exit("chunkString"),c(t)):(e.consume(t),a||(a=!Ge(t)),92===t?f:l)}function f(t){return 91===t||92===t||93===t?(e.consume(t),u++,l):l(t)}}function kt(e,t,n,r,o,i){let s;return function(t){if(34===t||39===t||40===t)return e.enter(r),e.enter(o),e.consume(t),e.exit(o),s=40===t?41:t,a;return n(t)};function a(n){return n===s?(e.enter(o),e.consume(n),e.exit(o),e.exit(r),t):(e.enter(i),u(n))}function u(t){return t===s?(e.exit(i),a(s)):null===t?n(t):Je(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),et(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===s||null===t||Je(t)?(e.exit("chunkString"),u(t)):(e.consume(t),92===t?l:c)}function l(t){return t===s||92===t?(e.consume(t),c):c(t)}}function xt(e,t){let n;return function r(o){if(Je(o))return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r;if(Ge(o))return et(e,r,n?"linePrefix":"lineSuffix")(o);return t(o)}}function Dt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const St={name:"definition",tokenize:function(e,t,n){const r=this;let o;return function(t){return e.enter("definition"),function(t){return Et.call(r,e,i,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function i(t){return o=Dt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s):n(t)}function s(t){return We(t)?xt(e,a)(t):a(t)}function a(t){return wt(e,u,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function u(t){return e.attempt(Ct,c,c)(t)}function c(t){return Ge(t)?et(e,l,"whitespace")(t):l(t)}function l(i){return null===i||Je(i)?(e.exit("definition"),r.parser.defined.push(o),t(i)):n(i)}}},Ct={tokenize:function(e,t,n){return function(t){return We(t)?xt(e,r)(t):n(t)};function r(t){return kt(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function o(t){return Ge(t)?et(e,i,"whitespace")(t):i(t)}function i(e){return null===e||Je(e)?t(e):n(e)}},partial:!0};const Ot={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),et(e,o,"linePrefix",5)(t)};function o(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?i(e):n(e)}function i(t){return null===t?a(t):Je(t)?e.attempt($t,i,a)(t):(e.enter("codeFlowValue"),s(t))}function s(t){return null===t||Je(t)?(e.exit("codeFlowValue"),i(t)):(e.consume(t),s)}function a(n){return e.exit("codeIndented"),t(n)}}},$t={tokenize:function(e,t,n){const r=this;return o;function o(t){return r.parser.lazy[r.now().line]?n(t):Je(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):et(e,i,"linePrefix",5)(t)}function i(e){const i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(e):Je(e)?o(e):n(e)}},partial:!0};const At={name:"headingAtx",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),o(t)}(t)};function o(t){return 35===t&&r++<6?(e.consume(t),o):null===t||We(t)?(e.exit("atxHeadingSequence"),i(t)):n(t)}function i(n){return 35===n?(e.enter("atxHeadingSequence"),s(n)):null===n||Je(n)?(e.exit("atxHeading"),t(n)):Ge(n)?et(e,i,"whitespace")(n):(e.enter("atxHeadingText"),a(n))}function s(t){return 35===t?(e.consume(t),s):(e.exit("atxHeadingSequence"),i(t))}function a(t){return null===t||35===t||We(t)?(e.exit("atxHeadingText"),i(t)):(e.consume(t),a)}},resolve:function(e,t){let n,r,o=e.length-2,i=3;"whitespace"===e[i][1].type&&(i+=2);o-2>i&&"whitespace"===e[o][1].type&&(o-=2);"atxHeadingSequence"===e[o][1].type&&(i===o-1||o-4>i&&"whitespace"===e[o-2][1].type)&&(o-=i+1===o?2:4);o>i&&(n={type:"atxHeadingText",start:e[i][1].start,end:e[o][1].end},r={type:"chunkText",start:e[i][1].start,end:e[o][1].end,contentType:"text"},Ie(e,i,o-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};const Pt={name:"setextUnderline",tokenize:function(e,t,n){const r=this;let o;return function(t){let s,a=r.events.length;for(;a--;)if("lineEnding"!==r.events[a][1].type&&"linePrefix"!==r.events[a][1].type&&"content"!==r.events[a][1].type){s="paragraph"===r.events[a][1].type;break}if(!r.parser.lazy[r.now().line]&&(r.interrupt||s))return e.enter("setextHeadingLine"),o=t,function(t){return e.enter("setextHeadingLineSequence"),i(t)}(t);return n(t)};function i(t){return t===o?(e.consume(t),i):(e.exit("setextHeadingLineSequence"),Ge(t)?et(e,s,"lineSuffix")(t):s(t))}function s(r){return null===r||Je(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,o,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){n=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),o||"definition"!==e[i][1].type||(o=i);const s={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",s,t]),e.splice(o+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[o][1].end)):e[n][1]=s;return e.push(["exit",s,t]),e}};const jt=["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"],Ft=["pre","script","style","textarea"],It={name:"htmlFlow",tokenize:function(e,t,n){const r=this;let o,i,s,a,u;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c}(t)};function c(a){return 33===a?(e.consume(a),l):47===a?(e.consume(a),i=!0,h):63===a?(e.consume(a),o=3,r.interrupt?t:I):Ue(a)?(e.consume(a),s=String.fromCharCode(a),p):n(a)}function l(i){return 45===i?(e.consume(i),o=2,f):91===i?(e.consume(i),o=5,a=0,d):Ue(i)?(e.consume(i),o=4,r.interrupt?t:I):n(i)}function f(o){return 45===o?(e.consume(o),r.interrupt?t:I):n(o)}function d(o){const i="CDATA[";return o===i.charCodeAt(a++)?(e.consume(o),6===a?r.interrupt?t:S:d):n(o)}function h(t){return Ue(t)?(e.consume(t),s=String.fromCharCode(t),p):n(t)}function p(a){if(null===a||47===a||62===a||We(a)){const u=47===a,c=s.toLowerCase();return u||i||!Ft.includes(c)?jt.includes(s.toLowerCase())?(o=6,u?(e.consume(a),m):r.interrupt?t(a):S(a)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(a):i?g(a):y(a)):(o=1,r.interrupt?t(a):S(a))}return 45===a||qe(a)?(e.consume(a),s+=String.fromCharCode(a),p):n(a)}function m(o){return 62===o?(e.consume(o),r.interrupt?t:S):n(o)}function g(t){return Ge(t)?(e.consume(t),g):x(t)}function y(t){return 47===t?(e.consume(t),x):58===t||95===t||Ue(t)?(e.consume(t),v):Ge(t)?(e.consume(t),y):x(t)}function v(t){return 45===t||46===t||58===t||95===t||qe(t)?(e.consume(t),v):b(t)}function b(t){return 61===t?(e.consume(t),_):Ge(t)?(e.consume(t),b):y(t)}function _(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),u=t,w):Ge(t)?(e.consume(t),_):E(t)}function w(t){return t===u?(e.consume(t),u=null,k):null===t||Je(t)?n(t):(e.consume(t),w)}function E(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||We(t)?b(t):(e.consume(t),E)}function k(e){return 47===e||62===e||Ge(e)?y(e):n(e)}function x(t){return 62===t?(e.consume(t),D):n(t)}function D(t){return null===t||Je(t)?S(t):Ge(t)?(e.consume(t),D):n(t)}function S(t){return 45===t&&2===o?(e.consume(t),A):60===t&&1===o?(e.consume(t),P):62===t&&4===o?(e.consume(t),N):63===t&&3===o?(e.consume(t),I):93===t&&5===o?(e.consume(t),F):!Je(t)||6!==o&&7!==o?null===t||Je(t)?(e.exit("htmlFlowData"),C(t)):(e.consume(t),S):(e.exit("htmlFlowData"),e.check(Nt,T,C)(t))}function C(t){return e.check(Tt,O,T)(t)}function O(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),$}function $(t){return null===t||Je(t)?C(t):(e.enter("htmlFlowData"),S(t))}function A(t){return 45===t?(e.consume(t),I):S(t)}function P(t){return 47===t?(e.consume(t),s="",j):S(t)}function j(t){if(62===t){const n=s.toLowerCase();return Ft.includes(n)?(e.consume(t),N):S(t)}return Ue(t)&&s.length<8?(e.consume(t),s+=String.fromCharCode(t),j):S(t)}function F(t){return 93===t?(e.consume(t),I):S(t)}function I(t){return 62===t?(e.consume(t),N):45===t&&2===o?(e.consume(t),I):S(t)}function N(t){return null===t||Je(t)?(e.exit("htmlFlowData"),T(t)):(e.consume(t),N)}function T(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););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));return e},concrete:!0},Nt={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(ot,t,n)}},partial:!0},Tt={tokenize:function(e,t,n){const r=this;return function(t){if(Je(t))return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o;return n(t)};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0};const Mt={tokenize:function(e,t,n){const r=this;return function(t){if(null===t)return n(t);return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},Rt={name:"codeFenced",tokenize:function(e,t,n){const r=this,o={tokenize:function(e,t,n){let o=0;return s;function s(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),u}function u(t){return e.enter("codeFencedFence"),Ge(t)?et(e,c,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):c(t)}function c(t){return t===i?(e.enter("codeFencedFenceSequence"),l(t)):n(t)}function l(t){return t===i?(o++,e.consume(t),l):o>=a?(e.exit("codeFencedFenceSequence"),Ge(t)?et(e,f,"whitespace")(t):f(t)):n(t)}function f(r){return null===r||Je(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0};let i,s=0,a=0;return function(t){return function(t){const n=r.events[r.events.length-1];return s=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,i=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),u(t)}(t)};function u(t){return t===i?(a++,e.consume(t),u):a<3?n(t):(e.exit("codeFencedFenceSequence"),Ge(t)?et(e,c,"whitespace")(t):c(t))}function c(n){return null===n||Je(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(Mt,h,v)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),l(n))}function l(t){return null===t||Je(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(t)):Ge(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),et(e,f,"whitespace")(t)):96===t&&t===i?n(t):(e.consume(t),l)}function f(t){return null===t||Je(t)?c(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),d(t))}function d(t){return null===t||Je(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(t)):96===t&&t===i?n(t):(e.consume(t),d)}function h(t){return e.attempt(o,v,p)(t)}function p(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){return s>0&&Ge(t)?et(e,g,"linePrefix",s+1)(t):g(t)}function g(t){return null===t||Je(t)?e.check(Mt,h,v)(t):(e.enter("codeFlowValue"),y(t))}function y(t){return null===t||Je(t)?(e.exit("codeFlowValue"),g(t)):(e.consume(t),y)}function v(n){return e.exit("codeFenced"),t(n)}},concrete:!0};const Bt=document.createElement("i");function Lt(e){const t="&"+e+";";Bt.innerHTML=t;const n=Bt.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&(n!==t&&n)}const zt={name:"characterReference",tokenize:function(e,t,n){const r=this;let o,i,s=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"),o=31,i=qe,c(t))}function u(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,i=He,c):(e.enter("characterReferenceValue"),o=7,i=Xe,c(t))}function c(a){if(59===a&&s){const o=e.exit("characterReferenceValue");return i!==qe||Lt(r.sliceSerialize(o))?(e.enter("characterReferenceMarker"),e.consume(a),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(a)}return i(a)&&s++ 1&&e[l][1].end.offset-e[l][1].start.offset>1?2:1;const f=Object.assign({},e[n][1].end),d=Object.assign({},e[l][1].start);Gt(f,-a),Gt(d,a),i={type:a>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[n][1].end)},s={type:a>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[l][1].start),end:d},o={type:a>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[l][1].start)},r={type:a>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},s.end)},e[n][1].end=Object.assign({},i.start),e[l][1].start=Object.assign({},s.end),u=[],e[n][1].end.offset-e[n][1].start.offset&&(u=Ne(u,[["enter",e[n][1],t],["exit",e[n][1],t]])),u=Ne(u,[["enter",r,t],["enter",i,t],["exit",i,t],["enter",o,t]]),u=Ne(u,pt(t.parser.constructs.insideSpan.null,e.slice(n+1,l),t)),u=Ne(u,[["exit",o,t],["enter",s,t],["exit",s,t],["exit",r,t]]),e[l][1].end.offset-e[l][1].start.offset?(c=2,u=Ne(u,[["enter",e[l][1],t],["exit",e[l][1],t]])):c=0,Ie(e,n-1,l-n+3,u),l=n+u.length-c-2;break}l=-1;for(;++l 13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535==(65535&n)||65534==(65535&n)||n>1114111?"\ufffd":String.fromCodePoint(n)}const gn=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function yn(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return mn(n.slice(t?2:1),t?16:10)}return Lt(n)||e}const vn={}.hasOwnProperty;function bn(e,t,n){return"string"!=typeof t&&(n=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(ee),autolinkProtocol:D,autolinkEmail:D,atxHeading:i(W),blockQuote:i(Q),characterEscape:D,characterReference:D,codeFenced:i(X),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:i(X,s),codeText:i(H,s),codeTextData:D,data:D,codeFlowValue:D,definition:i(K),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:i(J),hardBreakEscape:i(G),hardBreakTrailing:i(G),htmlFlow:i(Z,s),htmlFlowData:D,htmlText:i(Z,s),htmlTextData:D,image:i(Y),label:s,link:i(ee),listItem:i(ne),listItemValue:d,listOrdered:i(te,f),listUnordered:i(te),paragraph:i(re),reference:B,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:i(W),strong:i(oe),thematicBreak:i(ae)},exit:{atxHeading:u(),atxHeadingSequence:w,autolink:u(),autolinkEmail:V,autolinkProtocol:q,blockQuote:u(),characterEscapeValue:S,characterReferenceMarkerHexadecimal:z,characterReferenceMarkerNumeric:z,characterReferenceValue:U,codeFenced:u(g),codeFencedFence:m,codeFencedFenceInfo:h,codeFencedFenceMeta:p,codeFlowValue:S,codeIndented:u(y),codeText:u(P),codeTextData:S,data:S,definition:u(),definitionDestinationString:_,definitionLabelString:v,definitionTitleString:b,emphasis:u(),hardBreakEscape:u(O),hardBreakTrailing:u(O),htmlFlow:u($),htmlFlowData:S,htmlText:u(A),htmlTextData:S,image:u(F),label:N,labelText:I,lineEnding:C,link:u(j),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:L,resourceDestinationString:T,resourceTitleString:M,resource:R,setextHeading:u(x),setextHeadingLineSequence:k,setextHeadingText:E,strong:u(),thematicBreak:u()}};wn(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(e){let r={type:"root",children:[]};const i={stack:[r],tokenStack:[],config:t,enter:a,exit:c,buffer:s,resume:l,data:n},u=[];let f=-1;for(;++f 0){const e=i.tokenStack[i.tokenStack.length-1];(e[1]||kn).call(i,void 0,e[0])}for(r.position={start:_n(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:_n(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},f=-1;++f ((e,t)=>{const n=(t,n)=>(e.set(n,t),t),r=o=>{if(e.has(o))return e.get(o);const[i,s]=t[o];switch(i){case 0:case-1:return n(s,o);case 1:{const e=n([],o);for(const t of s)e.push(r(t));return e}case 2:{const e=n({},o);for(const[t,n]of s)e[r(t)]=r(n);return e}case 3:return n(new Date(s),o);case 4:{const{source:e,flags:t}=s;return n(new RegExp(e,t),o)}case 5:{const e=n(new Map,o);for(const[t,n]of s)e.set(r(t),r(n));return e}case 6:{const e=n(new Set,o);for(const t of s)e.add(r(t));return e}case 7:{const{name:e,message:t}=s;return n(new Dn[e](t),o)}case 8:return n(BigInt(s),o);case"BigInt":return n(Object(BigInt(s)),o)}return n(new Dn[i](s),o)};return r})(new Map,e)(0),Cn="",{toString:On}={},{keys:$n}=Object,An=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=On.call(e).slice(8,-1);switch(n){case"Array":return[1,Cn];case"Object":return[2,Cn];case"Date":return[3,Cn];case"RegExp":return[4,Cn];case"Map":return[5,Cn];case"Set":return[6,Cn]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},Pn=([e,t])=>0===e&&("function"===t||"symbol"===t),jn=(e,{json:t,lossy:n}={})=>{const r=[];return((e,t,n,r)=>{const o=(e,t)=>{const o=r.push(e)-1;return n.set(t,o),o},i=r=>{if(n.has(r))return n.get(r);let[s,a]=An(r);switch(s){case 0:{let t=r;switch(a){case"bigint":s=8,t=r.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+a);t=null;break;case"undefined":return o([-1],r)}return o([s,t],r)}case 1:{if(a)return o([a,[...r]],r);const e=[],t=o([s,e],r);for(const n of r)e.push(i(n));return t}case 2:{if(a)switch(a){case"BigInt":return o([a,r.toString()],r);case"Boolean":case"Number":case"String":return o([a,r.valueOf()],r)}if(t&&"toJSON"in r)return i(r.toJSON());const n=[],u=o([s,n],r);for(const t of $n(r))!e&&Pn(An(r[t]))||n.push([i(t),i(r[t])]);return u}case 3:return o([s,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return o([s,{source:e,flags:t}],r)}case 5:{const t=[],n=o([s,t],r);for(const[o,s]of r)(e||!Pn(An(o))&&!Pn(An(s)))&&t.push([i(o),i(s)]);return n}case 6:{const t=[],n=o([s,t],r);for(const o of r)!e&&Pn(An(o))||t.push(i(o));return n}}const{message:u}=r;return o([s,{name:a,message:u}],r)};return i})(!(t||n),!!t,new Map,r)(e),r},Fn="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?Sn(jn(e,t)):structuredClone(e):(e,t)=>Sn(jn(e,t));function In(e){const t=[];let n=-1,r=0,o=0;for(;++n 55295&&i<57344){const t=e.charCodeAt(n+1);i<56320&&t>56319&&t<57344?(s=String.fromCharCode(i,t),o=1):s="\ufffd"}else s=String.fromCharCode(i);s&&(t.push(e.slice(r,n),encodeURIComponent(s)),r=n+o+1,s=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}function Nn(e,t){const n=[{type:"text",value:"\u21a9"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function Tn(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const Mn=function(e){if(null==e)return Bn;if("function"==typeof e)return Rn(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n ":"")+")"})}return l;function l(){let c,l,f,d=zn;if((!t||i(o,a,u[u.length-1]||void 0))&&(d=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[Un,e];return null==e?zn:[e]}(n(o,u)),d[0]===qn))return d;if("children"in o&&o.children){const t=o;if(t.children&&d[0]!==Vn)for(l=(r?t.children.length:-1)+s,f=u.concat(t);l>-1&&l 1:t}const Jn=9,Wn=32;function Gn(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),o=0;const i=[];for(;r;)i.push(Zn(t.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return i.push(Zn(t.slice(o),o>0,!1)),i.join("")}function Zn(e,t,n){let r=0,o=e.length;if(t){let t=e.codePointAt(r);for(;t===Jn||t===Wn;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(o-1);for(;t===Jn||t===Wn;)o--,t=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}const Yn={blockquote:function(e,t){const 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){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);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=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){const n="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),o=In(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let s,a=e.footnoteCounts.get(r);void 0===a?(a=0,e.footnoteOrder.push(r),s=e.footnoteOrder.length):s=i+1,a+=1,e.footnoteCounts.set(r,a);const u={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+o,id:n+"fnref-"+o+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};e.patch(t,u);const c={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){const 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){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Hn(e,t);const o={src:In(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(o.title=r.title);const i={type:"element",tagName:"img",properties:o,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){const n={src:In(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Hn(e,t);const o={href:In(r.url||"")};null!==r.title&&void 0!==r.title&&(o.title=r.title);const i={type:"element",tagName:"a",properties:o,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){const n={href:In(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const 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){const r=e.all(t),o=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r 0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let a=-1;for(;++a 0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},i=oe(t.children[1]),s=re(t.children[t.children.length-1]);i&&s&&(r.position={start:i,end:s}),o.push(r)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,i),e.applyData(t,i)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,o=0===(r?r.indexOf(t):1)?"th":"td",i=n&&"table"===n.type?n.align:void 0,s=i?i.length:t.children.length;let a=-1;const u=[];for(;++a 0&&n.push({type:"text",value:"\n"}),n}function ar(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function ur(e,t){const n=function(e,t){const n=t||nr,r=new Map,o=new Map,i=new Map,s={...Yn,...n.handlers},a={all:function(e){const t=[];if("children"in e){const n=e.children;let r=-1;for(;++r0&&f.push({type:"text",value:" "});let e="string"==typeof n?n:n(u,l);"string"==typeof e&&(e={type:"text",value:e}),f.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(l>1?"-"+l:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(u,l),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const h=i[i.length-1];if(h&&"element"===h.type&&"p"===h.tagName){const e=h.children[h.children.length-1];e&&"text"===e.type?e.value+=" ":h.children.push({type:"text",value:" "}),h.children.push(...f)}else i.push(...f);const p={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(i,!0)};e.patch(o,p),a.push(p)}if(0!==a.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...Fn(s),id:"footnote-label"},children:[{type:"text",value:o}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)},{type:"text",value:"\n"}]}}(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return o&&i.children.push({type:"text",value:"\n"},o),i}function cr(e,t){return e&&"run"in e?async function(n,r){const o=ur(n,t);await e.run(o,r)}:function(n){return ur(n,t||e)}}function lr(e){if(e)throw e}var fr=n(49385);function dr(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function hr(){const e=[],t={run:function(...t){let n=-1;const r=t.pop();if("function"!=typeof r)throw new TypeError("Expected function as last argument, not "+r);!function o(i,...s){const a=e[++n];let u=-1;if(i)r(i);else{for(;++u t.length;let a;r&&t.push(o);try{a=e.apply(this,t)}catch(i){if(r&&n)throw i;return o(i)}r||(a instanceof Promise?a.then(s,o):a instanceof Error?o(a):s(a))}function o(e,...r){n||(n=!0,t(e,...r))}function s(e){o(null,e)}}(a,o)(...s):r(null,...s)}}(null,...t)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}const pr={basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');mr(e);let n,r=0,o=-1,i=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else o<0&&(n=!0,o=i+1);return o<0?"":e.slice(r,o)}if(t===e)return"";let s=-1,a=t.length-1;for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else s<0&&(n=!0,s=i+1),a>-1&&(e.codePointAt(i)===t.codePointAt(a--)?a<0&&(o=i):(a=-1,o=s));r===o?o=s:o<0&&(o=e.length);return e.slice(r,o)},dirname:function(e){if(mr(e),0===e.length)return".";let t,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)},extname:function(e){mr(e);let t,n=e.length,r=-1,o=0,i=-1,s=0;for(;n--;){const a=e.codePointAt(n);if(47!==a)r<0&&(t=!0,r=n+1),46===a?i<0?i=n:1!==s&&(s=1):i>-1&&(s=-1);else if(t){o=n+1;break}}if(i<0||r<0||0===s||1===s&&i===r-1&&i===o+1)return"";return e.slice(i,r)},join:function(...e){let t,n=-1;for(;++n 2){if(r=o.lastIndexOf("/"),r!==o.length-1){r<0?(o="",i=0):(o=o.slice(0,r),i=o.length-1-o.lastIndexOf("/")),s=u,a=0;continue}}else if(o.length>0){o="",i=0,s=u,a=0;continue}t&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(s+1,u):o=e.slice(s+1,u),i=u-s-1;s=u,a=0}else 46===n&&a>-1?a++:a=-1}return o}(e,!t);0!==n.length||t||(n=".");n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/");return t?"/"+n:n}(t)},sep:"/"};function mr(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const gr={cwd:function(){return"/"}};function yr(e){return Boolean(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}function vr(e){if("string"==typeof e)e=new URL(e);else if(!yr(e)){const t=new 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){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n 0){let[r,...i]=t;const s=n[o][1];dr(s)&&dr(r)&&(r=fr(!0,s,r)),n[o]=[e,r,...i]}}}}const Cr=(new Sr).freeze();function Or(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}function $r(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")}function Ar(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Pr(e){if(!dr(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function jr(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Fr(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new _r(e)}const Ir=[],Nr={allowDangerousHtml:!0},Tr=/^(https?|ircs?|mailto|xmpp)$/i,Mr=[{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:"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 Rr(e){const t=e.allowedElements,n=e.allowElement,r=e.children||"",o=e.className,i=e.components,s=e.disallowedElements,a=e.rehypePlugins||Ir,u=e.remarkPlugins||Ir,c=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Nr}:Nr,l=e.skipHtml,f=e.unwrapDisallowed,d=e.urlTransform||Br,h=Cr().use(xn).use(u).use(cr,c).use(a),p=new _r;"string"==typeof r&&(p.value=r);for(const y of Mr)Object.hasOwn(e,y.from)&&(y.from,y.to&&y.to,y.id);const m=h.parse(p);let g=h.runSync(m,p);return o&&(g={type:"element",tagName:"div",properties:{className:o},children:"root"===g.type?g.children:[g]}),Xn(g,(function(e,r,o){if("raw"===e.type&&o&&"number"==typeof r)return l?o.children.splice(r,1):o.children[r]={type:"text",value:e.value},r;if("element"===e.type){let t;for(t in $e)if(Object.hasOwn($e,t)&&Object.hasOwn(e.properties,t)){const n=e.properties[t],r=$e[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=d(String(n||""),t,e))}}if("element"===e.type){let i=t?!t.includes(e.tagName):!!s&&s.includes(e.tagName);if(!i&&n&&"number"==typeof r&&(i=!n(e,r,o)),i&&o&&"number"==typeof r)return f&&e.children?o.children.splice(r,1,...e.children):o.children.splice(r,1),r}})),ve(g,{Fragment:Ae.Fragment,components:i,ignoreInvalidStyle:!0,jsx:Ae.jsx,jsxs:Ae.jsxs,passKeys:!0,passNode:!0})}function Br(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),o=e.indexOf("/");return t<0||o>-1&&t>o||n>-1&&t>n||r>-1&&t>r||Tr.test(e.slice(0,t))?e:""}function Lr(e){const{id:t,pointer:n,schema:r,yaml:o}=(0,d.describeSchema)(e),i=t?t.startsWith("schema:")?t.slice(7):t:void 0,s=i&&n?`${i}${n}`:i||void 0;return(0,Ae.jsxs)(l.default,{groupId:"schema-language",children:[(0,Ae.jsx)(f.default,{value:"yaml",label:"YAML",children:(0,Ae.jsx)(c(),{className:"schema-listing",language:"yaml",showLineNumbers:!0,title:s||"schema.yaml",children:o})}),(0,Ae.jsx)(f.default,{value:"json",label:"JSON",children:(0,Ae.jsx)(c(),{className:"schema-listing",language:"json",showLineNumbers:!0,title:s?`${s}`:"schema.json",children:JSON.stringify(r,void 0,2)})})]})}function zr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ur(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qr(e){for(var t=1;t =0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r =0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Qr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n =e.length?e.apply(this,o):function(){for(var e=arguments.length,r=new Array(e),i=0;i 1&&void 0!==arguments[1]?arguments[1]:{};Yr.initial(e),Yr.handler(t);var n={current:e},r=Jr(no)(n,t),o=Jr(to)(n),i=Jr(Yr.changes)(e),s=Jr(eo)(n);return[function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(e){return e};return Yr.selector(e),e(n.current)},function(e){!function(){for(var e=arguments.length,t=new Array(e),n=0;n =e.length?e.apply(this,o):function(){for(var e=arguments.length,r=new Array(e),i=0;i {r.current=!1}:e,t)};function No(){}function To(e,t,n,r){return function(e,t){return e.editor.getModel(Mo(e,t))}(e,r)||function(e,t,n,r){return e.editor.createModel(t,n,r?Mo(e,r):void 0)}(e,t,n,r)}function Mo(e,t){return e.Uri.parse(t)}var Ro=function({original:e,modified:t,language:n,originalLanguage:r,modifiedLanguage:o,originalModelPath:s,modifiedModelPath:a,keepCurrentOriginalModel:u=!1,keepCurrentModifiedModel:c=!1,theme:l="light",loading:f="Loading...",options:d={},height:h="100%",width:p="100%",className:m,wrapperProps:g={},beforeMount:y=No,onMount:v=No}){let[b,_]=(0,i.useState)(!1),[w,E]=(0,i.useState)(!0),k=(0,i.useRef)(null),x=(0,i.useRef)(null),D=(0,i.useRef)(null),S=(0,i.useRef)(v),C=(0,i.useRef)(y),O=(0,i.useRef)(!1);Fo((()=>{let e=Co.init();return e.then((e=>(x.current=e)&&E(!1))).catch((e=>"cancelation"!==e?.type&&console.error("Monaco initialization: error:",e))),()=>k.current?function(){let e=k.current?.getModel();u||e?.original?.dispose(),c||e?.modified?.dispose(),k.current?.dispose()}():e.cancel()})),Io((()=>{if(k.current&&x.current){let t=k.current.getOriginalEditor(),o=To(x.current,e||"",r||n||"text",s||"");o!==t.getModel()&&t.setModel(o)}}),[s],b),Io((()=>{if(k.current&&x.current){let e=k.current.getModifiedEditor(),r=To(x.current,t||"",o||n||"text",a||"");r!==e.getModel()&&e.setModel(r)}}),[a],b),Io((()=>{let e=k.current.getModifiedEditor();e.getOption(x.current.editor.EditorOption.readOnly)?e.setValue(t||""):t!==e.getValue()&&(e.executeEdits("",[{range:e.getModel().getFullModelRange(),text:t||"",forceMoveMarkers:!0}]),e.pushUndoStop())}),[t],b),Io((()=>{k.current?.getModel()?.original.setValue(e||"")}),[e],b),Io((()=>{let{original:e,modified:t}=k.current.getModel();x.current.editor.setModelLanguage(e,r||n||"text"),x.current.editor.setModelLanguage(t,o||n||"text")}),[n,r,o],b),Io((()=>{x.current?.editor.setTheme(l)}),[l],b),Io((()=>{k.current?.updateOptions(d)}),[d],b);let $=(0,i.useCallback)((()=>{if(!x.current)return;C.current(x.current);let i=To(x.current,e||"",r||n||"text",s||""),u=To(x.current,t||"",o||n||"text",a||"");k.current?.setModel({original:i,modified:u})}),[n,t,o,e,r,s,a]),A=(0,i.useCallback)((()=>{!O.current&&D.current&&(k.current=x.current.editor.createDiffEditor(D.current,{automaticLayout:!0,...d}),$(),x.current?.editor.setTheme(l),_(!0),O.current=!0)}),[d,l,$]);return(0,i.useEffect)((()=>{b&&S.current(k.current,x.current)}),[b]),(0,i.useEffect)((()=>{!w&&!b&&A()}),[w,b,A]),i.createElement(jo,{width:p,height:h,isEditorReady:b,loading:f,_ref:D,className:m,wrapperProps:g})};(0,i.memo)(Ro);var Bo=function(){let[e,t]=(0,i.useState)(Co.__getMonacoInstance());return Fo((()=>{let n;return e||(n=Co.init(),n.then((e=>{t(e)}))),()=>n?.cancel()})),e};var Lo=function(e){let t=(0,i.useRef)();return(0,i.useEffect)((()=>{t.current=e}),[e]),t.current},zo=new Map;var Uo=function({defaultValue:e,defaultLanguage:t,defaultPath:n,value:r,language:o,path:s,theme:a="light",line:u,loading:c="Loading...",options:l={},overrideServices:f={},saveViewState:d=!0,keepCurrentModel:h=!1,width:p="100%",height:m="100%",className:g,wrapperProps:y={},beforeMount:v=No,onMount:b=No,onChange:_,onValidate:w=No}){let[E,k]=(0,i.useState)(!1),[x,D]=(0,i.useState)(!0),S=(0,i.useRef)(null),C=(0,i.useRef)(null),O=(0,i.useRef)(null),$=(0,i.useRef)(b),A=(0,i.useRef)(v),P=(0,i.useRef)(),j=(0,i.useRef)(r),F=Lo(s),I=(0,i.useRef)(!1),N=(0,i.useRef)(!1);Fo((()=>{let e=Co.init();return e.then((e=>(S.current=e)&&D(!1))).catch((e=>"cancelation"!==e?.type&&console.error("Monaco initialization: error:",e))),()=>C.current?(P.current?.dispose(),h?d&&zo.set(s,C.current.saveViewState()):C.current.getModel()?.dispose(),void C.current.dispose()):e.cancel()})),Io((()=>{let i=To(S.current,e||r||"",t||o||"",s||n||"");i!==C.current?.getModel()&&(d&&zo.set(F,C.current?.saveViewState()),C.current?.setModel(i),d&&C.current?.restoreViewState(zo.get(s)))}),[s],E),Io((()=>{C.current?.updateOptions(l)}),[l],E),Io((()=>{!C.current||void 0===r||(C.current.getOption(S.current.editor.EditorOption.readOnly)?C.current.setValue(r):r!==C.current.getValue()&&(N.current=!0,C.current.executeEdits("",[{range:C.current.getModel().getFullModelRange(),text:r,forceMoveMarkers:!0}]),C.current.pushUndoStop(),N.current=!1))}),[r],E),Io((()=>{let e=C.current?.getModel();e&&o&&S.current?.editor.setModelLanguage(e,o)}),[o],E),Io((()=>{void 0!==u&&C.current?.revealLine(u)}),[u],E),Io((()=>{S.current?.editor.setTheme(a)}),[a],E);let T=(0,i.useCallback)((()=>{if(O.current&&S.current&&!I.current){A.current(S.current);let i=s||n,c=To(S.current,r||e||"",t||o||"",i||"");C.current=S.current?.editor.create(O.current,{model:c,automaticLayout:!0,...l},f),d&&C.current.restoreViewState(zo.get(i)),S.current.editor.setTheme(a),void 0!==u&&C.current.revealLine(u),k(!0),I.current=!0}}),[e,t,n,r,o,s,l,f,d,a,u]);return(0,i.useEffect)((()=>{E&&$.current(C.current,S.current)}),[E]),(0,i.useEffect)((()=>{!x&&!E&&T()}),[x,E,T]),j.current=r,(0,i.useEffect)((()=>{E&&_&&(P.current?.dispose(),P.current=C.current?.onDidChangeModelContent((e=>{N.current||_(C.current.getValue(),e)})))}),[E,_]),(0,i.useEffect)((()=>{if(E){let e=S.current.editor.onDidChangeMarkers((e=>{let t=C.current.getModel()?.uri;if(t&&e.find((e=>e.path===t.path))){let e=S.current.editor.getModelMarkers({resource:t});w?.(e)}}));return()=>{e?.dispose()}}return()=>{}}),[E,w]),i.createElement(jo,{width:p,height:m,isEditorReady:E,loading:c,_ref:O,className:g,wrapperProps:y})},qo=(0,i.memo)(Uo),Vo=n(60361),Qo=n(43159),Xo=n.n(Qo),Ho=n(22038),Ko=n.n(Ho),Jo=n(404);function Wo(){return Wo=Object.assign||function(e){for(var t=1;t r?{value:n,distance:r}:e}),{distance:1/0,value:""});return i.distance (null!=(a=Go[c.keyword])?a:0)&&(e[u]=t),e):(e[u]=t,e)}),{});return Object.values(t)}(t);return s.map((function(e){var t,o=(i+e.instancePath).replace(ei,"."),s=ni(e.instancePath),a={errorType:e.keyword},u=(s?"property '"+s+"'":o)+" "+e.message.replace(Zo,"'").replace(Yo,"not");switch(e.keyword){case"additionalProperties":var c=e.params.additionalProperty,l=e.schemaPath.replace("#","").replace("/additionalProperties",""),f=ri({object:r,pnter:l,fallback:{properties:{}}}).properties;t={message:"'"+c+"' property is not expected to be here",suggestion:ti({value:c,suggestions:Object.keys(null!=f?f:{}),format:function(e){return"Did you mean property '"+e+"'?"}}),path:o,context:a};break;case"enum":var d=e.params.allowedValues.map((function(e){return e.toString()})),h=ni(e.instancePath),p=ri({object:n,pnter:e.instancePath,fallback:""});t={message:"'"+h+"' property must be equal to one of the allowed values",suggestion:ti({value:p,suggestions:d}),path:o,context:Wo({},a,{allowedValues:e.params.allowedValues})};break;case"type":t={message:"'"+ni(e.instancePath)+"' property type must be "+e.params.type,path:o,context:a};break;case"required":t={message:o+" must have required property '"+e.params.missingProperty+"'",path:o,context:a};break;case"const":return{message:"'"+s+"' property must be equal to the allowed value",path:o,context:Wo({},a,{allowedValue:e.params.allowedValue})};default:return{message:u,path:o,context:a}}for(var m=0,g=Object.entries(t);m {f&&function(){const t=u.getSchema(e.schema.id);if(!t)return p("Unable to validate schema");const n=function(){try{return Xo().parse(c,void 0,{tabWidth:a})}catch{return{data:"",pointers:{}}}}();t(n.data);const r=oi({schema:d.schemas[e.schema.id],data:n.data,errors:t.errors});console.log(r,t.errors),function(e,t){const n=o.current?.getModel();if(!n||!s)return p("Unable to validate schema");let r=[];if(e)for(const[o,i]of Object.entries(e)){let e=i.path.replace("{base}","").replace(/\./g,"/"),n=t.pointers[e],o=i.message.replace("{base}","").replace(/\./g,"/");"const"==i.context.errorType&&(o=`Expecting a constant value of "${i.context.allowedValue}"`),n&&o&&(r.push({startLineNumber:n.value.line+1,startColumn:n.value.column+1,endColumn:n.valueEnd.column+1,endLineNumber:n.valueEnd.line+1,message:o,severity:s.MarkerSeverity.Error}),n.key&&n.keyEnd&&r.push({startLineNumber:n.key.line+1,startColumn:n.key.column+1,endColumn:n.keyEnd.column+1,endLineNumber:n.keyEnd.line+1,message:o,severity:s.MarkerSeverity.Error}))}s.editor.setModelMarkers(n,"EthDebug",r)}(r,n)}()}),[c]),(0,Ae.jsx)("section",{className:"playground-container",children:(0,Ae.jsx)(qo,{height:"50vh",language:"json",theme:"dark"==n?"vs-dark":"vs-light",defaultValue:JSON.stringify(r,void 0,a),onChange:function(e){h(!0),l(e)},onMount:function(e){o.current=e},options:{contextmenu:!1,autoIndent:"advanced",tabSize:a}})})}function ui(e){const t=(0,d.describeSchema)(e),{id:n,rootSchema:r,yaml:o,pointer:i}=t,s=ci(r,n||"");return(0,Ae.jsxs)(l.default,{children:[(0,Ae.jsx)(f.default,{value:"viewer",label:"Explore",children:(0,Ae.jsx)(p.Gi.Provider,{value:{rootSchemaInfo:t,schemaIndex:h},children:(0,Ae.jsx)(a(),{schema:s,resolverOptions:{jsonPointer:i,resolvers:{schema:{resolve:e=>{const t=e.toString(),{schema:n}=(0,d.describeSchema)({schema:{id:t}});return ci(n,t)}}}},viewerOptions:{showExamples:!0,ValueComponent:e=>{let{value:t}=e;return["string","number","bigint","boolean"].includes(typeof t)?(0,Ae.jsx)("code",{children:t.toString()}):(0,Ae.jsx)(c(),{language:"json",children:`${JSON.stringify(t,void 0,2)}`})},DescriptionComponent:e=>{let{description:t}=e;return(0,Ae.jsx)(Rr,{children:t})}}})})}),(0,Ae.jsx)(f.default,{value:"listing",label:"View source",children:(0,Ae.jsx)(Lr,{schema:e.schema,pointer:e.pointer})}),(0,Ae.jsx)(f.default,{value:"playground",label:"Playground",children:(0,Ae.jsx)(ai,{schema:e.schema,pointer:e.pointer})})]})}function ci(e,t){return li(fi(e),`${t}#`)}function li(e,t){return Array.isArray(e)?e.map(((e,n)=>li(e,`${t}/${n}`))):null!==e&&"object"==typeof e?Object.entries(e).reduce(((e,n)=>{let[r,o]=n;return e[r]=li(o,`${t}/${r}`),e}),{[p.D9]:t.endsWith("#")?t.slice(0,-1):t}):e}function fi(e){if(!e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(fi);if(1===Object.keys(e).length&&"$ref"in e)return e;const{$ref:t,...n}=e,r=Object.entries(n).reduce(((e,t)=>{let[n,r]=t;return e[n]=fi(r),e}),{});if(!t)return r;const o=["allOf","oneOf","anyOf"].find((t=>!(t in e)));if(!o)throw new Error(`Could not find available composition keyword in ${JSON.stringify(e)}`);return r[o]=[{$ref:t}],r}},35849:(e,t,n)=>{"use strict";n.d(t,{D9:()=>s,Gi:()=>o,J5:()=>i});var r=n(2784);const o=(0,r.createContext)({schemaIndex:{}}),i=()=>(0,r.useContext)(o),s=Symbol("__$internalId")},94845:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});n(2784);var r=n(51074),o=n(52322);function i(e){const{schema:t}=e,n=void 0!==t.if,i=void 0!==t.dependentRequired,s=void 0!==t.dependentSchemas,a=void 0!==t.dependencies;return(0,o.jsxs)(o.Fragment,{children:[n&&(0,o.jsx)(r.IfElseThen,{schema:t}),i&&(0,o.jsx)(r.DependentRequired,{schema:t}),s&&(0,o.jsx)(r.DependentSchemas,{schema:t}),a&&(0,o.jsx)(r.Dependencies,{schema:t})]})}},70213:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});n(2784);var r=n(65296),o=n.n(r),i=n(77336),s=n(82009),a=n(94598),u=n(2204),c=n(52322);function l(e){let{propertyName:t,schemasByConst:n}=e;const{jsonPointer:r,level:o}=(0,a.useSchemaHierarchyContext)();return(0,c.jsxs)("div",{children:[(0,c.jsx)("hr",{}),(0,c.jsx)("span",{className:"badge badge--info",children:"polymorphic discriminator"}),"\xa0 The value of the ",(0,c.jsx)("strong",{children:t})," field determines which sub-schema applies:",(0,c.jsx)(i.default,{children:Object.entries(n).map((e=>{let[t,{schema:n,index:i}]=e;return(0,c.jsx)(s.default,{label:t,value:t,children:(0,c.jsx)(a.SchemaHierarchyContextProvider,{value:{level:o+1,jsonPointer:`${r}/allOf/${i}/then`},children:(0,c.jsx)(u.CreateNodes,{schema:n})})},t)}))})]})}function f(e){let{propertyNames:t,schemasByPropertyName:n}=e;const{jsonPointer:r,level:o}=(0,a.useSchemaHierarchyContext)();return(0,c.jsxs)("div",{children:[(0,c.jsx)("hr",{}),(0,c.jsx)("span",{className:"badge badge--info",children:"mutually-exclusive required properties"}),"\xa0 This object must specify exactly one of the following:",(0,c.jsx)("ul",{children:t.map(((e,t)=>(0,c.jsx)("li",{children:(0,c.jsx)("code",{children:e})},t)))}),"Depending on which required property is used, one of the following sub-schemas applies:",(0,c.jsx)(i.default,{children:Object.entries(n).map((e=>{let[t,{schema:n,index:i}]=e;return(0,c.jsx)(s.default,{label:"title"in n&&"string"==typeof n.title&&n.title||t,value:t,children:(0,c.jsx)(a.SchemaHierarchyContextProvider,{value:{level:o+1,jsonPointer:`${r}/allOf/${i+1}/then`},children:(0,c.jsx)(u.CreateNodes,{schema:n})})},t)}))})]})}function d(e){const{schema:t}=e,n=function(e){const{allOf:t}=e;if(!t.every((e=>{if("boolean"==typeof e)return!1;const{title:t,description:n,if:r,then:o,...i}=e;return!!r&&!!o&&0===Object.keys(i).length})))return;if(!t.every((e=>{const{if:t}=e;if("boolean"==typeof t||!("properties"in t)||!t.properties)return!1;const n=t.properties;if(1!==Object.keys(n).length)return!1;const r=n[Object.keys(n)[0]];return"object"==typeof r&&"const"in r&&"string"==typeof r.const&&!!r.const})))return;const n=Object.keys(t[0].if.properties)[0],r=t.map(((e,t)=>{let{if:r,then:o}=e;return{[r.properties[n].const]:{schema:o,index:t}}})).reduce(((e,t)=>({...e,...t})),{});return Object.keys(r).length===t.length?{propertyName:n,schemasByConst:r}:void 0}(t);if(n)return(0,c.jsx)(l,{...n});const r=function(e){const{allOf:t}=e,[n,...r]=t;if("boolean"==typeof n||!("oneOf"in n))return;const{oneOf:o}=n;if(!o||!o.every((e=>"object"==typeof e&&"required"in e&&e.required instanceof Array&&1===e.required.length)))return;const i=o.map((e=>{let{required:[t]}=e;return t}));if(r.length!==i.length)return;if(!r.every((e=>{if("boolean"==typeof e)return!1;const{title:t,description:n,if:r,then:o,...i}=e;return!!r&&!!o&&0===Object.keys(i).length})))return;if(!r.every((e=>{const{if:t}=e;if("boolean"==typeof t||!("required"in t))return!1;const{required:n}=t;if(!n||1!==n.length)return!1;const[r]=n;return"string"==typeof r&&!!r})))return;return{propertyNames:i,schemasByPropertyName:r.map(((e,t)=>{let{if:{required:[n]},then:r}=e;return{[n]:{schema:r,index:t}}})).reduce(((e,t)=>({...e,...t})),{})}}(t);return r?(0,c.jsx)(f,{...r}):(0,c.jsx)(c.Fragment,{children:(0,c.jsx)(o(),{...e})})}},14130:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});n(2784);var r=n(42360),o=n.n(r),i=n(94598),s=n(35849),a=n(27718),u=n(2204),c=n(77740),l=n(54884),f=n(52322);function d(e){let{schemaWithoutUnnecessaryComposition:t,unnecessaryCompositionKeyword:n,unnecessarilyComposedSchema:r}=e;const o=(0,i.useJSVOptionsContext)(),{schemaIndex:d}=(0,s.J5)(),p=r,m=t,{documentation:g,semantics:y}=function(e){if("boolean"==typeof e)return{documentation:{},semantics:e};const{title:t,description:n,examples:r,default:o,[s.D9]:i,...a}=e;return{documentation:{title:t,description:n,examples:r,default:o},semantics:a}}(m);if(0===Object.keys(y).length||1===Object.keys(y).length&&"type"in y&&"object"==typeof p&&"type"in p&&("string"==typeof y.type&&y.type===p.type||y.type instanceof Array&&p.type instanceof Array&&y.type.length===p.type.length&&y.type.every((e=>p.type.includes(e))))){const{description:e}=g;return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(c.QualifierMessages,{schema:g,options:o}),e&&(0,f.jsx)(l.CreateDescription,{description:e}),(0,f.jsx)("hr",{}),(0,f.jsx)(i.SchemaHierarchyComponent,{innerJsonPointer:`/${n}/0`,children:(0,f.jsx)(h,{schema:r})})]})}const{[s.D9]:v}=p;if(v&&v in d){const{href:e,title:t=`${v.startsWith("schema:")?v.slice(7):v} schema`}=d[v];return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("span",{className:"badge badge--info",children:"extensions"}),"\xa0 This schema extends the ",(0,f.jsx)(a.Z,{to:e,children:t}),".",(0,f.jsx)("p",{children:(0,f.jsx)(h,{schema:m})})]})}return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("span",{className:"badge badge--info",children:"extensions"}),"\xa0 These extensions apply to the base schema below:",(0,f.jsx)("p",{children:(0,f.jsx)(h,{schema:m})}),(0,f.jsx)(u.Collapsible,{summary:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("strong",{children:(0,f.jsx)(c.GenerateFriendlyName,{schema:p})}),"\xa0",(0,f.jsx)("span",{className:"badge badge--info",children:"base schema"})]}),detailsProps:{open:!0},children:(0,f.jsx)(i.SchemaHierarchyComponent,{innerJsonPointer:`/${n}/0`,children:(0,f.jsx)(h,{schema:r})})})]})}function h(e){const{level:t}=(0,i.useSchemaHierarchyContext)(),{schemaIndex:n}=(0,s.J5)(),{schema:r,...u}=e,{[s.D9]:c}=r;if(c&&c in n&&t>0){const{href:e,title:t=`${c.startsWith("schema:")?c.slice(7):c} schema`}=n[c];return(0,f.jsx)(f.Fragment,{children:(0,f.jsxs)("p",{children:["See ",(0,f.jsx)(a.Z,{to:e,children:t})," documentation."]})})}const l=function(e){if("boolean"==typeof e)return;const t=["allOf","oneOf","anyOf"].filter((t=>t in e&&1===(e[t]||[]).length));if(1!==t.length)return;const[n]=t,{[n]:r,...o}=e,[i]=r;return{unnecessarilyComposedSchema:i,unnecessaryCompositionKeyword:n,schemaWithoutUnnecessaryComposition:o}}(r);return l?(0,f.jsx)(d,{...l}):(0,f.jsx)(f.Fragment,{children:(0,f.jsx)(o(),{schema:r,...u})})}},5091:(e,t)=>{function n(e,t,n,r){var i={};return function(s){if(!i[s]){var a={},u=[],c=[];for(c.push({node:s,processed:!1});c.length>0;){var l=c[c.length-1],f=l.processed,d=l.node;if(f)c.pop(),u.pop(),a[d]=!1,i[d]=!0,t&&0!==e[d].length||n.push(d);else{if(i[d]){c.pop();continue}if(a[d]){if(r){c.pop();continue}throw u.push(d),new o(u)}a[d]=!0,u.push(d);for(var h=e[d],p=h.length-1;p>=0;p--)c.push({node:h[p],processed:!1});l.processed=!0}}}}}var r=t.DepGraph=function(e){this.nodes={},this.outgoingEdges={},this.incomingEdges={},this.circular=e&&!!e.circular};r.prototype={size:function(){return Object.keys(this.nodes).length},addNode:function(e,t){this.hasNode(e)||(this.nodes[e]=2===arguments.length?t:e,this.outgoingEdges[e]=[],this.incomingEdges[e]=[])},removeNode:function(e){this.hasNode(e)&&(delete this.nodes[e],delete this.outgoingEdges[e],delete this.incomingEdges[e],[this.incomingEdges,this.outgoingEdges].forEach((function(t){Object.keys(t).forEach((function(n){var r=t[n].indexOf(e);r>=0&&t[n].splice(r,1)}),this)})))},hasNode:function(e){return this.nodes.hasOwnProperty(e)},getNodeData:function(e){if(this.hasNode(e))return this.nodes[e];throw new Error("Node does not exist: "+e)},setNodeData:function(e,t){if(!this.hasNode(e))throw new Error("Node does not exist: "+e);this.nodes[e]=t},addDependency:function(e,t){if(!this.hasNode(e))throw new Error("Node does not exist: "+e);if(!this.hasNode(t))throw new Error("Node does not exist: "+t);return-1===this.outgoingEdges[e].indexOf(t)&&this.outgoingEdges[e].push(t),-1===this.incomingEdges[t].indexOf(e)&&this.incomingEdges[t].push(e),!0},removeDependency:function(e,t){var n;this.hasNode(e)&&(n=this.outgoingEdges[e].indexOf(t))>=0&&this.outgoingEdges[e].splice(n,1),this.hasNode(t)&&(n=this.incomingEdges[t].indexOf(e))>=0&&this.incomingEdges[t].splice(n,1)},clone:function(){var e=this,t=new r;return Object.keys(e.nodes).forEach((function(n){t.nodes[n]=e.nodes[n],t.outgoingEdges[n]=e.outgoingEdges[n].slice(0),t.incomingEdges[n]=e.incomingEdges[n].slice(0)})),t},directDependenciesOf:function(e){if(this.hasNode(e))return this.outgoingEdges[e].slice(0);throw new Error("Node does not exist: "+e)},directDependantsOf:function(e){if(this.hasNode(e))return this.incomingEdges[e].slice(0);throw new Error("Node does not exist: "+e)},dependenciesOf:function(e,t){if(this.hasNode(e)){var r=[];n(this.outgoingEdges,t,r,this.circular)(e);var o=r.indexOf(e);return o>=0&&r.splice(o,1),r}throw new Error("Node does not exist: "+e)},dependantsOf:function(e,t){if(this.hasNode(e)){var r=[];n(this.incomingEdges,t,r,this.circular)(e);var o=r.indexOf(e);return o>=0&&r.splice(o,1),r}throw new Error("Node does not exist: "+e)},overallOrder:function(e){var t=this,r=[],o=Object.keys(this.nodes);if(0===o.length)return r;if(!this.circular){var i=n(this.outgoingEdges,!1,[],this.circular);o.forEach((function(e){i(e)}))}var s=n(this.outgoingEdges,e,r,this.circular);return o.filter((function(e){return 0===t.incomingEdges[e].length})).forEach((function(e){s(e)})),this.circular&&o.filter((function(e){return-1===r.indexOf(e)})).forEach((function(e){s(e)})),r},entryNodes:function(){var e=this;return Object.keys(this.nodes).filter((function(t){return 0===e.incomingEdges[t].length}))}},r.prototype.directDependentsOf=r.prototype.directDependantsOf,r.prototype.dependentsOf=r.prototype.dependantsOf;var o=t.DepGraphCycleError=function(e){var t="Dependency Cycle Found: "+e.join(" -> "),n=new Error(t);return n.cyclePath=e,Object.setPrototypeOf(n,Object.getPrototypeOf(this)),Error.captureStackTrace&&Error.captureStackTrace(n,o),n};o.prototype=Object.create(Error.prototype,{constructor:{value:Error,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(o,Error)},49385:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},s=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,o=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)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;if(o)return o(e,n).value}return e[n]};e.exports=function e(){var t,n,r,o,c,l,f=arguments[0],d=1,h=arguments.length,p=!1;for("boolean"==typeof f&&(p=f,f=arguments[1]||{},d=2),(null==f||"object"!=typeof f&&"function"!=typeof f)&&(f={});d {"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!=o--;){var s=i[o];if(!e(t[s],n[s]))return!1}return!0}return t!=t&&n!=n}},6238:e=>{function t(e,t,n,r){var o,i=null==(o=r)||"number"==typeof o||"boolean"==typeof o?r:n(r),s=t.get(i);return void 0===s&&(s=e.call(this,r),t.set(i,s)),s}function n(e,t,n){var r=Array.prototype.slice.call(arguments,3),o=n(r),i=t.get(o);return void 0===i&&(i=e.apply(this,r),t.set(o,i)),i}function r(e,t,n,r,o){return n.bind(t,e,r,o)}function o(e,o){return r(e,this,1===e.length?t:n,o.cache.create(),o.serializer)}function i(){return JSON.stringify(arguments)}function s(){this.cache=Object.create(null)}s.prototype.has=function(e){return e in this.cache},s.prototype.get=function(e){return this.cache[e]},s.prototype.set=function(e,t){this.cache[e]=t};var a={create:function(){return new s}};e.exports=function(e,t){var n=t&&t.cache?t.cache:a,r=t&&t.serializer?t.serializer:i;return(t&&t.strategy?t.strategy:o)(e,{cache:n,serializer:r})},e.exports.strategies={variadic:function(e,t){return r(e,this,n,t.cache.create(),t.serializer)},monadic:function(e,n){return r(e,this,t,n.cache.create(),n.serializer)}}},50340:(e,t)=>{function n(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r 3?t.t-4:t.t:Array.isArray(e)?1:f(e)?2:d(e)?3:0}function a(e,t){return 2===s(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function u(e,t){return 2===s(e)?e.get(t):e[t]}function c(e,t,n){var r=s(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function l(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e){return q&&e instanceof Map}function d(e){return V&&e instanceof Set}function h(e){return e.i||e.u}function p(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Z(e);delete t[K];for(var n=G(t),r=0;r 1&&(e.set=e.add=e.clear=e.delete=g),Object.freeze(e),t&&i(e,(function(e,t){return m(t,!0)}),!0)),e}function g(){n(2)}function y(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function v(e){var t=Y[e];return t||n(18,e),t}function b(e,t){Y[e]||(Y[e]=t)}function _(){return z}function w(e,t){t&&(v("Patches"),e.o=[],e.v=[],e.s=t)}function E(e){k(e),e.p.forEach(D),e.p=null}function k(e){e===z&&(z=e.l)}function x(e){return z={p:[],l:z,h:e,_:!0,m:0}}function D(e){var t=e[K];0===t.t||1===t.t?t.j():t.O=!0}function S(e,t){t.m=t.p.length;var r=t.p[0],i=void 0!==e&&e!==r;return t.h.S||v("ES5").P(t,e,i),i?(r[K].g&&(E(t),n(4)),o(e)&&(e=C(t,e),t.l||$(t,e)),t.o&&v("Patches").M(r[K].u,e,t.o,t.v)):e=C(t,r,[]),E(t),t.o&&t.s(t.o,t.v),e!==X?e:void 0}function C(e,t,n){if(y(t))return t;var r=t[K];if(!r)return i(t,(function(o,i){return O(e,r,t,o,i,n)}),!0),t;if(r.A!==e)return t;if(!r.g)return $(e,r.u,!0),r.u;if(!r.R){r.R=!0,r.A.m--;var o=4===r.t||5===r.t?r.i=p(r.k):r.i,s=o,a=!1;3===r.t&&(s=new Set(o),o.clear(),a=!0),i(s,(function(t,i){return O(e,r,o,t,i,n,a)})),$(e,o,!1),n&&e.o&&v("Patches").F(r,n,e.o,e.v)}return r.i}function O(e,t,n,i,s,u,l){if(r(s)){var f=C(e,s,u&&t&&3!==t.t&&!a(t.N,i)?u.concat(i):void 0);if(c(n,i,f),!r(f))return;e._=!1}else l&&n.add(s);if(o(s)&&!y(s)){if(!e.h.D&&e.m<1)return;C(e,s),t&&t.A.l||$(e,s)}}function $(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e._&&m(t,n)}function A(e,t){var n=e[K];return(n?h(n):e)[t]}function P(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function j(e){e.g||(e.g=!0,e.l&&j(e.l))}function F(e){e.i||(e.i=p(e.u))}function I(e,t,n){var r=f(t)?v("MapSet").K(t,n):d(t)?v("MapSet").$(t,n):e.S?function(e,t){var n=Array.isArray(e),r={t:n?1:0,A:t?t.A:_(),g:!1,R:!1,N:{},l:t,u:e,k:null,i:null,j:null,C:!1},o=r,i=ee;n&&(o=[r],i=te);var s=Proxy.revocable(o,i),a=s.revoke,u=s.proxy;return r.k=u,r.j=a,u}(t,n):v("ES5").I(t,n);return(n?n.A:_()).p.push(r),r}function N(e){return r(e)||n(22,e),function e(t){if(!o(t))return t;var n,r=t[K],a=s(t);if(r){if(!r.g&&(r.t<4||!v("ES5").J(r)))return r.u;r.R=!0,n=T(t,a),r.R=!1}else n=T(t,a);return i(n,(function(t,o){r&&u(r.u,t)===o||c(n,t,e(o))})),3===a?new Set(n):n}(e)}function T(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return p(e)}function M(){function e(e,t){var n=s[e];return n?n.enumerable=t:s[e]=n={configurable:!0,enumerable:t,get:function(){return ee.get(this[K],e)},set:function(t){ee.set(this[K],e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var r=e[t][K];if(!r.g)switch(r.t){case 5:o(r)&&j(r);break;case 4:n(r)&&j(r)}}}function n(e){for(var t=e.u,n=e.k,r=G(n),o=r.length-1;o>=0;o--){var i=r[o];if(i!==K){var s=t[i];if(void 0===s&&!a(t,i))return!0;var u=n[i],c=u&&u[K];if(c?c.u!==s:!l(u,s))return!0}}var f=!!t[K];return r.length!==G(t).length+(f?0:1)}function o(e){var t=e.k;if(t.length!==e.u.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var r=0;r 1?n-1:0),i=1;i 1?r-1:0),i=1;i =0;n--){var o=t[n];if(0===o.path.length&&"replace"===o.op){e=o.value;break}}n>-1&&(t=t.slice(n+1));var i=v("Patches").W;return r(e)?i(e,t):this.produce(e,(function(e){return i(e,t)}))},e}(),re=new ne,oe=re.produce,ie=re.produceWithPatches.bind(re),se=re.setAutoFreeze.bind(re),ae=re.setUseProxies.bind(re),ue=re.applyPatches.bind(re),ce=re.createDraft.bind(re),le=re.finishDraft.bind(re);t.Immer=ne,t.applyPatches=ue,t.castDraft=function(e){return e},t.castImmutable=function(e){return e},t.createDraft=ce,t.current=N,t.default=oe,t.enableAllPlugins=function(){M(),B(),R()},t.enableES5=M,t.enableMapSet=B,t.enablePatches=R,t.finishDraft=le,t.freeze=m,t.immerable=H,t.isDraft=r,t.isDraftable=o,t.nothing=X,t.original=function(e){return r(e)||n(23,e),e[K].u},t.produce=oe,t.produceWithPatches=ie,t.setAutoFreeze=se,t.setUseProxies=ae},30412:(e,t,n)=>{"use strict";e.exports=n(50340)},6299:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,u=/^\s+|\s+$/g,c="";function l(e){return e?e.replace(u,c):c}e.exports=function(e,u){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];u=u||{};var f=1,d=1;function h(e){var t=e.match(n);t&&(f+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function p(){var e={line:f,column:d};return function(t){return t.position=new m(e),b(),t}}function m(e){this.start=e,this.end={line:f,column:d},this.source=u.source}m.prototype.content=e;var g=[];function y(t){var n=new Error(u.source+":"+f+":"+d+": "+t);if(n.reason=t,n.filename=u.source,n.line=f,n.column=d,n.source=e,!u.silent)throw n;g.push(n)}function v(t){var n=t.exec(e);if(n){var r=n[0];return h(r),e=e.slice(r.length),n}}function b(){v(r)}function _(e){var t;for(e=e||[];t=w();)!1!==t&&e.push(t);return e}function w(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;c!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,c===e.charAt(n-1))return y("End of comment missing");var r=e.slice(2,n-2);return d+=2,h(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}function E(){var e=p(),n=v(o);if(n){if(w(),!v(i))return y("property missing ':'");var r=v(s),u=e({type:"declaration",property:l(n[0].replace(t,c)),value:r?l(r[0].replace(t,c)):c});return v(a),u}}return b(),function(){var e,t=[];for(_(t);e=E();)!1!==e&&(t.push(e),_(t));return t}()}},19522:e=>{"use strict";var t=e.exports=function(e,t,r){"function"==typeof t&&(r=t,t={}),n(t,"function"==typeof(r=t.cb||r)?r:r.pre||function(){},r.post||function(){},e,"",e)};function n(e,r,o,i,s,a,u,c,l,f){if(i&&"object"==typeof i&&!Array.isArray(i)){for(var d in r(i,s,a,u,c,l,f),i){var h=i[d];if(Array.isArray(h)){if(d in t.arrayKeywords)for(var p=0;p 0?j:P)(e)},I=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},N=($=!1,function(e,t){var n,r,o=String(I(e)),i=F(t),s=o.length;return i<0||i>=s?$?"":void 0:(n=o.charCodeAt(i))<55296||n>56319||i+1===s||(r=o.charCodeAt(i+1))<56320||r>57343?$?o.charAt(i):n:$?o.slice(i,i+2):r-56320+(n-55296<<10)+65536});A(A.P,"String",{codePointAt:function(e){return N(this,e)}}),n.String.codePointAt;var T=Math.max,M=Math.min,R=function(e,t){return(e=F(e))<0?T(e+t,0):M(e,t)},B=String.fromCharCode,L=String.fromCodePoint;A(A.S+A.F*(!!L&&1!=L.length),"String",{fromCodePoint:function(e){for(var t,n=arguments,r=[],o=arguments.length,i=0;o>i;){if(t=+n[i++],R(t,1114111)!==t)throw RangeError(t+" is not a valid code point");r.push(t<65536?B(t):B(55296+((t-=65536)>>10),t%1024+56320))}return r.join("")}}),n.String.fromCodePoint;var z,U,q,V,Q,X,H,K,J,W,G,Z,Y,ee,te={Space_Separator:/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,ID_Start:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},ne={isSpaceSeparator:function(e){return"string"==typeof e&&te.Space_Separator.test(e)},isIdStartChar:function(e){return"string"==typeof e&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||"$"===e||"_"===e||te.ID_Start.test(e))},isIdContinueChar:function(e){return"string"==typeof e&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"$"===e||"_"===e||"\u200c"===e||"\u200d"===e||te.ID_Continue.test(e))},isDigit:function(e){return"string"==typeof e&&/[0-9]/.test(e)},isHexDigit:function(e){return"string"==typeof e&&/[0-9A-Fa-f]/.test(e)}},re=function(e,t){z=String(e),U="start",q=[],V=0,Q=1,X=0,H=void 0,K=void 0,J=void 0;do{H=ie(),pe[U]()}while("eof"!==H.type);return"function"==typeof t?oe({"":J},"",t):J};function oe(e,t,n){var r=e[t];if(null!=r&&"object"==typeof r)if(Array.isArray(r))for(var o=0;o 0;){var n=se();if(!ne.isHexDigit(n))throw ye(ae());e+=ae()}return String.fromCodePoint(parseInt(e,16))}var pe={start:function(){if("eof"===H.type)throw ve();me()},beforePropertyName:function(){switch(H.type){case"identifier":case"string":return K=H.value,void(U="afterPropertyName");case"punctuator":return void ge();case"eof":throw ve()}},afterPropertyName:function(){if("eof"===H.type)throw ve();U="beforePropertyValue"},beforePropertyValue:function(){if("eof"===H.type)throw ve();me()},beforeArrayValue:function(){if("eof"===H.type)throw ve();"punctuator"!==H.type||"]"!==H.value?me():ge()},afterPropertyValue:function(){if("eof"===H.type)throw ve();switch(H.value){case",":return void(U="beforePropertyName");case"}":ge()}},afterArrayValue:function(){if("eof"===H.type)throw ve();switch(H.value){case",":return void(U="beforeArrayValue");case"]":ge()}},end:function(){}};function me(){var e;switch(H.type){case"punctuator":switch(H.value){case"{":e={};break;case"[":e=[]}break;case"null":case"boolean":case"numeric":case"string":e=H.value}if(void 0===J)J=e;else{var t=q[q.length-1];Array.isArray(t)?t.push(e):Object.defineProperty(t,K,{value:e,writable:!0,enumerable:!0,configurable:!0})}if(null!==e&&"object"==typeof e)q.push(e),U=Array.isArray(e)?"beforeArrayValue":"beforePropertyName";else{var n=q[q.length-1];U=null==n?"end":Array.isArray(n)?"afterArrayValue":"afterPropertyValue"}}function ge(){q.pop();var e=q[q.length-1];U=null==e?"end":Array.isArray(e)?"afterArrayValue":"afterPropertyValue"}function ye(e){return Ee(void 0===e?"JSON5: invalid end of input at "+Q+":"+X:"JSON5: invalid character '"+we(e)+"' at "+Q+":"+X)}function ve(){return Ee("JSON5: invalid end of input at "+Q+":"+X)}function be(){return Ee("JSON5: invalid identifier character at "+Q+":"+(X-=5))}function _e(e){console.warn("JSON5: '"+we(e)+"' in strings is not valid ECMAScript; consider escaping")}function we(e){var t={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(t[e])return t[e];if(e<" "){var n=e.charCodeAt(0).toString(16);return"\\x"+("00"+n).substring(n.length)}return e}function Ee(e){var t=new SyntaxError(e);return t.lineNumber=Q,t.columnNumber=X,t}return{parse:re,stringify:function(e,t,n){var r,o,i,s=[],a="",u="";if(null==t||"object"!=typeof t||Array.isArray(t)||(n=t.space,i=t.quote,t=t.replacer),"function"==typeof t)o=t;else if(Array.isArray(t)){r=[];for(var c=0,l=t;c 0&&(n=Math.min(10,Math.floor(n)),u=" ".substr(0,n)):"string"==typeof n&&(u=n.substr(0,10)),h("",{"":e});function h(e,t){var n=t[e];switch(null!=n&&("function"==typeof n.toJSON5?n=n.toJSON5(e):"function"==typeof n.toJSON&&(n=n.toJSON(e))),o&&(n=o.call(t,e,n)),n instanceof Number?n=Number(n):n instanceof String?n=String(n):n instanceof Boolean&&(n=n.valueOf()),n){case null:return"null";case!0:return"true";case!1:return"false"}return"string"==typeof n?p(n,!1):"number"==typeof n?String(n):"object"==typeof n?Array.isArray(n)?y(n):m(n):void 0}function p(e){for(var t={"'":.1,'"':.2},n={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},r="",o=0;o =0)throw TypeError("Converting circular structure to JSON5");s.push(e);var t=a;a+=u;for(var n,o,i=[],c=0,l=r||Object.keys(e);c =0)throw TypeError("Converting circular structure to JSON5");s.push(e);var t=a;a+=u;for(var n,r=[],o=0;o {var n=/~/,r=/~[01]/g;function o(e){switch(e){case"~1":return"/";case"~0":return"~"}throw new Error("Invalid tilde escape: "+e)}function i(e){return n.test(e)?e.replace(r,o):e}function s(e){if("string"==typeof e){if(""===(e=e.split("/"))[0])return e;throw new Error("Invalid JSON pointer.")}if(Array.isArray(e)){for(const t of e)if("string"!=typeof t&&"number"!=typeof t)throw new Error("Invalid JSON pointer. Must be of type string or number.");return e}throw new Error("Invalid JSON pointer.")}function a(e,t){if("object"!=typeof e)throw new Error("Invalid input object.");var n=(t=s(t)).length;if(1===n)return e;for(var r=1;r s,void 0===e[r]&&(Array.isArray(e)&&"-"===r&&(r=e.length),o&&(""!==t[s]&&t[s]<1/0||"-"===t[s]?e[r]=[]:e[r]={})),!o)break;e=e[r]}var u=e[r];return void 0===n?delete e[r]:e[r]=n,u}(e,t,n)}t.get=a,t.set=u,t.compile=function(e){var t=s(e);return{get:function(e){return a(e,t)},set:function(e,n){return u(e,t,n)}}}},22038:e=>{"use strict";const t=[],n=[],r=(e,r)=>{if(e===r)return 0;const o=e;e.length>r.length&&(e=r,r=o);let i=e.length,s=r.length;for(;i>0&&e.charCodeAt(~-i)===r.charCodeAt(~-s);)i--,s--;let a,u,c,l,f=0;for(;fu?l>u?u+1:l:l>c?c+1:l;return u};e.exports=r,e.exports.default=r},89612:(e,t,n)=>{var r=n(52118),o=n(96909),i=n(98138),s=n(4174),a=n(7942);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t {var r=n(3945),o=n(21846),i=n(88028),s=n(72344),a=n(94769);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t {var r=n(38761)(n(37772),"Map");e.exports=r},96738:(e,t,n)=>{var r=n(92411),o=n(36417),i=n(86928),s=n(79493),a=n(24150);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t {var r=n(37772).Symbol;e.exports=r},50343:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n {var r=n(13940),o=n(41225),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var s=e[t];i.call(e,t)&&o(s,n)&&(void 0!==n||t in e)||r(e,t,n)}},22218:(e,t,n)=>{var r=n(41225);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},13940:(e,t,n)=>{var r=n(83043);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},13324:(e,t,n)=>{var r=n(17297),o=n(33812);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n{var r=n(50857),o=n(62107),i=n(37157),s=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?o(e):i(e)}},6840:(e,t,n)=>{var r=n(61049),o=n(47394),i=n(29259),s=n(87035),a=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,l=u.toString,f=c.hasOwnProperty,d=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?d:a).test(s(e))}},82857:(e,t,n)=>{var r=n(60091),o=n(17297),i=n(39045),s=n(29259),a=n(33812);e.exports=function(e,t,n,u){if(!s(e))return e;for(var c=-1,l=(t=o(t,e)).length,f=l-1,d=e;null!=d&&++c {var r=n(50857),o=n(50343),i=n(86152),s=n(4795),a=r?r.prototype:void 0,u=a?a.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(s(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-Infinity?"-0":n}},17297:(e,t,n)=>{var r=n(86152),o=n(21401),i=n(54452),s=n(66188);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(s(e))}},24019:(e,t,n)=>{var r=n(37772)["__core-js_shared__"];e.exports=r},83043:(e,t,n)=>{var r=n(38761),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=o},51242:(e,t,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},27937:(e,t,n)=>{var r=n(98304);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},38761:(e,t,n)=>{var r=n(6840),o=n(98109);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},62107:(e,t,n)=>{var r=n(50857),o=Object.prototype,i=o.hasOwnProperty,s=o.toString,a=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),n=e[a];try{e[a]=void 0;var r=!0}catch(u){}var o=s.call(e);return r&&(t?e[a]=n:delete e[a]),o}},98109:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},52118:(e,t,n)=>{var r=n(99191);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},96909:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},98138:(e,t,n)=>{var r=n(99191),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},4174:(e,t,n)=>{var r=n(99191),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},7942:(e,t,n)=>{var r=n(99191);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},39045:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e {var r=n(86152),o=n(4795),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(s.test(e)||!i.test(e)||null!=t&&e in Object(t))}},98304:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},47394:(e,t,n)=>{var r,o=n(24019),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},3945:e=>{e.exports=function(){this.__data__=[],this.size=0}},21846:(e,t,n)=>{var r=n(22218),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},88028:(e,t,n)=>{var r=n(22218);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},72344:(e,t,n)=>{var r=n(22218);e.exports=function(e){return r(this.__data__,e)>-1}},94769:(e,t,n)=>{var r=n(22218);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},92411:(e,t,n)=>{var r=n(89612),o=n(80235),i=n(10326);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},36417:(e,t,n)=>{var r=n(27937);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},86928:(e,t,n)=>{var r=n(27937);e.exports=function(e){return r(this,e).get(e)}},79493:(e,t,n)=>{var r=n(27937);e.exports=function(e){return r(this,e).has(e)}},24150:(e,t,n)=>{var r=n(27937);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},77777:(e,t,n)=>{var r=n(30733);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},99191:(e,t,n)=>{var r=n(38761)(Object,"create");e.exports=r},37157:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},37772:(e,t,n)=>{var r=n(51242),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},54452:(e,t,n)=>{var r=n(77777),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,s=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)})),t}));e.exports=s},33812:(e,t,n)=>{var r=n(4795);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}},87035:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(n){}}return""}},41225:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},72579:(e,t,n)=>{var r=n(13324);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},86152:e=>{var t=Array.isArray;e.exports=t},61049:(e,t,n)=>{var r=n(53366),o=n(29259);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},29259:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},15125:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},4795:(e,t,n)=>{var r=n(53366),o=n(15125);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},76635:function(e,t,n){var r;e=n.nmd(e),function(){var o,i="Expected a function",s="__lodash_hash_undefined__",a="__lodash_placeholder__",u=16,c=32,l=64,f=128,d=256,h=1/0,p=9007199254740991,m=NaN,g=4294967295,y=[["ary",f],["bind",1],["bindKey",2],["curry",8],["curryRight",u],["flip",512],["partial",c],["partialRight",l],["rearg",d]],v="[object Arguments]",b="[object Array]",_="[object Boolean]",w="[object Date]",E="[object Error]",k="[object Function]",x="[object GeneratorFunction]",D="[object Map]",S="[object Number]",C="[object Object]",O="[object Promise]",$="[object RegExp]",A="[object Set]",P="[object String]",j="[object Symbol]",F="[object WeakMap]",I="[object ArrayBuffer]",N="[object DataView]",T="[object Float32Array]",M="[object Float64Array]",R="[object Int8Array]",B="[object Int16Array]",L="[object Int32Array]",z="[object Uint8Array]",U="[object Uint8ClampedArray]",q="[object Uint16Array]",V="[object Uint32Array]",Q=/\b__p \+= '';/g,X=/\b(__p \+=) '' \+/g,H=/(__e\(.*?\)|\b__t\)) \+\n'';/g,K=/&(?:amp|lt|gt|quot|#39);/g,J=/[&<>"']/g,W=RegExp(K.source),G=RegExp(J.source),Z=/<%-([\s\S]+?)%>/g,Y=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,oe=/[\\^$.*+?()[\]{}|]/g,ie=RegExp(oe.source),se=/^\s+/,ae=/\s/,ue=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ce=/\{\n\/\* \[wrapped with (.+)\] \*/,le=/,? & /,fe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,de=/[()=,{}\[\]\/\s]/,he=/\\(\\)?/g,pe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,me=/\w*$/,ge=/^[-+]0x[0-9a-f]+$/i,ye=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,be=/^0o[0-7]+$/i,_e=/^(?:0|[1-9]\d*)$/,we=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ee=/($^)/,ke=/['\n\r\u2028\u2029\\]/g,xe="\\ud800-\\udfff",De="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Se="\\u2700-\\u27bf",Ce="a-z\\xdf-\\xf6\\xf8-\\xff",Oe="A-Z\\xc0-\\xd6\\xd8-\\xde",$e="\\ufe0e\\ufe0f",Ae="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Pe="['\u2019]",je="["+xe+"]",Fe="["+Ae+"]",Ie="["+De+"]",Ne="\\d+",Te="["+Se+"]",Me="["+Ce+"]",Re="[^"+xe+Ae+Ne+Se+Ce+Oe+"]",Be="\\ud83c[\\udffb-\\udfff]",Le="[^"+xe+"]",ze="(?:\\ud83c[\\udde6-\\uddff]){2}",Ue="[\\ud800-\\udbff][\\udc00-\\udfff]",qe="["+Oe+"]",Ve="\\u200d",Qe="(?:"+Me+"|"+Re+")",Xe="(?:"+qe+"|"+Re+")",He="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Ke="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Je="(?:"+Ie+"|"+Be+")"+"?",We="["+$e+"]?",Ge=We+Je+("(?:"+Ve+"(?:"+[Le,ze,Ue].join("|")+")"+We+Je+")*"),Ze="(?:"+[Te,ze,Ue].join("|")+")"+Ge,Ye="(?:"+[Le+Ie+"?",Ie,ze,Ue,je].join("|")+")",et=RegExp(Pe,"g"),tt=RegExp(Ie,"g"),nt=RegExp(Be+"(?="+Be+")|"+Ye+Ge,"g"),rt=RegExp([qe+"?"+Me+"+"+He+"(?="+[Fe,qe,"$"].join("|")+")",Xe+"+"+Ke+"(?="+[Fe,qe+Qe,"$"].join("|")+")",qe+"?"+Qe+"+"+He,qe+"+"+Ke,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ne,Ze].join("|"),"g"),ot=RegExp("["+Ve+xe+De+$e+"]"),it=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,st=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],at=-1,ut={};ut[T]=ut[M]=ut[R]=ut[B]=ut[L]=ut[z]=ut[U]=ut[q]=ut[V]=!0,ut[v]=ut[b]=ut[I]=ut[_]=ut[N]=ut[w]=ut[E]=ut[k]=ut[D]=ut[S]=ut[C]=ut[$]=ut[A]=ut[P]=ut[F]=!1;var ct={};ct[v]=ct[b]=ct[I]=ct[N]=ct[_]=ct[w]=ct[T]=ct[M]=ct[R]=ct[B]=ct[L]=ct[D]=ct[S]=ct[C]=ct[$]=ct[A]=ct[P]=ct[j]=ct[z]=ct[U]=ct[q]=ct[V]=!0,ct[E]=ct[k]=ct[F]=!1;var lt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ft=parseFloat,dt=parseInt,ht="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,pt="object"==typeof self&&self&&self.Object===Object&&self,mt=ht||pt||Function("return this")(),gt=t&&!t.nodeType&&t,yt=gt&&e&&!e.nodeType&&e,vt=yt&&yt.exports===gt,bt=vt&&ht.process,_t=function(){try{var e=yt&&yt.require&&yt.require("util").types;return e||bt&&bt.binding&&bt.binding("util")}catch(t){}}(),wt=_t&&_t.isArrayBuffer,Et=_t&&_t.isDate,kt=_t&&_t.isMap,xt=_t&&_t.isRegExp,Dt=_t&&_t.isSet,St=_t&&_t.isTypedArray;function Ct(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Ot(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o-1}function It(e,t,n){for(var r=-1,o=null==e?0:e.length;++r -1;);return n}function rn(e,t){for(var n=e.length;n--&&qt(t,e[n],0)>-1;);return n}var on=Kt({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),sn=Kt({"&":"&","<":"<",">":">",'"':""","'":"'"});function an(e){return"\\"+lt[e]}function un(e){return ot.test(e)}function cn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function ln(e,t){return function(n){return e(t(n))}}function fn(e,t){for(var n=-1,r=e.length,o=0,i=[];++n ",""":'"',"'":"'"});var vn=function e(t){var n,r=(t=null==t?mt:vn.defaults(mt.Object(),t,vn.pick(mt,st))).Array,ae=t.Date,xe=t.Error,De=t.Function,Se=t.Math,Ce=t.Object,Oe=t.RegExp,$e=t.String,Ae=t.TypeError,Pe=r.prototype,je=De.prototype,Fe=Ce.prototype,Ie=t["__core-js_shared__"],Ne=je.toString,Te=Fe.hasOwnProperty,Me=0,Re=(n=/[^.]+$/.exec(Ie&&Ie.keys&&Ie.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Be=Fe.toString,Le=Ne.call(Ce),ze=mt._,Ue=Oe("^"+Ne.call(Te).replace(oe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),qe=vt?t.Buffer:o,Ve=t.Symbol,Qe=t.Uint8Array,Xe=qe?qe.allocUnsafe:o,He=ln(Ce.getPrototypeOf,Ce),Ke=Ce.create,Je=Fe.propertyIsEnumerable,We=Pe.splice,Ge=Ve?Ve.isConcatSpreadable:o,Ze=Ve?Ve.iterator:o,Ye=Ve?Ve.toStringTag:o,nt=function(){try{var e=hi(Ce,"defineProperty");return e({},"",{}),e}catch(t){}}(),ot=t.clearTimeout!==mt.clearTimeout&&t.clearTimeout,lt=ae&&ae.now!==mt.Date.now&&ae.now,ht=t.setTimeout!==mt.setTimeout&&t.setTimeout,pt=Se.ceil,gt=Se.floor,yt=Ce.getOwnPropertySymbols,bt=qe?qe.isBuffer:o,_t=t.isFinite,Lt=Pe.join,Kt=ln(Ce.keys,Ce),bn=Se.max,_n=Se.min,wn=ae.now,En=t.parseInt,kn=Se.random,xn=Pe.reverse,Dn=hi(t,"DataView"),Sn=hi(t,"Map"),Cn=hi(t,"Promise"),On=hi(t,"Set"),$n=hi(t,"WeakMap"),An=hi(Ce,"create"),Pn=$n&&new $n,jn={},Fn=Bi(Dn),In=Bi(Sn),Nn=Bi(Cn),Tn=Bi(On),Mn=Bi($n),Rn=Ve?Ve.prototype:o,Bn=Rn?Rn.valueOf:o,Ln=Rn?Rn.toString:o;function zn(e){if(na(e)&&!Qs(e)&&!(e instanceof Qn)){if(e instanceof Vn)return e;if(Te.call(e,"__wrapped__"))return Li(e)}return new Vn(e)}var Un=function(){function e(){}return function(t){if(!ta(t))return{};if(Ke)return Ke(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function qn(){}function Vn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function Qn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=g,this.__views__=[]}function Xn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t =t?e:t)),e}function cr(e,t,n,r,i,s){var a,u=1&t,c=2&t,l=4&t;if(n&&(a=i?n(e,r,i,s):n(e)),a!==o)return a;if(!ta(e))return e;var f=Qs(e);if(f){if(a=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Te.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!u)return Po(e,a)}else{var d=gi(e),h=d==k||d==x;if(Js(e))return Do(e,u);if(d==C||d==v||h&&!i){if(a=c||h?{}:vi(e),!u)return c?function(e,t){return jo(e,mi(e),t)}(e,function(e,t){return e&&jo(t,Fa(t),e)}(a,e)):function(e,t){return jo(e,pi(e),t)}(e,ir(a,e))}else{if(!ct[d])return i?e:{};a=function(e,t,n){var r=e.constructor;switch(t){case I:return So(e);case _:case w:return new r(+e);case N:return function(e,t){var n=t?So(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case T:case M:case R:case B:case L:case z:case U:case q:case V:return Co(e,n);case D:return new r;case S:case P:return new r(e);case $:return function(e){var t=new e.constructor(e.source,me.exec(e));return t.lastIndex=e.lastIndex,t}(e);case A:return new r;case j:return o=e,Bn?Ce(Bn.call(o)):{}}var o}(e,d,u)}}s||(s=new Wn);var p=s.get(e);if(p)return p;s.set(e,a),aa(e)?e.forEach((function(r){a.add(cr(r,t,n,r,e,s))})):ra(e)&&e.forEach((function(r,o){a.set(o,cr(r,t,n,o,e,s))}));var m=f?o:(l?c?si:ii:c?Fa:ja)(e);return $t(m||e,(function(r,o){m&&(r=e[o=r]),nr(a,o,cr(r,t,n,o,e,s))})),a}function lr(e,t,n){var r=n.length;if(null==e)return!r;for(e=Ce(e);r--;){var i=n[r],s=t[i],a=e[i];if(a===o&&!(i in e)||!s(a))return!1}return!0}function fr(e,t,n){if("function"!=typeof e)throw new Ae(i);return ji((function(){e.apply(o,n)}),t)}function dr(e,t,n,r){var o=-1,i=Ft,s=!0,a=e.length,u=[],c=t.length;if(!a)return u;n&&(t=Nt(t,Yt(n))),r?(i=It,s=!1):t.length>=200&&(i=tn,s=!1,t=new Jn(t));e:for(;++o-1},Hn.prototype.set=function(e,t){var n=this.__data__,r=rr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Kn.prototype.clear=function(){this.size=0,this.__data__={hash:new Xn,map:new(Sn||Hn),string:new Xn}},Kn.prototype.delete=function(e){var t=fi(this,e).delete(e);return this.size-=t?1:0,t},Kn.prototype.get=function(e){return fi(this,e).get(e)},Kn.prototype.has=function(e){return fi(this,e).has(e)},Kn.prototype.set=function(e,t){var n=fi(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Jn.prototype.add=Jn.prototype.push=function(e){return this.__data__.set(e,s),this},Jn.prototype.has=function(e){return this.__data__.has(e)},Wn.prototype.clear=function(){this.__data__=new Hn,this.size=0},Wn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Wn.prototype.get=function(e){return this.__data__.get(e)},Wn.prototype.has=function(e){return this.__data__.has(e)},Wn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Hn){var r=n.__data__;if(!Sn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Kn(r)}return n.set(e,t),this.size=n.size,this};var hr=No(wr),pr=No(Er,!0);function mr(e,t){var n=!0;return hr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function gr(e,t,n){for(var r=-1,i=e.length;++r0&&n(a)?t>1?vr(a,t-1,n,r,o):Tt(o,a):r||(o[o.length]=a)}return o}var br=To(),_r=To(!0);function wr(e,t){return e&&br(e,t,ja)}function Er(e,t){return e&&_r(e,t,ja)}function kr(e,t){return jt(t,(function(t){return Zs(e[t])}))}function xr(e,t){for(var n=0,r=(t=wo(t,e)).length;null!=e&&n t}function Or(e,t){return null!=e&&Te.call(e,t)}function $r(e,t){return null!=e&&t in Ce(e)}function Ar(e,t,n){for(var i=n?It:Ft,s=e[0].length,a=e.length,u=a,c=r(a),l=1/0,f=[];u--;){var d=e[u];u&&t&&(d=Nt(d,Yt(t))),l=_n(d.length,l),c[u]=!n&&(t||s>=120&&d.length>=120)?new Jn(u&&d):o}d=e[0];var h=-1,p=c[0];e:for(;++h =a?u:u*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Xr(e,t,n){for(var r=-1,o=t.length,i={};++r-1;)a!==e&&We.call(a,u,1),We.call(e,u,1);return e}function Kr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;_i(o)?We.call(e,o,1):ho(e,o)}}return e}function Jr(e,t){return e+gt(kn()*(t-e+1))}function Wr(e,t){var n="";if(!e||t<1||t>p)return n;do{t%2&&(n+=e),(t=gt(t/2))&&(e+=e)}while(t);return n}function Gr(e,t){return Fi(Oi(e,t,ou),e+"")}function Zr(e){return Zn(za(e))}function Yr(e,t){var n=za(e);return Ti(n,ur(t,0,n.length))}function eo(e,t,n,r){if(!ta(e))return e;for(var i=-1,s=(t=wo(t,e)).length,a=s-1,u=e;null!=u&&++i i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var s=r(i);++o>>1,s=e[i];null!==s&&!ca(s)&&(n?s<=t:s=200){var c=t?null:Go(e);if(c)return dn(c);s=!1,o=tn,u=new Jn}else u=t?[]:a;e:for(;++r=r?e:oo(e,t,n)}var xo=ot||function(e){return mt.clearTimeout(e)};function Do(e,t){if(t)return e.slice();var n=e.length,r=Xe?Xe(n):new e.constructor(n);return e.copy(r),r}function So(e){var t=new e.constructor(e.byteLength);return new Qe(t).set(new Qe(e)),t}function Co(e,t){var n=t?So(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Oo(e,t){if(e!==t){var n=e!==o,r=null===e,i=e==e,s=ca(e),a=t!==o,u=null===t,c=t==t,l=ca(t);if(!u&&!l&&!s&&e>t||s&&a&&c&&!u&&!l||r&&a&&c||!n&&c||!i)return 1;if(!r&&!s&&!l&&e 1?n[i-1]:o,a=i>2?n[2]:o;for(s=e.length>3&&"function"==typeof s?(i--,s):o,a&&wi(n[0],n[1],a)&&(s=i<3?o:s,i=1),t=Ce(t);++r-1?i[s?t[a]:a]:o}}function zo(e){return oi((function(t){var n=t.length,r=n,s=Vn.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new Ae(i);if(s&&!u&&"wrapper"==ui(a))var u=new Vn([],!0)}for(r=u?r:n;++r 1&&_.reverse(),h&&lu))return!1;var l=s.get(e),f=s.get(t);if(l&&f)return l==t&&f==e;var d=-1,h=!0,p=2&n?new Jn:o;for(s.set(e,t),s.set(t,e);++d-1&&e%1==0&&e 1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(ue,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return $t(y,(function(n){var r="_."+n[0];t&n[1]&&!Ft(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ce);return t?t[1].split(le):[]}(r),n)))}function Ni(e){var t=0,n=0;return function(){var r=wn(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(o,arguments)}}function Ti(e,t){var n=-1,r=e.length,i=r-1;for(t=t===o?r:t;++n 1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,ss(e,n)}));function hs(e){var t=zn(e);return t.__chain__=!0,t}function ps(e,t){return t(e)}var ms=oi((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return ar(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Qn&&_i(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ps,args:[i],thisArg:o}),new Vn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(i)}));var gs=Fo((function(e,t,n){Te.call(e,n)?++e[n]:sr(e,n,1)}));var ys=Lo(Vi),vs=Lo(Qi);function bs(e,t){return(Qs(e)?$t:hr)(e,li(t,3))}function _s(e,t){return(Qs(e)?At:pr)(e,li(t,3))}var ws=Fo((function(e,t,n){Te.call(e,n)?e[n].push(t):sr(e,n,[t])}));var Es=Gr((function(e,t,n){var o=-1,i="function"==typeof t,s=Hs(e)?r(e.length):[];return hr(e,(function(e){s[++o]=i?Ct(t,e,n):Pr(e,t,n)})),s})),ks=Fo((function(e,t,n){sr(e,n,t)}));function xs(e,t){return(Qs(e)?Nt:Lr)(e,li(t,3))}var Ds=Fo((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Ss=Gr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&wi(e,t[0],t[1])?t=[]:n>2&&wi(t[0],t[1],t[2])&&(t=[t[0]]),Qr(e,vr(t,1),[])})),Cs=lt||function(){return mt.Date.now()};function Os(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Yo(e,f,o,o,o,o,t)}function $s(e,t){var n;if("function"!=typeof t)throw new Ae(i);return e=ma(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var As=Gr((function(e,t,n){var r=1;if(n.length){var o=fn(n,ci(As));r|=c}return Yo(e,r,t,n,o)})),Ps=Gr((function(e,t,n){var r=3;if(n.length){var o=fn(n,ci(Ps));r|=c}return Yo(t,r,e,n,o)}));function js(e,t,n){var r,s,a,u,c,l,f=0,d=!1,h=!1,p=!0;if("function"!=typeof e)throw new Ae(i);function m(t){var n=r,i=s;return r=s=o,f=t,u=e.apply(i,n)}function g(e){var n=e-l;return l===o||n>=t||n<0||h&&e-f>=a}function y(){var e=Cs();if(g(e))return v(e);c=ji(y,function(e){var n=t-(e-l);return h?_n(n,a-(e-f)):n}(e))}function v(e){return c=o,p&&r?m(e):(r=s=o,u)}function b(){var e=Cs(),n=g(e);if(r=arguments,s=this,l=e,n){if(c===o)return function(e){return f=e,c=ji(y,t),d?m(e):u}(l);if(h)return xo(c),c=ji(y,t),m(l)}return c===o&&(c=ji(y,t)),u}return t=ya(t)||0,ta(n)&&(d=!!n.leading,a=(h="maxWait"in n)?bn(ya(n.maxWait)||0,t):a,p="trailing"in n?!!n.trailing:p),b.cancel=function(){c!==o&&xo(c),f=0,r=l=s=c=o},b.flush=function(){return c===o?u:v(Cs())},b}var Fs=Gr((function(e,t){return fr(e,1,t)})),Is=Gr((function(e,t,n){return fr(e,ya(t)||0,n)}));function Ns(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ae(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var s=e.apply(this,r);return n.cache=i.set(o,s)||i,s};return n.cache=new(Ns.Cache||Kn),n}function Ts(e){if("function"!=typeof e)throw new Ae(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Ns.Cache=Kn;var Ms=Eo((function(e,t){var n=(t=1==t.length&&Qs(t[0])?Nt(t[0],Yt(li())):Nt(vr(t,1),Yt(li()))).length;return Gr((function(r){for(var o=-1,i=_n(r.length,n);++o=t})),Vs=jr(function(){return arguments}())?jr:function(e){return na(e)&&Te.call(e,"callee")&&!Je.call(e,"callee")},Qs=r.isArray,Xs=wt?Yt(wt):function(e){return na(e)&&Sr(e)==I};function Hs(e){return null!=e&&ea(e.length)&&!Zs(e)}function Ks(e){return na(e)&&Hs(e)}var Js=bt||yu,Ws=Et?Yt(Et):function(e){return na(e)&&Sr(e)==w};function Gs(e){if(!na(e))return!1;var t=Sr(e);return t==E||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!ia(e)}function Zs(e){if(!ta(e))return!1;var t=Sr(e);return t==k||t==x||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ys(e){return"number"==typeof e&&e==ma(e)}function ea(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=p}function ta(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function na(e){return null!=e&&"object"==typeof e}var ra=kt?Yt(kt):function(e){return na(e)&&gi(e)==D};function oa(e){return"number"==typeof e||na(e)&&Sr(e)==S}function ia(e){if(!na(e)||Sr(e)!=C)return!1;var t=He(e);if(null===t)return!0;var n=Te.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ne.call(n)==Le}var sa=xt?Yt(xt):function(e){return na(e)&&Sr(e)==$};var aa=Dt?Yt(Dt):function(e){return na(e)&&gi(e)==A};function ua(e){return"string"==typeof e||!Qs(e)&&na(e)&&Sr(e)==P}function ca(e){return"symbol"==typeof e||na(e)&&Sr(e)==j}var la=St?Yt(St):function(e){return na(e)&&ea(e.length)&&!!ut[Sr(e)]};var fa=Ko(Br),da=Ko((function(e,t){return e<=t}));function ha(e){if(!e)return[];if(Hs(e))return ua(e)?mn(e):Po(e);if(Ze&&e[Ze])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Ze]());var t=gi(e);return(t==D?cn:t==A?dn:za)(e)}function pa(e){return e?(e=ya(e))===h||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ma(e){var t=pa(e),n=t%1;return t==t?n?t-n:t:0}function ga(e){return e?ur(ma(e),0,g):0}function ya(e){if("number"==typeof e)return e;if(ca(e))return m;if(ta(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ta(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Zt(e);var n=ye.test(e);return n||be.test(e)?dt(e.slice(2),n?2:8):ge.test(e)?m:+e}function va(e){return jo(e,Fa(e))}function ba(e){return null==e?"":lo(e)}var _a=Io((function(e,t){if(Di(t)||Hs(t))jo(t,ja(t),e);else for(var n in t)Te.call(t,n)&&nr(e,n,t[n])})),wa=Io((function(e,t){jo(t,Fa(t),e)})),Ea=Io((function(e,t,n,r){jo(t,Fa(t),e,r)})),ka=Io((function(e,t,n,r){jo(t,ja(t),e,r)})),xa=oi(ar);var Da=Gr((function(e,t){e=Ce(e);var n=-1,r=t.length,i=r>2?t[2]:o;for(i&&wi(t[0],t[1],i)&&(r=1);++n 1),t})),jo(e,si(e),n),r&&(n=cr(n,7,ni));for(var o=t.length;o--;)ho(n,t[o]);return n}));var Ma=oi((function(e,t){return null==e?{}:function(e,t){return Xr(e,t,(function(t,n){return Oa(e,n)}))}(e,t)}));function Ra(e,t){if(null==e)return{};var n=Nt(si(e),(function(e){return[e]}));return t=li(t),Xr(e,n,(function(e,n){return t(e,n[0])}))}var Ba=Zo(ja),La=Zo(Fa);function za(e){return null==e?[]:en(e,ja(e))}var Ua=Ro((function(e,t,n){return t=t.toLowerCase(),e+(n?qa(t):t)}));function qa(e){return Ga(ba(e).toLowerCase())}function Va(e){return(e=ba(e))&&e.replace(we,on).replace(tt,"")}var Qa=Ro((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Xa=Ro((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Ha=Mo("toLowerCase");var Ka=Ro((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Ja=Ro((function(e,t,n){return e+(n?" ":"")+Ga(t)}));var Wa=Ro((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Ga=Mo("toUpperCase");function Za(e,t,n){return e=ba(e),(t=n?o:t)===o?function(e){return it.test(e)}(e)?function(e){return e.match(rt)||[]}(e):function(e){return e.match(fe)||[]}(e):e.match(t)||[]}var Ya=Gr((function(e,t){try{return Ct(e,o,t)}catch(n){return Gs(n)?n:new xe(n)}})),eu=oi((function(e,t){return $t(t,(function(t){t=Ri(t),sr(e,t,As(e[t],e))})),e}));function tu(e){return function(){return e}}var nu=zo(),ru=zo(!0);function ou(e){return e}function iu(e){return Tr("function"==typeof e?e:cr(e,1))}var su=Gr((function(e,t){return function(n){return Pr(n,e,t)}})),au=Gr((function(e,t){return function(n){return Pr(e,n,t)}}));function uu(e,t,n){var r=ja(t),o=kr(t,r);null!=n||ta(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=kr(t,ja(t)));var i=!(ta(n)&&"chain"in n&&!n.chain),s=Zs(e);return $t(o,(function(n){var r=t[n];e[n]=r,s&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=Po(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Tt([this.value()],arguments))})})),e}function cu(){}var lu=Qo(Nt),fu=Qo(Pt),du=Qo(Bt);function hu(e){return Ei(e)?Ht(Ri(e)):function(e){return function(t){return xr(t,e)}}(e)}var pu=Ho(),mu=Ho(!0);function gu(){return[]}function yu(){return!1}var vu=Vo((function(e,t){return e+t}),0),bu=Wo("ceil"),_u=Vo((function(e,t){return e/t}),1),wu=Wo("floor");var Eu,ku=Vo((function(e,t){return e*t}),1),xu=Wo("round"),Du=Vo((function(e,t){return e-t}),0);return zn.after=function(e,t){if("function"!=typeof t)throw new Ae(i);return e=ma(e),function(){if(--e<1)return t.apply(this,arguments)}},zn.ary=Os,zn.assign=_a,zn.assignIn=wa,zn.assignInWith=Ea,zn.assignWith=ka,zn.at=xa,zn.before=$s,zn.bind=As,zn.bindAll=eu,zn.bindKey=Ps,zn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Qs(e)?e:[e]},zn.chain=hs,zn.chunk=function(e,t,n){t=(n?wi(e,t,n):t===o)?1:bn(ma(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var s=0,a=0,u=r(pt(i/t));si?0:i+n),(r=r===o||r>i?i:ma(r))<0&&(r+=i),r=n>r?0:ga(r);n >>0)?(e=ba(e))&&("string"==typeof t||null!=t&&!sa(t))&&!(t=lo(t))&&un(e)?ko(mn(e),0,n):e.split(t,n):[]},zn.spread=function(e,t){if("function"!=typeof e)throw new Ae(i);return t=null==t?0:bn(ma(t),0),Gr((function(n){var r=n[t],o=ko(n,0,t);return r&&Tt(o,r),Ct(e,this,o)}))},zn.tail=function(e){var t=null==e?0:e.length;return t?oo(e,1,t):[]},zn.take=function(e,t,n){return e&&e.length?oo(e,0,(t=n||t===o?1:ma(t))<0?0:t):[]},zn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?oo(e,(t=r-(t=n||t===o?1:ma(t)))<0?0:t,r):[]},zn.takeRightWhile=function(e,t){return e&&e.length?mo(e,li(t,3),!1,!0):[]},zn.takeWhile=function(e,t){return e&&e.length?mo(e,li(t,3)):[]},zn.tap=function(e,t){return t(e),e},zn.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new Ae(i);return ta(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),js(e,t,{leading:r,maxWait:t,trailing:o})},zn.thru=ps,zn.toArray=ha,zn.toPairs=Ba,zn.toPairsIn=La,zn.toPath=function(e){return Qs(e)?Nt(e,Ri):ca(e)?[e]:Po(Mi(ba(e)))},zn.toPlainObject=va,zn.transform=function(e,t,n){var r=Qs(e),o=r||Js(e)||la(e);if(t=li(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:ta(e)&&Zs(i)?Un(He(e)):{}}return(o?$t:wr)(e,(function(e,r,o){return t(n,e,r,o)})),n},zn.unary=function(e){return Os(e,1)},zn.union=ns,zn.unionBy=rs,zn.unionWith=os,zn.uniq=function(e){return e&&e.length?fo(e):[]},zn.uniqBy=function(e,t){return e&&e.length?fo(e,li(t,2)):[]},zn.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?fo(e,o,t):[]},zn.unset=function(e,t){return null==e||ho(e,t)},zn.unzip=is,zn.unzipWith=ss,zn.update=function(e,t,n){return null==e?e:po(e,t,_o(n))},zn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:po(e,t,_o(n),r)},zn.values=za,zn.valuesIn=function(e){return null==e?[]:en(e,Fa(e))},zn.without=as,zn.words=Za,zn.wrap=function(e,t){return Rs(_o(t),e)},zn.xor=us,zn.xorBy=cs,zn.xorWith=ls,zn.zip=fs,zn.zipObject=function(e,t){return vo(e||[],t||[],nr)},zn.zipObjectDeep=function(e,t){return vo(e||[],t||[],eo)},zn.zipWith=ds,zn.entries=Ba,zn.entriesIn=La,zn.extend=wa,zn.extendWith=Ea,uu(zn,zn),zn.add=vu,zn.attempt=Ya,zn.camelCase=Ua,zn.capitalize=qa,zn.ceil=bu,zn.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=ya(n))==n?n:0),t!==o&&(t=(t=ya(t))==t?t:0),ur(ya(e),t,n)},zn.clone=function(e){return cr(e,4)},zn.cloneDeep=function(e){return cr(e,5)},zn.cloneDeepWith=function(e,t){return cr(e,5,t="function"==typeof t?t:o)},zn.cloneWith=function(e,t){return cr(e,4,t="function"==typeof t?t:o)},zn.conformsTo=function(e,t){return null==t||lr(e,t,ja(t))},zn.deburr=Va,zn.defaultTo=function(e,t){return null==e||e!=e?t:e},zn.divide=_u,zn.endsWith=function(e,t,n){e=ba(e),t=lo(t);var r=e.length,i=n=n===o?r:ur(ma(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},zn.eq=zs,zn.escape=function(e){return(e=ba(e))&&G.test(e)?e.replace(J,sn):e},zn.escapeRegExp=function(e){return(e=ba(e))&&ie.test(e)?e.replace(oe,"\\$&"):e},zn.every=function(e,t,n){var r=Qs(e)?Pt:mr;return n&&wi(e,t,n)&&(t=o),r(e,li(t,3))},zn.find=ys,zn.findIndex=Vi,zn.findKey=function(e,t){return zt(e,li(t,3),wr)},zn.findLast=vs,zn.findLastIndex=Qi,zn.findLastKey=function(e,t){return zt(e,li(t,3),Er)},zn.floor=wu,zn.forEach=bs,zn.forEachRight=_s,zn.forIn=function(e,t){return null==e?e:br(e,li(t,3),Fa)},zn.forInRight=function(e,t){return null==e?e:_r(e,li(t,3),Fa)},zn.forOwn=function(e,t){return e&&wr(e,li(t,3))},zn.forOwnRight=function(e,t){return e&&Er(e,li(t,3))},zn.get=Ca,zn.gt=Us,zn.gte=qs,zn.has=function(e,t){return null!=e&&yi(e,t,Or)},zn.hasIn=Oa,zn.head=Hi,zn.identity=ou,zn.includes=function(e,t,n,r){e=Hs(e)?e:za(e),n=n&&!r?ma(n):0;var o=e.length;return n<0&&(n=bn(o+n,0)),ua(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&qt(e,t,n)>-1},zn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ma(n);return o<0&&(o=bn(r+o,0)),qt(e,t,o)},zn.inRange=function(e,t,n){return t=pa(t),n===o?(n=t,t=0):n=pa(n),function(e,t,n){return e>=_n(t,n)&&e =-9007199254740991&&e<=p},zn.isSet=aa,zn.isString=ua,zn.isSymbol=ca,zn.isTypedArray=la,zn.isUndefined=function(e){return e===o},zn.isWeakMap=function(e){return na(e)&&gi(e)==F},zn.isWeakSet=function(e){return na(e)&&"[object WeakSet]"==Sr(e)},zn.join=function(e,t){return null==e?"":Lt.call(e,t)},zn.kebabCase=Qa,zn.last=Gi,zn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=ma(n))<0?bn(r+i,0):_n(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):Ut(e,Qt,i,!0)},zn.lowerCase=Xa,zn.lowerFirst=Ha,zn.lt=fa,zn.lte=da,zn.max=function(e){return e&&e.length?gr(e,ou,Cr):o},zn.maxBy=function(e,t){return e&&e.length?gr(e,li(t,2),Cr):o},zn.mean=function(e){return Xt(e,ou)},zn.meanBy=function(e,t){return Xt(e,li(t,2))},zn.min=function(e){return e&&e.length?gr(e,ou,Br):o},zn.minBy=function(e,t){return e&&e.length?gr(e,li(t,2),Br):o},zn.stubArray=gu,zn.stubFalse=yu,zn.stubObject=function(){return{}},zn.stubString=function(){return""},zn.stubTrue=function(){return!0},zn.multiply=ku,zn.nth=function(e,t){return e&&e.length?Vr(e,ma(t)):o},zn.noConflict=function(){return mt._===this&&(mt._=ze),this},zn.noop=cu,zn.now=Cs,zn.pad=function(e,t,n){e=ba(e);var r=(t=ma(t))?pn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Xo(gt(o),n)+e+Xo(pt(o),n)},zn.padEnd=function(e,t,n){e=ba(e);var r=(t=ma(t))?pn(e):0;return t&&r t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=kn();return _n(e+i*(t-e+ft("1e-"+((i+"").length-1))),t)}return Jr(e,t)},zn.reduce=function(e,t,n){var r=Qs(e)?Mt:Jt,o=arguments.length<3;return r(e,li(t,4),n,o,hr)},zn.reduceRight=function(e,t,n){var r=Qs(e)?Rt:Jt,o=arguments.length<3;return r(e,li(t,4),n,o,pr)},zn.repeat=function(e,t,n){return t=(n?wi(e,t,n):t===o)?1:ma(t),Wr(ba(e),t)},zn.replace=function(){var e=arguments,t=ba(e[0]);return e.length<3?t:t.replace(e[1],e[2])},zn.result=function(e,t,n){var r=-1,i=(t=wo(t,e)).length;for(i||(i=1,e=o);++rp)return[];var n=g,r=_n(e,g);t=li(t),e-=g;for(var o=Gt(r,t);++n =s)return e;var u=n-pn(r);if(u<1)return r;var c=a?ko(a,0,u).join(""):e.slice(0,u);if(i===o)return c+r;if(a&&(u+=c.length-u),sa(i)){if(e.slice(u).search(i)){var l,f=c;for(i.global||(i=Oe(i.source,ba(me.exec(i))+"g")),i.lastIndex=0;l=i.exec(f);)var d=l.index;c=c.slice(0,d===o?u:d)}}else if(e.indexOf(lo(i),u)!=u){var h=c.lastIndexOf(i);h>-1&&(c=c.slice(0,h))}return c+r},zn.unescape=function(e){return(e=ba(e))&&W.test(e)?e.replace(K,yn):e},zn.uniqueId=function(e){var t=++Me;return ba(e)+t},zn.upperCase=Wa,zn.upperFirst=Ga,zn.each=bs,zn.eachRight=_s,zn.first=Hi,uu(zn,(Eu={},wr(zn,(function(e,t){Te.call(zn.prototype,t)||(Eu[t]=e)})),Eu),{chain:!1}),zn.VERSION="4.17.21",$t(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){zn[e].placeholder=zn})),$t(["drop","take"],(function(e,t){Qn.prototype[e]=function(n){n=n===o?1:bn(ma(n),0);var r=this.__filtered__&&!t?new Qn(this):this.clone();return r.__filtered__?r.__takeCount__=_n(n,r.__takeCount__):r.__views__.push({size:_n(n,g),type:e+(r.__dir__<0?"Right":"")}),r},Qn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),$t(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Qn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:li(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),$t(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Qn.prototype[e]=function(){return this[n](1).value()[0]}})),$t(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Qn.prototype[e]=function(){return this.__filtered__?new Qn(this):this[n](1)}})),Qn.prototype.compact=function(){return this.filter(ou)},Qn.prototype.find=function(e){return this.filter(e).head()},Qn.prototype.findLast=function(e){return this.reverse().find(e)},Qn.prototype.invokeMap=Gr((function(e,t){return"function"==typeof e?new Qn(this):this.map((function(n){return Pr(n,e,t)}))})),Qn.prototype.reject=function(e){return this.filter(Ts(li(e)))},Qn.prototype.slice=function(e,t){e=ma(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Qn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=ma(t))<0?n.dropRight(-t):n.take(t-e)),n)},Qn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Qn.prototype.toArray=function(){return this.take(g)},wr(Qn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=zn[r?"take"+("last"==t?"Right":""):t],s=r||/^find/.test(t);i&&(zn.prototype[t]=function(){var t=this.__wrapped__,a=r?[1]:arguments,u=t instanceof Qn,c=a[0],l=u||Qs(t),f=function(e){var t=i.apply(zn,Tt([e],a));return r&&d?t[0]:t};l&&n&&"function"==typeof c&&1!=c.length&&(u=l=!1);var d=this.__chain__,h=!!this.__actions__.length,p=s&&!d,m=u&&!h;if(!s&&l){t=m?t:new Qn(this);var g=e.apply(t,a);return g.__actions__.push({func:ps,args:[f],thisArg:o}),new Vn(g,d)}return p&&m?e.apply(this,a):(g=this.thru(f),p?r?g.value()[0]:g.value():g)})})),$t(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Pe[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);zn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Qs(o)?o:[],e)}return this[n]((function(n){return t.apply(Qs(n)?n:[],e)}))}})),wr(Qn.prototype,(function(e,t){var n=zn[t];if(n){var r=n.name+"";Te.call(jn,r)||(jn[r]=[]),jn[r].push({name:t,func:n})}})),jn[Uo(o,2).name]=[{name:"wrapper",func:o}],Qn.prototype.clone=function(){var e=new Qn(this.__wrapped__);return e.__actions__=Po(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Po(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Po(this.__views__),e},Qn.prototype.reverse=function(){if(this.__filtered__){var e=new Qn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Qn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Qs(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r =this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},zn.prototype.plant=function(e){for(var t,n=this;n instanceof qn;){var r=Li(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},zn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Qn){var t=e;return this.__actions__.length&&(t=new Qn(this)),(t=t.reverse()).__actions__.push({func:ps,args:[ts],thisArg:o}),new Vn(t,this.__chain__)}return this.thru(ts)},zn.prototype.toJSON=zn.prototype.valueOf=zn.prototype.value=function(){return go(this.__wrapped__,this.__actions__)},zn.prototype.first=zn.prototype.head,Ze&&(zn.prototype[Ze]=function(){return this}),zn}();mt._=vn,(r=function(){return vn}.call(t,n,t,e))===o||(e.exports=r)}.call(this)},30733:(e,t,n)=>{var r=n(96738);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var s=e.apply(this,r);return n.cache=i.set(o,s)||i,s};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},16765:(e,t,n)=>{var r=n(82857);e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},66188:(e,t,n)=>{var r=n(1054);e.exports=function(e){return null==e?"":r(e)}},86448:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={schemaItem:"schemaItem_Ndoq",schemaName:"schemaName_R3Uj",strikethrough:"strikethrough_Q6D2"}},89754:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={constant:"constant_8nJK"}},3350:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={deprecated:"deprecated__nvj"}},65950:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={readOnly:"readOnly_Kxax"}},43654:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={required:"required_SaMx"}},65128:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={writeOnly:"writeOnly_OAXI"}},84501:(e,t)=>{function n(e){let t,n=[];for(let r of e.split(",").map((e=>e.trim())))if(/^-?\d+$/.test(r))n.push(parseInt(r,10));else if(t=r.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,r,o,i]=t;if(r&&i){r=parseInt(r),i=parseInt(i);const e=r{"use strict";const r=n(25308);e.exports=r,r.default=r},25308:e=>{"use strict";e.exports=function(e,n,r){var o,i="";if(t="",arguments.length>1){if("number"==typeof r)for(o=0;o 100)return e.replace(r,i);for(var t="",s=0,a=0;a r;)e[n]=e[n-1],n--;e[n]=r}return e}},63338:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(6299));t.default=function(e,t){var n=null;if(!e||"string"!=typeof e)return n;var r=(0,o.default)(e),i="function"==typeof t;return r.forEach((function(e){if("declaration"===e.type){var r=e.property,o=e.value;i?t(r,o,e):o&&((n=n||{})[r]=o)}})),n}},12854:function(e,t){!function(e){"use strict";function t(){for(var e=arguments.length,t=Array(e),n=0;n 1){t[0]=t[0].slice(0,-1);for(var r=t.length-1,o=1;o = 0x80 (not a basic code point)","invalid-input":"Invalid input"},D=h-p,S=Math.floor,C=String.fromCharCode;function O(e){throw new RangeError(x[e])}function $(e,t){for(var n=[],r=e.length;r--;)n[r]=t(e[r]);return n}function A(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+$((e=e.replace(k,".")).split("."),t).join(".")}function P(e){for(var t=[],n=0,r=e.length;n =55296&&o<=56319&&n >1,e+=S(e/t);e>D*m>>1;r+=h)e=S(e/D);return S(r+(D+1)*e/(e+g))},N=function(e){var t=[],n=e.length,r=0,o=b,i=v,s=e.lastIndexOf(_);s<0&&(s=0);for(var a=0;a =128&&O("not-basic"),t.push(e.charCodeAt(a));for(var u=s>0?s+1:0;u=n&&O("invalid-input");var g=j(e.charCodeAt(u++));(g>=h||g>S((d-r)/l))&&O("overflow"),r+=g*l;var y=f<=i?p:f>=i+m?m:f-i;if(g S(d/w)&&O("overflow"),l*=w}var E=t.length+1;i=I(r-c,E,0==c),S(r/E)>d-o&&O("overflow"),o+=S(r/E),r%=E,t.splice(r++,0,o)}return String.fromCodePoint.apply(String,t)},T=function(e){var t=[],n=(e=P(e)).length,r=b,o=0,i=v,s=!0,a=!1,u=void 0;try{for(var c,l=e[Symbol.iterator]();!(s=(c=l.next()).done);s=!0){var f=c.value;f<128&&t.push(C(f))}}catch(X){a=!0,u=X}finally{try{!s&&l.return&&l.return()}finally{if(a)throw u}}var g=t.length,y=g;for(g&&t.push(_);y =r&&A S((d-o)/j)&&O("overflow"),o+=(w-r)*j,r=w;var N=!0,T=!1,M=void 0;try{for(var R,B=e[Symbol.iterator]();!(N=(R=B.next()).done);N=!0){var L=R.value;if(L d&&O("overflow"),L==r){for(var z=o,U=h;;U+=h){var q=U<=i?p:U>=i+m?m:U-i;if(z >6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function U(e){for(var t="",n=0,r=e.length;n=194&&o<224){if(r-n>=6){var i=parseInt(e.substr(n+4,2),16);t+=String.fromCharCode((31&o)<<6|63&i)}else t+=e.substr(n,6);n+=6}else if(o>=224){if(r-n>=9){var s=parseInt(e.substr(n+4,2),16),a=parseInt(e.substr(n+7,2),16);t+=String.fromCharCode((15&o)<<12|(63&s)<<6|63&a)}else t+=e.substr(n,9);n+=9}else t+=e.substr(n,3),n+=3}return t}function q(e,t){function n(e){var n=U(e);return n.match(t.UNRESERVED)?n:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,n).replace(t.NOT_USERINFO,z).replace(t.PCT_ENCODED,o)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_HOST,z).replace(t.PCT_ENCODED,o)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,n).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,z).replace(t.PCT_ENCODED,o)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,n).replace(t.NOT_QUERY,z).replace(t.PCT_ENCODED,o)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,n).replace(t.NOT_FRAGMENT,z).replace(t.PCT_ENCODED,o)),e}function V(e){return e.replace(/^0*(.*)/,"$1")||"0"}function Q(e,t){var n=e.match(t.IPV4ADDRESS)||[],r=l(n,2)[1];return r?r.split(".").map(V).join("."):e}function X(e,t){var n=e.match(t.IPV6ADDRESS)||[],r=l(n,3),o=r[1],i=r[2];if(o){for(var s=o.toLowerCase().split("::").reverse(),a=l(s,2),u=a[0],c=a[1],f=c?c.split(":").map(V):[],d=u.split(":").map(V),h=t.IPV4ADDRESS.test(d[d.length-1]),p=h?7:8,m=d.length-p,g=Array(p),y=0;y 1){var _=g.slice(0,v.index),w=g.slice(v.index+v.length);b=_.join(":")+"::"+w.join(":")}else b=g.join(":");return i&&(b+="%"+i),b}return e}var H=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,K=void 0==="".match(/(){0}/)[1];function J(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={},r=!1!==t.iri?c:u;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var o=e.match(H);if(o){K?(n.scheme=o[1],n.userinfo=o[3],n.host=o[4],n.port=parseInt(o[5],10),n.path=o[6]||"",n.query=o[7],n.fragment=o[8],isNaN(n.port)&&(n.port=o[5])):(n.scheme=o[1]||void 0,n.userinfo=-1!==e.indexOf("@")?o[3]:void 0,n.host=-1!==e.indexOf("//")?o[4]:void 0,n.port=parseInt(o[5],10),n.path=o[6]||"",n.query=-1!==e.indexOf("?")?o[7]:void 0,n.fragment=-1!==e.indexOf("#")?o[8]:void 0,isNaN(n.port)&&(n.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?o[4]:void 0)),n.host&&(n.host=X(Q(n.host,r),r)),void 0!==n.scheme||void 0!==n.userinfo||void 0!==n.host||void 0!==n.port||n.path||void 0!==n.query?void 0===n.scheme?n.reference="relative":void 0===n.fragment?n.reference="absolute":n.reference="uri":n.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==n.reference&&(n.error=n.error||"URI is not a "+t.reference+" reference.");var i=L[(t.scheme||n.scheme||"").toLowerCase()];if(t.unicodeSupport||i&&i.unicodeSupport)q(n,r);else{if(n.host&&(t.domainHost||i&&i.domainHost))try{n.host=B.toASCII(n.host.replace(r.PCT_ENCODED,U).toLowerCase())}catch(s){n.error=n.error||"Host's domain name can not be converted to ASCII via punycode: "+s}q(n,u)}i&&i.parse&&i.parse(n,t)}else n.error=n.error||"URI can not be parsed.";return n}function W(e,t){var n=!1!==t.iri?c:u,r=[];return void 0!==e.userinfo&&(r.push(e.userinfo),r.push("@")),void 0!==e.host&&r.push(X(Q(String(e.host),n),n).replace(n.IPV6ADDRESS,(function(e,t,n){return"["+t+(n?"%25"+n:"")+"]"}))),"number"!=typeof e.port&&"string"!=typeof e.port||(r.push(":"),r.push(String(e.port))),r.length?r.join(""):void 0}var G=/^\.\.?\//,Z=/^\/\.(\/|$)/,Y=/^\/\.\.(\/|$)/,ee=/^\/?(?:.|\n)*?(?=\/|$)/;function te(e){for(var t=[];e.length;)if(e.match(G))e=e.replace(G,"");else if(e.match(Z))e=e.replace(Z,"/");else if(e.match(Y))e=e.replace(Y,"/"),t.pop();else if("."===e||".."===e)e="";else{var n=e.match(ee);if(!n)throw new Error("Unexpected dot segment condition");var r=n[0];e=e.slice(r.length),t.push(r)}return t.join("")}function ne(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.iri?c:u,r=[],o=L[(t.scheme||e.scheme||"").toLowerCase()];if(o&&o.serialize&&o.serialize(e,t),e.host)if(n.IPV6ADDRESS.test(e.host));else if(t.domainHost||o&&o.domainHost)try{e.host=t.iri?B.toUnicode(e.host):B.toASCII(e.host.replace(n.PCT_ENCODED,U).toLowerCase())}catch(a){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+a}q(e,n),"suffix"!==t.reference&&e.scheme&&(r.push(e.scheme),r.push(":"));var i=W(e,t);if(void 0!==i&&("suffix"!==t.reference&&r.push("//"),r.push(i),e.path&&"/"!==e.path.charAt(0)&&r.push("/")),void 0!==e.path){var s=e.path;t.absolutePath||o&&o.absolutePath||(s=te(s)),void 0===i&&(s=s.replace(/^\/\//,"/%2F")),r.push(s)}return void 0!==e.query&&(r.push("?"),r.push(e.query)),void 0!==e.fragment&&(r.push("#"),r.push(e.fragment)),r.join("")}function re(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r={};return arguments[3]||(e=J(ne(e,n),n),t=J(ne(t,n),n)),!(n=n||{}).tolerant&&t.scheme?(r.scheme=t.scheme,r.userinfo=t.userinfo,r.host=t.host,r.port=t.port,r.path=te(t.path||""),r.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(r.userinfo=t.userinfo,r.host=t.host,r.port=t.port,r.path=te(t.path||""),r.query=t.query):(t.path?("/"===t.path.charAt(0)?r.path=te(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?r.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:r.path=t.path:r.path="/"+t.path,r.path=te(r.path)),r.query=t.query):(r.path=e.path,void 0!==t.query?r.query=t.query:r.query=e.query),r.userinfo=e.userinfo,r.host=e.host,r.port=e.port),r.scheme=e.scheme),r.fragment=t.fragment,r}function oe(e,t,n){var r=s({scheme:"null"},n);return ne(re(J(e,r),J(t,r),r,!0),r)}function ie(e,t){return"string"==typeof e?e=ne(J(e,t),t):"object"===r(e)&&(e=J(ne(e,t),t)),e}function se(e,t,n){return"string"==typeof e?e=ne(J(e,n),n):"object"===r(e)&&(e=ne(e,n)),"string"==typeof t?t=ne(J(t,n),n):"object"===r(t)&&(t=ne(t,n)),e===t}function ae(e,t){return e&&e.toString().replace(t&&t.iri?c.ESCAPE:u.ESCAPE,z)}function ue(e,t){return e&&e.toString().replace(t&&t.iri?c.PCT_ENCODED:u.PCT_ENCODED,U)}var ce={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){var n="https"===String(e.scheme).toLowerCase();return e.port!==(n?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},le={scheme:"https",domainHost:ce.domainHost,parse:ce.parse,serialize:ce.serialize};function fe(e){return"boolean"==typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}var de={scheme:"ws",domainHost:!0,parse:function(e,t){var n=e;return n.secure=fe(n),n.resourceName=(n.path||"/")+(n.query?"?"+n.query:""),n.path=void 0,n.query=void 0,n},serialize:function(e,t){if(e.port!==(fe(e)?443:80)&&""!==e.port||(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){var n=e.resourceName.split("?"),r=l(n,2),o=r[0],i=r[1];e.path=o&&"/"!==o?o:void 0,e.query=i,e.resourceName=void 0}return e.fragment=void 0,e}},he={scheme:"wss",domainHost:de.domainHost,parse:de.parse,serialize:de.serialize},pe={},me="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",ge="[0-9A-Fa-f]",ye=n(n("%[EFef]"+ge+"%"+ge+ge+"%"+ge+ge)+"|"+n("%[89A-Fa-f]"+ge+"%"+ge+ge)+"|"+n("%"+ge+ge)),ve="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",be=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),_e="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",we=new RegExp(me,"g"),Ee=new RegExp(ye,"g"),ke=new RegExp(t("[^]",ve,"[\\.]",'[\\"]',be),"g"),xe=new RegExp(t("[^]",me,_e),"g"),De=xe;function Se(e){var t=U(e);return t.match(we)?t:e}var Ce={scheme:"mailto",parse:function(e,t){var n=e,r=n.to=n.path?n.path.split(","):[];if(n.path=void 0,n.query){for(var o=!1,i={},s=n.query.split("&"),a=0,u=s.length;a1);a++)n.splice(0,1);r[s]=n.join("")}var u=-1,c=0,l=0,f=-1,d=!1;for(s=0;sc&&(u=f,c=l)):"0"===r[s]&&(d=!0,f=s,l=1);l>c&&(u=f,c=l),c>1&&r.splice(u,c,""),o=r.length;var h="";for(""===r[0]&&(h=":"),s=0;s
=e.length-1)return!1;var r=e.lastIndexOf(".",t-1);if(r<=0||r>=t-1)return!1;var o=n.list[e.slice(t+1)];return!!o&&o.indexOf(" "+e.slice(r+1,t)+" ")>=0},is:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return!1;if(e.lastIndexOf(".",t-1)>=0)return!1;var r=n.list[e.slice(t+1)];return!!r&&r.indexOf(" "+e.slice(0,t)+" ")>=0},get:function(e){var t=e.lastIndexOf(".");if(t<=0||t>=e.length-1)return null;var r=e.lastIndexOf(".",t-1);if(r<=0||r>=t-1)return null;var o=n.list[e.slice(t+1)];return o?o.indexOf(" "+e.slice(r+1,t)+" ")<0?null:e.slice(r+1):null},noConflict:function(){return e.SecondLevelDomains===this&&(e.SecondLevelDomains=t),this}};return n}))},30957:function(e,t,n){var r,o,i;!function(s,a){"use strict";e.exports?e.exports=a(n(9942),n(69569),n(34171)):(o=[n(9942),n(69569),n(34171)],void 0===(i="function"==typeof(r=a)?r.apply(t,o):r)||(e.exports=i))}(0,(function(e,t,n,r){"use strict";var o=r&&r.URI;function i(e,t){var n=arguments.length>=1;if(!(this instanceof i))return n?arguments.length>=2?new i(e,t):new i(e):new i;if(void 0===e){if(n)throw new TypeError("undefined is not a valid argument for URI");e="undefined"!=typeof location?location.href+"":""}if(null===e&&n)throw new TypeError("null is not a valid argument for URI");return this.href(e),void 0!==t?this.absoluteTo(t):this}i.version="1.19.11";var s=i.prototype,a=Object.prototype.hasOwnProperty;function u(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function c(e){return void 0===e?"Undefined":String(Object.prototype.toString.call(e)).slice(8,-1)}function l(e){return"Array"===c(e)}function f(e,t){var n,r,o={};if("RegExp"===c(t))o=null;else if(l(t))for(n=0,r=t.length;n ]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?\xab\xbb\u201c\u201d\u2018\u2019]))/gi,i.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?\xab\xbb\u201c\u201d\u201e\u2018\u2019]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},i.leading_whitespace_expression=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,i.ascii_tab_whitespace=/[\u0009\u000A\u000D]+/g,i.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},i.hostProtocols=["http","https"],i.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/,i.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},i.getDomAttribute=function(e){if(e&&e.nodeName){var t=e.nodeName.toLowerCase();if("input"!==t||"image"===e.type)return i.domAttributes[t]}},i.encode=g,i.decode=decodeURIComponent,i.iso8859=function(){i.encode=escape,i.decode=unescape},i.unicode=function(){i.encode=g,i.decode=decodeURIComponent},i.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/gi,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/gi,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/gi,map:{"%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"=","%40":"@"}},decode:{expression:/[\/\?#:]/g,map:{"/":"%2F","?":"%3F","#":"%23",":":"%3A"}}}},i.encodeQuery=function(e,t){var n=i.encode(e+"");return void 0===t&&(t=i.escapeQuerySpace),t?n.replace(/%20/g,"+"):n},i.decodeQuery=function(e,t){e+="",void 0===t&&(t=i.escapeQuerySpace);try{return i.decode(t?e.replace(/\+/g,"%20"):e)}catch(n){return e}};var y,v={encode:"encode",decode:"decode"},b=function(e,t){return function(n){try{return i[t](n+"").replace(i.characters[e][t].expression,(function(n){return i.characters[e][t].map[n]}))}catch(r){return n}}};for(y in v)i[y+"PathSegment"]=b("pathname",v[y]),i[y+"UrnPathSegment"]=b("urnpath",v[y]);var _=function(e,t,n){return function(r){var o;o=n?function(e){return i[t](i[n](e))}:i[t];for(var s=(r+"").split(e),a=0,u=s.length;a-1&&(t.fragment=e.substring(n+1)||null,e=e.substring(0,n)),(n=e.indexOf("?"))>-1&&(t.query=e.substring(n+1)||null,e=e.substring(0,n)),"//"===(e=(e=e.replace(/^(https?|ftp|wss?)?:+[/\\]*/i,"$1://")).replace(/^[/\\]{2,}/i,"//")).substring(0,2)?(t.protocol=null,e=e.substring(2),e=i.parseAuthority(e,t)):(n=e.indexOf(":"))>-1&&(t.protocol=e.substring(0,n)||null,t.protocol&&!t.protocol.match(i.protocol_expression)?t.protocol=void 0:"//"===e.substring(n+1,n+3).replace(/\\/g,"/")?(e=e.substring(n+3),e=i.parseAuthority(e,t)):(e=e.substring(n+1),t.urn=!0)),t.path=e,t},i.parseHost=function(e,t){e||(e="");var n,r,o=(e=e.replace(/\\/g,"/")).indexOf("/");if(-1===o&&(o=e.length),"["===e.charAt(0))n=e.indexOf("]"),t.hostname=e.substring(1,n)||null,t.port=e.substring(n+2,o)||null,"/"===t.port&&(t.port=null);else{var s=e.indexOf(":"),a=e.indexOf("/"),u=e.indexOf(":",s+1);-1!==u&&(-1===a||u-1?o:e.length-1);return s>-1&&(-1===o||s -1?h.slice(0,p)+h.slice(p).replace(s,""):h.replace(s,"")).length<=c[0].length||n.ignore&&n.ignore.test(h))){var y=t(h,l,d=l+h.length,e);void 0!==y?(y=String(y),e=e.slice(0,l)+y+e.slice(d),r.lastIndex=l+y.length):r.lastIndex=d}}return r.lastIndex=0,e},i.ensureValidHostname=function(t,n){var r=!!t,o=!1;if(!!n&&(o=d(i.hostProtocols,n)),o&&!r)throw new TypeError("Hostname cannot be empty, if protocol is "+n);if(t&&t.match(i.invalid_hostname_characters)){if(!e)throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available');if(e.toASCII(t).match(i.invalid_hostname_characters))throw new TypeError('Hostname "'+t+'" contains characters other than [A-Z0-9.-:_]')}},i.ensureValidPort=function(e){if(e){var t=Number(e);if(!(/^[0-9]+$/.test(t)&&t>0&&t<65536))throw new TypeError('Port "'+e+'" is not a valid port')}},i.noConflict=function(e){if(e){var t={URI:this.noConflict()};return r.URITemplate&&"function"==typeof r.URITemplate.noConflict&&(t.URITemplate=r.URITemplate.noConflict()),r.IPv6&&"function"==typeof r.IPv6.noConflict&&(t.IPv6=r.IPv6.noConflict()),r.SecondLevelDomains&&"function"==typeof r.SecondLevelDomains.noConflict&&(t.SecondLevelDomains=r.SecondLevelDomains.noConflict()),t}return r.URI===this&&(r.URI=o),this},s.build=function(e){return!0===e?this._deferred_build=!0:(void 0===e||this._deferred_build)&&(this._string=i.build(this._parts),this._deferred_build=!1),this},s.clone=function(){return new i(this)},s.valueOf=s.toString=function(){return this.build(!1)._string},s.protocol=w("protocol"),s.username=w("username"),s.password=w("password"),s.hostname=w("hostname"),s.port=w("port"),s.query=E("query","?"),s.fragment=E("fragment","#"),s.search=function(e,t){var n=this.query(e,t);return"string"==typeof n&&n.length?"?"+n:n},s.hash=function(e,t){var n=this.fragment(e,t);return"string"==typeof n&&n.length?"#"+n:n},s.pathname=function(e,t){if(void 0===e||!0===e){var n=this._parts.path||(this._parts.hostname?"/":"");return e?(this._parts.urn?i.decodeUrnPath:i.decodePath)(n):n}return this._parts.urn?this._parts.path=e?i.recodeUrnPath(e):"":this._parts.path=e?i.recodePath(e):"/",this.build(!t),this},s.path=s.pathname,s.href=function(e,t){var n;if(void 0===e)return this.toString();this._string="",this._parts=i._parts();var r=e instanceof i,o="object"==typeof e&&(e.hostname||e.path||e.pathname);e.nodeName&&(e=e[i.getDomAttribute(e)]||"",o=!1);if(!r&&o&&void 0!==e.pathname&&(e=e.toString()),"string"==typeof e||e instanceof String)this._parts=i.parse(String(e),this._parts);else{if(!r&&!o)throw new TypeError("invalid input");var s=r?e._parts:e;for(n in s)"query"!==n&&a.call(this._parts,n)&&(this._parts[n]=s[n]);s.query&&this.query(s.query,!1)}return this.build(!t),this},s.is=function(e){var t=!1,r=!1,o=!1,s=!1,a=!1,u=!1,c=!1,l=!this._parts.urn;switch(this._parts.hostname&&(l=!1,r=i.ip4_expression.test(this._parts.hostname),o=i.ip6_expression.test(this._parts.hostname),a=(s=!(t=r||o))&&n&&n.has(this._parts.hostname),u=s&&i.idn_expression.test(this._parts.hostname),c=s&&i.punycode_expression.test(this._parts.hostname)),e.toLowerCase()){case"relative":return l;case"absolute":return!l;case"domain":case"name":return s;case"sld":return a;case"ip":return t;case"ip4":case"ipv4":case"inet4":return r;case"ip6":case"ipv6":case"inet6":return o;case"idn":return u;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return c}return null};var k=s.protocol,x=s.port,D=s.hostname;s.protocol=function(e,t){if(e&&!(e=e.replace(/:(\/\/)?$/,"")).match(i.protocol_expression))throw new TypeError('Protocol "'+e+"\" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]");return k.call(this,e,t)},s.scheme=s.protocol,s.port=function(e,t){return this._parts.urn?void 0===e?"":this:(void 0!==e&&(0===e&&(e=null),e&&(":"===(e+="").charAt(0)&&(e=e.substring(1)),i.ensureValidPort(e))),x.call(this,e,t))},s.hostname=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0!==e){var n={preventInvalidHostname:this._parts.preventInvalidHostname};if("/"!==i.parseHost(e,n))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');e=n.hostname,this._parts.preventInvalidHostname&&i.ensureValidHostname(e,this._parts.protocol)}return D.call(this,e,t)},s.origin=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){var n=this.protocol();return this.authority()?(n?n+"://":"")+this.authority():""}var r=i(e);return this.protocol(r.protocol()).authority(r.authority()).build(!t),this},s.host=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?i.buildHost(this._parts):"";if("/"!==i.parseHost(e,this._parts))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},s.authority=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?i.buildAuthority(this._parts):"";if("/"!==i.parseAuthority(e,this._parts))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},s.userinfo=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){var n=i.buildUserinfo(this._parts);return n?n.substring(0,n.length-1):n}return"@"!==e[e.length-1]&&(e+="@"),i.parseUserinfo(e,this._parts),this.build(!t),this},s.resource=function(e,t){var n;return void 0===e?this.path()+this.search()+this.hash():(n=i.parse(e),this._parts.path=n.path,this._parts.query=n.query,this._parts.fragment=n.fragment,this.build(!t),this)},s.subdomain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var n=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,n)||""}var r=this._parts.hostname.length-this.domain().length,o=this._parts.hostname.substring(0,r),s=new RegExp("^"+u(o));if(e&&"."!==e.charAt(e.length-1)&&(e+="."),-1!==e.indexOf(":"))throw new TypeError("Domains cannot contain colons");return e&&i.ensureValidHostname(e,this._parts.protocol),this._parts.hostname=this._parts.hostname.replace(s,e),this.build(!t),this},s.domain=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("boolean"==typeof e&&(t=e,e=void 0),void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var n=this._parts.hostname.match(/\./g);if(n&&n.length<2)return this._parts.hostname;var r=this._parts.hostname.length-this.tld(t).length-1;return r=this._parts.hostname.lastIndexOf(".",r-1)+1,this._parts.hostname.substring(r)||""}if(!e)throw new TypeError("cannot set domain empty");if(-1!==e.indexOf(":"))throw new TypeError("Domains cannot contain colons");if(i.ensureValidHostname(e,this._parts.protocol),!this._parts.hostname||this.is("IP"))this._parts.hostname=e;else{var o=new RegExp(u(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(o,e)}return this.build(!t),this},s.tld=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("boolean"==typeof e&&(t=e,e=void 0),void 0===e){if(!this._parts.hostname||this.is("IP"))return"";var r=this._parts.hostname.lastIndexOf("."),o=this._parts.hostname.substring(r+1);return!0!==t&&n&&n.list[o.toLowerCase()]&&n.get(this._parts.hostname)||o}var i;if(!e)throw new TypeError("cannot set TLD empty");if(e.match(/[^a-zA-Z0-9-]/)){if(!n||!n.is(e))throw new TypeError('TLD "'+e+'" contains characters other than [A-Z0-9]');i=new RegExp(u(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(i,e)}else{if(!this._parts.hostname||this.is("IP"))throw new ReferenceError("cannot set TLD on non-domain host");i=new RegExp(u(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(i,e)}return this.build(!t),this},s.directory=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path&&!this._parts.hostname)return"";if("/"===this._parts.path)return"/";var n=this._parts.path.length-this.filename().length-1,r=this._parts.path.substring(0,n)||(this._parts.hostname?"/":"");return e?i.decodePath(r):r}var o=this._parts.path.length-this.filename().length,s=this._parts.path.substring(0,o),a=new RegExp("^"+u(s));return this.is("relative")||(e||(e="/"),"/"!==e.charAt(0)&&(e="/"+e)),e&&"/"!==e.charAt(e.length-1)&&(e+="/"),e=i.recodePath(e),this._parts.path=this._parts.path.replace(a,e),this.build(!t),this},s.filename=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("string"!=typeof e){if(!this._parts.path||"/"===this._parts.path)return"";var n=this._parts.path.lastIndexOf("/"),r=this._parts.path.substring(n+1);return e?i.decodePathSegment(r):r}var o=!1;"/"===e.charAt(0)&&(e=e.substring(1)),e.match(/\.?\//)&&(o=!0);var s=new RegExp(u(this.filename())+"$");return e=i.recodePath(e),this._parts.path=this._parts.path.replace(s,e),o?this.normalizePath(t):this.build(!t),this},s.suffix=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path||"/"===this._parts.path)return"";var n,r,o=this.filename(),s=o.lastIndexOf(".");return-1===s?"":(n=o.substring(s+1),r=/^[a-z0-9%]+$/i.test(n)?n:"",e?i.decodePathSegment(r):r)}"."===e.charAt(0)&&(e=e.substring(1));var a,c=this.suffix();if(c)a=e?new RegExp(u(c)+"$"):new RegExp(u("."+c)+"$");else{if(!e)return this;this._parts.path+="."+i.recodePath(e)}return a&&(e=i.recodePath(e),this._parts.path=this._parts.path.replace(a,e)),this.build(!t),this},s.segment=function(e,t,n){var r=this._parts.urn?":":"/",o=this.path(),i="/"===o.substring(0,1),s=o.split(r);if(void 0!==e&&"number"!=typeof e&&(n=t,t=e,e=void 0),void 0!==e&&"number"!=typeof e)throw new Error('Bad segment "'+e+'", must be 0-based integer');if(i&&s.shift(),e<0&&(e=Math.max(s.length+e,0)),void 0===t)return void 0===e?s:s[e];if(null===e||void 0===s[e])if(l(t)){s=[];for(var a=0,u=t.length;a= 0x80 (not a basic code point)","invalid-input":"Invalid input"},_=u-c,w=Math.floor,E=String.fromCharCode;function k(e){throw new RangeError(b[e])}function x(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function D(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+x((e=e.replace(v,".")).split("."),t).join(".")}function S(e){for(var t,n,r=[],o=0,i=e.length;o=55296&&t<=56319&&o65535&&(t+=E((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=E(e)})).join("")}function O(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function $(e,t,n){var r=0;for(e=n?w(e/d):e>>1,e+=w(e/t);e>_*l>>1;r+=u)e=w(e/_);return w(r+(_+1)*e/(e+f))}function A(e){var t,n,r,o,i,s,f,d,g,y,v,b=[],_=e.length,E=0,x=p,D=h;for((n=e.lastIndexOf(m))<0&&(n=0),r=0;r =128&&k("not-basic"),b.push(e.charCodeAt(r));for(o=n>0?n+1:0;o<_;){for(i=E,s=1,f=u;o>=_&&k("invalid-input"),((d=(v=e.charCodeAt(o++))-48<10?v-22:v-65<26?v-65:v-97<26?v-97:u)>=u||d>w((a-E)/s))&&k("overflow"),E+=d*s,!(d<(g=f<=D?c:f>=D+l?l:f-D));f+=u)s>w(a/(y=u-g))&&k("overflow"),s*=y;D=$(E-i,t=b.length+1,0==i),w(E/t)>a-x&&k("overflow"),x+=w(E/t),E%=t,b.splice(E++,0,x)}return C(b)}function P(e){var t,n,r,o,i,s,f,d,g,y,v,b,_,x,D,C=[];for(b=(e=S(e)).length,t=p,n=0,i=h,s=0;s=t&&v w((a-n)/(_=r+1))&&k("overflow"),n+=(f-t)*_,t=f,s=0;sa&&k("overflow"),v==t){for(d=n,g=u;!(d<(y=g<=i?c:g>=i+l?l:g-i));g+=u)D=d-y,x=u-y,C.push(E(O(y+D%x,0))),d=w(D/x);C.push(E(O(d,0))),i=$(n,_,r==o),n=0,++r}++n,++t}return C.join("")}s={version:"1.3.2",ucs2:{decode:S,encode:C},decode:A,encode:P,toASCII:function(e){return D(e,(function(e){return y.test(e)?"xn--"+P(e):e}))},toUnicode:function(e){return D(e,(function(e){return g.test(e)?A(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return s}.call(t,n,t,e))||(e.exports=r)}()},90682:(e,t)=>{"use strict";const n=1024;let r=0;class o{constructor(e,t){this.from=e,this.to=t}}class i{constructor(e={}){this.id=r++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return"function"!=typeof e&&(e=u.match(e)),t=>{let n=e(t);return void 0===n?null:[this,n]}}}i.closedBy=new i({deserialize:e=>e.split(" ")}),i.openedBy=new i({deserialize:e=>e.split(" ")}),i.group=new i({deserialize:e=>e.split(" ")}),i.isolate=new i({deserialize:e=>{if(e&&"rtl"!=e&&"ltr"!=e&&"auto"!=e)throw new RangeError("Invalid value for isolate: "+e);return e||"auto"}}),i.contextHash=new i({perNode:!0}),i.lookAhead=new i({perNode:!0}),i.mounted=new i({perNode:!0});class s{constructor(e,t,n){this.tree=e,this.overlay=t,this.parser=n}static get(e){return e&&e.props&&e.props[i.mounted.id]}}const a=Object.create(null);class u{constructor(e,t,n,r=0){this.name=e,this.props=t,this.id=n,this.flags=r}static define(e){let t=e.props&&e.props.length?Object.create(null):a,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(null==e.name?8:0),r=new u(e.name||"",t,e.id,n);if(e.props)for(let o of e.props)if(Array.isArray(o)||(o=o(r)),o){if(o[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");t[o[0].id]=o[1]}return r}prop(e){return this.props[e.id]}get isTop(){return(1&this.flags)>0}get isSkipped(){return(2&this.flags)>0}get isError(){return(4&this.flags)>0}get isAnonymous(){return(8&this.flags)>0}is(e){if("string"==typeof e){if(this.name==e)return!0;let t=this.prop(i.group);return!!t&&t.indexOf(e)>-1}return this.id==e}static match(e){let t=Object.create(null);for(let n in e)for(let r of n.split(" "))t[r]=e[n];return e=>{for(let n=e.prop(i.group),r=-1;r<(n?n.length:0);r++){let o=t[r<0?e.name:n[r]];if(o)return o}}}}u.none=new u("",Object.create(null),0,8);class c{constructor(e){this.types=e;for(let t=0;t =t){let s=new b(e.tree,e.overlay[0].from+i.from,-1,i);(o||(o=[r])).push(y(s,t,n,!1))}}return o?x(o):r}(this,e,t)}iterate(e){let{enter:n,leave:r,from:o=0,to:i=this.length}=e,s=e.mode||0,a=(s&t.IterMode.IncludeAnonymous)>0;for(let u=this.cursor(s|t.IterMode.IncludeAnonymous);;){let e=!1;if(u.from<=i&&u.to>=o&&(!a&&u.type.isAnonymous||!1!==n(u))){if(u.firstChild())continue;e=!0}for(;e&&r&&(a||!u.type.isAnonymous)&&r(u),!u.nextSibling();){if(!u.parent())return;e=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(e={}){return this.children.length<=8?this:A(u.none,this.children,this.positions,0,this.children.length,0,this.length,((e,t,n)=>new h(this.type,e,t,n,this.propValues)),e.makeTree||((e,t,n)=>new h(u.none,e,t,n)))}static build(e){return function(e){var t;let{buffer:r,nodeSet:o,maxBufferLength:s=n,reused:a=[],minRepeatType:u=o.types.length}=e,c=Array.isArray(r)?new p(r,r.length):r,l=o.types,f=0,d=0;function g(e,t,n,r,i,h){let{id:p,start:k,end:x,size:D}=c,S=d;for(;D<0;){if(c.next(),-1==D){let t=a[p];return n.push(t),void r.push(k-e)}if(-3==D)return void(f=p);if(-4==D)return void(d=p);throw new RangeError(`Unrecognized record size: ${D}`)}let C,O,$=l[p],P=k-e;if(x-k<=s&&(O=w(c.pos-t,i))){let t=new Uint16Array(O.size-O.skip),n=c.pos-O.size,r=t.length;for(;c.pos>n;)r=E(O.start,t,r);C=new m(t,x-O.start,o),P=O.start-e}else{let e=c.pos-D;c.next();let t=[],n=[],r=p>=u?p:-1,o=0,i=x;for(;c.pos>e;)r>=0&&c.id==r&&c.size>=0?(c.end<=i-s&&(b(t,n,k,o,c.end,i,r,S),o=t.length,i=c.end),c.next()):h>2500?y(k,e,t,n):g(k,e,t,n,r,h+1);if(r>=0&&o>0&&o -1&&o>0){let e=v($);C=A($,t,n,0,t.length,0,x-k,e,e)}else C=_($,t,n,x-k,S-x)}n.push(C),r.push(P)}function y(e,t,n,r){let i=[],a=0,u=-1;for(;c.pos>t;){let{id:e,start:t,end:n,size:r}=c;if(r>4)c.next();else{if(u>-1&&t=0;e-=3)t[n++]=i[e],t[n++]=i[e+1]-s,t[n++]=i[e+2]-s,t[n++]=n;n.push(new m(t,i[2]-s,o)),r.push(s-e)}}function v(e){return(t,n,r)=>{let o,s,a=0,u=t.length-1;if(u>=0&&(o=t[u])instanceof h){if(!u&&o.type==e&&o.length==r)return o;(s=o.prop(i.lookAhead))&&(a=n[u]+o.length+s)}return _(e,t,n,r,a)}}function b(e,t,n,r,i,s,a,u){let c=[],l=[];for(;e.length>r;)c.push(e.pop()),l.push(t.pop()+n-i);e.push(_(o.types[a],c,l,s-i,u-s)),t.push(i-n)}function _(e,t,n,r,o=0,s){if(f){let e=[i.contextHash,f];s=s?[e].concat(s):[e]}if(o>25){let e=[i.lookAhead,o];s=s?[e].concat(s):[e]}return new h(e,t,n,r,s)}function w(e,t){let n=c.fork(),r=0,o=0,i=0,a=n.end-s,l={size:0,start:0,skip:0};e:for(let s=n.pos-e;n.pos>s;){let e=n.size;if(n.id==t&&e>=0){l.size=r,l.start=o,l.skip=i,i+=4,r+=4,n.next();continue}let c=n.pos-e;if(e<0||c =u?4:0,d=n.start;for(n.next();n.pos>c;){if(n.size<0){if(-3!=n.size)break e;f+=4}else n.id>=u&&(f+=4);n.next()}o=d,r+=e,i+=f}return(t<0||r==e)&&(l.size=r,l.start=o,l.skip=i),l.size>4?l:void 0}function E(e,t,n){let{id:r,start:o,end:i,size:s}=c;if(c.next(),s>=0&&r4){let r=c.pos-(s-4);for(;c.pos>r;)n=E(e,t,n)}t[--n]=a,t[--n]=i-e,t[--n]=o-e,t[--n]=r}else-3==s?f=r:-4==s&&(d=r);return n}let k=[],x=[];for(;c.pos>0;)g(e.start||0,e.bufferStart||0,k,x,-1,0);let D=null!==(t=e.length)&&void 0!==t?t:k.length?x[0]+k[0].length:0;return new h(l[e.topID],k.reverse(),x.reverse(),D)}(e)}}h.empty=new h(u.none,[],[],0);class p{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new p(this.buffer,this.index)}}class m{constructor(e,t,n){this.buffer=e,this.length=t,this.set=n}get type(){return u.none}toString(){let e=[];for(let t=0;t0));a=i[a+3]);return s}slice(e,t,n){let r=this.buffer,o=new Uint16Array(t-e),i=0;for(let s=e,a=0;s =t&&n t;case 1:return n<=t&&r>t;case 2:return r>t;case 4:return!0}}function y(e,n,r,o){for(var i;e.from==e.to||(r<1?e.from>=n:e.from>n)||(r>-1?e.to<=n:e.to 0?u.length:-1;e!=l;e+=n){let l=u[e],f=c[e]+a.from;if(g(o,r,f,f+l.length))if(l instanceof m){if(i&t.IterMode.ExcludeBuffers)continue;let s=l.findChild(0,l.buffer.length,n,r-f,o);if(s>-1)return new k(new E(a,l,e,f),null,s)}else if(i&t.IterMode.IncludeAnonymous||!l.type.isAnonymous||C(l)){let u;if(!(i&t.IterMode.IgnoreMounts)&&(u=s.get(l))&&!u.overlay)return new b(u.tree,f,e,a);let c=new b(l,f,e,a);return i&t.IterMode.IncludeAnonymous||!c.type.isAnonymous?c:c.nextChild(n<0?l.children.length-1:0,n,r,o)}}if(i&t.IterMode.IncludeAnonymous||!a.type.isAnonymous)return null;if(e=a.index>=0?a.index+n:n<0?-1:a._parent._tree.children.length,a=a._parent,!a)return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,n,r=0){let o;if(!(r&t.IterMode.IgnoreOverlays)&&(o=s.get(this._tree))&&o.overlay){let t=e-this.from;for(let{from:e,to:r}of o.overlay)if((n>0?e<=t:e =t:r>t))return new b(o.tree,o.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,n,r)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function _(e,t,n,r){let o=e.cursor(),i=[];if(!o.firstChild())return i;if(null!=n)for(let s=!1;!s;)if(s=o.type.is(n),!o.nextSibling())return i;for(;;){if(null!=r&&o.type.is(r))return i;if(o.type.is(t)&&i.push(o.node),!o.nextSibling())return null==r?i:[]}}function w(e,t,n=t.length-1){for(let r=e.parent;n>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(t[n]&&t[n]!=r.name)return!1;n--}}return!0}class E{constructor(e,t,n,r){this.parent=e,this.buffer=t,this.index=n,this.start=r}}class k extends v{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,t,n){super(),this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,t,n){let{buffer:r}=this.context,o=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.context.start,n);return o<0?null:new k(this.context,this,o)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,n,r=0){if(r&t.IterMode.ExcludeBuffers)return null;let{buffer:o}=this.context,i=o.findChild(this.index+4,o.buffer[this.index+3],n>0?1:-1,e-this.context.start,n);return i<0?null:new k(this.context,this,i)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,t=e.buffer[this.index+3];return t<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new k(this.context,this._parent,t):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,t=this._parent?this._parent.index+4:0;return this.index==t?this.externalSibling(-1):new k(this.context,this._parent,e.findChild(t,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],t=[],{buffer:n}=this.context,r=this.index+4,o=n.buffer[this.index+3];if(o>r){let i=n.buffer[this.index+1];e.push(n.slice(r,o,i)),t.push(0)}return new h(this.type,e,t,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function x(e){if(!e.length)return null;let t=0,n=e[0];for(let i=1;i n.from||r.to 0){if(this.index -1)for(let o=n+e,i=e<0?-1:r._tree.children.length;o!=i;o+=e){let e=r._tree.children[o];if(this.mode&t.IterMode.IncludeAnonymous||e instanceof m||!e.type.isAnonymous||C(e))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to =0;){for(let i=e;i;i=i._parent)if(i.index==r){if(r==this.index)return i;t=i,n=o+1;break e}r=this.stack[--o]}for(let r=n;r =0;o--){if(o<0)return w(this.node,e,r);let i=n[t.buffer[this.stack[o]]];if(!i.isAnonymous){if(e[r]&&e[r]!=i.name)return!1;r--}}return!0}}function C(e){return e.children.some((e=>e instanceof m||!e.type.isAnonymous||C(e)))}const O=new WeakMap;function $(e,t){if(!e.isAnonymous||t instanceof m||t.type!=e)return 1;let n=O.get(t);if(null==n){n=1;for(let r of t.children){if(r.type!=e||!(r instanceof h)){n=1;break}n+=$(e,r)}O.set(t,n)}return n}function A(e,t,n,r,o,i,s,a,u){let c=0;for(let h=r;h =l)break;p+=t}if(c==o+1){if(p>l){let e=n[o];t(e.children,e.positions,0,e.children.length,r[o]+a);continue}f.push(n[o])}else{let t=r[c-1]+n[c-1].length-h;f.push(A(e,n,r,o,c,h,t,null,u))}d.push(h+a-i)}}(t,n,r,o,0),(a||u)(f,d,s)}class P{constructor(e,t,n,r,o=!1,i=!1){this.from=e,this.to=t,this.tree=n,this.offset=r,this.open=(o?1:0)|(i?2:0)}get openStart(){return(1&this.open)>0}get openEnd(){return(2&this.open)>0}static addTree(e,t=[],n=!1){let r=[new P(0,e.length,e,0,!1,n)];for(let o of t)o.to>e.length&&r.push(o);return r}static applyChanges(e,t,n=128){if(!t.length)return e;let r=[],o=1,i=e.length?e[0]:null;for(let s=0,a=0,u=0;;s++){let c=s =n)for(;i&&i.from =t.from||l<=t.to||u){let e=Math.max(t.from,a)-u,n=Math.min(t.to,l)-u;t=e>=n?null:new P(e,n,t.tree,t.offset+u,s>0,!!c)}if(t&&r.push(t),i.to>l)break;i=o e.from>=e.to)))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(e))}class N{constructor(e,t,n,r,o,i,s){this.parser=e,this.predicate=t,this.mounts=n,this.index=r,this.start=o,this.target=i,this.prev=s,this.depth=0,this.ranges=[]}}const T=new i({perNode:!0});class M{constructor(e,t,n,r,o){this.nest=t,this.input=n,this.fragments=r,this.ranges=o,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let e=this.baseParse.advance();if(!e)return null;if(this.baseParse=null,this.baseTree=e,this.startInner(),null!=this.stoppedAt)for(let t of this.inner)t.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let e=this.baseTree;return null!=this.stoppedAt&&(e=new h(e.type,e.children,e.positions,e.length,e.propValues.concat([[T,this.stoppedAt]]))),e}let e=this.inner[this.innerDone],t=e.parse.advance();if(t){this.innerDone++;let n=Object.assign(Object.create(null),e.target.props);n[i.mounted.id]=new s(t,e.overlay,e.parser),e.target.props=n}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let t=this.innerDone;t =this.stoppedAt)u=!1;else if(e.hasNode(i)){if(n){let e=n.mounts.find((e=>e.frag.from<=i.from&&e.frag.to>=i.to&&e.mount.overlay));if(e)for(let t of e.mount.overlay){let r=t.from+e.pos,o=t.to+e.pos;r>=i.from&&o<=i.to&&!n.ranges.some((e=>e.from r))&&n.ranges.push({from:r,to:o})}}u=!1}else if(r&&(s=R(r.ranges,i.from,i.to)))u=2!=s;else if(!i.type.isAnonymous&&(t=this.nest(i,this.input))&&(i.from new o(e.from-i.from,e.to-i.from))):null,i.tree,e.length?e[0].from:i.from)),t.overlay?e.length&&(r={ranges:e,depth:0,prev:r}):u=!1}}else n&&(a=n.predicate(i))&&(!0===a&&(a=new o(i.from,i.to)),a.from new o(e.from-n.start,e.to-n.start))),n.target,e[0].from))),n=n.prev}r&&! --r.depth&&(r=r.prev)}}}}function R(e,t,n){for(let r of e){if(r.from>=n)break;if(r.to>t)return r.from<=t&&r.to>=n?2:1}return 0}function B(e,t,n,r,o,i){if(t =e&&n.enter(r,1,t.IterMode.IgnoreOverlays|t.IterMode.ExcludeBuffers)||n.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let t=this.cursor.tree;;){if(t==e.tree)return!0;if(!(t.children.length&&0==t.positions[0]&&t.children[0]instanceof h))break;t=t.children[0]}return!1}}class U{constructor(e){var t;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=null!==(t=n.tree.prop(T))&&void 0!==t?t:n.to,this.inner=new z(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let t=this.curFrag=this.fragments[this.fragI];this.curTo=null!==(e=t.tree.prop(T))&&void 0!==e?e:t.to,this.inner=new z(t.tree,-t.offset)}}findMounts(e,t){var n;let r=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let e=this.inner.cursor.node;e;e=e.parent){let o=null===(n=e.tree)||void 0===n?void 0:n.prop(i.mounted);if(o&&o.parser==t)for(let t=this.fragI;t =e.to)break;n.tree==this.curFrag.tree&&r.push({frag:n,pos:e.from-n.offset,mount:o})}}}return r}}function q(e,t){let n=null,r=t;for(let i=1,s=0;i =u)break;e.to<=a||(n||(r=n=t.slice()),e.fromu&&n.splice(s+1,0,new o(u,e.to))):e.to>u?n[s--]=new o(u,e.to):n.splice(s--,1))}}return r}function V(e,t,n,r){let i=0,s=0,a=!1,u=!1,c=-1e9,l=[];for(;;){let f=i==e.length?1e9:a?e[i].to:e[i].from,d=s==t.length?1e9:u?t[s].to:t[s].from;if(a!=u){let e=Math.max(c,n),t=Math.min(f,d,r);e new o(e.from+r,e.to+r))),u,c);for(let t=0,r=u;;t++){let o=t==a.length,u=o?c:a[t].from;if(u>r&&n.push(new P(r,u,i.tree,-e,s.from>=r||s.openStart,s.to<=u||s.openEnd)),o)break;r=a[t].to}}else n.push(new P(u,c,i.tree,-e,s.from>=e||s.openStart,s.to<=a||s.openEnd))}return n}t.DefaultBufferLength=n,t.MountedTree=s,t.NodeProp=i,t.NodeSet=c,t.NodeType=u,t.NodeWeakMap=class{constructor(){this.map=new WeakMap}setBuffer(e,t,n){let r=this.map.get(e);r||this.map.set(e,r=new Map),r.set(t,n)}getBuffer(e,t){let n=this.map.get(e);return n&&n.get(t)}set(e,t){e instanceof k?this.setBuffer(e.context.buffer,e.index,t):e instanceof b&&this.map.set(e.tree,t)}get(e){return e instanceof k?this.getBuffer(e.context.buffer,e.index):e instanceof b?this.map.get(e.tree):void 0}cursorSet(e,t){e.buffer?this.setBuffer(e.buffer.buffer,e.index,t):this.map.set(e.tree,t)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}},t.Parser=class{startParse(e,t,n){return"string"==typeof e&&(e=new j(e)),n=n?n.length?n.map((e=>new o(e.from,e.to))):[new o(0,0)]:[new o(0,e.length)],this.createParse(e,t||[],n)}parse(e,t,n){let r=this.startParse(e,t,n);for(;;){let e=r.advance();if(e)return e}}},t.Tree=h,t.TreeBuffer=m,t.TreeCursor=S,t.TreeFragment=P,t.parseMixed=function(e){return(t,n,r,o)=>new M(t,e,n,r,o)}},21500:(e,t,n)=>{"use strict";var r=n(90682);class o{constructor(e,t,n,r,o,i,s,a,u,c=0,l){this.p=e,this.stack=t,this.state=n,this.reducePos=r,this.pos=o,this.score=i,this.buffer=s,this.bufferBase=a,this.curContext=u,this.lookAhead=c,this.parent=l}toString(){return`[${this.stack.filter(((e,t)=>t%3==0)).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,t,n=0){let r=e.parser.context;return new o(e,[],t,n,n,0,[],0,r?new i(r,r.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var t;let n=e>>19,r=65535&e,{parser:o}=this.p;this.reducePos =2e3&&!(null===(t=this.p.parser.nodeSet.types[r])||void 0===t?void 0:t.isAnonymous)&&(a==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=u):this.p.lastBigReductionSizes;)this.stack.pop();this.reduceContext(r,a)}storeNode(e,t,n,r=4,o=!1){if(0==e&&(!this.stack.length||this.stack[this.stack.length-1] 0&&0==e.buffer[r-4]&&e.buffer[r-1]>-1){if(t==n)return;if(e.buffer[r-2]>=t)return void(e.buffer[r-2]=n)}}if(o&&this.pos!=n){let o=this.buffer.length;if(o>0&&0!=this.buffer[o-4])for(;o>0&&this.buffer[o-2]>n;)this.buffer[o]=this.buffer[o-4],this.buffer[o+1]=this.buffer[o-3],this.buffer[o+2]=this.buffer[o-2],this.buffer[o+3]=this.buffer[o-1],o-=4,r>4&&(r-=4);this.buffer[o]=e,this.buffer[o+1]=t,this.buffer[o+2]=n,this.buffer[o+3]=r}else this.buffer.push(e,t,n,r)}shift(e,t,n,r){if(131072&e)this.pushState(65535&e,this.pos);else if(0==(262144&e)){let o=e,{parser:i}=this.p;(r>this.pos||t<=i.maxNode)&&(this.pos=r,i.stateFlag(o,1)||(this.reducePos=r)),this.pushState(o,n),this.shiftContext(t,n),t<=i.maxNode&&this.buffer.push(t,n,r,4)}else this.pos=r,this.shiftContext(t,n),t<=this.p.parser.maxNode&&this.buffer.push(t,n,r,4)}apply(e,t,n,r){65536&e?this.reduce(e):this.shift(e,t,n,r)}useNode(e,t){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(t,r),this.buffer.push(n,r,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,t=e.buffer.length;for(;t>0&&e.buffer[t-2]>e.reducePos;)t-=4;let n=e.buffer.slice(t),r=e.bufferBase+t;for(;e&&r==e.bufferBase;)e=e.parent;return new o(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,r,this.curContext,this.lookAhead,e)}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new s(this);;){let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(0==n)return!1;if(0==(65536&n))return!0;t.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let n=[];for(let r,o=0;o 1&t&&e==r))||n.push(t[e],r)}t=n}let n=[];for(let r=0;r >19,r=65535&t,o=this.stack.length-3*n;if(o<0||e.getGoto(this.stack[o],r,!1)<0){let e=this.findForcedReduction();if(null==e)return!1;t=e}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(t),!0}findForcedReduction(){let{parser:e}=this.p,t=[],n=(r,o)=>{if(!t.includes(r))return t.push(r),e.allActions(r,(t=>{if(393216&t);else if(65536&t){let n=(t>>19)-o;if(n>1){let r=65535&t,o=this.stack.length-3*n;if(o>=0&&e.getGoto(this.stack[o],r,!1)>=0)return n<<19|65536|r}}else{let e=n(t,o+1);if(null!=e)return e}}))};return n(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(3!=this.stack.length)return!1;let{parser:e}=this.p;return 65535==e.data[e.stateSlot(this.state,1)]&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;t this.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class i{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}class s{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=65535&e,n=e>>19;0==n?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=3*(n-1);let r=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=r}}class a{constructor(e,t,n){this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,0==this.index&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){return new a(e,t,t-e.bufferBase)}maybeNext(){let e=this.stack.parent;null!=e&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,0==this.index&&this.maybeNext()}fork(){return new a(this.stack,this.pos,this.index)}}function u(e,t=Uint16Array){if("string"!=typeof e)return e;let n=null;for(let r=0,o=0;r =92&&t--,t>=34&&t--;let o=t-32;if(o>=46&&(o-=46,n=!0),i+=o,n)break;i*=46}n?n[o++]=i:n=new t(i)}return n}class c{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const l=new c;class f{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=l,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let n=this.range,r=this.rangeIndex,o=this.pos+e;for(;o n.to:o>=n.to;){if(r==this.ranges.length-1)return null;let e=this.ranges[++r];o+=e.from-n.to,n=e}return o}clipPos(e){if(e>=this.range.from&&e e)return Math.max(e,t.from);return this.end}peek(e){let t,n,r=this.chunkOff+e;if(r>=0&&r =this.chunk2Pos&&t r.to&&(this.chunk2=this.chunk2.slice(0,r.to-t)),n=this.chunk2.charCodeAt(0)}}return t>=this.token.lookAhead&&(this.token.lookAhead=t+1),n}acceptToken(e,t=0){let n=t?this.resolveOffset(t,-1):this.pos;if(null==n||n =this.chunk2Pos&&this.pos this.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=l,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e =this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e =this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n="";for(let r of this.ranges){if(r.from>=t)break;r.to>e&&(n+=this.input.read(Math.max(r.from,e),Math.min(r.to,t)))}return n}}class d{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:n}=t.p;p(this.data,e,t,this.id,n.data,n.tokenPrecTable)}}d.prototype.contextual=d.prototype.fallback=d.prototype.extend=!1;class h{constructor(e,t,n){this.precTable=t,this.elseToken=n,this.data="string"==typeof e?u(e):e}token(e,t){let n=e.pos,r=0;for(;;){let n=e.next<0,o=e.resolveOffset(1,1);if(p(this.data,e,t,0,this.data,this.precTable),e.token.value>-1)break;if(null==this.elseToken)return;if(n||r++,null==o)break;e.reset(o,e.token)}r&&(e.reset(n,e.token),e.acceptToken(this.elseToken,r))}}h.prototype.contextual=d.prototype.fallback=d.prototype.extend=!1;function p(e,t,n,r,o,i){let s=0,a=1< 0){let n=e[f];if(u.allows(n)&&(-1==t.token.value||t.token.value==n||g(n,t.token.value,o,i))){t.acceptToken(n);break}}let r=t.next,c=0,l=e[s+2];if(!(t.next<0&&l>c&&65535==e[n+3*l-3])){for(;c >1,i=n+o+(o<<1),a=e[i],u=e[i+1]||65536;if(r=u)){s=e[i+2],t.advance();continue e}c=o+1}}break}s=e[n+3*l-1]}}function m(e,t,n){for(let r,o=t;65535!=(r=e[o]);o++)if(r==n)return o-t;return-1}function g(e,t,n,r){let o=m(n,r,t);return o<0||m(n,r,e) t)&&!o.type.isError)return n<0?Math.max(0,Math.min(o.to-1,t-25)):Math.min(e.length,Math.max(o.from+1,t+25));if(n<0?o.prevSibling():o.nextSibling())break;if(!o.parent())return n<0?0:e.length}}class _{constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?b(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?b(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(e e)return this.nextStart=s,null;if(i instanceof r.Tree){if(s==e){if(s =Math.max(this.safeFrom,e)&&(this.trees.push(i),this.start.push(s),this.index.push(0))}else this.index[t]++,this.nextStart=s+i.length}}}class w{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map((e=>new c))}getActions(e){let t=0,n=null,{parser:r}=e.p,{tokenizers:o}=r,i=r.stateSlot(e.state,3),s=e.curContext?e.curContext.hash:0,a=0;for(let u=0;u c.end+25&&(a=Math.max(c.lookAhead,a)),0!=c.value)){let o=t;if(c.extended>-1&&(t=this.addActions(e,c.extended,c.end,t)),t=this.addActions(e,c.value,c.end,t),!r.extend&&(n=c,t>o))break}}for(;this.actions.length>t;)this.actions.pop();return a&&e.setLookAhead(a),n||e.pos!=this.stream.end||(n=new c,n.value=e.p.parser.eofTerm,n.start=n.end=e.pos,t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new c,{pos:n,p:r}=e;return t.start=n,t.end=Math.min(n+1,r.stream.end),t.value=n==r.stream.end?r.parser.eofTerm:0,t}updateCachedToken(e,t,n){let r=this.stream.clipPos(n.pos);if(t.token(this.stream.reset(r,e),n),e.value>-1){let{parser:t}=n.p;for(let r=0;r =0&&n.p.parser.dialect.allows(o>>1)){0==(1&o)?e.value=o>>1:e.extended=o>>1;break}}}else e.value=0,e.end=this.stream.clipPos(r+1)}putAction(e,t,n,r){for(let o=0;o 4*e.bufferLength?new _(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e,t,n=this.stacks,r=this.minStackPos,o=this.stacks=[];if(this.bigReductionCount>300&&1==n.length){let[e]=n;for(;e.forceReduce()&&e.stack.length&&e.stack[e.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let i=0;i r)o.push(s);else{if(this.advanceStack(s,o,n))continue;{e||(e=[],t=[]),e.push(s);let n=this.tokens.getMainToken(s);t.push(n.value,n.end)}}break}}if(!o.length){let t=e&&function(e){let t=null;for(let n of e){let e=n.p.stoppedAt;(n.pos==n.p.stream.end||null!=e&&n.pos>e)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.score this.stoppedAt?e[0]:this.runRecovery(e,t,o);if(n)return y&&console.log("Force-finish "+this.stackID(n)),this.stackToTree(n.forceAll())}if(this.recovering){let e=1==this.recovering?1:3*this.recovering;if(o.length>e)for(o.sort(((e,t)=>t.score-e.score));o.length>e;)o.pop();o.some((e=>e.reducePos>r))&&this.recovering--}else if(o.length>1){e:for(let e=0;e 500&&r.buffer.length>500){if(!((t.score-r.score||t.buffer.length-r.buffer.length)>0)){o.splice(e--,1);continue e}o.splice(n--,1)}}}o.length>12&&o.splice(12,o.length-12)}this.minStackPos=o[0].pos;for(let i=1;i ":"";if(null!=this.stoppedAt&&o>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let t=e.curContext&&e.curContext.tracker.strict,n=t?e.curContext.hash:0;for(let a=this.fragments.nodeAt(o);a;){let o=this.parser.nodeSet.types[a.type.id]==a.type?i.getGoto(e.state,a.type.id):-1;if(o>-1&&a.length&&(!t||(a.prop(r.NodeProp.contextHash)||0)==n))return e.useNode(a,o),y&&console.log(s+this.stackID(e)+` (via reuse of ${i.getName(a.type.id)})`),!0;if(!(a instanceof r.Tree)||0==a.children.length||a.positions[0]>0)break;let u=a.children[0];if(!(u instanceof r.Tree&&0==a.positions[0]))break;a=u}}let a=i.stateSlot(e.state,4);if(a>0)return e.reduce(a),y&&console.log(s+this.stackID(e)+` (via always-reduce ${i.getName(65535&a)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let u=this.tokens.getActions(e);for(let r=0;r o?t.push(d):n.push(d)}return!1}advanceFully(e,t){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return k(e,t),!0}}runRecovery(e,t,n){let r=null,o=!1;for(let i=0;i ":"";if(s.deadEnd){if(o)continue;if(o=!0,s.restart(),y&&console.log(c+this.stackID(s)+" (restarted)"),this.advanceFully(s,n))continue}let l=s.split(),f=c;for(let e=0;l.forceReduce()&&e<10;e++){if(y&&console.log(f+this.stackID(l)+" (via force-reduce)"),this.advanceFully(l,n))break;y&&(f=this.stackID(l)+" -> ")}for(let e of s.recoverByInsert(a))y&&console.log(c+this.stackID(e)+" (via recover-insert)"),this.advanceFully(e,n);this.stream.end>s.pos?(u==s.pos&&(u++,a=0),s.recoverByDelete(a,u),y&&console.log(c+this.stackID(s)+` (via recover-delete ${this.parser.getName(a)})`),k(s,n)):(!r||r.score e;class S extends r.Parser{constructor(e){if(super(),this.wrappers=[],14!=e.version)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length;for(let r=0;r e.topRules[t][1])),o=[];for(let r=0;r =0)i(n,e,a[t++]);else{let r=a[t+-n];for(let o=-n;o>0;o--)i(a[t++],e,r);t++}}}this.nodeSet=new r.NodeSet(t.map(((t,i)=>r.NodeType.define({name:i>=this.minRepeatTerm?void 0:t,id:i,props:o[i],top:n.indexOf(i)>-1,error:0==i,skipped:e.skippedNodes&&e.skippedNodes.indexOf(i)>-1})))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=r.DefaultBufferLength;let s=u(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let r=0;r "number"==typeof e?new d(s,e):e)),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){let r=new E(this,e,t,n);for(let o of this.wrappers)r=o(r,e,t,n);return r}getGoto(e,t,n=!1){let r=this.goto;if(t>=r[0])return-1;for(let o=r[t+1];;){let t=r[o++],i=1&t,s=r[o++];if(i&&n)return s;for(let n=o+(t>>1);o 0}validAction(e,t){return!!this.allActions(e,(e=>e==t||null))}allActions(e,t){let n=this.stateSlot(e,4),r=n?t(n):void 0;for(let o=this.stateSlot(e,1);null==r;o+=3){if(65535==this.data[o]){if(1!=this.data[o+1])break;o=C(this.data,o+2)}r=t(C(this.data,o+1))}return r}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){if(65535==this.data[n]){if(1!=this.data[n+1])break;n=C(this.data,n+2)}if(0==(1&this.data[n+2])){let e=this.data[n+1];t.some(((t,n)=>1&n&&t==e))||t.push(this.data[n],e)}}return t}configure(e){let t=Object.assign(Object.create(S.prototype),this);if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){let n=this.topRules[e.top];if(!n)throw new RangeError(`Invalid top rule name ${e.top}`);t.top=n}return e.tokenizers&&(t.tokenizers=this.tokenizers.map((t=>{let n=e.tokenizers.find((e=>e.from==t));return n?n.to:t}))),e.specializers&&(t.specializers=this.specializers.slice(),t.specializerSpecs=this.specializerSpecs.map(((n,r)=>{let o=e.specializers.find((e=>e.from==n.external));if(!o)return n;let i=Object.assign(Object.assign({},n),{external:o.to});return t.specializers[r]=O(i),i}))),e.contextTracker&&(t.context=e.contextTracker),e.dialect&&(t.dialect=this.parseDialect(e.dialect)),null!=e.strict&&(t.strict=e.strict),e.wrap&&(t.wrappers=t.wrappers.concat(e.wrap)),null!=e.bufferLength&&(t.bufferLength=e.bufferLength),t}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return null==t?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),n=t.map((()=>!1));if(e)for(let o of e.split(" ")){let e=t.indexOf(o);e>=0&&(n[e]=!0)}let r=null;for(let o=0;o e.external(n,r)<<1|t}return e.get}t.ContextTracker=class{constructor(e){this.start=e.start,this.shift=e.shift||D,this.reduce=e.reduce||D,this.reuse=e.reuse||D,this.hash=e.hash||(()=>0),this.strict=!1!==e.strict}},t.ExternalTokenizer=class{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}},t.InputStream=f,t.LRParser=S,t.LocalTokenGroup=h,t.Stack=o},45392:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a,a:()=>s});var r=n(2784);const o={},i=r.createContext(o);function s(e){const t=r.useContext(i);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:s(e.components),r.createElement(i.Provider,{value:t},e.children)}},22970:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__addDisposableResource:()=>I,__assign:()=>i,__asyncDelegator:()=>D,__asyncGenerator:()=>x,__asyncValues:()=>S,__await:()=>k,__awaiter:()=>p,__classPrivateFieldGet:()=>P,__classPrivateFieldIn:()=>F,__classPrivateFieldSet:()=>j,__createBinding:()=>g,__decorate:()=>a,__disposeResources:()=>T,__esDecorate:()=>c,__exportStar:()=>y,__extends:()=>o,__generator:()=>m,__importDefault:()=>A,__importStar:()=>$,__makeTemplateObject:()=>C,__metadata:()=>h,__param:()=>u,__propKey:()=>f,__read:()=>b,__rest:()=>s,__runInitializers:()=>l,__setFunctionName:()=>d,__spread:()=>_,__spreadArray:()=>E,__spreadArrays:()=>w,__values:()=>v,default:()=>M});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n =0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s}function u(e,t){return function(n,r){t(n,r,e)}}function c(e,t,n,r,o,i){function s(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var a,u=r.kind,c="getter"===u?"get":"setter"===u?"set":"value",l=!t&&e?r.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,r.name):{}),d=!1,h=n.length-1;h>=0;h--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(d)throw new TypeError("Cannot add initializers after decoration has completed");i.push(s(e||null))};var g=(0,n[h])("accessor"===u?{get:f.get,set:f.set}:f[c],p);if("accessor"===u){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(a=s(g.get))&&(f.get=a),(a=s(g.set))&&(f.set=a),(a=s(g.init))&&o.unshift(a)}else(a=s(g))&&("field"===u?o.unshift(a):f[c]=a)}l&&Object.defineProperty(l,r.name,f),d=!0}function l(e,t,n){for(var r=arguments.length>2,o=0;o 0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1] =e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(a){o={error:a}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s}function _(){for(var e=[],t=0;t 1||a(e,t)}))})}function a(e,t){try{(n=o[e](t)).value instanceof k?Promise.resolve(n.value.v).then(u,c):l(i[0][2],n)}catch(r){l(i[0][3],r)}var n}function u(e){a("next",e)}function c(e){a("throw",e)}function l(e,t){e(t),i.shift(),i.length&&a(i[0][0],i[0][1])}}function D(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:k(e[r](t)),done:!1}:o?o(t):t}:o}}function S(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=v(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,o,(t=e[n](t)).done,t.value)}))}}}function C(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var O=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function $(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&g(t,e,n);return O(t,e),t}function A(e){return e&&e.__esModule?e:{default:e}}function P(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function j(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n}function F(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function I(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose]}if("function"!=typeof r)throw new TypeError("Object not disposable.");e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var N="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function T(e){function t(t){e.error=e.hasError?new N(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}return function n(){for(;e.stack.length;){var r=e.stack.pop();try{var o=r.dispose&&r.dispose.call(r.value);if(r.async)return Promise.resolve(o).then(n,(function(e){return t(e),n()}))}catch(i){t(i)}}if(e.hasError)throw e.error}()}const M={__extends:o,__assign:i,__rest:s,__decorate:a,__param:u,__metadata:h,__awaiter:p,__generator:m,__createBinding:g,__exportStar:y,__values:v,__read:b,__spread:_,__spreadArrays:w,__spreadArray:E,__await:k,__asyncGenerator:x,__asyncDelegator:D,__asyncValues:S,__makeTemplateObject:C,__importStar:$,__importDefault:A,__classPrivateFieldGet:P,__classPrivateFieldSet:j,__classPrivateFieldIn:F,__addDisposableResource:I,__disposeResources:T}},45984:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Alias:()=>B,CST:()=>r,Composer:()=>Zt,Document:()=>xt,Lexer:()=>Cn,LineCounter:()=>On,Pair:()=>ye,Parser:()=>Nn,Scalar:()=>U,Schema:()=>kt,YAMLError:()=>St,YAMLMap:()=>ke,YAMLParseError:()=>Ct,YAMLSeq:()=>De,YAMLWarning:()=>Ot,default:()=>zn,isAlias:()=>d,isCollection:()=>v,isDocument:()=>h,isMap:()=>p,isNode:()=>b,isPair:()=>m,isScalar:()=>g,isSeq:()=>y,parse:()=>Bn,parseAllDocuments:()=>Mn,parseDocument:()=>Rn,stringify:()=>Ln,visit:()=>x,visitAsync:()=>S});var r={};n.r(r),n.d(r,{BOM:()=>hn,DOCUMENT:()=>pn,FLOW_END:()=>mn,SCALAR:()=>gn,createScalarToken:()=>en,isCollection:()=>yn,isScalar:()=>vn,prettyToken:()=>bn,resolveAsScalar:()=>Yt,setScalarValue:()=>tn,stringify:()=>on,tokenType:()=>_n,visit:()=>fn});var o={};n.r(o),n.d(o,{Alias:()=>B,CST:()=>r,Composer:()=>Zt,Document:()=>xt,Lexer:()=>Cn,LineCounter:()=>On,Pair:()=>ye,Parser:()=>Nn,Scalar:()=>U,Schema:()=>kt,YAMLError:()=>St,YAMLMap:()=>ke,YAMLParseError:()=>Ct,YAMLSeq:()=>De,YAMLWarning:()=>Ot,isAlias:()=>d,isCollection:()=>v,isDocument:()=>h,isMap:()=>p,isNode:()=>b,isPair:()=>m,isScalar:()=>g,isSeq:()=>y,parse:()=>Bn,parseAllDocuments:()=>Mn,parseDocument:()=>Rn,stringify:()=>Ln,visit:()=>x,visitAsync:()=>S});const i=Symbol.for("yaml.alias"),s=Symbol.for("yaml.document"),a=Symbol.for("yaml.map"),u=Symbol.for("yaml.pair"),c=Symbol.for("yaml.scalar"),l=Symbol.for("yaml.seq"),f=Symbol.for("yaml.node.type"),d=e=>!!e&&"object"==typeof e&&e[f]===i,h=e=>!!e&&"object"==typeof e&&e[f]===s,p=e=>!!e&&"object"==typeof e&&e[f]===a,m=e=>!!e&&"object"==typeof e&&e[f]===u,g=e=>!!e&&"object"==typeof e&&e[f]===c,y=e=>!!e&&"object"==typeof e&&e[f]===l;function v(e){if(e&&"object"==typeof e)switch(e[f]){case a:case l:return!0}return!1}function b(e){if(e&&"object"==typeof e)switch(e[f]){case i:case a:case c:case l:return!0}return!1}const _=e=>(g(e)||v(e))&&!!e.anchor,w=Symbol("break visit"),E=Symbol("skip children"),k=Symbol("remove node");function x(e,t){const n=O(t);if(h(e)){D(null,e.contents,n,Object.freeze([e]))===k&&(e.contents=null)}else D(null,e,n,Object.freeze([]))}function D(e,t,n,r){const o=$(e,t,n,r);if(b(o)||m(o))return A(e,r,o),D(e,o,n,r);if("symbol"!=typeof o)if(v(t)){r=Object.freeze(r.concat(t));for(let e=0;e "!==e[e.length-1]&&t("Verbatim tags must end with a >"),n)}const[,n,r]=e.match(/^(.*!)([^!]*)$/s);r||t(`The ${e} tag has no suffix`);const o=this.tags[n];if(o)try{return o+decodeURIComponent(r)}catch(i){return t(String(i)),null}return"!"===n?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(const[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+e.substring(n.length).replace(/[!,[\]{}]/g,(e=>P[e]));return"!"===e[0]?e:`!<${e}>`}toString(e){const t=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],n=Object.entries(this.tags);let r;if(e&&n.length>0&&b(e.contents)){const t={};x(e.contents,((e,n)=>{b(n)&&n.tag&&(t[n.tag]=!0)})),r=Object.keys(t)}else r=[];for(const[o,i]of n)"!!"===o&&"tag:yaml.org,2002:"===i||e&&!r.some((e=>e.startsWith(i)))||t.push(`%TAG ${o} ${i}`);return t.join("\n")}}function F(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const t=JSON.stringify(e);throw new Error(`Anchor must not contain whitespace or control characters: ${t}`)}return!0}function I(e){const t=new Set;return x(e,{Value(e,n){n.anchor&&t.add(n.anchor)}}),t}function N(e,t){for(let n=1;;++n){const r=`${e}${n}`;if(!t.has(r))return r}}function T(e,t,n,r){if(r&&"object"==typeof r)if(Array.isArray(r))for(let o=0,i=r.length;oM(e,String(t),n)));if(e&&"function"==typeof e.toJSON){if(!n||!_(e))return e.toJSON(t,n);const r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=e=>{r.res=e,delete n.onCreate};const o=e.toJSON(t,n);return n.onCreate&&n.onCreate(o),o}return"bigint"!=typeof e||n?.keep?e:Number(e)}j.defaultYaml={explicit:!1,version:"1.2"},j.defaultTags={"!!":"tag:yaml.org,2002:"};class R{constructor(e){Object.defineProperty(this,f,{value:e})}clone(){const e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:n,onAnchor:r,reviver:o}={}){if(!h(e))throw new TypeError("A document argument is required");const i={anchors:new Map,doc:e,keep:!0,mapAsMap:!0===t,mapKeyWarned:!1,maxAliasCount:"number"==typeof n?n:100},s=M(this,"",i);if("function"==typeof r)for(const{count:a,res:u}of i.anchors.values())r(u,a);return"function"==typeof o?T(o,{"":s},"",s):s}}class B extends R{constructor(e){super(i),this.source=e,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(e){let t;return x(e,{Node:(e,n)=>{if(n===this)return x.BREAK;n.anchor===this.source&&(t=n)}}),t}toJSON(e,t){if(!t)return{source:this.source};const{anchors:n,doc:r,maxAliasCount:o}=t,i=this.resolve(r);if(!i){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(e)}let s=n.get(i);if(s||(M(i,null,t),s=n.get(i)),!s||void 0===s.res){throw new ReferenceError("This should not happen: Alias anchor was not resolved?")}if(o>=0&&(s.count+=1,0===s.aliasCount&&(s.aliasCount=L(r,i,n)),s.count*s.aliasCount>o)){throw new ReferenceError("Excessive alias count indicates a resource exhaustion attack")}return s.res}toString(e,t,n){const r=`*${this.source}`;if(e){if(F(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(e)}if(e.implicitKey)return`${r} `}return r}}function L(e,t,n){if(d(t)){const r=t.resolve(e),o=n&&r&&n.get(r);return o?o.count*o.aliasCount:0}if(v(t)){let r=0;for(const o of t.items){const t=L(e,o,n);t>r&&(r=t)}return r}if(m(t)){const r=L(e,t.key,n),o=L(e,t.value,n);return Math.max(r,o)}return 1}const z=e=>!e||"function"!=typeof e&&"object"!=typeof e;class U extends R{constructor(e){super(c),this.value=e}toJSON(e,t){return t?.keep?this.value:M(this.value,e,t)}toString(){return String(this.value)}}U.BLOCK_FOLDED="BLOCK_FOLDED",U.BLOCK_LITERAL="BLOCK_LITERAL",U.PLAIN="PLAIN",U.QUOTE_DOUBLE="QUOTE_DOUBLE",U.QUOTE_SINGLE="QUOTE_SINGLE";const q="tag:yaml.org,2002:";function V(e,t,n){if(h(e)&&(e=e.contents),b(e))return e;if(m(e)){const t=n.schema[a].createNode?.(n.schema,null,n);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||"undefined"!=typeof BigInt&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:r,onAnchor:o,onTagObj:i,schema:s,sourceObjects:u}=n;let c;if(r&&e&&"object"==typeof e){if(c=u.get(e),c)return c.anchor||(c.anchor=o(e)),new B(c.anchor);c={anchor:null,node:null},u.set(e,c)}t?.startsWith("!!")&&(t=q+t.slice(2));let f=function(e,t,n){if(t){const e=n.filter((e=>e.tag===t)),r=e.find((e=>!e.format))??e[0];if(!r)throw new Error(`Tag ${t} not found`);return r}return n.find((t=>t.identify?.(e)&&!t.format))}(e,t,s.tags);if(!f){if(e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e){const t=new U(e);return c&&(c.node=t),t}f=e instanceof Map?s[a]:Symbol.iterator in Object(e)?s[l]:s[a]}i&&(i(f),delete n.onTagObj);const d=f?.createNode?f.createNode(n.schema,e,n):"function"==typeof f?.nodeClass?.from?f.nodeClass.from(n.schema,e,n):new U(e);return t?d.tag=t:f.default||(d.tag=f.tag),c&&(c.node=d),d}function Q(e,t,n){let r=n;for(let o=t.length-1;o>=0;--o){const e=t[o];if("number"==typeof e&&Number.isInteger(e)&&e>=0){const t=[];t[e]=r,r=t}else r=new Map([[e,r]])}return V(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}const X=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done;class H extends R{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map((t=>b(t)||m(t)?t.clone(e):t)),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(X(e))this.add(t);else{const[n,...r]=e,o=this.get(n,!0);if(v(o))o.addIn(r,t);else{if(void 0!==o||!this.schema)throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`);this.set(n,Q(this.schema,r,t))}}}deleteIn(e){const[t,...n]=e;if(0===n.length)return this.delete(t);const r=this.get(t,!0);if(v(r))return r.deleteIn(n);throw new Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn(e,t){const[n,...r]=e,o=this.get(n,!0);return 0===r.length?!t&&g(o)?o.value:o:v(o)?o.getIn(r,t):void 0}hasAllNullValues(e){return this.items.every((t=>{if(!m(t))return!1;const n=t.value;return null==n||e&&g(n)&&null==n.value&&!n.commentBefore&&!n.comment&&!n.tag}))}hasIn(e){const[t,...n]=e;if(0===n.length)return this.has(t);const r=this.get(t,!0);return!!v(r)&&r.hasIn(n)}setIn(e,t){const[n,...r]=e;if(0===r.length)this.set(n,t);else{const e=this.get(n,!0);if(v(e))e.setIn(r,t);else{if(void 0!==e||!this.schema)throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`);this.set(n,Q(this.schema,r,t))}}}}H.maxFlowStringSingleLineLength=60;const K=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function J(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const W=(e,t,n)=>e.endsWith("\n")?J(n,t):n.includes("\n")?"\n"+J(n,t):(e.endsWith(" ")?"":" ")+n,G="flow",Z="block",Y="quoted";function ee(e,t,n="flow",{indentAtStart:r,lineWidth:o=80,minContentWidth:i=20,onFold:s,onOverflow:a}={}){if(!o||o<0)return e;const u=Math.max(1+i,1+o-t.length);if(e.length<=u)return e;const c=[],l={};let f,d,h=o-t.length;"number"==typeof r&&(r>o-Math.max(2,i)?c.push(0):h=o-r);let p=!1,m=-1,g=-1,y=-1;n===Z&&(m=te(e,m),-1!==m&&(h=m+u));for(let b;b=e[m+=1];){if(n===Y&&"\\"===b){switch(g=m,e[m+1]){case"x":m+=3;break;case"u":m+=5;break;case"U":m+=9;break;default:m+=1}y=m}if("\n"===b)n===Z&&(m=te(e,m)),h=m+u,f=void 0;else{if(" "===b&&d&&" "!==d&&"\n"!==d&&"\t"!==d){const t=e[m+1];t&&" "!==t&&"\n"!==t&&"\t"!==t&&(f=m)}if(m>=h)if(f)c.push(f),h=f+u,f=void 0;else if(n===Y){for(;" "===d||"\t"===d;)d=b,b=e[m+=1],p=!0;const t=m>y+1?m-2:g-1;if(l[t])return e;c.push(t),l[t]=!0,h=t+u,f=void 0}else p=!0}d=b}if(p&&a&&a(),0===c.length)return e;s&&s();let v=e.slice(0,c[0]);for(let b=0;b ({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),re=e=>/^(%|---|\.\.\.)/m.test(e);function oe(e,t){const n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;const{implicitKey:r}=t,o=t.options.doubleQuotedMinMultiLineLength,i=t.indent||(re(e)?" ":"");let s="",a=0;for(let u=0,c=n[u];c;c=n[++u])if(" "===c&&"\\"===n[u+1]&&"n"===n[u+2]&&(s+=n.slice(a,u)+"\\ ",u+=1,a=u,c="\\"),"\\"===c)switch(n[u+1]){case"u":{s+=n.slice(a,u);const e=n.substr(u+2,4);switch(e){case"0000":s+="\\0";break;case"0007":s+="\\a";break;case"000b":s+="\\v";break;case"001b":s+="\\e";break;case"0085":s+="\\N";break;case"00a0":s+="\\_";break;case"2028":s+="\\L";break;case"2029":s+="\\P";break;default:"00"===e.substr(0,2)?s+="\\x"+e.substr(2):s+=n.substr(u,6)}u+=5,a=u+1}break;case"n":if(r||'"'===n[u+2]||n.length r)return!0;if(s=i+1,o-s<=r)return!1}return!0}(n,u,c.length));if(!n)return l?"|\n":">\n";let f,d;for(d=n.length;d>0;--d){const e=n[d-1];if("\n"!==e&&"\t"!==e&&" "!==e)break}let h=n.substring(d);const p=h.indexOf("\n");-1===p?f="-":n===h||p!==h.length-1?(f="+",i&&i()):f="",h&&(n=n.slice(0,-h.length),"\n"===h[h.length-1]&&(h=h.slice(0,-1)),h=h.replace(ae,`$&${c}`));let m,g=!1,y=-1;for(m=0;m ")+(g?c?"2":"1":"")+f;if(e&&(b+=" "+a(e.replace(/ ?[\r\n]+/g," ")),o&&o()),l)return`${b}\n${c}${v}${n=n.replace(/\n+/g,`$&${c}`)}${h}`;return`${b}\n${c}${ee(`${v}${n=n.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${c}`)}${h}`,c,Z,ne(r,!0))}`}function ce(e,t,n,r){const{implicitKey:o,inFlow:i}=t,s="string"==typeof e.value?e:Object.assign({},e,{value:String(e.value)});let{type:a}=e;a!==U.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(s.value)&&(a=U.QUOTE_DOUBLE);const u=e=>{switch(e){case U.BLOCK_FOLDED:case U.BLOCK_LITERAL:return o||i?se(s.value,t):ue(s,t,n,r);case U.QUOTE_DOUBLE:return oe(s.value,t);case U.QUOTE_SINGLE:return ie(s.value,t);case U.PLAIN:return function(e,t,n,r){const{type:o,value:i}=e,{actualString:s,implicitKey:a,indent:u,indentStep:c,inFlow:l}=t;if(a&&i.includes("\n")||l&&/[[\]{},]/.test(i))return se(i,t);if(!i||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(i))return a||l||!i.includes("\n")?se(i,t):ue(e,t,n,r);if(!a&&!l&&o!==U.PLAIN&&i.includes("\n"))return ue(e,t,n,r);if(re(i)){if(""===u)return t.forceBlockIndent=!0,ue(e,t,n,r);if(a&&u===c)return se(i,t)}const f=i.replace(/\n+/g,`$&\n${u}`);if(s){const e=e=>e.default&&"tag:yaml.org,2002:str"!==e.tag&&e.test?.test(f),{compat:n,tags:r}=t.doc.schema;if(r.some(e)||n?.some(e))return se(i,t)}return a?f:ee(f,u,G,ne(t,!1))}(s,t,n,r);default:return null}};let c=u(a);if(null===c){const{defaultKeyType:e,defaultStringType:n}=t.options,r=o&&e||n;if(c=u(r),null===c)throw new Error(`Unsupported default string type ${r}`)}return c}function le(e,t){const n=Object.assign({blockQuote:!0,commentString:K,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);let r;switch(n.collectionStyle){case"block":r=!1;break;case"flow":r=!0;break;default:r=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof n.indent?" ".repeat(n.indent):" ",inFlow:r,options:n}}function fe(e,t,n,r){if(m(e))return e.toString(t,n,r);if(d(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let o;const i=b(e)?e:t.doc.createNode(e,{onTagObj:e=>o=e});o||(o=function(e,t){if(t.tag){const n=e.filter((e=>e.tag===t.tag));if(n.length>0)return n.find((e=>e.format===t.format))??n[0]}let n,r;if(g(t)){r=t.value;const o=e.filter((e=>e.identify?.(r)));n=o.find((e=>e.format===t.format))??o.find((e=>!e.format))}else r=t,n=e.find((e=>e.nodeClass&&r instanceof e.nodeClass));if(!n)throw new Error(`Tag not resolved for ${r?.constructor?.name??typeof r} value`);return n}(t.doc.schema.tags,i));const s=function(e,t,{anchors:n,doc:r}){if(!r.directives)return"";const o=[],i=(g(e)||v(e))&&e.anchor;i&&F(i)&&(n.add(i),o.push(`&${i}`));const s=e.tag?e.tag:t.default?null:t.tag;return s&&o.push(r.directives.tagString(s)),o.join(" ")}(i,o,t);s.length>0&&(t.indentAtStart=(t.indentAtStart??0)+s.length+1);const a="function"==typeof o.stringify?o.stringify(i,t,n,r):g(i)?ce(i,t,n,r):i.toString(t,n,r);return s?g(i)||"{"===a[0]||"["===a[0]?`${s} ${a}`:`${s}\n${t.indent}${a}`:a}function de(e,t){"debug"!==e&&"warn"!==e||("undefined"!=typeof process&&process.emitWarning?process.emitWarning(t):console.warn(t))}function he(e,t,{key:n,value:r}){if(e?.doc.schema.merge&&pe(n))if(r=d(r)?r.resolve(e.doc):r,y(r))for(const o of r.items)me(e,t,o);else if(Array.isArray(r))for(const o of r)me(e,t,o);else me(e,t,r);else{const o=M(n,"",e);if(t instanceof Map)t.set(o,M(r,o,e));else if(t instanceof Set)t.add(o);else{const i=function(e,t,n){if(null===t)return"";if("object"!=typeof t)return String(t);if(b(e)&&n?.doc){const t=le(n.doc,{});t.anchors=new Set;for(const e of n.anchors.keys())t.anchors.add(e.anchor);t.inFlow=!0,t.inStringifyKey=!0;const r=e.toString(t);if(!n.mapKeyWarned){let e=JSON.stringify(r);e.length>40&&(e=e.substring(0,36)+'..."'),de(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return r}return JSON.stringify(t)}(n,o,e),s=M(r,i,e);i in t?Object.defineProperty(t,i,{value:s,writable:!0,enumerable:!0,configurable:!0}):t[i]=s}}return t}const pe=e=>"<<"===e||g(e)&&"<<"===e.value&&(!e.type||e.type===U.PLAIN);function me(e,t,n){const r=e&&d(n)?n.resolve(e.doc):n;if(!p(r))throw new Error("Merge sources must be maps or map aliases");const o=r.toJSON(null,e,Map);for(const[i,s]of o)t instanceof Map?t.has(i)||t.set(i,s):t instanceof Set?t.add(i):Object.prototype.hasOwnProperty.call(t,i)||Object.defineProperty(t,i,{value:s,writable:!0,enumerable:!0,configurable:!0});return t}function ge(e,t,n){const r=V(e,void 0,n),o=V(t,void 0,n);return new ye(r,o)}class ye{constructor(e,t=null){Object.defineProperty(this,f,{value:u}),this.key=e,this.value=t}clone(e){let{key:t,value:n}=this;return b(t)&&(t=t.clone(e)),b(n)&&(n=n.clone(e)),new ye(t,n)}toJSON(e,t){return he(t,t?.mapAsMap?new Map:{},this)}toString(e,t,n){return e?.doc?function({key:e,value:t},n,r,o){const{allNullValues:i,doc:s,indent:a,indentStep:u,options:{commentString:c,indentSeq:l,simpleKeys:f}}=n;let d=b(e)&&e.comment||null;if(f){if(d)throw new Error("With simple keys, key nodes cannot have comments");if(v(e))throw new Error("With simple keys, collection cannot be used as a key value")}let h=!f&&(!e||d&&null==t&&!n.inFlow||v(e)||(g(e)?e.type===U.BLOCK_FOLDED||e.type===U.BLOCK_LITERAL:"object"==typeof e));n=Object.assign({},n,{allNullValues:!1,implicitKey:!h&&(f||!i),indent:a+u});let p,m,_,w=!1,E=!1,k=fe(e,n,(()=>w=!0),(()=>E=!0));if(!h&&!n.inFlow&&k.length>1024){if(f)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");h=!0}if(n.inFlow){if(i||null==t)return w&&r&&r(),""===k?"?":h?`? ${k}`:k}else if(i&&!f||null==t&&h)return k=`? ${k}`,d&&!w?k+=W(k,n.indent,c(d)):E&&o&&o(),k;w&&(d=null),h?(d&&(k+=W(k,n.indent,c(d))),k=`? ${k}\n${a}:`):(k=`${k}:`,d&&(k+=W(k,n.indent,c(d)))),b(t)?(p=!!t.spaceBefore,m=t.commentBefore,_=t.comment):(p=!1,m=null,_=null,t&&"object"==typeof t&&(t=s.createNode(t))),n.implicitKey=!1,h||d||!g(t)||(n.indentAtStart=k.length+1),E=!1,l||!(u.length>=2)||n.inFlow||h||!y(t)||t.flow||t.tag||t.anchor||(n.indent=n.indent.substring(2));let x=!1;const D=fe(t,n,(()=>x=!0),(()=>E=!0));let S=" ";if(d||p||m)S=p?"\n":"",m&&(S+=`\n${J(c(m),n.indent)}`),""!==D||n.inFlow?S+=`\n${n.indent}`:"\n"===S&&(S="\n\n");else if(!h&&v(t)){const e=D[0],r=D.indexOf("\n"),o=-1!==r,i=n.inFlow??t.flow??0===t.items.length;if(o||!i){let t=!1;if(o&&("&"===e||"!"===e)){let n=D.indexOf(" ");"&"===e&&-1!==n&&n o=null),(()=>f=!0));o&&(s+=W(s,i,c(o))),f&&o&&(f=!1),d.push(r+s)}let h;if(0===d.length)h=o.start+o.end;else{h=d[0];for(let e=1;e r=null));v d||i.includes("\n"))&&(f=!0),h.push(i),d=h.length}let p;const{start:g,end:y}=r;if(0===h.length)p=g+y;else{if(!f){f=h.reduce(((e,t)=>e+t.length+2),2)>H.maxFlowStringSingleLineLength}if(f){p=g;for(const e of h)p+=e?`\n${a}${s}${e}`:"\n";p+=`\n${s}${y}`}else p=`${g}${u}${h.join(" ")}${u}${y}`}return e&&(p+=W(p,s,c(e)),i&&i()),p}function we({indent:e,options:{commentString:t}},n,r,o){if(r&&o&&(r=r.replace(/^\n+/,"")),r){const o=J(t(r),e);n.push(o.trimStart())}}function Ee(e,t){const n=g(t)?t.value:t;for(const r of e)if(m(r)){if(r.key===t||r.key===n)return r;if(g(r.key)&&r.key.value===n)return r}}class ke extends H{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(a,e),this.items=[]}static from(e,t,n){const{keepUndefined:r,replacer:o}=n,i=new this(e),s=(e,s)=>{if("function"==typeof o)s=o.call(t,e,s);else if(Array.isArray(o)&&!o.includes(e))return;(void 0!==s||r)&&i.items.push(ge(e,s,n))};if(t instanceof Map)for(const[a,u]of t)s(a,u);else if(t&&"object"==typeof t)for(const a of Object.keys(t))s(a,t[a]);return"function"==typeof e.sortMapEntries&&i.items.sort(e.sortMapEntries),i}add(e,t){let n;n=m(e)?e:e&&"object"==typeof e&&"key"in e?new ye(e.key,e.value):new ye(e,e?.value);const r=Ee(this.items,n.key),o=this.schema?.sortMapEntries;if(r){if(!t)throw new Error(`Key ${n.key} already set`);g(r.value)&&z(n.value)?r.value.value=n.value:r.value=n.value}else if(o){const e=this.items.findIndex((e=>o(n,e)<0));-1===e?this.items.push(n):this.items.splice(e,0,n)}else this.items.push(n)}delete(e){const t=Ee(this.items,e);if(!t)return!1;return this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){const n=Ee(this.items,e),r=n?.value;return(!t&&g(r)?r.value:r)??void 0}has(e){return!!Ee(this.items,e)}set(e,t){this.add(new ye(e,t),!0)}toJSON(e,t,n){const r=n?new n:t?.mapAsMap?new Map:{};t?.onCreate&&t.onCreate(r);for(const o of this.items)he(t,r,o);return r}toString(e,t,n){if(!e)return JSON.stringify(this);for(const r of this.items)if(!m(r))throw new Error(`Map items must all be pairs; found ${JSON.stringify(r)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),ve(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:n,onComment:t})}}const xe={collection:"map",default:!0,nodeClass:ke,tag:"tag:yaml.org,2002:map",resolve:(e,t)=>(p(e)||t("Expected a mapping for this tag"),e),createNode:(e,t,n)=>ke.from(e,t,n)};class De extends H{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(l,e),this.items=[]}add(e){this.items.push(e)}delete(e){const t=Se(e);if("number"!=typeof t)return!1;return this.items.splice(t,1).length>0}get(e,t){const n=Se(e);if("number"!=typeof n)return;const r=this.items[n];return!t&&g(r)?r.value:r}has(e){const t=Se(e);return"number"==typeof t&&t =0?t:null}const Ce={collection:"seq",default:!0,nodeClass:De,tag:"tag:yaml.org,2002:seq",resolve:(e,t)=>(y(e)||t("Expected a sequence for this tag"),e),createNode:(e,t,n)=>De.from(e,t,n)},Oe={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,t,n,r)=>ce(e,t=Object.assign({actualString:!0},t),n,r)},$e={identify:e=>null==e,createNode:()=>new U(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new U(null),stringify:({source:e},t)=>"string"==typeof e&&$e.test.test(e)?e:t.options.nullStr},Ae={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new U("t"===e[0]||"T"===e[0]),stringify({source:e,value:t},n){if(e&&Ae.test.test(e)){if(t===("t"===e[0]||"T"===e[0]))return e}return t?n.options.trueStr:n.options.falseStr}};function Pe({format:e,minFractionDigits:t,tag:n,value:r}){if("bigint"==typeof r)return String(r);const o="number"==typeof r?r:Number(r);if(!isFinite(o))return isNaN(o)?".nan":o<0?"-.inf":".inf";let i=JSON.stringify(r);if(!e&&t&&(!n||"tag:yaml.org,2002:float"===n)&&/^\d/.test(i)){let e=i.indexOf(".");e<0&&(e=i.length,i+=".");let n=t-(i.length-e-1);for(;n-- >0;)i+="0"}return i}const je={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN))$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Pe},Fe={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():Pe(e)}},Ie={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){const t=new U(parseFloat(e)),n=e.indexOf(".");return-1!==n&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-n-1),t},stringify:Pe},Ne=e=>"bigint"==typeof e||Number.isInteger(e),Te=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n);function Me(e,t,n){const{value:r}=e;return Ne(r)&&r>=0?n+r.toString(t):Pe(e)}const Re={identify:e=>Ne(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>Te(e,2,8,n),stringify:e=>Me(e,8,"0o")},Be={identify:Ne,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>Te(e,0,10,n),stringify:Pe},Le={identify:e=>Ne(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>Te(e,2,16,n),stringify:e=>Me(e,16,"0x")},ze=[xe,Ce,Oe,$e,Ae,Re,Be,Le,je,Fe,Ie];function Ue(e){return"bigint"==typeof e||Number.isInteger(e)}const qe=({value:e})=>JSON.stringify(e),Ve=[xe,Ce].concat([{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:qe},{identify:e=>null==e,createNode:()=>new U(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:qe},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>"true"===e,stringify:qe},{identify:Ue,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>Ue(e)?e.toString():JSON.stringify(e)},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:qe}],{default:!0,tag:"",test:/^/,resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)}),Qe={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if("function"==typeof Buffer)return Buffer.from(e,"base64");if("function"==typeof atob){const t=atob(e.replace(/[\n\r]/g,"")),n=new Uint8Array(t.length);for(let e=0;e 1&&t("Each pair must have its own sequence indicator");const e=r.items[0]||new ye(new U(null));if(r.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${r.commentBefore}\n${e.key.commentBefore}`:r.commentBefore),r.comment){const t=e.value??e.key;t.comment=t.comment?`${r.comment}\n${t.comment}`:r.comment}r=e}e.items[n]=m(r)?r:new ye(r)}}else t("Expected a sequence for this tag");return e}function He(e,t,n){const{replacer:r}=n,o=new De(e);o.tag="tag:yaml.org,2002:pairs";let i=0;if(t&&Symbol.iterator in Object(t))for(let s of t){let e,a;if("function"==typeof r&&(s=r.call(t,String(i++),s)),Array.isArray(s)){if(2!==s.length)throw new TypeError(`Expected [key, value] tuple: ${s}`);e=s[0],a=s[1]}else if(s&&s instanceof Object){const t=Object.keys(s);if(1!==t.length)throw new TypeError(`Expected tuple with one key, not ${t.length} keys`);e=t[0],a=s[e]}else e=s;o.items.push(ge(e,a,n))}return o}const Ke={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Xe,createNode:He};class Je extends De{constructor(){super(),this.add=ke.prototype.add.bind(this),this.delete=ke.prototype.delete.bind(this),this.get=ke.prototype.get.bind(this),this.has=ke.prototype.has.bind(this),this.set=ke.prototype.set.bind(this),this.tag=Je.tag}toJSON(e,t){if(!t)return super.toJSON(e);const n=new Map;t?.onCreate&&t.onCreate(n);for(const r of this.items){let e,o;if(m(r)?(e=M(r.key,"",t),o=M(r.value,e,t)):e=M(r,"",t),n.has(e))throw new Error("Ordered maps must not include duplicate keys");n.set(e,o)}return n}static from(e,t,n){const r=He(e,t,n),o=new this;return o.items=r.items,o}}Je.tag="tag:yaml.org,2002:omap";const We={collection:"seq",identify:e=>e instanceof Map,nodeClass:Je,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=Xe(e,t),r=[];for(const{key:o}of n.items)g(o)&&(r.includes(o.value)?t(`Ordered maps must not include duplicate keys: ${o.value}`):r.push(o.value));return Object.assign(new Je,n)},createNode:(e,t,n)=>Je.from(e,t,n)};function Ge({value:e,source:t},n){return t&&(e?Ze:Ye).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}const Ze={identify:e=>!0===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new U(!0),stringify:Ge},Ye={identify:e=>!1===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>new U(!1),stringify:Ge},et={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Pe},tt={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():Pe(e)}},nt={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){const t=new U(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(-1!==n){const r=e.substring(n+1).replace(/_/g,"");"0"===r[r.length-1]&&(t.minFractionDigits=r.length)}return t},stringify:Pe},rt=e=>"bigint"==typeof e||Number.isInteger(e);function ot(e,t,n,{intAsBigInt:r}){const o=e[0];if("-"!==o&&"+"!==o||(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`}const t=BigInt(e);return"-"===o?BigInt(-1)*t:t}const i=parseInt(e,n);return"-"===o?-1*i:i}function it(e,t,n){const{value:r}=e;if(rt(r)){const e=r.toString(t);return r<0?"-"+n+e.substr(1):n+e}return Pe(e)}const st={identify:rt,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>ot(e,2,2,n),stringify:e=>it(e,2,"0b")},at={identify:rt,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>ot(e,1,8,n),stringify:e=>it(e,8,"0")},ut={identify:rt,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>ot(e,0,10,n),stringify:Pe},ct={identify:rt,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>ot(e,2,16,n),stringify:e=>it(e,16,"0x")};class lt extends ke{constructor(e){super(e),this.tag=lt.tag}add(e){let t;t=m(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new ye(e.key,null):new ye(e,null);Ee(this.items,t.key)||this.items.push(t)}get(e,t){const n=Ee(this.items,e);return!t&&m(n)?g(n.key)?n.key.value:n.key:n}set(e,t){if("boolean"!=typeof t)throw new Error("Expected boolean value for set(key, value) in a YAML set, not "+typeof t);const n=Ee(this.items,e);n&&!t?this.items.splice(this.items.indexOf(n),1):!n&&t&&this.items.push(new ye(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,n);throw new Error("Set items must all have null values")}static from(e,t,n){const{replacer:r}=n,o=new this(e);if(t&&Symbol.iterator in Object(t))for(let i of t)"function"==typeof r&&(i=r.call(t,i,i)),o.items.push(ge(i,null,n));return o}}lt.tag="tag:yaml.org,2002:set";const ft={collection:"map",identify:e=>e instanceof Set,nodeClass:lt,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>lt.from(e,t,n),resolve(e,t){if(p(e)){if(e.hasAllNullValues(!0))return Object.assign(new lt,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function dt(e,t){const n=e[0],r="-"===n||"+"===n?e.substring(1):e,o=e=>t?BigInt(e):Number(e),i=r.replace(/_/g,"").split(":").reduce(((e,t)=>e*o(60)+o(t)),o(0));return"-"===n?o(-1)*i:i}function ht(e){let{value:t}=e,n=e=>e;if("bigint"==typeof t)n=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return Pe(e);let r="";t<0&&(r="-",t*=n(-1));const o=n(60),i=[t%o];return t<60?i.unshift(0):(t=(t-i[0])/o,i.unshift(t%o),t>=60&&(t=(t-i[0])/o,i.unshift(t))),r+i.map((e=>String(e).padStart(2,"0"))).join(":").replace(/000000\d*$/,"")}const pt={identify:e=>"bigint"==typeof e||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:n})=>dt(e,n),stringify:ht},mt={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>dt(e,!1),stringify:ht},gt={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){const t=e.match(gt.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,n,r,o,i,s,a]=t.map(Number),u=t[7]?Number((t[7]+"00").substr(1,3)):0;let c=Date.UTC(n,r-1,o,i||0,s||0,a||0,u);const l=t[8];if(l&&"Z"!==l){let e=dt(l,!1);Math.abs(e)<30&&(e*=60),c-=6e4*e}return new Date(c)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")},yt=[xe,Ce,Oe,$e,Ze,Ye,st,at,ut,ct,et,tt,nt,Qe,We,Ke,ft,pt,mt,gt],vt=new Map([["core",ze],["failsafe",[xe,Ce,Oe]],["json",Ve],["yaml11",yt],["yaml-1.1",yt]]),bt={binary:Qe,bool:Ae,float:Ie,floatExp:Fe,floatNaN:je,floatTime:mt,int:Be,intHex:Le,intOct:Re,intTime:pt,map:xe,null:$e,omap:We,pairs:Ke,seq:Ce,set:ft,timestamp:gt},_t={"tag:yaml.org,2002:binary":Qe,"tag:yaml.org,2002:omap":We,"tag:yaml.org,2002:pairs":Ke,"tag:yaml.org,2002:set":ft,"tag:yaml.org,2002:timestamp":gt};function wt(e,t){let n=vt.get(t);if(!n){if(!Array.isArray(e)){const e=Array.from(vt.keys()).filter((e=>"yaml11"!==e)).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}n=[]}if(Array.isArray(e))for(const r of e)n=n.concat(r);else"function"==typeof e&&(n=e(n.slice()));return n.map((e=>{if("string"!=typeof e)return e;const t=bt[e];if(t)return t;const n=Object.keys(bt).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown custom tag "${e}"; use one of ${n}`)}))}const Et=(e,t)=>e.key t.key?1:0;class kt{constructor({compat:e,customTags:t,merge:n,resolveKnownTags:r,schema:o,sortMapEntries:i,toStringDefaults:s}){this.compat=Array.isArray(e)?wt(e,"compat"):e?wt(null,e):null,this.merge=!!n,this.name="string"==typeof o&&o||"core",this.knownTags=r?_t:{},this.tags=wt(t,this.name),this.toStringOptions=s??null,Object.defineProperty(this,a,{value:xe}),Object.defineProperty(this,c,{value:Oe}),Object.defineProperty(this,l,{value:Ce}),this.sortMapEntries="function"==typeof i?i:!0===i?Et:null}clone(){const e=Object.create(kt.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}}class xt{constructor(e,t,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,f,{value:s});let r=null;"function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t,t=void 0);const o=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,uniqueKeys:!0,version:"1.2"},n);this.options=o;let{version:i}=o;n?._directives?(this.directives=n._directives.atDocument(),this.directives.yaml.explicit&&(i=this.directives.yaml.version)):this.directives=new j({version:i}),this.setSchema(i,n),this.contents=void 0===e?null:this.createNode(e,r,n)}clone(){const e=Object.create(xt.prototype,{[f]:{value:s}});return e.commentBefore=this.commentBefore,e.comment=this.comment,e.errors=this.errors.slice(),e.warnings=this.warnings.slice(),e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),e.schema=this.schema.clone(),e.contents=b(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){Dt(this.contents)&&this.contents.add(e)}addIn(e,t){Dt(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){const n=I(this);e.anchor=!t||n.has(t)?N(t||"a",n):t}return new B(e.anchor)}createNode(e,t,n){let r;if("function"==typeof t)e=t.call({"":e},"",e),r=t;else if(Array.isArray(t)){const e=e=>"number"==typeof e||e instanceof String||e instanceof Number,n=t.filter(e).map(String);n.length>0&&(t=t.concat(n)),r=t}else void 0===n&&t&&(n=t,t=void 0);const{aliasDuplicateObjects:o,anchorPrefix:i,flow:s,keepUndefined:a,onTagObj:u,tag:c}=n??{},{onAnchor:l,setAnchors:f,sourceObjects:d}=function(e,t){const n=[],r=new Map;let o=null;return{onAnchor:r=>{n.push(r),o||(o=I(e));const i=N(t,o);return o.add(i),i},setAnchors:()=>{for(const e of n){const t=r.get(e);if("object"!=typeof t||!t.anchor||!g(t.node)&&!v(t.node)){const t=new Error("Failed to resolve repeated object (this should not happen)");throw t.source=e,t}t.node.anchor=t.anchor}},sourceObjects:r}}(this,i||"a"),h=V(e,c,{aliasDuplicateObjects:o??!0,keepUndefined:a??!1,onAnchor:l,onTagObj:u,replacer:r,schema:this.schema,sourceObjects:d});return s&&v(h)&&(h.flow=!0),f(),h}createPair(e,t,n={}){const r=this.createNode(e,null,n),o=this.createNode(t,null,n);return new ye(r,o)}delete(e){return!!Dt(this.contents)&&this.contents.delete(e)}deleteIn(e){return X(e)?null!=this.contents&&(this.contents=null,!0):!!Dt(this.contents)&&this.contents.deleteIn(e)}get(e,t){return v(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return X(e)?!t&&g(this.contents)?this.contents.value:this.contents:v(this.contents)?this.contents.getIn(e,t):void 0}has(e){return!!v(this.contents)&&this.contents.has(e)}hasIn(e){return X(e)?void 0!==this.contents:!!v(this.contents)&&this.contents.hasIn(e)}set(e,t){null==this.contents?this.contents=Q(this.schema,[e],t):Dt(this.contents)&&this.contents.set(e,t)}setIn(e,t){X(e)?this.contents=t:null==this.contents?this.contents=Q(this.schema,Array.from(e),t):Dt(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){let n;switch("number"==typeof e&&(e=String(e)),e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new j({version:"1.1"}),n={merge:!0,resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new j({version:e}),n={merge:!1,resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,n=null;break;default:{const t=JSON.stringify(e);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${t}`)}}if(t.schema instanceof Object)this.schema=t.schema;else{if(!n)throw new Error("With a null YAML version, the { schema: Schema } option is required");this.schema=new kt(Object.assign(n,t))}}toJS({json:e,jsonArg:t,mapAsMap:n,maxAliasCount:r,onAnchor:o,reviver:i}={}){const s={anchors:new Map,doc:this,keep:!e,mapAsMap:!0===n,mapKeyWarned:!1,maxAliasCount:"number"==typeof r?r:100},a=M(this.contents,t??"",s);if("function"==typeof o)for(const{count:u,res:c}of s.anchors.values())o(c,u);return"function"==typeof i?T(i,{"":a},"",a):a}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){const t=JSON.stringify(e.indent);throw new Error(`"indent" option must be a positive integer, not ${t}`)}return function(e,t){const n=[];let r=!0===t.directives;if(!1!==t.directives&&e.directives){const t=e.directives.toString(e);t?(n.push(t),r=!0):e.directives.docStart&&(r=!0)}r&&n.push("---");const o=le(e,t),{commentString:i}=o.options;if(e.commentBefore){1!==n.length&&n.unshift("");const t=i(e.commentBefore);n.unshift(J(t,""))}let s=!1,a=null;if(e.contents){if(b(e.contents)){if(e.contents.spaceBefore&&r&&n.push(""),e.contents.commentBefore){const t=i(e.contents.commentBefore);n.push(J(t,""))}o.forceBlockIndent=!!e.comment,a=e.contents.comment}const t=a?void 0:()=>s=!0;let u=fe(e.contents,o,(()=>a=null),t);a&&(u+=W(u,"",i(a))),"|"!==u[0]&&">"!==u[0]||"---"!==n[n.length-1]?n.push(u):n[n.length-1]=`--- ${u}`}else n.push(fe(e.contents,o));if(e.directives?.docEnd)if(e.comment){const t=i(e.comment);t.includes("\n")?(n.push("..."),n.push(J(t,""))):n.push(`... ${t}`)}else n.push("...");else{let t=e.comment;t&&s&&(t=t.replace(/^\n+/,"")),t&&(s&&!a||""===n[n.length-1]||n.push(""),n.push(J(i(t),"")))}return n.join("\n")+"\n"}(this,e)}}function Dt(e){if(v(e))return!0;throw new Error("Expected a YAML collection as document contents")}class St extends Error{constructor(e,t,n,r){super(),this.name=e,this.code=n,this.message=r,this.pos=t}}class Ct extends St{constructor(e,t,n){super("YAMLParseError",e,t,n)}}class Ot extends St{constructor(e,t,n){super("YAMLWarning",e,t,n)}}const $t=(e,t)=>n=>{if(-1===n.pos[0])return;n.linePos=n.pos.map((e=>t.linePos(e)));const{line:r,col:o}=n.linePos[0];n.message+=` at line ${r}, column ${o}`;let i=o-1,s=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"");if(i>=60&&s.length>80){const e=Math.min(i-39,s.length-79);s="\u2026"+s.substring(e),i-=e-1}if(s.length>80&&(s=s.substring(0,79)+"\u2026"),r>1&&/^ *$/.test(s.substring(0,i))){let n=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);n.length>80&&(n=n.substring(0,79)+"\u2026\n"),s=n+s}if(/[^ ]/.test(s)){let e=1;const t=n.linePos[1];t&&t.line===r&&t.col>o&&(e=Math.max(1,Math.min(t.col-o,80-i)));const a=" ".repeat(i)+"^".repeat(e);n.message+=`:\n\n${s}\n${a}\n`}};function At(e,{flow:t,indicator:n,next:r,offset:o,onError:i,startOnNewline:s}){let a=!1,u=s,c=s,l="",f="",d=!1,h=!1,p=!1,m=null,g=null,y=null,v=null,b=null;for(const E of e)switch(p&&("space"!==E.type&&"newline"!==E.type&&"comma"!==E.type&&i(E.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),p=!1),E.type){case"space":!t&&u&&"doc-start"!==n&&"\t"===E.source[0]&&i(E,"TAB_AS_INDENT","Tabs are not allowed as indentation"),c=!0;break;case"comment":{c||i(E,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const e=E.source.substring(1)||" ";l?l+=f+e:l=e,f="",u=!1;break}case"newline":u?l?l+=E.source:a=!0:f+=E.source,u=!0,d=!0,(m||g)&&(h=!0),c=!0;break;case"anchor":m&&i(E,"MULTIPLE_ANCHORS","A node can have at most one anchor"),E.source.endsWith(":")&&i(E.offset+E.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),m=E,null===b&&(b=E.offset),u=!1,c=!1,p=!0;break;case"tag":g&&i(E,"MULTIPLE_TAGS","A node can have at most one tag"),g=E,null===b&&(b=E.offset),u=!1,c=!1,p=!0;break;case n:(m||g)&&i(E,"BAD_PROP_ORDER",`Anchors and tags must be after the ${E.source} indicator`),v&&i(E,"UNEXPECTED_TOKEN",`Unexpected ${E.source} in ${t??"collection"}`),v=E,u=!1,c=!1;break;case"comma":if(t){y&&i(E,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),y=E,u=!1,c=!1;break}default:i(E,"UNEXPECTED_TOKEN",`Unexpected ${E.type} token`),u=!1,c=!1}const _=e[e.length-1],w=_?_.offset+_.source.length:o;return p&&r&&"space"!==r.type&&"newline"!==r.type&&"comma"!==r.type&&("scalar"!==r.type||""!==r.source)&&i(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),{comma:y,found:v,spaceBefore:a,comment:l,hasNewline:d,hasNewlineAfterProp:h,anchor:m,tag:g,end:w,start:b??w}}function Pt(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes("\n"))return!0;if(e.end)for(const t of e.end)if("newline"===t.type)return!0;return!1;case"flow-collection":for(const t of e.items){for(const e of t.start)if("newline"===e.type)return!0;if(t.sep)for(const e of t.sep)if("newline"===e.type)return!0;if(Pt(t.key)||Pt(t.value))return!0}return!1;default:return!0}}function jt(e,t,n){if("flow-collection"===t?.type){const r=t.end[0];if(r.indent===e&&("]"===r.source||"}"===r.source)&&Pt(t)){n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}}function Ft(e,t,n){const{uniqueKeys:r}=e.options;if(!1===r)return!1;const o="function"==typeof r?r:(t,n)=>t===n||g(t)&&g(n)&&t.value===n.value&&!("<<"===t.value&&e.schema.merge);return t.some((e=>o(e.key,n)))}const It="All mapping items must start at the same column";function Nt(e,t,n,r){let o="";if(e){let i=!1,s="";for(const a of e){const{source:e,type:u}=a;switch(u){case"space":i=!0;break;case"comment":{n&&!i&&r(a,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const t=e.substring(1)||" ";o?o+=s+t:o=t,s="";break}case"newline":o&&(s+=e),i=!0;break;default:r(a,"UNEXPECTED_TOKEN",`Unexpected ${u} at node end`)}t+=e.length}}return{comment:o,offset:t}}const Tt="Block collections are not allowed within flow collections",Mt=e=>e&&("block-map"===e.type||"block-seq"===e.type);function Rt(e,t,n,r,o,i){const s="block-map"===n.type?function({composeNode:e,composeEmptyNode:t},n,r,o,i){const s=new(i?.nodeClass??ke)(n.schema);n.atRoot&&(n.atRoot=!1);let a=r.offset,u=null;for(const c of r.items){const{start:i,key:l,sep:f,value:d}=c,h=At(i,{indicator:"explicit-key-ind",next:l??f?.[0],offset:a,onError:o,startOnNewline:!0}),p=!h.found;if(p){if(l&&("block-seq"===l.type?o(a,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in l&&l.indent!==r.indent&&o(a,"BAD_INDENT",It)),!h.anchor&&!h.tag&&!f){u=h.end,h.comment&&(s.comment?s.comment+="\n"+h.comment:s.comment=h.comment);continue}(h.hasNewlineAfterProp||Pt(l))&&o(l??i[i.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else h.found?.indent!==r.indent&&o(a,"BAD_INDENT",It);const m=h.end,g=l?e(n,l,h,o):t(n,m,i,null,h,o);n.schema.compat&&jt(r.indent,l,o),Ft(n,s.items,g)&&o(m,"DUPLICATE_KEY","Map keys must be unique");const y=At(f??[],{indicator:"map-value-ind",next:d,offset:g.range[2],onError:o,startOnNewline:!l||"block-scalar"===l.type});if(a=y.end,y.found){p&&("block-map"!==d?.type||y.hasNewline||o(a,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&h.start 0){const e=Nt(h,p,n.options.strict,o);e.comment&&(u.comment?u.comment+="\n"+e.comment:u.comment=e.comment),u.range=[r.offset,p,e.offset]}else u.range=[r.offset,p,p];return u}(e,t,n,r,i),a=s.constructor;return"!"===o||o===a.tagName?(s.tag=a.tagName,s):(o&&(s.tag=o),s)}function Bt(e,t,n){const r=e.offset,o=function({offset:e,props:t},n,r){if("block-scalar-header"!==t[0].type)return r(t[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:o}=t[0],i=o[0];let s=0,a="",u=-1;for(let d=1;d =0;--m){const e=s[m][1];if(""!==e&&"\r"!==e)break;a=m}if(0===a){const t="+"===o.chomp&&s.length>0?"\n".repeat(Math.max(1,s.length-1)):"";let n=r+o.length;return e.source&&(n+=e.source.length),{value:t,type:i,comment:o.comment,range:[r,n,n]}}let u=e.indent+o.indent,c=e.offset+o.length,l=0;for(let m=0;mu&&(u=e.length),c+=e.length+t.length+1}for(let m=s.length-1;m>=a;--m)s[m][0].length>u&&(a=m+1);let f="",d="",h=!1;for(let m=0;m u||"\t"===t[0]?(" "===d?d="\n":h||"\n"!==d||(d="\n\n"),f+=d+e.slice(u)+t,d="\n",h=!0):""===t?"\n"===d?f+="\n":d="\n":(f+=d+t,d=" ",h=!1)}switch(o.chomp){case"-":break;case"+":for(let e=a;e n(r+e,t,o);switch(o){case"scalar":a=U.PLAIN,u=function(e,t){let n="";switch(e[0]){case"\t":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":n=`block scalar indicator ${e[0]}`;break;case"@":case"`":n=`reserved character ${e[0]}`}n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`);return zt(e)}(i,c);break;case"single-quoted-scalar":a=U.QUOTE_SINGLE,u=function(e,t){"'"===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR","Missing closing 'quote");return zt(e.slice(1,-1)).replace(/''/g,"'")}(i,c);break;case"double-quoted-scalar":a=U.QUOTE_DOUBLE,u=function(e,t){let n="";for(let r=1;r t?e.slice(t,r+1):o)}else n+=o}'"'===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR",'Missing closing "quote');return n}(i,c);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${o}`),{value:"",type:null,comment:"",range:[r,r+i.length,r+i.length]}}const l=r+i.length,f=Nt(s,l,t,n);return{value:u,type:a,comment:f.comment,range:[r,l,f.offset]}}function zt(e){let t,n;try{t=new RegExp("(.*?)(?r(n,"TAG_RESOLVE_FAILED",e))):null,l=n&&u?function(e,t,n,r,o){if("!"===n)return e[c];const i=[];for(const a of e.tags)if(!a.collection&&a.tag===n){if(!a.default||!a.test)return a;i.push(a)}for(const a of i)if(a.test?.test(t))return a;const s=e.knownTags[n];if(s&&!s.collection)return e.tags.push(Object.assign({},s,{default:!1,test:void 0})),s;return o(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,"tag:yaml.org,2002:str"!==n),e[c]}(e.schema,o,u,n,r):"scalar"===t.type?function({directives:e,schema:t},n,r,o){const i=t.tags.find((e=>e.default&&e.test?.test(n)))||t[c];if(t.compat){const s=t.compat.find((e=>e.default&&e.test?.test(n)))??t[c];if(i.tag!==s.tag){o(r,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${e.tagString(i.tag)} or ${e.tagString(s.tag)}`,!0)}}return i}(e,o,t,r):e.schema[c];let f;try{const i=l.resolve(o,(e=>r(n??t,"TAG_RESOLVE_FAILED",e)),e.options);f=g(i)?i:new U(i)}catch(d){const e=d instanceof Error?d.message:String(d);r(n??t,"TAG_RESOLVE_FAILED",e),f=new U(o)}return f.range=a,f.source=o,i&&(f.type=i),u&&(f.tag=u),l.format&&(f.format=l.format),s&&(f.comment=s),f}function Xt(e,t,n){if(t){null===n&&(n=t.length);for(let r=n-1;r>=0;--r){let n=t[r];switch(n.type){case"space":case"comment":case"newline":e-=n.source.length;continue}for(n=t[++r];"space"===n?.type;)e+=n.source.length,n=t[++r];break}}return e}const Ht={composeNode:Kt,composeEmptyNode:Jt};function Kt(e,t,n,r){const{spaceBefore:o,comment:i,anchor:s,tag:a}=n;let u,c=!0;switch(t.type){case"alias":u=function({options:e},{offset:t,source:n,end:r},o){const i=new B(n.substring(1));""===i.source&&o(t,"BAD_ALIAS","Alias cannot be an empty string");i.source.endsWith(":")&&o(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const s=t+n.length,a=Nt(r,s,e.strict,o);i.range=[t,s,a.offset],a.comment&&(i.comment=a.comment);return i}(e,t,r),(s||a)&&r(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":u=Qt(e,t,a,r),s&&(u.anchor=s.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":u=function(e,t,n,r,o){const i=r?t.directives.tagName(r.source,(e=>o(r,"TAG_RESOLVE_FAILED",e))):null,s="block-map"===n.type?"map":"block-seq"===n.type?"seq":"{"===n.start.source?"map":"seq";if(!r||!i||"!"===i||i===ke.tagName&&"map"===s||i===De.tagName&&"seq"===s||!s)return Rt(e,t,n,o,i);let a=t.schema.tags.find((e=>e.tag===i&&e.collection===s));if(!a){const u=t.schema.knownTags[i];if(!u||u.collection!==s)return u?.collection?o(r,"BAD_COLLECTION_TYPE",`${u.tag} used for ${s} collection, but expects ${u.collection}`,!0):o(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${i}`,!0),Rt(e,t,n,o,i);t.schema.tags.push(Object.assign({},u,{default:!1})),a=u}const u=Rt(e,t,n,o,i,a),c=a.resolve?.(u,(e=>o(r,"TAG_RESOLVE_FAILED",e)),t.options)??u,l=b(c)?c:new U(c);return l.range=u.range,l.tag=i,a?.format&&(l.format=a.format),l}(Ht,e,t,a,r),s&&(u.anchor=s.source.substring(1));break;default:r(t,"UNEXPECTED_TOKEN","error"===t.type?t.message:`Unsupported token (type: ${t.type})`),u=Jt(e,t.offset,void 0,null,n,r),c=!1}return s&&""===u.anchor&&r(s,"BAD_ALIAS","Anchor cannot be an empty string"),o&&(u.spaceBefore=!0),i&&("scalar"===t.type&&""===t.source?u.comment=i:u.commentBefore=i),e.options.keepSourceTokens&&c&&(u.srcToken=t),u}function Jt(e,t,n,r,{spaceBefore:o,comment:i,anchor:s,tag:a,end:u},c){const l=Qt(e,{type:"scalar",offset:Xt(t,n,r),indent:-1,source:""},a,c);return s&&(l.anchor=s.source.substring(1),""===l.anchor&&c(s,"BAD_ALIAS","Anchor cannot be an empty string")),o&&(l.spaceBefore=!0),i&&(l.comment=i,l.range[2]=u),l}function Wt(e){if("number"==typeof e)return[e,e+1];if(Array.isArray(e))return 2===e.length?e:[e[0],e[1]];const{offset:t,source:n}=e;return[t,t+("string"==typeof n?n.length:1)]}function Gt(e){let t="",n=!1,r=!1;for(let o=0;o {const o=Wt(e);r?this.warnings.push(new Ot(o,t,n)):this.errors.push(new Ct(o,t,n))},this.directives=new j({version:e.version||"1.2"}),this.options=e}decorate(e,t){const{comment:n,afterEmptyLine:r}=Gt(this.prelude);if(n){const o=e.contents;if(t)e.comment=e.comment?`${e.comment}\n${n}`:n;else if(r||e.directives.docStart||!o)e.commentBefore=n;else if(v(o)&&!o.flow&&o.items.length>0){let e=o.items[0];m(e)&&(e=e.key);const t=e.commentBefore;e.commentBefore=t?`${n}\n${t}`:n}else{const e=o.commentBefore;o.commentBefore=e?`${n}\n${e}`:n}}t?(Array.prototype.push.apply(e.errors,this.errors),Array.prototype.push.apply(e.warnings,this.warnings)):(e.errors=this.errors,e.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:Gt(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,n=-1){for(const r of e)yield*this.next(r);yield*this.end(t,n)}*next(e){switch(e.type){case"directive":this.directives.add(e.source,((t,n,r)=>{const o=Wt(e);o[0]+=t,this.onError(o,"BAD_DIRECTIVE",n,r)})),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{const t=function(e,t,{offset:n,start:r,value:o,end:i},s){const a=Object.assign({_directives:t},e),u=new xt(void 0,a),c={atRoot:!0,directives:u.directives,options:u.options,schema:u.schema},l=At(r,{indicator:"doc-start",next:o??i?.[0],offset:n,onError:s,startOnNewline:!0});l.found&&(u.directives.docStart=!0,!o||"block-map"!==o.type&&"block-seq"!==o.type||l.hasNewline||s(l.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),u.contents=o?Kt(c,o,l,s):Jt(c,l.end,r,null,l,s);const f=u.contents.range[2],d=Nt(i,f,!1,s);return d.comment&&(u.comment=d.comment),u.range=[n,f,d.offset],u}(this.options,this.directives,e,this.onError);this.atDirectives&&!t.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(t,!1),this.doc&&(yield this.doc),this.doc=t,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{const t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,n=new Ct(Wt(e),"UNEXPECTED_TOKEN",t);this.atDirectives||!this.doc?this.errors.push(n):this.doc.errors.push(n);break}case"doc-end":{if(!this.doc){const t="Unexpected doc-end without preceding document";this.errors.push(new Ct(Wt(e),"UNEXPECTED_TOKEN",t));break}this.doc.directives.docEnd=!0;const t=Nt(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){const e=this.doc.comment;this.doc.comment=e?`${e}\n${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new Ct(Wt(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))}}*end(e=!1,t=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){const e=Object.assign({_directives:this.directives},this.options),n=new xt(void 0,e);this.atDirectives&&this.onError(t,"MISSING_CHAR","Missing directives-end indicator line"),n.range=[0,t,t],this.decorate(n,!1),yield n}}}function Yt(e,t=!0,n){if(e){const r=(e,t,r)=>{const o="number"==typeof e?e:Array.isArray(e)?e[0]:e.offset;if(!n)throw new Ct([o,o+1],t,r);n(o,t,r)};switch(e.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return Lt(e,t,r);case"block-scalar":return Bt(e,t,r)}}return null}function en(e,t){const{implicitKey:n=!1,indent:r,inFlow:o=!1,offset:i=-1,type:s="PLAIN"}=t,a=ce({type:s,value:e},{implicitKey:n,indent:r>0?" ".repeat(r):"",inFlow:o,options:{blockQuote:!0,lineWidth:-1}}),u=t.end??[{type:"newline",offset:-1,indent:r,source:"\n"}];switch(a[0]){case"|":case">":{const e=a.indexOf("\n"),t=a.substring(0,e),n=a.substring(e+1)+"\n",o=[{type:"block-scalar-header",offset:i,indent:r,source:t}];return nn(o,u)||o.push({type:"newline",offset:-1,indent:r,source:"\n"}),{type:"block-scalar",offset:i,indent:r,props:o,source:n}}case'"':return{type:"double-quoted-scalar",offset:i,indent:r,source:a,end:u};case"'":return{type:"single-quoted-scalar",offset:i,indent:r,source:a,end:u};default:return{type:"scalar",offset:i,indent:r,source:a,end:u}}}function tn(e,t,n={}){let{afterKey:r=!1,implicitKey:o=!1,inFlow:i=!1,type:s}=n,a="indent"in e?e.indent:null;if(r&&"number"==typeof a&&(a+=2),!s)switch(e.type){case"single-quoted-scalar":s="QUOTE_SINGLE";break;case"double-quoted-scalar":s="QUOTE_DOUBLE";break;case"block-scalar":{const t=e.props[0];if("block-scalar-header"!==t.type)throw new Error("Invalid block scalar header");s=">"===t.source[0]?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:s="PLAIN"}const u=ce({type:s,value:t},{implicitKey:o||null===a,indent:null!==a&&a>0?" ".repeat(a):"",inFlow:i,options:{blockQuote:!0,lineWidth:-1}});switch(u[0]){case"|":case">":!function(e,t){const n=t.indexOf("\n"),r=t.substring(0,n),o=t.substring(n+1)+"\n";if("block-scalar"===e.type){const t=e.props[0];if("block-scalar-header"!==t.type)throw new Error("Invalid block scalar header");t.source=r,e.source=o}else{const{offset:t}=e,n="indent"in e?e.indent:-1,i=[{type:"block-scalar-header",offset:t,indent:n,source:r}];nn(i,"end"in e?e.end:void 0)||i.push({type:"newline",offset:-1,indent:n,source:"\n"});for(const r of Object.keys(e))"type"!==r&&"offset"!==r&&delete e[r];Object.assign(e,{type:"block-scalar",indent:n,props:i,source:o})}}(e,u);break;case'"':rn(e,u,"double-quoted-scalar");break;case"'":rn(e,u,"single-quoted-scalar");break;default:rn(e,u,"scalar")}}function nn(e,t){if(t)for(const n of t)switch(n.type){case"space":case"comment":e.push(n);break;case"newline":return e.push(n),!0}return!1}function rn(e,t,n){switch(e.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":e.type=n,e.source=t;break;case"block-scalar":{const r=e.props.slice(1);let o=t.length;"block-scalar-header"===e.props[0].type&&(o-=e.props[0].source.length);for(const e of r)e.offset+=o;delete e.props,Object.assign(e,{type:n,source:t,end:r});break}case"block-map":case"block-seq":{const r={type:"newline",offset:e.offset+t.length,indent:e.indent,source:"\n"};delete e.items,Object.assign(e,{type:n,source:t,end:[r]});break}default:{const r="indent"in e?e.indent:-1,o="end"in e&&Array.isArray(e.end)?e.end.filter((e=>"space"===e.type||"comment"===e.type||"newline"===e.type)):[];for(const t of Object.keys(e))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:n,indent:r,source:t,end:o})}}}const on=e=>"type"in e?sn(e):an(e);function sn(e){switch(e.type){case"block-scalar":{let t="";for(const n of e.props)t+=sn(n);return t+e.source}case"block-map":case"block-seq":{let t="";for(const n of e.items)t+=an(n);return t}case"flow-collection":{let t=e.start.source;for(const n of e.items)t+=an(n);for(const n of e.end)t+=n.source;return t}case"document":{let t=an(e);if(e.end)for(const n of e.end)t+=n.source;return t}default:{let t=e.source;if("end"in e&&e.end)for(const n of e.end)t+=n.source;return t}}}function an({start:e,key:t,sep:n,value:r}){let o="";for(const i of e)o+=i.source;if(t&&(o+=sn(t)),n)for(const i of n)o+=i.source;return r&&(o+=sn(r)),o}const un=Symbol("break visit"),cn=Symbol("skip children"),ln=Symbol("remove item");function fn(e,t){"type"in e&&"document"===e.type&&(e={start:e.start,value:e.value}),dn(Object.freeze([]),e,t)}function dn(e,t,n){let r=n(t,e);if("symbol"==typeof r)return r;for(const o of["key","value"]){const i=t[o];if(i&&"items"in i){for(let t=0;t {let n=e;for(const[r,o]of t){const e=n?.[r];if(!e||!("items"in e))return;n=e.items[o]}return n},fn.parentCollection=(e,t)=>{const n=fn.itemAtPath(e,t.slice(0,-1)),r=t[t.length-1][0],o=n?.[r];if(o&&"items"in o)return o;throw new Error("Parent collection not found")};const hn="\ufeff",pn="\x02",mn="\x18",gn="\x1f",yn=e=>!!e&&"items"in e,vn=e=>!!e&&("scalar"===e.type||"single-quoted-scalar"===e.type||"double-quoted-scalar"===e.type||"block-scalar"===e.type);function bn(e){switch(e){case hn:return"