=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,sT);return console.log(t),"string"!=typeof t.props.children?(0,go.jsx)(mb,{children:"..."}):(0,go.jsx)(aT,cT(cT({},n),{},{children:t.props.children}))},ul:function(e){e.node;var t=cb(e,ob);return(0,go.jsx)(tl,lb(lb({orientation:"vertical"},t),{},{sx:{display:"block",flexDirection:"column"},marker:"disc"}))},ol:function(e){e.node;var t=cb(e,ab);return(0,go.jsx)(tl,lb(lb({component:"ol",marker:"decimal",orientation:"vertical"},t),{},{sx:{display:"block",flexDirection:"column"}}))},li:function(e){var t=e.children,n=cb(e,ib);return(0,go.jsx)(dl,lb(lb({},n),{},{sx:{flexDirection:"column",alignItems:"flex-start"},children:(0,go.jsx)(nb,{children:(0,go.jsx)(as,{level:"body-sm",children:t})})}))}},n),{},{button:function(e){var t=e.linkto,n=e.children;return"string"!=typeof n?(0,go.jsx)(Wi,{children:n}):t?(0,go.jsx)(Wi,{component:bi,to:t,button:!0,size:"lg",children:n}):(0,go.jsx)(Wi,{children:n})}}),GT=function(e){return(0,go.jsx)(Bf,zT(zT({},e),{},{components:$T,remarkPlugins:[Am],rehypePlugins:[Vy]}))},WT=function(){return(0,go.jsx)(dc,{title:"Call for Proposals",children:(0,go.jsx)(GT,{children:'# Calls for Action\n\n## Calls for Presentations\nCall for Lightning Talks\n\nKNIT9 attendees have the opportunity to present lightning talks on the following topics:\n\n1. Enabling experimentation in various science domains\n2. Getting started with FABRIC -- Unique features, useful tricks, sharable services\n3. Experiments across FABRIC and other testbeds\n4. Propose a compelling new topic\n\nThese talks should show active FABRIC experiment views and results. For planned experiments, we encourage presenting planned topology and resources (FABRIC and other) as specific as possible.\n\nSubmissions are due July 15 via our [submission form](https://docs.google.com/forms/d/1x-JXFHXTNgN6-wkqcoBcnFNAvkPdRSCIrX_poPTXazw/viewform?edit_requested=true).\n\n\n\n
\n\nFor more questions, email [Chelsea Davis](mailto:cdavis@renci.org)'})})},VT=function(){return(0,go.jsx)(dc,{title:"Home",description:"Home of FABRIC's KNIT Worksop",children:(0,go.jsx)(GT,{children:'# KNIT 9\n\n## Registration is Open!\n\nSeptember 24 - 27, 2024 | Kansas City, MO\n \nKNIT 9, the next FABRIC Community Workshop, will take place September 24, 2024 in Kansas City, MO, and will be co-located with the MERIF Workshop. The workshop will include small-group, hands-on FABRIC tutorial sessions and advanced training topics. During the event, experimenters across multiple science domains will highlight their use of FABRIC to push forward compelling experiments. The FABRIC team will set the stage for the future of FABRIC and solicit feedback from fellow participants during talks and open mic sessions.\n\nThe last day to register is _Monday, September 2, 2024_.\nPrevious KNIT attendees and students are eligible to receive discounted pricing.\nSee what [travel accommodations](/travel) are available,\nand [register now](/registration)!\n\n\n\n\n
\n\n##### Funding Details\n\nFABRIC is funded by NSF grants CNS-1935966, CNS-2029176, CNS-2029200, CNS-2029235, CNS-2029260, CNS-2029261 and CNS-2330891.\n'})})},YT=function(){return(0,go.jsx)(dc,{title:"Not Found",children:(0,go.jsx)("h1",{children:"404: Not Found"})})},qT=function(){return(0,go.jsx)(dc,{title:"Registration",description:"Register for the KNIT workshop",children:(0,go.jsx)(GT,{children:'# Registration\n\n## When\n\n- Workshop: Tuesday September 24 - Friday September 27, 2024\n- Registration deadline: Monday, September 2, 2024\n\n## Where\n\nKansas City, MO\n\n## Cost\n\n- **Full KNIT-Only Registration**: $70\n\n*Please also stay the rest of the week for the MERIF Workshop. You can find the pricing information for MERIF on the registration link below.*\n\n\n\n
'})})},KT=function(){return(0,go.jsx)(dc,{title:"Travel",description:"View travel and lodging accommodations",children:(0,go.jsx)(GT,{children:'# Travel\n\n## Hotel Block\n\nSeptember 4 is the last day to reserve your room as part of the hotel block. Our team has reserved a hotel block from the evening of Monday September 23 through checkout on Friday September 27 at the Residence Inn.\n\n> Residence Inn\n\n> 4601 Broadway Blvd, Kansas City, MO 64112\n\nReservations can be made at the [hotel website](https://www.marriott.com/event-reservations/reservation-link.mi?id=1717098427388&key=GRP&app=resvlink).\n\n\n\n
\n\n## Travel Stipends\n\nTravel grant applications will be evaluated on there ability to increase the diversity of the KNIT conference through ...\n\n1. A wide range of institutions and organizations,\n2. Providing opportunities for attendees to contribute ideas, share expertise, and receive training, and\n3. The applicants ability to stimulate successful FABRIC experiments that can lead to important scientific impacts in a diverse range of science domains.\n\nImportant Note: In order to receive travel grant reimbursements, you are required to serve as an active note taker during the FABRIC KNIT Workshop sessions and fill out a feedback survey provided after the workshop. Should you be awarded, you will be given additional instructions for your note taking assignment.\n\n***Application form is now closed.***'})})},QT=function(e){var t=e.title,n=e.md;return(0,go.jsxs)(Xa,{component:"section",sx:{details:{my:2,backgroundColor:"#fff9",borderRadius:6,border:"1px solid",borderColor:"var(--variant-outlinedBorder, var(--knit-palette-neutral-outlinedBorder, var(--knit-palette-neutral-300, #456)))"},summary:{p:1,cursor:"pointer",fontFamily:"monospace",textTransform:"uppercase",transition:"filter 250ms",color:"var(--knit-palette-primary-dark)",filter:"saturate(0.0)","&:hover":{filter:"saturate(1.0)"}}},children:[(0,go.jsx)(Ya,{children:(0,go.jsx)(as,{sx:{fontSize:"300%"},children:t})}),(0,go.jsx)(mb,{variant:"outlined",children:(0,go.jsx)(GT,{children:n})}),(0,go.jsxs)("details",{children:[(0,go.jsx)("summary",{children:"Markdown Syntax"}),(0,go.jsx)(aT,{children:n})]})]})};QT.propTypes={title:pe().string.isRequired,md:pe().string.isRequired};var XT=function(){return(0,go.jsxs)(a.Fragment,{children:[(0,go.jsx)(QT,{md:"# Level 1 Heading\n## Level 2 Heading\n### Level 3 Heading\n#### Level 4 Heading\n##### Level 5 Heading\n###### Level 6 Heading\n",title:"Headings"}),(0,go.jsx)(QT,{md:"This is one line.\n\nThis line is separated from the previous line by two newlines (pressing Return twice), so it renders in a *separate paragraph*.\n\nThis is another paragraph.\nHowever, because it is comprised\nof text on adjacent lines,\nit renders as a single paragraph.\n",title:"Line Breaks"}),(0,go.jsx)(QT,{md:"The syntax for links has two parts--the text label for the link (enclosed in square brackets)\nimmediately followed by path to which that text is linked (enclosed in parentheses).\n\nBoth [Internal links](/some/page/on/this/site) and [external links](https://www.google.com) have the same syntax.\nNote that external links are automatically decorated with an icon and will open in a new tab.\n",title:"Links"}),(0,go.jsx)(QT,{md:"Italicize text with either *asterisks* or _underscores_.\n\nBold text with either **double asterisks** or __double underscores__.\n\nStrikethrough text with single or double tildes ~disregard this~ or ~~forget that.~~ \n",title:"Text Emphasis"}),(0,go.jsx)(QT,{md:'Here\'s an image from https://picsum.photos/.\n\n![Alternative text goes here](https://picsum.photos/600/200 "Tooltip text goes here")\n',title:"Images"}),(0,go.jsx)(QT,{md:"> Multi lorem ipsum ea quis exercitation aliqua cupidatat dolore pariatur commodo sint cillum enim minim ex ad enim.\n> Line fugiat dolor in eiusmod officia esse laboris in quis duis anim veniam officia ut sed veniam aute deserunt.\n> Quote sunt nisi reprehenderit velit aliquip cupidatat labore consectetur dolore irure sit exercitation dolore eu consectetur dolore.\n\nLabore commodo duis consectetur tempor minim dolore pariatur nostrud dolore ullamco proident ex id ut adipisicing.\n\n> Very long quote in pariatur minim consequat fugiat incididunt occaecat ad laborum cupidatat sit elit. Consectetur enim ea eiusmod veniam occaecat in culpa exercitation irure elit incididunt. Lorem ipsum in sit commodo cupidatat eiusmod officia aliqua minim laborum excepteur irure sunt reprehenderit. Proident exercitation sint est ex in voluptate cillum nostrud adipisicing reprehenderit aliqua minim non. Lorem ipsum laborum tempor tempor ut ullamco exercitation non cupidatat eu pariatur in. Blockquotes can include **Markdown**, too!\n",title:"Blockquotes"}),(0,go.jsx)(QT,{md:"Three hyphens on a line create a divider.\n\n---\n\nAlternatively, asterisks can be used.\n\n***\n",title:"Dividers"}),(0,go.jsx)(QT,{md:"Raw HTML syntax can be used:\n\nMarkdown _inside_ HTML inside markdown is **not** so reliable.\nHTML tags are, though.\n
",title:"Raw HTML"})]})},JT=function(){return(0,go.jsx)(dc,{size:"lg",title:"Markdown Showcase",children:(0,go.jsx)(XT,{})})},ZT=[{path:"/",label:"Home",view:(0,go.jsx)(VT,{})},{path:"/registration",label:"Registration",view:(0,go.jsx)(qT,{})},{path:"/travel",label:"Travel Info",view:(0,go.jsx)(KT,{})},{path:"/cfa",label:"Calls for Action",view:(0,go.jsx)(WT,{})}],eS=function(){return(0,go.jsxs)(a.Fragment,{children:[(0,go.jsx)(zs,{}),(0,go.jsx)(Ns,{options:ZT}),(0,go.jsx)("main",{children:(0,go.jsxs)(ce,{children:[ZT.map((function(e){var t=e.path,n=e.view,r=e.label;return(0,go.jsx)(se,{path:t,element:n},"route-".concat(r))})),(0,go.jsx)(se,{path:"__markdown",element:(0,go.jsx)(JT,{})}),(0,go.jsx)(se,{path:"*",element:(0,go.jsx)(YT,{})})]})}),(0,go.jsx)(gl,{})]})},tS=o(352);function nS(e){const{styles:t,defaultTheme:n={}}=e,r="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return(0,go.jsx)(ki,{styles:r})}const rS=a.createContext(null);function oS(){return a.useContext(rS)}const aS="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",iS=function(e){const{children:t,theme:n}=e,r=oS(),o=a.useMemo((()=>{const e=null===r?n:function(e,t){return"function"==typeof t?t(e):he({},e,t)}(r,n);return null!=e&&(e[aS]=null!==r),e}),[n,r]);return(0,go.jsx)(rS.Provider,{value:o,children:t})},sS={};function lS(e,t,n,r=!1){return a.useMemo((()=>{const o=e&&t[e]||t;if("function"==typeof n){const a=n(o),i=e?he({},t,{[e]:a}):a;return r?()=>i:i}return he({},t,e?{[e]:n}:n)}),[e,t,n,r])}const cS=function(e){const{children:t,theme:n,themeId:r}=e,o=Zn(sS),a=oS()||sS,i=lS(r,o,n),s=lS(r,a,n,!0);return(0,go.jsx)(iS,{theme:s,children:(0,go.jsx)(Jn.Provider,{value:i,children:t})})},uS="mode",dS="color-scheme",pS="data-color-scheme";function fS(e){if("undefined"!=typeof window&&"system"===e)return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function hS(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}function mS(e,t){if("undefined"==typeof window)return;let n;try{n=localStorage.getItem(e)||void 0,n||localStorage.setItem(e,t)}catch(e){}return n||t}const gS=["colorSchemes","components","generateCssVars","cssVarPrefix"],{CssVarsProvider:vS,useColorScheme:yS,getInitColorSchemeScript:bS}=function(e){const{themeId:t,theme:n={},attribute:r=pS,modeStorageKey:o=uS,colorSchemeStorageKey:i=dS,defaultMode:s="light",defaultColorScheme:l,disableTransitionOnChange:c=!1,resolveTheme:u,excludeVariablesFromRoot:d}=e;(!n.colorSchemes||"string"==typeof l&&!n.colorSchemes[l]||"object"==typeof l&&!n.colorSchemes[null==l?void 0:l.light]||"object"==typeof l&&!n.colorSchemes[null==l?void 0:l.dark])&&console.error(`MUI: \`${l}\` does not exist in \`theme.colorSchemes\`.`);const p=a.createContext(void 0),f="string"==typeof l?l:l.light,h="string"==typeof l?l:l.dark;return{CssVarsProvider:function({children:e,theme:f=n,modeStorageKey:h=o,colorSchemeStorageKey:m=i,attribute:g=r,defaultMode:v=s,defaultColorScheme:y=l,disableTransitionOnChange:b=c,storageWindow:E=("undefined"==typeof window?void 0:window),documentNode:T=("undefined"==typeof document?void 0:document),colorSchemeNode:S=("undefined"==typeof document?void 0:document.documentElement),colorSchemeSelector:k=":root",disableNestedContext:C=!1,disableStyleSheetGeneration:A=!1}){const _=a.useRef(!1),x=oS(),O=a.useContext(p),I=!!O&&!C,w=f[t],N=w||f,{colorSchemes:D={},components:R={},generateCssVars:P=(()=>({vars:{},css:{}})),cssVarPrefix:L}=N,M=fe(N,gS),B=Object.keys(D),F="string"==typeof y?y:y.light,H="string"==typeof y?y:y.dark,{mode:j,setMode:U,systemMode:z,lightColorScheme:$,darkColorScheme:G,colorScheme:W,setColorScheme:V}=function(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:o=[],modeStorageKey:i=uS,colorSchemeStorageKey:s=dS,storageWindow:l=("undefined"==typeof window?void 0:window)}=e,c=o.join(","),[u,d]=a.useState((()=>{const e=mS(i,t),o=mS(`${s}-light`,n),a=mS(`${s}-dark`,r);return{mode:e,systemMode:fS(e),lightColorScheme:o,darkColorScheme:a}})),p=function(e){return hS(e,(t=>"light"===t?e.lightColorScheme:"dark"===t?e.darkColorScheme:void 0))}(u),f=a.useCallback((e=>{d((n=>{if(e===n.mode)return n;const r=e||t;try{localStorage.setItem(i,r)}catch(e){}return he({},n,{mode:r,systemMode:fS(r)})}))}),[i,t]),h=a.useCallback((e=>{e?"string"==typeof e?e&&!c.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):d((t=>{const n=he({},t);return hS(t,(t=>{try{localStorage.setItem(`${s}-${t}`,e)}catch(e){}"light"===t&&(n.lightColorScheme=e),"dark"===t&&(n.darkColorScheme=e)})),n})):d((t=>{const o=he({},t),a=null===e.light?n:e.light,i=null===e.dark?r:e.dark;if(a)if(c.includes(a)){o.lightColorScheme=a;try{localStorage.setItem(`${s}-light`,a)}catch(e){}}else console.error(`\`${a}\` does not exist in \`theme.colorSchemes\`.`);if(i)if(c.includes(i)){o.darkColorScheme=i;try{localStorage.setItem(`${s}-dark`,i)}catch(e){}}else console.error(`\`${i}\` does not exist in \`theme.colorSchemes\`.`);return o})):d((e=>{try{localStorage.setItem(`${s}-light`,n),localStorage.setItem(`${s}-dark`,r)}catch(e){}return he({},e,{lightColorScheme:n,darkColorScheme:r})}))}),[c,s,n,r]),m=a.useCallback((e=>{"system"===u.mode&&d((t=>he({},t,{systemMode:null!=e&&e.matches?"dark":"light"})))}),[u.mode]),g=a.useRef(m);return g.current=m,a.useEffect((()=>{const e=(...e)=>g.current(...e),t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>t.removeListener(e)}),[]),a.useEffect((()=>{const e=e=>{const n=e.newValue;"string"!=typeof e.key||!e.key.startsWith(s)||n&&!c.match(n)||(e.key.endsWith("light")&&h({light:n}),e.key.endsWith("dark")&&h({dark:n})),e.key!==i||n&&!["light","dark","system"].includes(n)||f(n||t)};if(l)return l.addEventListener("storage",e),()=>l.removeEventListener("storage",e)}),[h,f,i,s,c,t,l]),he({},u,{colorScheme:p,setMode:f,setColorScheme:h})}({supportedColorSchemes:B,defaultLightColorScheme:F,defaultDarkColorScheme:H,modeStorageKey:h,colorSchemeStorageKey:m,defaultMode:v,storageWindow:E});let Y=j,q=W;I&&(Y=O.mode,q=O.colorScheme);const K=q||("dark"===(Y||("system"===v?s:v))?H:F),{css:Q,vars:X}=P(),J=he({},M,{components:R,colorSchemes:D,cssVarPrefix:L,vars:X,getColorSchemeSelector:e=>`[${g}="${e}"] &`}),Z={},ee={};Object.entries(D).forEach((([e,t])=>{const{css:n,vars:r}=P(e);if(J.vars=Se(J.vars,r),e===K&&(Object.keys(t).forEach((e=>{t[e]&&"object"==typeof t[e]?J[e]=he({},J[e],t[e]):J[e]=t[e]})),J.palette&&(J.palette.colorScheme=e)),e===("string"==typeof y?y:"dark"===v?y.dark:y.light)){if(d){const t={};d(L).forEach((e=>{t[e]=n[e],delete n[e]})),Z[`[${g}="${e}"]`]=t}Z[`${k}, [${g}="${e}"]`]=n}else ee[`${":root"===k?"":k}[${g}="${e}"]`]=n})),J.vars=Se(J.vars,X),a.useEffect((()=>{q&&S&&S.setAttribute(g,q)}),[q,g,S]),a.useEffect((()=>{let e;if(b&&_.current&&T){const t=T.createElement("style");t.appendChild(T.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),T.head.appendChild(t),window.getComputedStyle(T.body),e=setTimeout((()=>{T.head.removeChild(t)}),1)}return()=>{clearTimeout(e)}}),[q,b,T]),a.useEffect((()=>(_.current=!0,()=>{_.current=!1})),[]);const te=a.useMemo((()=>({mode:Y,systemMode:z,setMode:U,lightColorScheme:$,darkColorScheme:G,colorScheme:q,setColorScheme:V,allColorSchemes:B})),[B,q,G,$,Y,V,U,z]);let ne=!0;(A||I&&(null==x?void 0:x.cssVarPrefix)===L)&&(ne=!1);const re=(0,go.jsxs)(a.Fragment,{children:[ne&&(0,go.jsxs)(a.Fragment,{children:[(0,go.jsx)(nS,{styles:{[k]:Q}}),(0,go.jsx)(nS,{styles:Z}),(0,go.jsx)(nS,{styles:ee})]}),(0,go.jsx)(cS,{themeId:w?t:void 0,theme:u?u(J):J,children:e})]});return I?re:(0,go.jsx)(p.Provider,{value:te,children:re})},useColorScheme:()=>{const e=a.useContext(p);if(!e)throw new Error(ye(19));return e},getInitColorSchemeScript:e=>function(e){const{defaultMode:t="light",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:o=uS,colorSchemeStorageKey:a=dS,attribute:i=pS,colorSchemeNode:s="document.documentElement"}=e||{};return(0,go.jsx)("script",{dangerouslySetInnerHTML:{__html:`(function() {\ntry {\n var mode = localStorage.getItem('${o}') || '${t}';\n var colorScheme = '';\n if (mode === 'system') {\n // handle system mode\n var mql = window.matchMedia('(prefers-color-scheme: dark)');\n if (mql.matches) {\n colorScheme = localStorage.getItem('${a}-dark') || '${r}';\n } else {\n colorScheme = localStorage.getItem('${a}-light') || '${n}';\n }\n }\n if (mode === 'light') {\n colorScheme = localStorage.getItem('${a}-light') || '${n}';\n }\n if (mode === 'dark') {\n colorScheme = localStorage.getItem('${a}-dark') || '${r}';\n }\n if (colorScheme) {\n ${s}.setAttribute('${i}', colorScheme);\n }\n} catch(e){}})();`}},"mui-color-scheme-init")}(he({attribute:r,colorSchemeStorageKey:i,defaultMode:s,defaultLightColorScheme:f,defaultDarkColorScheme:h,modeStorageKey:o},e))}}({themeId:xr,theme:_r,attribute:"data-joy-color-scheme",modeStorageKey:"joy-mode",colorSchemeStorageKey:"joy-color-scheme",defaultColorScheme:{light:"light",dark:"dark"}});var ES={primary:{50:"#69C2F6",100:"#5ABAEF",200:"#4CB3E6",300:"#3DA9DD",400:"#2FA1D5",500:"#2198CC",600:"#128EC3",700:"#0386BA",800:"#007FB3",900:"#0075A9",main:"#47aae1",light:"#93e1f1",dark:"#2e7197",contrastText:"rgba(255, 255, 255, 0.87)",solidBg:"var(--knit-palette-primary-300)",solidActiveBg:"var(--knit-palette-primary-300)",outlinedBorder:"var(--knit-palette-primary-400)",outlinedColor:"var(--knit-palette-primary-600)",outlinedActiveBg:"var(--knit-palette-primary-900)",softColor:"var(--knit-palette-primary-400)",softBg:"var(--knit-palette-primary-50)",softActiveBg:"var(--knit-palette-primary-500)",plainColor:"var(--knit-palette-primary-700)",plainActiveBg:"var(--knit-palette-primary-200)"},secondary:{50:"#E6B489",100:"#DAAE80",200:"#CFA878",300:"#C49E6F",400:"#B99366",500:"#AE8E5D",600:"#A38354",700:"#98794B",800:"#8D6E42",900:"#826339",main:"#c19875",light:"#ffd9c9",dark:"#82624e",contrastText:"rgba(0, 0, 0, 0.87)",solidBg:"var(--knit-palette-secondary-400)",solidActiveBg:"var(--knit-palette-secondary-500)",outlinedBorder:"var(--knit-palette-secondary-700)",outlinedColor:"var(--knit-palette-secondary-600)",outlinedActiveBg:"var(--knit-palette-secondary-900)",softColor:"var(--knit-palette-secondary-500)",softBg:"var(--knit-palette-secondary-50)",softActiveBg:"var(--knit-palette-secondary-800)",plainColor:"var(--knit-palette-secondary-500)",plainActiveBg:"var(--knit-palette-secondary-900)"},tertiary:{50:"#4D5040",100:"#494B3E",200:"#45473D",300:"#41443B",400:"#3D4039",500:"#393C37",600:"#353934",700:"#313631",800:"#2D322F",900:"#292E2D",main:"#414535",light:"#565c46",dark:"#2b2d24",contrastText:"rgba(0, 0, 0, 0.87)",solidBg:"var(--knit-palette-tertiary-400)",solidActiveBg:"var(--knit-palette-tertiary-500)",outlinedBorder:"var(--knit-palette-tertiary-700)",outlinedColor:"var(--knit-palette-tertiary-600)",outlinedActiveBg:"var(--knit-palette-tertiary-900)",softColor:"var(--knit-palette-tertiary-500)",softBg:"var(--knit-palette-tertiary-50)",softActiveBg:"var(--knit-palette-tertiary-800)",plainColor:"var(--knit-palette-secondary-500)",plainActiveBg:"var(--knit-palette-secondary-900)"}};function TS(e){return TS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},TS(e)}function SS(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 kS(e){for(var t=1;t{const{determinate:t,color:n,variant:r,size:o}=e;return ve({root:["root",t&&"determinate",n&&`color${be(n)}`,r&&`variant${be(r)}`,o&&`size${be(o)}`],svg:["svg"],track:["track"],progress:["progress"]},Ai,{})})(m),v=he({},h,{component:d,slots:p,slotProps:f}),[y,b]=mo("root",{ref:t,className:ge(g.root,o),elementType:Di,externalForwardedProps:v,ownerState:m,additionalProps:he({role:"progressbar",style:{"--CircularProgress-percent":u}},u&&c&&{"aria-valuenow":"number"==typeof u?Math.round(u):Math.round(Number(u||0))})}),[E,T]=mo("svg",{className:g.svg,elementType:Ri,externalForwardedProps:v,ownerState:m}),[S,k]=mo("track",{className:g.track,elementType:Pi,externalForwardedProps:v,ownerState:m}),[C,A]=mo("progress",{className:g.progress,elementType:Li,externalForwardedProps:v,ownerState:m});return(0,go.jsxs)(y,he({},b,{children:[(0,go.jsxs)(E,he({},T,{children:[(0,go.jsx)(S,he({},k)),(0,go.jsx)(C,he({},A))]})),r]}))}));function Bi(e){return br("MuiButton",e)}const Fi=Er("MuiButton",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","focusVisible","disabled","sizeSm","sizeMd","sizeLg","fullWidth","startDecorator","endDecorator","loading","loadingIndicatorCenter"]),Hi=["children","action","color","variant","size","fullWidth","startDecorator","endDecorator","loading","loadingPosition","loadingIndicator","disabled","component","slots","slotProps"],ji=to("span",{name:"JoyButton",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})({"--Icon-margin":"0 0 0 calc(var(--Button-gap) / -2)","--CircularProgress-margin":"0 0 0 calc(var(--Button-gap) / -2)",display:"inherit",marginRight:"var(--Button-gap)"}),Ui=to("span",{name:"JoyButton",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})({"--Icon-margin":"0 calc(var(--Button-gap) / -2) 0 0","--CircularProgress-margin":"0 calc(var(--Button-gap) / -2) 0 0",display:"inherit",marginLeft:"var(--Button-gap)"}),zi=to("span",{name:"JoyButton",slot:"LoadingCenter",overridesResolver:(e,t)=>t.loadingIndicatorCenter})((({theme:e,ownerState:t})=>{var n,r;return he({display:"inherit",position:"absolute",left:"50%",transform:"translateX(-50%)",color:null==(n=e.variants[t.variant])||null==(n=n[t.color])?void 0:n.color},t.disabled&&{color:null==(r=e.variants[`${t.variant}Disabled`])||null==(r=r[t.color])?void 0:r.color})})),$i=to("button",{name:"JoyButton",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>{var n,r,o,a;return[he({"--Icon-margin":"initial","--Icon-color":"neutral"!==t.color||"solid"===t.variant?"currentColor":e.vars.palette.text.icon},"sm"===t.size&&{"--Icon-fontSize":e.vars.fontSize.lg,"--CircularProgress-size":"20px","--CircularProgress-thickness":"2px","--Button-gap":"0.375rem",minHeight:"var(--Button-minHeight, 2rem)",fontSize:e.vars.fontSize.sm,paddingBlock:"var(--Button-paddingBlock, 0.25rem)",paddingInline:"0.75rem"},"md"===t.size&&{"--Icon-fontSize":e.vars.fontSize.xl,"--CircularProgress-size":"20px","--CircularProgress-thickness":"2px","--Button-gap":"0.5rem",minHeight:"var(--Button-minHeight, 2.25rem)",fontSize:e.vars.fontSize.sm,paddingBlock:"var(--Button-paddingBlock, 0.375rem)",paddingInline:"1rem"},"lg"===t.size&&{"--Icon-fontSize":e.vars.fontSize.xl2,"--CircularProgress-size":"28px","--CircularProgress-thickness":"4px","--Button-gap":"0.75rem",minHeight:"var(--Button-minHeight, 2.75rem)",fontSize:e.vars.fontSize.md,paddingBlock:"var(--Button-paddingBlock, 0.5rem)",paddingInline:"1.5rem"},{WebkitTapHighlightColor:"transparent",boxSizing:"border-box",borderRadius:`var(--Button-radius, ${e.vars.radius.sm})`,margin:"var(--Button-margin)",border:"none",backgroundColor:"transparent",cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",textDecoration:"none",fontFamily:e.vars.fontFamily.body,fontWeight:e.vars.fontWeight.lg,lineHeight:e.vars.lineHeight.md},t.fullWidth&&{width:"100%"},{[e.focus.selector]:e.focus.default}),he({},null==(n=e.variants[t.variant])?void 0:n[t.color],{"&:hover":{"@media (hover: hover)":null==(r=e.variants[`${t.variant}Hover`])?void 0:r[t.color]},'&:active, &[aria-pressed="true"]':null==(o=e.variants[`${t.variant}Active`])?void 0:o[t.color],[`&.${Fi.disabled}`]:null==(a=e.variants[`${t.variant}Disabled`])?void 0:a[t.color]},"center"===t.loadingPosition&&{[`&.${Fi.loading}`]:{color:"transparent"}})]})),Gi=a.forwardRef((function(e,t){var n;const r=Or({props:e,name:"JoyButton"}),{children:o,action:i,color:s="primary",variant:l="solid",size:c="md",fullWidth:u=!1,startDecorator:d,endDecorator:p,loading:f=!1,loadingPosition:h="center",loadingIndicator:m,disabled:g,component:v,slots:y={},slotProps:b={}}=r,E=fe(r,Hi),T=a.useContext(Po),S=a.useContext(Lo),k=e.variant||T.variant||l,C=e.size||T.size||c,A=e.color||T.color||s,_=null!=(n=e.disabled||e.loading)?n:T.disabled||g||f,x=a.useRef(null),O=ao(x,t),{focusVisible:I,setFocusVisible:w,getRootProps:N}=Do(he({},r,{disabled:_,rootRef:O})),D=null!=m?m:(0,go.jsx)(Mi,{color:A,thickness:{sm:2,md:3,lg:4}[C]||3});a.useImperativeHandle(i,(()=>({focusVisible:()=>{var e;w(!0),null==(e=x.current)||e.focus()}})),[w]);const R=he({},r,{color:A,fullWidth:u,variant:k,size:C,focusVisible:I,loading:f,loadingPosition:h,disabled:_}),P=(e=>{const{color:t,disabled:n,focusVisible:r,focusVisibleClassName:o,fullWidth:a,size:i,variant:s,loading:l}=e,c=ve({root:["root",n&&"disabled",r&&"focusVisible",a&&"fullWidth",s&&`variant${be(s)}`,t&&`color${be(t)}`,i&&`size${be(i)}`,l&&"loading"],startDecorator:["startDecorator"],endDecorator:["endDecorator"],loadingIndicatorCenter:["loadingIndicatorCenter"]},Bi,{});return r&&o&&(c.root+=` ${o}`),c})(R);let L=r["aria-pressed"];"function"==typeof b.root?L=b.root(R)["aria-pressed"]:b.root&&(L=b.root["aria-pressed"]),null!=S&&S.value&&(L=Array.isArray(S.value)?-1!==S.value.indexOf(r.value):S.value===r.value);const M=he({},E,{component:v,slots:y,slotProps:b}),[B,F]=mo("root",{ref:t,className:P.root,elementType:$i,externalForwardedProps:M,getSlotProps:N,ownerState:R,additionalProps:{onClick:e=>{var t;let n=r.onClick;var o;"function"==typeof b.root?n=b.root(R).onClick:b.root&&(n=b.root.onClick),null==(t=n)||t(e),S&&(null==(o=S.onClick)||o.call(S,e,r.value))},"aria-pressed":L}}),[H,j]=mo("startDecorator",{className:P.startDecorator,elementType:ji,externalForwardedProps:M,ownerState:R}),[U,z]=mo("endDecorator",{className:P.endDecorator,elementType:Ui,externalForwardedProps:M,ownerState:R}),[$,G]=mo("loadingIndicatorCenter",{className:P.loadingIndicatorCenter,elementType:zi,externalForwardedProps:M,ownerState:R});return(0,go.jsxs)(B,he({},F,{children:[(d||f&&"start"===h)&&(0,go.jsx)(H,he({},j,{children:f&&"start"===h?D:d})),o,f&&"center"===h&&(0,go.jsx)($,he({},G,{children:D})),(p||f&&"end"===h)&&(0,go.jsx)(U,he({},z,{children:f&&"end"===h?D:p}))]}))}));Gi.muiName="Button";const Wi=Gi;function Vi(e,t){var n,r;return a.isValidElement(e)&&-1!==t.indexOf(null!=(n=e.type.muiName)?n:null==(r=e.type)||null==(r=r._payload)||null==(r=r.value)?void 0:r.muiName)}function Yi(e){return br("MuiLink",e)}const qi=Er("MuiLink",["root","disabled","focusVisible","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","focusVisible","variantPlain","variantOutlined","variantSoft","variantSolid","underlineNone","underlineHover","underlineAlways","h1","h2","h3","h4","title-lg","title-md","title-sm","body-lg","body-md","body-sm","body-xs","startDecorator","endDecorator"]);function Ki(e){return br("MuiTypography",e)}Er("MuiTypography",["root","h1","h2","h3","h4","title-lg","title-md","title-sm","body-lg","body-md","body-sm","body-xs","noWrap","gutterBottom","startDecorator","endDecorator","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);const Qi=["color","textColor"],Xi=["component","gutterBottom","noWrap","level","levelMapping","children","endDecorator","startDecorator","variant","slots","slotProps"],Ji=a.createContext(!1),Zi=a.createContext(!1),es=to("span",{name:"JoyTypography",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})({display:"inline-flex",marginInlineEnd:"clamp(4px, var(--Typography-gap, 0.375em), 0.75rem)"}),ts=to("span",{name:"JoyTypography",slot:"endDecorator",overridesResolver:(e,t)=>t.endDecorator})({display:"inline-flex",marginInlineStart:"clamp(4px, var(--Typography-gap, 0.375em), 0.75rem)"}),ns=to("span",{name:"JoyTypography",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>{var n,r,o,a,i;return he({"--Icon-fontSize":`calc(1em * ${"inherit"!==t.level?null==(n=e.typography[t.level])?void 0:n.lineHeight:"1"})`},t.color&&{"--Icon-color":"currentColor"},{margin:"var(--Typography-margin, 0px)"},t.nesting?{display:"inline"}:he({display:"block"},t.unstable_hasSkeleton&&{position:"relative"}),(t.startDecorator||t.endDecorator)&&he({display:"flex",alignItems:"center"},t.nesting&&he({display:"inline-flex"},t.startDecorator&&{verticalAlign:"bottom"})),t.level&&"inherit"!==t.level&&e.typography[t.level],{fontSize:`var(--Typography-fontSize, ${t.level&&"inherit"!==t.level&&null!=(r=null==(o=e.typography[t.level])?void 0:o.fontSize)?r:"inherit"})`},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.color&&{color:`var(--variant-plainColor, rgba(${null==(a=e.vars.palette[t.color])?void 0:a.mainChannel} / 1))`},t.variant&&he({borderRadius:e.vars.radius.xs,paddingBlock:"min(0.1em, 4px)",paddingInline:"0.25em"},!t.nesting&&{marginInline:"-0.25em"},null==(i=e.variants[t.variant])?void 0:i[t.color]))})),rs={h1:"h1",h2:"h2",h3:"h3",h4:"h4","title-lg":"p","title-md":"p","title-sm":"p","body-lg":"p","body-md":"p","body-sm":"p","body-xs":"span",inherit:"p"},os=a.forwardRef((function(e,t){var n;const r=Or({props:e,name:"JoyTypography"}),{color:o,textColor:i}=r,s=fe(r,Qi),l=a.useContext(Ji),c=a.useContext(Zi),u=Sa(he({},s,{color:i})),{component:d,gutterBottom:p=!1,noWrap:f=!1,level:h="body-md",levelMapping:m=rs,children:g,endDecorator:v,startDecorator:y,variant:b,slots:E={},slotProps:T={}}=u,S=fe(u,Xi),k=null!=(n=e.color)?n:b?null!=o?o:"neutral":o,C=l||c?e.level||"inherit":h,A=Vi(g,["Skeleton"]),_=d||(l?"span":m[C]||rs[C]||"span"),x=he({},u,{level:C,component:_,color:k,gutterBottom:p,noWrap:f,nesting:l,variant:b,unstable_hasSkeleton:A}),O=(e=>{const{gutterBottom:t,noWrap:n,level:r,color:o,variant:a}=e;return ve({root:["root",r,t&&"gutterBottom",n&&"noWrap",o&&`color${be(o)}`,a&&`variant${be(a)}`],startDecorator:["startDecorator"],endDecorator:["endDecorator"]},Ki,{})})(x),I=he({},S,{component:_,slots:E,slotProps:T}),[w,N]=mo("root",{ref:t,className:O.root,elementType:ns,externalForwardedProps:I,ownerState:x}),[D,R]=mo("startDecorator",{className:O.startDecorator,elementType:es,externalForwardedProps:I,ownerState:x}),[P,L]=mo("endDecorator",{className:O.endDecorator,elementType:ts,externalForwardedProps:I,ownerState:x});return(0,go.jsx)(Ji.Provider,{value:!0,children:(0,go.jsxs)(w,he({},N,{children:[y&&(0,go.jsx)(D,he({},R,{children:y})),A?a.cloneElement(g,{variant:g.props.variant||"inline"}):g,v&&(0,go.jsx)(P,he({},L,{children:v}))]}))})}));os.muiName="Typography";const as=os,is=["color","textColor","variant"],ss=["children","disabled","onBlur","onFocus","level","overlay","underline","endDecorator","startDecorator","component","slots","slotProps"],ls=to("span",{name:"JoyLink",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})((({ownerState:e})=>{var t;return he({display:"inline-flex",marginInlineEnd:"clamp(4px, var(--Link-gap, 0.375em), 0.75rem)"},"string"!=typeof e.startDecorator&&("flex-start"===e.alignItems||"flex-start"===(null==(t=e.sx)?void 0:t.alignItems))&&{marginTop:"2px"})})),cs=to("span",{name:"JoyLink",slot:"endDecorator",overridesResolver:(e,t)=>t.endDecorator})((({ownerState:e})=>{var t;return he({display:"inline-flex",marginInlineStart:"clamp(4px, var(--Link-gap, 0.25em), 0.5rem)"},"string"!=typeof e.startDecorator&&("flex-start"===e.alignItems||"flex-start"===(null==(t=e.sx)?void 0:t.alignItems))&&{marginTop:"2px"})})),us=to("a",{name:"JoyLink",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>{var n,r,o,a,i,s,l;return[he({"--Icon-fontSize":"1.25em","--Icon-color":"currentColor","--CircularProgress-size":"1.25em","--CircularProgress-thickness":"3px"},t.level&&"inherit"!==t.level&&e.typography[t.level],"inherit"===t.level&&{font:"inherit"},"none"===t.underline&&{textDecoration:"none"},"hover"===t.underline&&{textDecoration:"none","&:hover":{"@media (hover: hover)":{textDecorationLine:"underline"}}},"always"===t.underline&&{textDecoration:"underline"},t.startDecorator&&{verticalAlign:"bottom"},{textDecorationThickness:"max(0.08em, 1px)",textUnderlineOffset:"0.15em",display:"inline-flex",alignItems:"center",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:e.vars.radius.xs,padding:0,cursor:"pointer",textDecorationColor:`var(--variant-outlinedBorder, rgba(${null==(n=e.vars.palette[t.color])?void 0:n.mainChannel} / var(--Link-underlineOpacity, 0.72)))`},t.variant?he({paddingBlock:"min(0.1em, 4px)",paddingInline:"0.25em"},!t.nesting&&{marginInline:"-0.25em"}):{color:`var(--variant-plainColor, rgba(${null==(r=e.vars.palette[t.color])?void 0:r.mainChannel} / 1))`,[`&.${qi.disabled}`]:{pointerEvents:"none",color:`var(--variant-plainDisabledColor, rgba(${null==(o=e.vars.palette[t.color])?void 0:o.mainChannel} / 0.6))`}},{userSelect:"button"===t.component?"none":void 0,MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"}},t.overlay?{position:"initial","&::after":{content:'""',display:"block",position:"absolute",top:0,left:0,bottom:0,right:0,borderRadius:"var(--unstable_actionRadius, inherit)",margin:"var(--unstable_actionMargin)"},[`${e.focus.selector}`]:{"&::after":e.focus.default}}:{position:"relative",[e.focus.selector]:e.focus.default}),t.variant&&he({},null==(a=e.variants[t.variant])?void 0:a[t.color],{"&:hover":{"@media (hover: hover)":null==(i=e.variants[`${t.variant}Hover`])?void 0:i[t.color]},"&:active":null==(s=e.variants[`${t.variant}Active`])?void 0:s[t.color],[`&.${qi.disabled}`]:null==(l=e.variants[`${t.variant}Disabled`])?void 0:l[t.color]})]})),ds=a.forwardRef((function(e,t){const n=Or({props:e,name:"JoyLink"}),{color:r="primary",textColor:o,variant:i}=n,s=fe(n,is),l=a.useContext(Ji),c=a.useContext(Zi),u=Sa(he({},s,{color:o})),{children:d,disabled:p=!1,onBlur:f,onFocus:h,level:m="body-md",overlay:g=!1,underline:v="hover",endDecorator:y,startDecorator:b,component:E,slots:T={},slotProps:S={}}=u,k=fe(u,ss),C=l||c?e.level||"inherit":m,{isFocusVisibleRef:A,onBlur:_,onFocus:x,ref:O}=No(),[I,w]=a.useState(!1),N=ao(t,O),D=he({},u,{color:r,disabled:p,focusVisible:I,underline:v,variant:i,level:C,overlay:g,nesting:l}),R=(e=>{const{level:t,color:n,variant:r,underline:o,focusVisible:a,disabled:i}=e;return ve({root:["root",n&&`color${be(n)}`,i&&"disabled",a&&"focusVisible",t,o&&`underline${be(o)}`,r&&`variant${be(r)}`],startDecorator:["startDecorator"],endDecorator:["endDecorator"]},Yi,{})})(D),P=he({},k,{component:E,slots:T,slotProps:S}),[L,M]=mo("root",{additionalProps:{onBlur:e=>{_(e),!1===A.current&&w(!1),f&&f(e)},onFocus:e=>{x(e),!0===A.current&&w(!0),h&&h(e)}},ref:N,className:R.root,elementType:us,externalForwardedProps:P,ownerState:D}),[B,F]=mo("startDecorator",{className:R.startDecorator,elementType:ls,externalForwardedProps:P,ownerState:D}),[H,j]=mo("endDecorator",{className:R.endDecorator,elementType:cs,externalForwardedProps:P,ownerState:D});return(0,go.jsx)(Ji.Provider,{value:!0,children:(0,go.jsxs)(L,he({},M,{children:[b&&(0,go.jsx)(B,he({},F,{children:b})),Vi(d,["Skeleton"])?a.cloneElement(d,{variant:d.props.variant||"inline"}):d,y&&(0,go.jsx)(H,he({},j,{children:y}))]}))})}));function ps(e){return ps="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ps(e)}var fs=["to","children","button"];function hs(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 ms(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,fs);return(0,go.jsx)(a.Fragment,{children:r?(0,go.jsx)(Wi,{component:"a",href:t,endDecorator:(0,go.jsx)(Ti,{color:"#fff"}),size:"lg",target:"_blank",rel:"noopener noreferrer",children:n}):(0,go.jsxs)(a.Fragment,{children:[(0,go.jsx)(ds,ms(ms({component:r?"button":null,href:t,target:"_blank",rel:"noopener noreferrer"},o),{},{children:n})),(0,go.jsx)(Ti,{})]})})};function vs(e){return vs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vs(e)}function ys(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}gs.propTypes=ms({},yi);var bs=function(e){var t=e.to,n=e.children;return(0,go.jsxs)(a.Fragment,{children:[(0,go.jsx)("a",{href:t,children:n}),(0,go.jsx)(Si,{})]})};bs.propTypes=function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n a":{width:"100%",padding:2,textDecoration:"none",color:"#00758d",textTransform:"uppercase"},'[aria-current="page"]':{backgroundColor:"#0001"}},children:o.map((function(e){var t=e.label,n=e.path;return(0,go.jsx)("li",{className:"list-item",onClick:function(){return l(!1)},children:(0,go.jsx)(bi,{nav:!0,to:n,children:t})},n)}))})]})]})};function As(e){return As="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},As(e)}function _s(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}Cs.propTypes=function(e){for(var t=1;t a":{width:"100%",p:2,textDecoration:"none",color:"var(--knit-palette-primary-900)",textTransform:"uppercase",letterSpacing:"0.5px"},'[aria-current="page"]':{backgroundColor:"#0001"}},children:n.map((function(e){var t=e.label,n=e.path;return(0,go.jsx)("li",{className:"list-item",children:(0,go.jsx)(bi,{nav:!0,to:n,children:t})},n)}))})};function Os(e,t,n){return e[t]?e[t][0]?e[t][0][n]:e[t][n]:"contentBoxSize"===t?e.contentRect["inlineSize"===n?"width":"height"]:void 0}function Is(e){return Is="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Is(e)}function ws(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}xs.propTypes=function(e){for(var t=1;t{const e=tr(_r);return e[xr]||e})();return(0,go.jsx)(bo,{ref:o,sx:{backgroundColor:"var(--knit-palette-common-white)",display:"flex",justifyContent:"flex-start",alignItems:"center",height:"60px",border:"solid var(--knit-palette-primary-700)",borderWidth:"1px 0",position:"sticky",top:0,overflow:"hidden",zIndex:9},children:sa.isValidElement(e)?a.cloneElement(e,he({},0===n&&{"data-first-child":""},n===a.Children.count(t)-1&&{"data-last-child":""})):e))})});return void 0===n?i:(0,go.jsx)(Gs.Provider,{value:n,children:i})},Qs=a.createContext(void 0),Xs=["component","className","children","size","orientation","wrap","variant","color","role","slots","slotProps"],Js=to("ul")((({theme:e,ownerState:t})=>{var n;const{p:r,padding:o,borderRadius:a}=no({theme:e,ownerState:t},["p","padding","borderRadius"]);function i(n){return"sm"===n?{"--ListDivider-gap":"0.25rem","--ListItem-minHeight":"2rem","--ListItem-paddingY":"3px","--ListItem-paddingX":t.marker?"3px":"0.5rem","--ListItem-gap":"0.5rem","--ListItemDecorator-size":"horizontal"===t.orientation?"1.5rem":"2rem","--Icon-fontSize":e.vars.fontSize.lg}:"md"===n?{"--ListDivider-gap":"0.375rem","--ListItem-minHeight":"2.25rem","--ListItem-paddingY":"0.25rem","--ListItem-paddingX":t.marker?"0.25rem":"0.75rem","--ListItem-gap":"0.625rem","--ListItemDecorator-size":"horizontal"===t.orientation?"1.75rem":"2.5rem","--Icon-fontSize":e.vars.fontSize.xl}:"lg"===n?{"--ListDivider-gap":"0.5rem","--ListItem-minHeight":"2.75rem","--ListItem-paddingY":"0.375rem","--ListItem-paddingX":t.marker?"0.5rem":"1rem","--ListItem-gap":"0.75rem","--ListItemDecorator-size":"horizontal"===t.orientation?"2.25rem":"3rem","--Icon-fontSize":e.vars.fontSize.xl2}:{}}return[t.nesting&&he({},i(t.instanceSize),{"--ListItem-paddingRight":"var(--ListItem-paddingX)","--ListItem-paddingLeft":"var(--NestedListItem-paddingLeft)","--ListItemButton-marginBlock":"0px","--ListItemButton-marginInline":"0px","--ListItem-marginBlock":"0px","--ListItem-marginInline":"0px",padding:0},t.marker&&{paddingInlineStart:"calc(3ch - var(--_List-markerDeduct, 0px))"},{marginInlineStart:"var(--NestedList-marginLeft)",marginInlineEnd:"var(--NestedList-marginRight)",marginBlockStart:"var(--List-gap)",marginBlockEnd:"initial"}),!t.nesting&&he({},i(t.size),{"--List-gap":"0px","--List-nestedInsetStart":"0px","--ListItem-paddingLeft":"var(--ListItem-paddingX)","--ListItem-paddingRight":"var(--ListItem-paddingX)"},t.marker&&{"--_List-markerDeduct":"1ch"},{"--unstable_List-childRadius":"calc(max(var(--List-radius) - var(--List-padding), min(var(--List-padding) / 2, var(--List-radius) / 2)) - var(--variant-borderWidth, 0px))","--ListItem-radius":"var(--unstable_List-childRadius)","--ListItem-startActionTranslateX":"calc(0.5 * var(--ListItem-paddingLeft))","--ListItem-endActionTranslateX":"calc(-0.5 * var(--ListItem-paddingRight))",margin:"initial"},e.typography[`body-${t.size}`],"horizontal"===t.orientation?he({},t.wrap?{padding:"var(--List-padding)",marginInlineStart:"calc(-1 * var(--List-gap))",marginBlockStart:"calc(-1 * var(--List-gap))"}:{paddingInline:"var(--List-padding, var(--ListDivider-gap))",paddingBlock:"var(--List-padding)"}):{paddingBlock:"var(--List-padding, var(--ListDivider-gap))",paddingInline:"var(--List-padding)"},t.marker&&{paddingInlineStart:"3ch"}),he({boxSizing:"border-box",borderRadius:"var(--List-radius)",listStyle:"none",display:"flex",flexDirection:"horizontal"===t.orientation?"row":"column"},t.wrap&&{flexWrap:"wrap"},t.marker&&{"--_List-markerDisplay":"list-item","--_List-markerType":t.marker,lineHeight:"calc(var(--ListItem-minHeight) - 2 * var(--ListItem-paddingY))"},{flexGrow:1,position:"relative"},null==(n=e.variants[t.variant])?void 0:n[t.color],{"--unstable_List-borderWidth":"var(--variant-borderWidth, 0px)"},void 0!==a&&{"--List-radius":a},void 0!==r&&{"--List-padding":r},void 0!==o&&{"--List-padding":o})]})),Zs=to(Js,{name:"JoyList",slot:"Root",overridesResolver:(e,t)=>t.root})({}),el=a.forwardRef((function(e,t){var n;const r=a.useContext(Gs),o=a.useContext(Vs),i=a.useContext(Qs),s=Or({props:e,name:"JoyList"}),{component:l,className:c,children:u,size:d,orientation:p="vertical",wrap:f=!1,variant:h="plain",color:m="neutral",role:g,slots:v={},slotProps:y={}}=s,b=fe(s,Xs),E=d||(null!=(n=e.size)?n:"md");let T;o&&(T="group"),i&&(T="presentation"),g&&(T=g);const S=he({},s,{instanceSize:e.size,size:E,nesting:r,orientation:p,wrap:f,variant:h,color:m,role:T}),k=(e=>{const{variant:t,color:n,size:r,nesting:o,orientation:a,instanceSize:i}=e;return ve({root:["root",a,t&&`variant${be(t)}`,n&&`color${be(n)}`,!i&&!o&&r&&`size${be(r)}`,i&&`size${be(i)}`,o&&"nesting"]},$s,{})})(S),C=he({},b,{component:l,slots:v,slotProps:y}),[A,_]=mo("root",{ref:t,className:ge(k.root,c),elementType:Zs,externalForwardedProps:C,ownerState:S,additionalProps:{as:l,role:T,"aria-labelledby":"string"==typeof r?r:void 0}});return(0,go.jsx)(A,he({},_,{children:(0,go.jsx)(Ws.Provider,{value:`${"string"==typeof l?l:""}:${T||""}`,children:(0,go.jsx)(Ks,{row:"horizontal"===p,wrap:f,children:u})})}))})),tl=el;function nl(e){return br("MuiListItem",e)}const rl=Er("MuiListItem",["root","startAction","endAction","nested","nesting","sticky","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantSoft","variantOutlined","variantSolid"]),ol=a.createContext(void 0),al=["component","className","children","nested","sticky","variant","color","startAction","endAction","role","slots","slotProps"],il=to("li")((({theme:e,ownerState:t})=>{var n;return[!t.nested&&{"--ListItemButton-marginInline":"calc(-1 * var(--ListItem-paddingLeft)) calc(-1 * var(--ListItem-paddingRight))","--ListItemButton-marginBlock":"calc(-1 * var(--ListItem-paddingY))",alignItems:"center",gap:"var(--ListItem-gap)",marginInline:"var(--ListItem-marginInline)"},t.nested&&{"--NestedList-marginRight":"calc(-1 * var(--ListItem-paddingRight))","--NestedList-marginLeft":"calc(-1 * var(--ListItem-paddingLeft))","--NestedListItem-paddingLeft":"calc(var(--ListItem-paddingLeft) + var(--List-nestedInsetStart))","--ListItemButton-marginBlock":"0px","--ListItemButton-marginInline":"calc(-1 * var(--ListItem-paddingLeft)) calc(-1 * var(--ListItem-paddingRight))","--ListItem-marginInline":"calc(-1 * var(--ListItem-paddingLeft)) calc(-1 * var(--ListItem-paddingRight))",flexDirection:"column"},he({"--unstable_actionRadius":"calc(var(--ListItem-radius) - var(--variant-borderWidth, 0px))"},t.startAction&&{"--unstable_startActionWidth":"2rem"},t.endAction&&{"--unstable_endActionWidth":"2.5rem"},{boxSizing:"border-box",borderRadius:"var(--ListItem-radius)",display:"var(--_ListItem-display)","&:not([hidden])":{"--_ListItem-display":"var(--_List-markerDisplay, flex)"},flex:"none",listStyleType:"var(--_List-markerType, disc)",position:"relative",paddingBlockStart:t.nested?0:"var(--ListItem-paddingY)",paddingBlockEnd:t.nested?0:"var(--ListItem-paddingY)",paddingInlineStart:"var(--ListItem-paddingLeft)",paddingInlineEnd:"var(--ListItem-paddingRight)"},void 0===t["data-first-child"]&&he({},t.row?{marginInlineStart:"var(--List-gap)"}:{marginBlockStart:"var(--List-gap)"}),t.row&&t.wrap&&{marginInlineStart:"var(--List-gap)",marginBlockStart:"var(--List-gap)"},{minBlockSize:"var(--ListItem-minHeight)"},t.sticky&&{position:"sticky",top:"var(--ListItem-stickyTop, 0px)",zIndex:1,background:`var(--ListItem-stickyBackground, ${e.vars.palette.background.body})`},{[`.${rl.nested} > &`]:{"--_ListItem-display":"flex"}}),null==(n=e.variants[t.variant])?void 0:n[t.color]]})),sl=to(il,{name:"JoyListItem",slot:"Root",overridesResolver:(e,t)=>t.root})({}),ll=to("div",{name:"JoyListItem",slot:"StartAction",overridesResolver:(e,t)=>t.startAction})((({ownerState:e})=>({display:"inherit",position:"absolute",top:e.nested?"calc(var(--ListItem-minHeight) / 2)":"50%",left:0,transform:"translate(var(--ListItem-startActionTranslateX), -50%)",zIndex:1}))),cl=to("div",{name:"JoyListItem",slot:"StartAction",overridesResolver:(e,t)=>t.startAction})((({ownerState:e})=>({display:"inherit",position:"absolute",top:e.nested?"calc(var(--ListItem-minHeight) / 2)":"50%",right:0,transform:"translate(var(--ListItem-endActionTranslateX), -50%)"}))),ul=a.forwardRef((function(e,t){const n=Or({props:e,name:"JoyListItem"}),r=a.useContext(Vs),o=a.useContext(Ws),i=a.useContext(Ys),s=a.useContext(qs),l=a.useContext(Gs),{component:c,className:u,children:d,nested:p=!1,sticky:f=!1,variant:h="plain",color:m="neutral",startAction:g,endAction:v,role:y,slots:b={},slotProps:E={}}=n,T=fe(n,al),[S,k]=a.useState(""),[C,A]=(null==o?void 0:o.split(":"))||["",""],_=c||(C&&!C.match(/^(ul|ol|menu)$/)?"div":void 0);let x="menu"===r?"none":void 0;o&&(x={menu:"none",menubar:"none",group:"presentation"}[A]),y&&(x=y);const O=he({},n,{sticky:f,startAction:g,endAction:v,row:i,wrap:s,variant:h,color:m,nesting:l,nested:p,component:_,role:x}),I=(e=>{const{sticky:t,nested:n,nesting:r,variant:o,color:a}=e;return ve({root:["root",n&&"nested",r&&"nesting",t&&"sticky",a&&`color${be(a)}`,o&&`variant${be(o)}`],startAction:["startAction"],endAction:["endAction"]},nl,{})})(O),w=he({},T,{component:_,slots:b,slotProps:E}),[N,D]=mo("root",{additionalProps:{role:x},ref:t,className:ge(I.root,u),elementType:sl,externalForwardedProps:w,ownerState:O}),[R,P]=mo("startAction",{className:I.startAction,elementType:ll,externalForwardedProps:w,ownerState:O}),[L,M]=mo("endAction",{className:I.endAction,elementType:cl,externalForwardedProps:w,ownerState:O});return(0,go.jsx)(ol.Provider,{value:k,children:(0,go.jsx)(Gs.Provider,{value:!!p&&(S||!0),children:(0,go.jsxs)(N,he({},D,{children:[g&&(0,go.jsx)(R,he({},P,{children:g})),a.Children.map(d,((e,t)=>a.isValidElement(e)?a.cloneElement(e,he({},0===t&&{"data-first-child":""},Vi(e,["ListItem"])&&{component:e.props.component||"div"})):e)),v&&(0,go.jsx)(L,he({},M,{children:v}))]}))})})}));ul.muiName="ListItem";const dl=ul;var pl,fl,hl,ml,gl=function(){return(0,go.jsx)(bo,{component:"footer",sx:{backgroundColor:"var(--knit-palette-common-black)",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",gap:2,p:2,py:6,".copyright":{color:"var(--knit-palette-primary-900)",marginTop:"1rem"},".links-list a":{color:"var(--knit-palette-primary-400)","&:hover":{color:"var(--knit-palette-primary-100)"}}},children:(0,go.jsx)(Ps,{children:(0,go.jsxs)(wa,{direction:{xs:"column",sm:"row"},alignContent:"space-around",children:[(0,go.jsxs)(wa,{direction:"column",flex:"1",alignItems:{xs:"flex-start",sm:"flex-start"},justifyContent:"center",children:[(0,go.jsx)(Us,{size:"medium"}),(0,go.jsxs)(as,{align:"center",className:"copyright",children:["© ",(new Date).getFullYear()]})]}),(0,go.jsx)(wa,{direction:"column",flex:"1",alignItems:{xs:"flex-start",sm:"center"},children:(0,go.jsxs)(tl,{className:"links-list",children:[(0,go.jsx)(dl,{children:(0,go.jsx)(bi,{to:"https://portal.fabric-testbed.net/",children:"FABRIC Portal"})}),(0,go.jsx)(dl,{children:(0,go.jsx)(bi,{to:"https://join.slack.com/t/fabric-3qa1674/shared_invite/zt-2jryx0baq-2U8yQNfqNGAP~r5vMz1hZg",children:"Community Slack Channel"})}),(0,go.jsx)(dl,{children:(0,go.jsx)(bi,{to:"https://portal.fabric-testbed.net/help",children:"Contact Us"})})]})})]})})})},vl=o(584),yl=o.n(vl),bl=o(448),El=o.n(bl),Tl=o(456),Sl=o.n(Tl),kl="bodyAttributes",Cl="htmlAttributes",Al={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},_l=(Object.keys(Al).map((function(e){return Al[e]})),"charset"),xl="cssText",Ol="href",Il="innerHTML",wl="itemprop",Nl="rel",Dl={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},Rl=Object.keys(Dl).reduce((function(e,t){return e[Dl[t]]=t,e}),{}),Pl=[Al.NOSCRIPT,Al.SCRIPT,Al.STYLE],Ll="data-react-helmet",Ml="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bl=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},jl=function(e){return!1===(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])?String(e):String(e).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},Ul=function(e){var t=Vl(e,Al.TITLE),n=Vl(e,"titleTemplate");if(n&&t)return n.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var r=Vl(e,"defaultTitle");return t||r||void 0},zl=function(e){return Vl(e,"onChangeClientState")||function(){}},$l=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return Fl({},e,t)}),{})},Gl=function(e,t){return t.filter((function(e){return void 0!==e[Al.BASE]})).map((function(e){return e[Al.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),o=0;o=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},Yl=(pl=Date.now(),function(e){var t=Date.now();t-pl>16?(pl=t,e(t)):setTimeout((function(){Yl(e)}),0)}),ql=function(e){return clearTimeout(e)},Kl="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||Yl:o.g.requestAnimationFrame||Yl,Ql="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||ql:o.g.cancelAnimationFrame||ql,Xl=function(e){return console&&"function"==typeof console.warn&&console.warn(e)},Jl=null,Zl=function(e,t){var n=e.baseTag,r=e.bodyAttributes,o=e.htmlAttributes,a=e.linkTags,i=e.metaTags,s=e.noscriptTags,l=e.onChangeClientState,c=e.scriptTags,u=e.styleTags,d=e.title,p=e.titleAttributes;nc(Al.BODY,r),nc(Al.HTML,o),tc(d,p);var f={baseTag:rc(Al.BASE,n),linkTags:rc(Al.LINK,a),metaTags:rc(Al.META,i),noscriptTags:rc(Al.NOSCRIPT,s),scriptTags:rc(Al.SCRIPT,c),styleTags:rc(Al.STYLE,u)},h={},m={};Object.keys(f).forEach((function(e){var t=f[e],n=t.newTags,r=t.oldTags;n.length&&(h[e]=n),r.length&&(m[e]=f[e].oldTags)})),t&&t(),l(e,h,m)},ec=function(e){return Array.isArray(e)?e.join(""):e},tc=function(e,t){void 0!==e&&document.title!==e&&(document.title=ec(e)),nc(Al.TITLE,t)},nc=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute(Ll),o=r?r.split(","):[],a=[].concat(o),i=Object.keys(t),s=0;s=0;d--)n.removeAttribute(a[d]);o.length===a.length?n.removeAttribute(Ll):n.getAttribute(Ll)!==i.join(",")&&n.setAttribute(Ll,i.join(","))}},rc=function(e,t){var n=document.head||document.querySelector(Al.HEAD),r=n.querySelectorAll(e+"["+Ll+"]"),o=Array.prototype.slice.call(r),a=[],i=void 0;return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===Il)n.innerHTML=t.innerHTML;else if(r===xl)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var s=void 0===t[r]?"":t[r];n.setAttribute(r,s)}n.setAttribute(Ll,"true"),o.some((function(e,t){return i=t,n.isEqualNode(e)}))?o.splice(i,1):a.push(n)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),a.forEach((function(e){return n.appendChild(e)})),{oldTags:o,newTags:a}},oc=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},ac=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[Dl[n]||n]=e[n],t}),t)},ic=function(e,t,n){switch(e){case Al.TITLE:return{toComponent:function(){return e=t.title,n=t.titleAttributes,(r={key:e})[Ll]=!0,o=ac(n,r),[a.createElement(Al.TITLE,o,e)];var e,n,r,o},toString:function(){return function(e,t,n,r){var o=oc(n),a=ec(t);return o?"<"+e+" "+Ll+'="true" '+o+">"+jl(a,r)+""+e+">":"<"+e+" "+Ll+'="true">'+jl(a,r)+""+e+">"}(e,t.title,t.titleAttributes,n)}};case kl:case Cl:return{toComponent:function(){return ac(t)},toString:function(){return oc(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var r,o=((r={key:n})[Ll]=!0,r);return Object.keys(t).forEach((function(e){var n=Dl[e]||e;if(n===Il||n===xl){var r=t.innerHTML||t.cssText;o.dangerouslySetInnerHTML={__html:r}}else o[n]=t[e]})),a.createElement(e,o)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var o=Object.keys(r).filter((function(e){return!(e===Il||e===xl)})).reduce((function(e,t){var o=void 0===r[t]?t:t+'="'+jl(r[t],n)+'"';return e?e+" "+o:o}),""),a=r.innerHTML||r.cssText||"",i=-1===Pl.indexOf(e);return t+"<"+e+" "+Ll+'="true" '+o+(i?"/>":">"+a+""+e+">")}),"")}(e,t,n)}}}},sc=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,o=e.htmlAttributes,a=e.linkTags,i=e.metaTags,s=e.noscriptTags,l=e.scriptTags,c=e.styleTags,u=e.title,d=void 0===u?"":u,p=e.titleAttributes;return{base:ic(Al.BASE,t,r),bodyAttributes:ic(kl,n,r),htmlAttributes:ic(Cl,o,r),link:ic(Al.LINK,a,r),meta:ic(Al.META,i,r),noscript:ic(Al.NOSCRIPT,s,r),script:ic(Al.SCRIPT,l,r),style:ic(Al.STYLE,c,r),title:ic(Al.TITLE,{title:d,titleAttributes:p},r)}},lc=yl()((function(e){return{baseTag:Gl([Ol,"target"],e),bodyAttributes:$l(kl,e),defer:Vl(e,"defer"),encode:Vl(e,"encodeSpecialCharacters"),htmlAttributes:$l(Cl,e),linkTags:Wl(Al.LINK,[Nl,Ol],e),metaTags:Wl(Al.META,["name",_l,"http-equiv","property",wl],e),noscriptTags:Wl(Al.NOSCRIPT,[Il],e),onChangeClientState:zl(e),scriptTags:Wl(Al.SCRIPT,["src",Il],e),styleTags:Wl(Al.STYLE,[xl],e),title:Ul(e),titleAttributes:$l("titleAttributes",e)}}),(function(e){Jl&&Ql(Jl),e.defer?Jl=Kl((function(){Zl(e,(function(){Jl=null}))})):(Zl(e),Jl=null)}),sc)((function(){return null})),cc=(fl=lc,ml=hl=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.shouldComponentUpdate=function(e){return!El()(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case Al.SCRIPT:case Al.NOSCRIPT:return{innerHTML:t};case Al.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},t.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren,o=e.newChildProps,a=e.nestedChildren;return Fl({},r,((t={})[n.type]=[].concat(r[n.type]||[],[Fl({},o,this.mapNestedChildrenToProps(n,a))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,o=e.newProps,a=e.newChildProps,i=e.nestedChildren;switch(r.type){case Al.TITLE:return Fl({},o,((t={})[r.type]=i,t.titleAttributes=Fl({},a),t));case Al.BODY:return Fl({},o,{bodyAttributes:Fl({},a)});case Al.HTML:return Fl({},o,{htmlAttributes:Fl({},a)})}return Fl({},o,((n={})[r.type]=Fl({},a),n))},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=Fl({},t);return Object.keys(e).forEach((function(t){var r;n=Fl({},n,((r={})[t]=e[t],r))})),n},t.prototype.warnOnInvalidChildren=function(e,t){return!0},t.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return a.Children.forEach(e,(function(e){if(e&&e.props){var o=e.props,a=o.children,i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[Rl[n]||n]=e[n],t}),t)}(Hl(o,["children"]));switch(n.warnOnInvalidChildren(e,a),e.type){case Al.LINK:case Al.META:case Al.NOSCRIPT:case Al.SCRIPT:case Al.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:i,nestedChildren:a});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:i,nestedChildren:a})}}})),t=this.mapArrayTypeChildrenToProps(r,t)},t.prototype.render=function(){var e=this.props,t=e.children,n=Hl(e,["children"]),r=Fl({},n);return t&&(r=this.mapChildrenToProps(t,r)),a.createElement(fl,r)},Bl(t,null,[{key:"canUseDOM",set:function(e){fl.canUseDOM=e}}]),t}(a.Component),hl.propTypes={base:pe().object,bodyAttributes:pe().object,children:pe().oneOfType([pe().arrayOf(pe().node),pe().node]),defaultTitle:pe().string,defer:pe().bool,encodeSpecialCharacters:pe().bool,htmlAttributes:pe().object,link:pe().arrayOf(pe().object),meta:pe().arrayOf(pe().object),noscript:pe().arrayOf(pe().object),onChangeClientState:pe().func,script:pe().arrayOf(pe().object),style:pe().arrayOf(pe().object),title:pe().string,titleAttributes:pe().object,titleTemplate:pe().string},hl.defaultProps={defer:!0,encodeSpecialCharacters:!0},hl.peek=fl.peek,hl.rewind=function(){var e=fl.rewind();return e||(e=sc({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),e},ml);cc.renderStatic=cc.rewind;var uc=Object.keys(Rs),dc=function(e){var t=e.children,n=e.title,r=e.description,o=e.size;return(0,go.jsxs)(a.Fragment,{children:[(0,go.jsxs)(cc,{children:[(0,go.jsx)("title",{children:n?"".concat(n," | KNIT Workshop"):"KNIT Workshop"}),(0,go.jsx)("meta",{name:"description",content:r})]}),(0,go.jsx)(Ps,{size:o,children:t})]})};function pc(e){const t=[],n=String(e||"");let r=n.indexOf(","),o=0,a=!1;for(;!a;){-1===r&&(r=n.length,a=!0);const e=n.slice(o,r).trim();!e&&a||t.push(e),o=r+1,r=n.indexOf(",",o)}return t}function fc(e,t){const n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}dc.propTypes={children:pe().node,title:pe().string,description:pe().string,size:pe().oneOf(uc)};const hc=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,mc=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,gc={};function vc(e,t){return((t||gc).jsx?mc:hc).test(e)}const yc=/[ \t\n\f\r]/g;function bc(e){return""===e.replace(yc,"")}class Ec{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function Tc(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}}),Hc=Bc({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function jc(e,t){return t in e?e[t]:t}function Uc(e,t){return jc(e,t.toLowerCase())}const zc=Bc({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Uc,properties:{xmlns:null,xmlnsXLink:null}}),$c=Bc({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:_c,ariaAutoComplete:null,ariaBusy:_c,ariaChecked:_c,ariaColCount:Oc,ariaColIndex:Oc,ariaColSpan:Oc,ariaControls:Ic,ariaCurrent:null,ariaDescribedBy:Ic,ariaDetails:null,ariaDisabled:_c,ariaDropEffect:Ic,ariaErrorMessage:null,ariaExpanded:_c,ariaFlowTo:Ic,ariaGrabbed:_c,ariaHasPopup:null,ariaHidden:_c,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ic,ariaLevel:Oc,ariaLive:null,ariaModal:_c,ariaMultiLine:_c,ariaMultiSelectable:_c,ariaOrientation:null,ariaOwns:Ic,ariaPlaceholder:null,ariaPosInSet:Oc,ariaPressed:_c,ariaReadOnly:_c,ariaRelevant:null,ariaRequired:_c,ariaRoleDescription:Ic,ariaRowCount:Oc,ariaRowIndex:Oc,ariaRowSpan:Oc,ariaSelected:_c,ariaSetSize:Oc,ariaSort:null,ariaValueMax:Oc,ariaValueMin:Oc,ariaValueNow:Oc,ariaValueText:null,role:null}}),Gc=Bc({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Uc,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:wc,acceptCharset:Ic,accessKey:Ic,action:null,allow:null,allowFullScreen:Ac,allowPaymentRequest:Ac,allowUserMedia:Ac,alt:null,as:null,async:Ac,autoCapitalize:null,autoComplete:Ic,autoFocus:Ac,autoPlay:Ac,blocking:Ic,capture:null,charSet:null,checked:Ac,cite:null,className:Ic,cols:Oc,colSpan:null,content:null,contentEditable:_c,controls:Ac,controlsList:Ic,coords:Oc|wc,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ac,defer:Ac,dir:null,dirName:null,disabled:Ac,download:xc,draggable:_c,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ac,formTarget:null,headers:Ic,height:Oc,hidden:Ac,high:Oc,href:null,hrefLang:null,htmlFor:Ic,httpEquiv:Ic,id:null,imageSizes:null,imageSrcSet:null,inert:Ac,inputMode:null,integrity:null,is:null,isMap:Ac,itemId:null,itemProp:Ic,itemRef:Ic,itemScope:Ac,itemType:Ic,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ac,low:Oc,manifest:null,max:null,maxLength:Oc,media:null,method:null,min:null,minLength:Oc,multiple:Ac,muted:Ac,name:null,nonce:null,noModule:Ac,noValidate:Ac,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:Ac,optimum:Oc,pattern:null,ping:Ic,placeholder:null,playsInline:Ac,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ac,referrerPolicy:null,rel:Ic,required:Ac,reversed:Ac,rows:Oc,rowSpan:Oc,sandbox:Ic,scope:null,scoped:Ac,seamless:Ac,selected:Ac,shadowRootDelegatesFocus:Ac,shadowRootMode:null,shape:null,size:Oc,sizes:null,slot:null,span:Oc,spellCheck:_c,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Oc,step:null,style:null,tabIndex:Oc,target:null,title:null,translate:null,type:null,typeMustMatch:Ac,useMap:null,value:_c,width:Oc,wrap:null,align:null,aLink:null,archive:Ic,axis:null,background:null,bgColor:null,border:Oc,borderColor:null,bottomMargin:Oc,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ac,declare:Ac,event:null,face:null,frame:null,frameBorder:null,hSpace:Oc,leftMargin:Oc,link:null,longDesc:null,lowSrc:null,marginHeight:Oc,marginWidth:Oc,noResize:Ac,noHref:Ac,noShade:Ac,noWrap:Ac,object:null,profile:null,prompt:null,rev:null,rightMargin:Oc,rules:null,scheme:null,scrolling:_c,standby:null,summary:null,text:null,topMargin:Oc,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Oc,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ac,disableRemotePlayback:Ac,prefix:null,property:null,results:Oc,security:null,unselectable:null}}),Wc=Bc({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:jc,properties:{about:Nc,accentHeight:Oc,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Oc,amplitude:Oc,arabicForm:null,ascent:Oc,attributeName:null,attributeType:null,azimuth:Oc,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Oc,by:null,calcMode:null,capHeight:Oc,className:Ic,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:Oc,diffuseConstant:Oc,direction:null,display:null,dur:null,divisor:Oc,dominantBaseline:null,download:Ac,dx:null,dy:null,edgeMode:null,editable:null,elevation:Oc,enableBackground:null,end:null,event:null,exponent:Oc,externalResourcesRequired:null,fill:null,fillOpacity:Oc,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:wc,g2:wc,glyphName:wc,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Oc,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Oc,horizOriginX:Oc,horizOriginY:Oc,id:null,ideographic:Oc,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Oc,k:Oc,k1:Oc,k2:Oc,k3:Oc,k4:Oc,kernelMatrix:Nc,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Oc,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:Oc,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:Oc,overlineThickness:Oc,paintOrder:null,panose1:null,path:null,pathLength:Oc,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ic,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Oc,pointsAtY:Oc,pointsAtZ:Oc,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Nc,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Nc,rev:Nc,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Nc,requiredFeatures:Nc,requiredFonts:Nc,requiredFormats:Nc,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:Oc,specularExponent:Oc,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Oc,strikethroughThickness:Oc,string:null,stroke:null,strokeDashArray:Nc,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Oc,strokeOpacity:Oc,strokeWidth:null,style:null,surfaceScale:Oc,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Nc,tabIndex:Oc,tableValues:null,target:null,targetX:Oc,targetY:Oc,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Nc,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Oc,underlineThickness:Oc,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Oc,values:null,vAlphabetic:Oc,vMathematical:Oc,vectorEffect:null,vHanging:Oc,vIdeographic:Oc,version:null,vertAdvY:Oc,vertOriginX:Oc,vertOriginY:Oc,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Oc,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Vc=Tc([Hc,Fc,zc,$c,Gc],"html"),Yc=Tc([Hc,Fc,zc,$c,Wc],"svg"),qc=/^data[-\w.:]+$/i,Kc=/-[a-z]/g,Qc=/[A-Z]/g;function Xc(e,t){const n=Sc(t);let r=t,o=kc;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&qc.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(Kc,Zc);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!Kc.test(e)){let n=e.replace(Qc,Jc);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=Pc}return new o(r,t)}function Jc(e){return"-"+e.toLowerCase()}function Zc(e){return e.charAt(1).toUpperCase()}const eu={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"};function tu(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function nu(e){return e.join(" ").trim()}var ru=o(256);const ou=ru.default||ru,au=su("end"),iu=su("start");function su(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 lu(e){return e&&"object"==typeof e?"position"in e||"type"in e?uu(e.position):"start"in e||"end"in e?uu(e):"line"in e||"column"in e?cu(e):"":""}function cu(e){return du(e&&e.line)+":"+du(e&&e.column)}function uu(e){return cu(e&&e.start)+"-"+cu(e&&e.end)}function du(e){return e&&"number"==typeof e?e:1}class pu extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",o={},a=!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&&(a=!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 i=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=i?i.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=i?i.line:void 0,this.name=lu(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=a&&o.cause&&"string"==typeof o.cause.stack?o.cause.stack:"",this.actual,this.expected,this.note,this.url}}pu.prototype.file="",pu.prototype.name="",pu.prototype.reason="",pu.prototype.message="",pu.prototype.stack="",pu.prototype.column=void 0,pu.prototype.line=void 0,pu.prototype.ancestors=void 0,pu.prototype.cause=void 0,pu.prototype.fatal=void 0,pu.prototype.place=void 0,pu.prototype.ruleId=void 0,pu.prototype.source=void 0;const fu={}.hasOwnProperty,hu=new Map,mu=/[A-Z]/g,gu=/-([a-z])/g,vu=new Set(["table","tbody","thead","tfoot","tr"]),yu=new Set(["td","th"]),bu="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Eu(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=Yc,e.schema=o),e.ancestors.push(t);const a=Au(e,t.tagName,!1),i=function(e,t){const n={};let r,o;for(o in t.properties)if("children"!==o&&fu.call(t.properties,o)){const a=Cu(e,o,t.properties[o]);if(a){const[o,i]=a;e.tableCellAlignToStyle&&"align"===o&&"string"==typeof i&&yu.has(t.tagName)?r=i:n[o]=i}}return r&&((n.style||(n.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=r),n}(e,t);let s=ku(e,t);return vu.has(t.tagName)&&(s=s.filter((function(e){return"string"!=typeof e||!("object"==typeof(t=e)?"text"===t.type&&bc(t.value):bc(t));var t}))),Tu(e,i,a,t),Su(i,s),e.ancestors.pop(),e.schema=r,e.create(t,a,i,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)}_u(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=Yc,e.schema=o),e.ancestors.push(t);const a=null===t.name?e.Fragment:Au(e,t.name,!0),i=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 a=o.properties[0];a.type,Object.assign(n,e.evaluater.evaluateExpression(a.argument))}else _u(e,t.position);else{const o=r.name;let a;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,a=e.evaluater.evaluateExpression(t.expression)}else _u(e,t.position);else a=null===r.value||r.value;n[o]=a}return n}(e,t),s=ku(e,t);return Tu(e,i,a,t),Su(i,s),e.ancestors.pop(),e.schema=r,e.create(t,a,i,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);_u(e,t.position)}(e,t):"root"===t.type?function(e,t,n){const r={};return Su(r,ku(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 Tu(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function Su(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function ku(e,t){const n=[];let r=-1;const o=e.passKeys?new Map:hu;for(;++ro?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);i0?(Lu(e,e.length,0,t),e):t}function Bu(e){const t={};let n,r,o,a,i,s,l,c=-1;for(;++c-1&&e.test(String.fromCharCode(t))}}function nd(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let a=0;return function(r){return Ju(r)?(e.enter(n),i(r)):t(r)};function i(r){return Ju(r)&&a++a))return;const n=t.events.length;let o,s,l=n;for(;l--;)if("exit"===t.events[l][0]&&"chunkFlow"===t.events[l][1].type){if(o){s=t.events[l][1].end;break}o=!0}for(v(i),e=n;er;){const r=n[o];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function y(){r.write([null]),o=void 0,r=void 0,t.containerState._closeFlow=void 0}}},ad={tokenize:function(e,t,n){return nd(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},id={tokenize:function(e,t,n){return function(t){return Ju(t)?nd(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||Qu(e)?t(e):n(e)}},partial:!0},sd={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):Qu(t)?e.check(ld,a,o)(t):(e.consume(t),r)}function o(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function a(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 Bu(e),e}},ld={tokenize:function(e,t,n){const r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),nd(e,o,"linePrefix")};function o(o){if(null===o||Qu(o))return n(o);const a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}},partial:!0},cd={tokenize:function(e){const t=this,n=e.attempt(id,(function(r){if(null!==r)return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n;e.consume(r)}),e.attempt(this.parser.constructs.flowInitial,r,nd(e,e.attempt(this.parser.constructs.flow,r,e.attempt(sd,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)}}},ud={resolveAll:hd()},dd=fd("string"),pd=fd("text");function fd(e){return{tokenize:function(t){const n=this,r=this.parser.constructs[e],o=t.attempt(r,a,i);return a;function a(e){return l(e)?o(e):i(e)}function i(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return l(e)?(t.exit("data"),o(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;const t=r[e];let o=-1;if(t)for(;++o-1){const e=i[0];"string"==typeof e?i[0]=e.slice(r):i.shift()}a>0&&i.push(e[o].slice(0,a))}return i}(i,e)}function h(){const{line:e,column:t,offset:n,_index:o,_bufferIndex:a}=r;return{line:e,column:t,offset:n,_index:o,_bufferIndex:a}}function m(e){l=void 0,d=e,p=p(e)}function g(e,t){t.restore()}function v(e,t){return function(n,o,a){let i,d,p,f;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):function(e){return function(t){const n=null!==t&&e[t],r=null!==t&&e.null;return m([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}(n);function m(e){return i=e,d=0,0===e.length?a:g(e[d])}function g(e){return function(n){return f=function(){const e=h(),t=u.previous,n=u.currentConstruct,o=u.events.length,a=Array.from(s);return{restore:function(){r=e,u.previous=t,u.currentConstruct=n,u.events.length=o,s=a,b()},from:o}}(),p=e,e.partial||(u.currentConstruct=e),e.name&&u.parser.constructs.disable.null.includes(e.name)?y():e.tokenize.call(t?Object.assign(Object.create(u),t):u,c,v,y)(n)}}function v(t){return l=!0,e(p,f),o}function y(e){return l=!0,f.restore(),++d=3&&(null===a||Qu(a))?(e.exit("thematicBreak"),t(a)):n(a)}function i(t){return t===r?(e.consume(t),o++,i):(e.exit("thematicBreakSequence"),Ju(t)?nd(e,a,"whitespace")(t):a(t))}}},bd={name:"list",tokenize:function(e,t,n){const r=this,o=r.events[r.events.length-1];let a=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,i=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:Yu(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(yd,n,l)(t):l(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(t)}return n(t)};function s(t){return Yu(t)&&++i<10?(e.consume(t),s):(!r.interrupt||i<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),l(t)):n(t)}function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(id,r.interrupt?n:c,e.attempt(Ed,d,u))}function c(e){return r.containerState.initialBlankLine=!0,a++,d(e)}function u(t){return Ju(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),d):n(t)}function d(n){return r.containerState.size=a+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(id,(function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,nd(e,t,"listItemIndent",r.containerState.size+1)(n)}),(function(n){return r.containerState.furtherBlankLines||!Ju(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Td,t,o)(n))}));function o(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,nd(e,e.attempt(bd,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)}},Ed={tokenize:function(e,t,n){const r=this;return nd(e,(function(e){const o=r.events[r.events.length-1];return!Ju(e)&&o&&"listItemPrefixWhitespace"===o[1].type?t(e):n(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},Td={tokenize:function(e,t,n){const r=this;return nd(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},Sd={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 Ju(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){return Ju(t)?nd(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):o(t)};function o(r){return e.attempt(Sd,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function kd(e,t,n,r,o,a,i,s,l){const c=l||Number.POSITIVE_INFINITY;let u=0;return function(t){return 60===t?(e.enter(r),e.enter(o),e.enter(a),e.consume(t),e.exit(a),d):null===t||32===t||41===t||Vu(t)?n(t):(e.enter(r),e.enter(i),e.enter(s),e.enter("chunkString",{contentType:"string"}),h(t))};function d(n){return 62===n?(e.enter(a),e.consume(n),e.exit(a),e.exit(o),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(s),d(t)):null===t||60===t||Qu(t)?n(t):(e.consume(t),92===t?f:p)}function f(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function h(o){return u||null!==o&&41!==o&&!Xu(o)?u999||null===d||91===d||93===d&&!s||94===d&&!l&&"_hiddenFootnoteSupport"in i.parser.constructs?n(d):93===d?(e.exit(a),e.enter(o),e.consume(d),e.exit(o),e.exit(r),t):Qu(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(d))}function u(t){return null===t||91===t||93===t||Qu(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),s||(s=!Ju(t)),92===t?d:u)}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}function Ad(e,t,n,r,o,a){let i;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(o),e.consume(t),e.exit(o),i=40===t?41:t,s):n(t)};function s(n){return n===i?(e.enter(o),e.consume(n),e.exit(o),e.exit(r),t):(e.enter(a),l(n))}function l(t){return t===i?(e.exit(a),s(i)):null===t?n(t):Qu(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),nd(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===i||null===t||Qu(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return t===i||92===t?(e.consume(t),c):c(t)}}function _d(e,t){let n;return function r(o){return Qu(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r):Ju(o)?nd(e,r,n?"linePrefix":"lineSuffix")(o):t(o)}}function xd(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Od={name:"definition",tokenize:function(e,t,n){const r=this;let o;return function(t){return e.enter("definition"),function(t){return Cd.call(r,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function a(t){return o=xd(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),i):n(t)}function i(t){return Xu(t)?_d(e,s)(t):s(t)}function s(t){return kd(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(Id,c,c)(t)}function c(t){return Ju(t)?nd(e,u,"whitespace")(t):u(t)}function u(a){return null===a||Qu(a)?(e.exit("definition"),r.parser.defined.push(o),t(a)):n(a)}}},Id={tokenize:function(e,t,n){return function(t){return Xu(t)?_d(e,r)(t):n(t)};function r(t){return Ad(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function o(t){return Ju(t)?nd(e,a,"whitespace")(t):a(t)}function a(e){return null===e||Qu(e)?t(e):n(e)}},partial:!0},wd={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),nd(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?a(e):n(e)}function a(t){return null===t?s(t):Qu(t)?e.attempt(Nd,a,s)(t):(e.enter("codeFlowValue"),i(t))}function i(t){return null===t||Qu(t)?(e.exit("codeFlowValue"),a(t)):(e.consume(t),i)}function s(n){return e.exit("codeIndented"),t(n)}}},Nd={tokenize:function(e,t,n){const r=this;return o;function o(t){return r.parser.lazy[r.now().line]?n(t):Qu(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):nd(e,a,"linePrefix",5)(t)}function a(e){const a=r.events[r.events.length-1];return a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):Qu(e)?o(e):n(e)}},partial:!0},Dd={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||Xu(t)?(e.exit("atxHeadingSequence"),a(t)):n(t)}function a(n){return 35===n?(e.enter("atxHeadingSequence"),i(n)):null===n||Qu(n)?(e.exit("atxHeading"),t(n)):Ju(n)?nd(e,a,"whitespace")(n):(e.enter("atxHeadingText"),s(n))}function i(t){return 35===t?(e.consume(t),i):(e.exit("atxHeadingSequence"),a(t))}function s(t){return null===t||35===t||Xu(t)?(e.exit("atxHeadingText"),a(t)):(e.consume(t),s)}},resolve:function(e,t){let n,r,o=e.length-2,a=3;return"whitespace"===e[a][1].type&&(a+=2),o-2>a&&"whitespace"===e[o][1].type&&(o-=2),"atxHeadingSequence"===e[o][1].type&&(a===o-1||o-4>a&&"whitespace"===e[o-2][1].type)&&(o-=a+1===o?2:4),o>a&&(n={type:"atxHeadingText",start:e[a][1].start,end:e[o][1].end},r={type:"chunkText",start:e[a][1].start,end:e[o][1].end,contentType:"text"},Lu(e,a,o-a+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}},Rd={name:"setextUnderline",tokenize:function(e,t,n){const r=this;let o;return function(t){let i,s=r.events.length;for(;s--;)if("lineEnding"!==r.events[s][1].type&&"linePrefix"!==r.events[s][1].type&&"content"!==r.events[s][1].type){i="paragraph"===r.events[s][1].type;break}return r.parser.lazy[r.now().line]||!r.interrupt&&!i?n(t):(e.enter("setextHeadingLine"),o=t,function(t){return e.enter("setextHeadingLineSequence"),a(t)}(t))};function a(t){return t===o?(e.consume(t),a):(e.exit("setextHeadingLineSequence"),Ju(t)?nd(e,i,"lineSuffix")(t):i(t))}function i(r){return null===r||Qu(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,o,a=e.length;for(;a--;)if("enter"===e[a][0]){if("content"===e[a][1].type){n=a;break}"paragraph"===e[a][1].type&&(r=a)}else"content"===e[a][1].type&&e.splice(a,1),o||"definition"!==e[a][1].type||(o=a);const i={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",i,t]),e.splice(o+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[o][1].end)):e[n][1]=i,e.push(["exit",i,t]),e}},Pd=["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"],Ld=["pre","script","style","textarea"],Md={name:"htmlFlow",tokenize:function(e,t,n){const r=this;let o,a,i,s,l;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c}(t)};function c(s){return 33===s?(e.consume(s),u):47===s?(e.consume(s),a=!0,f):63===s?(e.consume(s),o=3,r.interrupt?t:P):$u(s)?(e.consume(s),i=String.fromCharCode(s),h):n(s)}function u(a){return 45===a?(e.consume(a),o=2,d):91===a?(e.consume(a),o=5,s=0,p):$u(a)?(e.consume(a),o=4,r.interrupt?t:P):n(a)}function d(o){return 45===o?(e.consume(o),r.interrupt?t:P):n(o)}function p(o){return o==="CDATA[".charCodeAt(s++)?(e.consume(o),6===s?r.interrupt?t:_:p):n(o)}function f(t){return $u(t)?(e.consume(t),i=String.fromCharCode(t),h):n(t)}function h(s){if(null===s||47===s||62===s||Xu(s)){const l=47===s,c=i.toLowerCase();return l||a||!Ld.includes(c)?Pd.includes(i.toLowerCase())?(o=6,l?(e.consume(s),m):r.interrupt?t(s):_(s)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):a?g(s):v(s)):(o=1,r.interrupt?t(s):_(s))}return 45===s||Gu(s)?(e.consume(s),i+=String.fromCharCode(s),h):n(s)}function m(o){return 62===o?(e.consume(o),r.interrupt?t:_):n(o)}function g(t){return Ju(t)?(e.consume(t),g):C(t)}function v(t){return 47===t?(e.consume(t),C):58===t||95===t||$u(t)?(e.consume(t),y):Ju(t)?(e.consume(t),v):C(t)}function y(t){return 45===t||46===t||58===t||95===t||Gu(t)?(e.consume(t),y):b(t)}function b(t){return 61===t?(e.consume(t),E):Ju(t)?(e.consume(t),b):v(t)}function E(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,T):Ju(t)?(e.consume(t),E):S(t)}function T(t){return t===l?(e.consume(t),l=null,k):null===t||Qu(t)?n(t):(e.consume(t),T)}function S(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||Xu(t)?b(t):(e.consume(t),S)}function k(e){return 47===e||62===e||Ju(e)?v(e):n(e)}function C(t){return 62===t?(e.consume(t),A):n(t)}function A(t){return null===t||Qu(t)?_(t):Ju(t)?(e.consume(t),A):n(t)}function _(t){return 45===t&&2===o?(e.consume(t),w):60===t&&1===o?(e.consume(t),N):62===t&&4===o?(e.consume(t),L):63===t&&3===o?(e.consume(t),P):93===t&&5===o?(e.consume(t),R):!Qu(t)||6!==o&&7!==o?null===t||Qu(t)?(e.exit("htmlFlowData"),x(t)):(e.consume(t),_):(e.exit("htmlFlowData"),e.check(Bd,M,x)(t))}function x(t){return e.check(Fd,O,M)(t)}function O(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),I}function I(t){return null===t||Qu(t)?x(t):(e.enter("htmlFlowData"),_(t))}function w(t){return 45===t?(e.consume(t),P):_(t)}function N(t){return 47===t?(e.consume(t),i="",D):_(t)}function D(t){if(62===t){const n=i.toLowerCase();return Ld.includes(n)?(e.consume(t),L):_(t)}return $u(t)&&i.length<8?(e.consume(t),i+=String.fromCharCode(t),D):_(t)}function R(t){return 93===t?(e.consume(t),P):_(t)}function P(t){return 62===t?(e.consume(t),L):45===t&&2===o?(e.consume(t),P):_(t)}function L(t){return null===t||Qu(t)?(e.exit("htmlFlowData"),M(t)):(e.consume(t),L)}function M(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););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},concrete:!0},Bd={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(id,t,n)}},partial:!0},Fd={tokenize:function(e,t,n){const r=this;return function(t){return Qu(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):n(t)};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},Hd={tokenize:function(e,t,n){const r=this;return function(t){return null===t?n(t):(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},jd={name:"codeFenced",tokenize:function(e,t,n){const r=this,o={tokenize:function(e,t,n){let o=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i};function i(t){return e.enter("codeFencedFence"),Ju(t)?nd(e,l,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)}function l(t){return t===a?(e.enter("codeFencedFenceSequence"),c(t)):n(t)}function c(t){return t===a?(o++,e.consume(t),c):o>=s?(e.exit("codeFencedFenceSequence"),Ju(t)?nd(e,u,"whitespace")(t):u(t)):n(t)}function u(r){return null===r||Qu(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0};let a,i=0,s=0;return function(t){return function(t){const n=r.events[r.events.length-1];return i=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,a=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l(t)}(t)};function l(t){return t===a?(s++,e.consume(t),l):s<3?n(t):(e.exit("codeFencedFenceSequence"),Ju(t)?nd(e,c,"whitespace")(t):c(t))}function c(n){return null===n||Qu(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(Hd,f,y)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),u(n))}function u(t){return null===t||Qu(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(t)):Ju(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),nd(e,d,"whitespace")(t)):96===t&&t===a?n(t):(e.consume(t),u)}function d(t){return null===t||Qu(t)?c(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(t))}function p(t){return null===t||Qu(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(t)):96===t&&t===a?n(t):(e.consume(t),p)}function f(t){return e.attempt(o,y,h)(t)}function h(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){return i>0&&Ju(t)?nd(e,g,"linePrefix",i+1)(t):g(t)}function g(t){return null===t||Qu(t)?e.check(Hd,f,y)(t):(e.enter("codeFlowValue"),v(t))}function v(t){return null===t||Qu(t)?(e.exit("codeFlowValue"),g(t)):(e.consume(t),v)}function y(n){return e.exit("codeFenced"),t(n)}},concrete:!0},Ud=document.createElement("i");function zd(e){const t="&"+e+";";Ud.innerHTML=t;const n=Ud.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}const $d={name:"characterReference",tokenize:function(e,t,n){const r=this;let o,a,i=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),o=31,a=Gu,c(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,a=qu,c):(e.enter("characterReferenceValue"),o=7,a=Yu,c(t))}function c(s){if(59===s&&i){const o=e.exit("characterReferenceValue");return a!==Gu||zd(r.sliceSerialize(o))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)}return a(s)&&i++1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;const d=Object.assign({},e[n][1].end),p=Object.assign({},e[u][1].start);Jd(d,-s),Jd(p,s),a={type:s>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[n][1].end)},i={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[u][1].start),end:p},o={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[u][1].start)},r={type:s>1?"strong":"emphasis",start:Object.assign({},a.start),end:Object.assign({},i.end)},e[n][1].end=Object.assign({},a.start),e[u][1].start=Object.assign({},i.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=Mu(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=Mu(l,[["enter",r,t],["enter",a,t],["exit",a,t],["enter",o,t]]),l=Mu(l,gd(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),l=Mu(l,[["exit",o,t],["enter",i,t],["exit",i,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,l=Mu(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,Lu(e,n-1,u-n+3,l),u=n+l.length-c-2;break}for(u=-1;++u13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535==(65535&n)||65534==(65535&n)||n>1114111?"�":String.fromCodePoint(n)}const fp=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function hp(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return pp(n.slice(t?2:1),t?16:10)}return zd(n)||e}const mp={}.hasOwnProperty;function gp(e,n,r){return"string"!=typeof n&&(r=n,n=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(y),autolinkProtocol:u,autolinkEmail:u,atxHeading:o(m),blockQuote:o((function(){return{type:"blockquote",children:[]}})),characterEscape:u,characterReference:u,codeFenced:o(h),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:o(h,a),codeText:o((function(){return{type:"inlineCode",value:""}}),a),codeTextData:u,data:u,codeFlowValue:u,definition:o((function(){return{type:"definition",identifier:"",label:null,title:null,url:""}})),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:o((function(){return{type:"emphasis",children:[]}})),hardBreakEscape:o(g),hardBreakTrailing:o(g),htmlFlow:o(v,a),htmlFlowData:u,htmlText:o(v,a),htmlTextData:u,image:o((function(){return{type:"image",title:null,url:"",alt:null}})),label:a,link:o(y),listItem:o((function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}})),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:o(b,(function(){this.data.expectingFirstListItemValue=!0})),listUnordered:o(b),paragraph:o((function(){return{type:"paragraph",children:[]}})),reference:function(){this.data.referenceType="collapsed"},referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:o(m),strong:o((function(){return{type:"strong",children:[]}})),thematicBreak:o((function(){return{type:"thematicBreak"}}))},exit:{atxHeading:s(),atxHeadingSequence:function(e){const t=this.stack[this.stack.length-1];if(!t.depth){const n=this.sliceSerialize(e).length;t.depth=n}},autolink:s(),autolinkEmail:function(e){d.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){d.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:s(),characterEscapeValue:d,characterReferenceMarkerHexadecimal:f,characterReferenceMarkerNumeric:f,characterReferenceValue:function(e){const t=this.sliceSerialize(e),n=this.data.characterReferenceType;let r;n?(r=pp(t,"characterReferenceMarkerNumeric"===n?10:16),this.data.characterReferenceType=void 0):r=zd(t);const o=this.stack.pop();o.value+=r,o.position.end=vp(e.end)},codeFenced:s((function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0})),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){const e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){const e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:d,codeIndented:s((function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")})),codeText:s((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),codeTextData:d,data:d,definition:s(),definitionDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=xd(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:s(),hardBreakEscape:s(p),hardBreakTrailing:s(p),htmlFlow:s((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),htmlFlowData:d,htmlText:s((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),htmlTextData:d,image:s((function(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0})),label:function(){const e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===n.type){const t=e.children;n.children=t}else n.alt=t},labelText:function(e){const t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=function(e){return e.replace(fp,hp)}(t),n.identifier=xd(t).toLowerCase()},lineEnding:function(e){const n=this.stack[this.stack.length-1];if(this.data.atHardBreak)return n.children[n.children.length-1].position.end=vp(e.end),void(this.data.atHardBreak=void 0);!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(u.call(this,e),d.call(this,e))},link:s((function(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0})),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:function(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=xd(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:s((function(){this.data.setextHeadingSlurpLineEnding=void 0})),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:s(),thematicBreak:s()}};yp(t,(e||{}).mdastExtensions||[]);const n={};return function(e){let o={type:"root",children:[]};const s={stack:[o],tokenStack:[],config:t,enter:i,exit:l,buffer:a,resume:c,data:n},u=[];let d=-1;for(;++d0){const e=s.tokenStack[s.tokenStack.length-1];(e[1]||Ep).call(s,void 0,e[0])}for(o.position={start:vp(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:vp(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},d=-1;++d((e,t)=>{const n=(t,n)=>(e.set(n,t),t),r=o=>{if(e.has(o))return e.get(o);const[a,i]=t[o];switch(a){case 0:case-1:return n(i,o);case 1:{const e=n([],o);for(const t of i)e.push(r(t));return e}case 2:{const e=n({},o);for(const[t,n]of i)e[r(t)]=r(n);return e}case 3:return n(new Date(i),o);case 4:{const{source:e,flags:t}=i;return n(new RegExp(e,t),o)}case 5:{const e=n(new Map,o);for(const[t,n]of i)e.set(r(t),r(n));return e}case 6:{const e=n(new Set,o);for(const t of i)e.add(r(t));return e}case 7:{const{name:e,message:t}=i;return n(new Sp[e](t),o)}case 8:return n(BigInt(i),o);case"BigInt":return n(Object(BigInt(i)),o)}return n(new Sp[a](i),o)};return r})(new Map,e)(0),Cp="",{toString:Ap}={},{keys:_p}=Object,xp=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=Ap.call(e).slice(8,-1);switch(n){case"Array":return[1,Cp];case"Object":return[2,Cp];case"Date":return[3,Cp];case"RegExp":return[4,Cp];case"Map":return[5,Cp];case"Set":return[6,Cp]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},Op=([e,t])=>0===e&&("function"===t||"symbol"===t),Ip=(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},a=r=>{if(n.has(r))return n.get(r);let[i,s]=xp(r);switch(i){case 0:{let t=r;switch(s){case"bigint":i=8,t=r.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+s);t=null;break;case"undefined":return o([-1],r)}return o([i,t],r)}case 1:{if(s)return o([s,[...r]],r);const e=[],t=o([i,e],r);for(const t of r)e.push(a(t));return t}case 2:{if(s)switch(s){case"BigInt":return o([s,r.toString()],r);case"Boolean":case"Number":case"String":return o([s,r.valueOf()],r)}if(t&&"toJSON"in r)return a(r.toJSON());const n=[],l=o([i,n],r);for(const t of _p(r))!e&&Op(xp(r[t]))||n.push([a(t),a(r[t])]);return l}case 3:return o([i,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return o([i,{source:e,flags:t}],r)}case 5:{const t=[],n=o([i,t],r);for(const[n,o]of r)(e||!Op(xp(n))&&!Op(xp(o)))&&t.push([a(n),a(o)]);return n}case 6:{const t=[],n=o([i,t],r);for(const n of r)!e&&Op(xp(n))||t.push(a(n));return n}}const{message:l}=r;return o([i,{name:s,message:l}],r)};return a})(!(t||n),!!t,new Map,r)(e),r},wp="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?kp(Ip(e,t)):structuredClone(e):(e,t)=>kp(Ip(e,t));function Np(e){const t=[];let n=-1,r=0,o=0;for(;++n55295&&a<57344){const t=e.charCodeAt(n+1);a<56320&&t>56319&&t<57344?(i=String.fromCharCode(a,t),o=1):i="�"}else i=String.fromCharCode(a);i&&(t.push(e.slice(r,n),encodeURIComponent(i)),r=n+o+1,i=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}function Dp(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function Rp(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const Pp=function(e){if(null==e)return Mp;if("function"==typeof e)return Lp(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n":"")+")"})}return u;function u(){let c,u,d,p=Bp;if((!t||a(o,s,l[l.length-1]||void 0))&&(p=function(e){return Array.isArray(e)?e:"number"==typeof e?[Fp,e]:null==e?Bp:[e]}(n(o,l)),p[0]===Hp))return p;if("children"in o&&o.children){const t=o;if(t.children&&p[0]!==jp)for(u=(r?t.children.length:-1)+i,d=l.concat(t);u>-1&&u1:t}const Wp=9,Vp=32;function Yp(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),o=0;const a=[];for(;r;)a.push(qp(t.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return a.push(qp(t.slice(o),o>0,!1)),a.join("")}function qp(e,t,n){let r=0,o=e.length;if(t){let t=e.codePointAt(r);for(;t===Wp||t===Vp;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(o-1);for(;t===Wp||t===Vp;)o--,t=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}const Kp={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=Np(r.toLowerCase()),a=e.footnoteOrder.indexOf(r);let i,s=e.footnoteCounts.get(r);void 0===s?(s=0,e.footnoteOrder.push(r),i=e.footnoteOrder.length):i=a+1,s+=1,e.footnoteCounts.set(r,s);const l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+o,id:n+"fnref-"+o+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(i)}]};e.patch(t,l);const c={type:"element",tagName:"sup",properties:{},children:[l]};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 $p(e,t);const o={src:Np(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(o.title=r.title);const a={type:"element",tagName:"img",properties:o,children:[]};return e.patch(t,a),e.applyData(t,a)},image:function(e,t){const n={src:Np(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 $p(e,t);const o={href:Np(r.url||"")};null!==r.title&&void 0!==r.title&&(o.title=r.title);const a={type:"element",tagName:"a",properties:o,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)},link:function(e,t){const n={href:Np(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&&++r0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let s=-1;for(;++s0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},a=iu(t.children[1]),i=au(t.children[t.children.length-1]);a&&i&&(r.position={start:a,end:i}),o.push(r)}const a={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,a),e.applyData(t,a)},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",a=n&&"table"===n.type?n.align:void 0,i=a?a.length:t.children.length;let s=-1;const l=[];for(;++s0&&n.push({type:"text",value:"\n"}),n}function rf(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function of(e,t){const n=function(e,t){const n=t||Jp,r=new Map,o=new Map,a=new Map,i={...Kp,...n.handlers},s={all:function(e){const t=[];if("children"in e){const n=e.children;let r=-1;for(;++r0&&d.push({type:"text",value:" "});let e="string"==typeof n?n:n(l,u);"string"==typeof e&&(e={type:"text",value:e}),d.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(l,u),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const f=a[a.length-1];if(f&&"element"===f.type&&"p"===f.tagName){const e=f.children[f.children.length-1];e&&"text"===e.type?e.value+=" ":f.children.push({type:"text",value:" "}),f.children.push(...d)}else a.push(...d);const h={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(a,!0)};e.patch(o,h),s.push(h)}if(0!==s.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...wp(i),id:"footnote-label"},children:[{type:"text",value:o}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:"\n"}]}}(n),a=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return o&&a.children.push({type:"text",value:"\n"},o),a}function af(e,t){return e&&"run"in e?async function(n,r){const o=of(n,{file:r,...t});await e.run(o,r)}:function(n,r){return of(n,{file:r,...t||e})}}function sf(e){if(e)throw e}var lf=o(331);function cf(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)}const uf=function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');mf(e);let n,r=0,o=-1,a=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;a--;)if(47===e.codePointAt(a)){if(n){r=a+1;break}}else o<0&&(n=!0,o=a+1);return o<0?"":e.slice(r,o)}if(t===e)return"";let i=-1,s=t.length-1;for(;a--;)if(47===e.codePointAt(a)){if(n){r=a+1;break}}else i<0&&(n=!0,i=a+1),s>-1&&(e.codePointAt(a)===t.codePointAt(s--)?s<0&&(o=a):(s=-1,o=i));return r===o?o=i:o<0&&(o=e.length),e.slice(r,o)},df=function(e){if(mf(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)},pf=function(e){mf(e);let t,n=e.length,r=-1,o=0,a=-1,i=0;for(;n--;){const s=e.codePointAt(n);if(47!==s)r<0&&(t=!0,r=n+1),46===s?a<0?a=n:1!==i&&(i=1):a>-1&&(i=-1);else if(t){o=n+1;break}}return a<0||r<0||0===i||1===i&&a===r-1&&a===o+1?"":e.slice(a,r)},ff=function(...e){let t,n=-1;for(;++n2){if(r=o.lastIndexOf("/"),r!==o.length-1){r<0?(o="",a=0):(o=o.slice(0,r),a=o.length-1-o.lastIndexOf("/")),i=l,s=0;continue}}else if(o.length>0){o="",a=0,i=l,s=0;continue}t&&(o=o.length>0?o+"/..":"..",a=2)}else o.length>0?o+="/"+e.slice(i+1,l):o=e.slice(i+1,l),a=l-i-1;i=l,s=0}else 46===n&&s>-1?s++:s=-1}return o}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},hf="/";function mf(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const gf=function(){return"/"};function vf(e){return Boolean(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}const yf=["history","path","basename","stem","extname","dirname"];class bf{constructor(e){let t;t=e?vf(e)?{path:e}:"string"==typeof e||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd=gf(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n,r=-1;for(;++rt.length;let i;a&&t.push(r);try{i=e.apply(this,t)}catch(e){if(a&&n)throw e;return r(e)}a||(i&&i.then&&"function"==typeof i.then?i.then(o,r):i instanceof Error?r(i):o(i))};function r(e,...r){n||(n=!0,t(e,...r))}function o(e){r(null,e)}}(s,o)(...i):r(null,...i)}}(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}()}copy(){const e=new Af;let t=-1;for(;++t0){let[r,...a]=t;const i=n[o][1];cf(i)&&cf(r)&&(r=lf(!0,i,r)),n[o]=[e,r,...a]}}}}const _f=(new Af).freeze();function xf(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}function Of(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")}function If(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 wf(e){if(!cf(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function Nf(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Df(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new bf(e)}const Rf=[],Pf={allowDangerousHtml:!0},Lf=/^(https?|ircs?|mailto|xmpp)$/i,Mf=[{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 Bf(e){const t=e.allowedElements,n=e.allowElement,r=e.children||"",o=e.className,a=e.components,i=e.disallowedElements,s=e.rehypePlugins||Rf,l=e.remarkPlugins||Rf,c=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Pf}:Pf,u=e.skipHtml,d=e.unwrapDisallowed,p=e.urlTransform||Ff,f=_f().use(Tp).use(l).use(af,c).use(s),h=new bf;"string"==typeof r&&(h.value=r);for(const t of Mf)Object.hasOwn(e,t.from)&&(t.from,t.to&&t.to,t.id);const m=f.parse(h);let g=f.runSync(m,h);return o&&(g={type:"element",tagName:"div",properties:{className:o},children:"root"===g.type?g.children:[g]}),zp(g,(function(e,r,o){if("raw"===e.type&&o&&"number"==typeof r)return u?o.children.splice(r,1):o.children[r]={type:"text",value:e.value},r;if("element"===e.type){let t;for(t in wu)if(Object.hasOwn(wu,t)&&Object.hasOwn(e.properties,t)){const n=e.properties[t],r=wu[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=p(String(n||""),t,e))}}if("element"===e.type){let a=t?!t.includes(e.tagName):!!i&&i.includes(e.tagName);if(!a&&n&&"number"==typeof r&&(a=!n(e,r,o)),a&&o&&"number"==typeof r)return d&&e.children?o.children.splice(r,1,...e.children):o.children.splice(r,1),r}})),function(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 function(n,r,o,a){const i=Array.isArray(o.children),s=iu(n);return t(r,o,a,i,{columnNumber:s?s.column-1:void 0,fileName:e,lineNumber:s?s.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");o=t.jsx,a=t.jsxs,r=function(e,t,n,r){const i=Array.isArray(n.children)?a:o;return r?i(t,n,r):i(t,n)}}var o,a;const i={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?Yc:Vc,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},s=Eu(i,e,void 0);return s&&"string"!=typeof s?s:i.create(e,i.Fragment,{children:s||void 0},void 0)}(g,{Fragment:go.Fragment,components:a,ignoreInvalidStyle:!0,jsx:go.jsx,jsxs:go.jsxs,passKeys:!0,passNode:!0})}function Ff(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||Lf.test(e.slice(0,t))?e:""}function Hf(e,t){const n=String(e);if("string"!=typeof t)throw new TypeError("Expected character");let r=0,o=n.indexOf(t);for(;-1!==o;)r++,o=n.indexOf(t,o+t.length);return r}function jf(e){return"string"==typeof e?new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function Uf(e){return"function"==typeof e?e:function(){return e}}const zf="phrasing",$f=["autolink","link","image","label"];function Gf(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Wf(e){this.config.enter.autolinkProtocol.call(this,e)}function Vf(e){this.config.exit.autolinkProtocol.call(this,e)}function Yf(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function qf(e){this.config.exit.autolinkEmail.call(this,e)}function Kf(e){this.exit(e)}function Qf(e){!function(e,t,n){const r=Pp((n||{}).ignore||[]),o=function(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r0?{type:"text",value:a}:void 0),!1===a?r.lastIndex=n+1:(s!==n&&u.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(a)?u.push(...a):a&&u.push(a),s=n+d[0].length,c=!0),!r.global)break;d=r.exec(e.value)}return c?(s?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const o=Hf(e,"(");let a=Hf(e,")");for(;-1!==r&&o>a;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),a++;return[e,n]}(n+r);if(!i[0])return!1;const s={type:"link",title:null,url:a+t+i[0],children:[{type:"text",value:t+i[0]}]};return i[1]?[s,{type:"text",value:i[1]}]:s}function Jf(e,t,n,r){return!(!Zf(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function Zf(e,t){const n=e.input.charCodeAt(e.index-1);return(0===e.index||ed(n)||Zu(n))&&(!t||47!==n)}function eh(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function th(){this.buffer()}function nh(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=xd(this.sliceSerialize(e)).toLowerCase()}function rh(e){this.exit(e)}function oh(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function ah(){this.buffer()}function ih(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=xd(this.sliceSerialize(e)).toLowerCase()}function sh(e){this.exit(e)}function lh(e,t,n,r){const o=n.createTracker(r);let a=o.move("[^");const i=n.enter("footnoteReference"),s=n.enter("reference");return a+=o.move(n.safe(n.associationId(e),{...o.current(),before:a,after:"]"})),s(),i(),a+=o.move("]"),a}function ch(e,t,n,r){const o=n.createTracker(r);let a=o.move("[^");const i=n.enter("footnoteDefinition"),s=n.enter("label");return a+=o.move(n.safe(n.associationId(e),{...o.current(),before:a,after:"]"})),s(),a+=o.move("]:"+(e.children&&e.children.length>0?" ":"")),o.shift(4),a+=o.move(n.indentLines(n.containerFlow(e,o.current()),uh)),i(),a}function uh(e,t,n){return 0===t?e:(n?"":" ")+e}lh.peek=function(){return"["};const dh=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function ph(e){this.enter({type:"delete",children:[]},e)}function fh(e){this.exit(e)}function hh(e,t,n,r){const o=n.createTracker(r),a=n.enter("strikethrough");let i=o.move("~~");return i+=n.containerPhrasing(e,{...o.current(),before:i,after:"~"}),i+=o.move("~~"),a(),i}function mh(e){return e.length}function gh(e){const t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function vh(e,t,n){return">"+(n?"":" ")+e}function yh(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r",...l.current()})),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${a}`),c+=l.move(" "+o),c+=l.move(n.safe(e.title,{before:c,after:o,...l.current()})),c+=l.move(o),s()),c+=l.move(")"),i(),c}function Ah(e,t,n,r){const o=e.referenceType,a=n.enter("imageReference");let i=n.enter("label");const s=n.createTracker(r);let l=s.move("![");const c=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),i();const u=n.stack;n.stack=[],i=n.enter("reference");const d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return i(),n.stack=u,a(),"full"!==o&&c&&c===d?"shortcut"===o?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function _h(e,t,n){let r=e.value||"",o="`",a=-1;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(r);)o+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++a\u007F]/.test(e.url))}function Oh(e,t,n,r){const o=Th(n),a='"'===o?"Quote":"Apostrophe",i=n.createTracker(r);let s,l;if(xh(e,n)){const t=n.stack;n.stack=[],s=n.enter("autolink");let r=i.move("<");return r+=i.move(n.containerPhrasing(e,{before:r,after:">",...i.current()})),r+=i.move(">"),s(),n.stack=t,r}s=n.enter("link"),l=n.enter("label");let c=i.move("[");return c+=i.move(n.containerPhrasing(e,{before:c,after:"](",...i.current()})),c+=i.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),c+=i.move("<"),c+=i.move(n.safe(e.url,{before:c,after:">",...i.current()})),c+=i.move(">")):(l=n.enter("destinationRaw"),c+=i.move(n.safe(e.url,{before:c,after:e.title?" ":")",...i.current()}))),l(),e.title&&(l=n.enter(`title${a}`),c+=i.move(" "+o),c+=i.move(n.safe(e.title,{before:c,after:o,...i.current()})),c+=i.move(o),l()),c+=i.move(")"),s(),c}function Ih(e,t,n,r){const o=e.referenceType,a=n.enter("linkReference");let i=n.enter("label");const s=n.createTracker(r);let l=s.move("[");const c=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),i();const u=n.stack;n.stack=[],i=n.enter("reference");const d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return i(),n.stack=u,a(),"full"!==o&&c&&c===d?"shortcut"===o?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function wh(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function Nh(e){const t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}hh.peek=function(){return"~"},Sh.peek=function(e,t,n){return n.options.emphasis||"*"},kh.peek=function(){return"<"},Ch.peek=function(){return"!"},Ah.peek=function(){return"!"},_h.peek=function(){return"`"},Oh.peek=function(e,t,n){return xh(e,n)?"<":"["},Ih.peek=function(){return"["};const Dh=Pp(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Rh(e,t,n,r){const o=function(e){const t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),a=n.enter("strong"),i=n.createTracker(r);let s=i.move(o+o);return s+=i.move(n.containerPhrasing(e,{before:s,after:o,...i.current()})),s+=i.move(o+o),a(),s}Rh.peek=function(e,t,n){return n.options.strong||"*"};const Ph={blockquote:function(e,t,n,r){const o=n.enter("blockquote"),a=n.createTracker(r);a.move("> "),a.shift(2);const i=n.indentLines(n.containerFlow(e,a.current()),vh);return o(),i},break:bh,code:function(e,t,n,r){const o=function(e){const t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),a=e.value||"",i="`"===o?"GraveAccent":"Tilde";if(function(e,t){return Boolean(!1===t.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}(e,n)){const e=n.enter("codeIndented"),t=n.indentLines(a,Eh);return e(),t}const s=n.createTracker(r),l=o.repeat(Math.max(function(e,t){const n=String(e);let r=n.indexOf(t),o=r,a=0,i=0;if("string"!=typeof t)throw new TypeError("Expected substring");for(;-1!==r;)r===o?++a>i&&(i=a):a=1,o=r+t.length,r=n.indexOf(t,o);return i}(a,o)+1,3)),c=n.enter("codeFenced");let u=s.move(l);if(e.lang){const t=n.enter(`codeFencedLang${i}`);u+=s.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){const t=n.enter(`codeFencedMeta${i}`);u+=s.move(" "),u+=s.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...s.current()})),t()}return u+=s.move("\n"),a&&(u+=s.move(a+"\n")),u+=s.move(l),c(),u},definition:function(e,t,n,r){const o=Th(n),a='"'===o?"Quote":"Apostrophe",i=n.enter("definition");let s=n.enter("label");const l=n.createTracker(r);let c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()})),c+=l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":"\n",...l.current()}))),s(),e.title&&(s=n.enter(`title${a}`),c+=l.move(" "+o),c+=l.move(n.safe(e.title,{before:c,after:o,...l.current()})),c+=l.move(o),s()),i(),c},emphasis:Sh,hardBreak:bh,heading:function(e,t,n,r){const o=Math.max(Math.min(6,e.depth||1),1),a=n.createTracker(r);if(function(e,t){let n=!1;return zp(e,(function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return n=!0,Hp})),Boolean((!e.depth||e.depth<3)&&Du(e)&&(t.options.setext||n))}(e,n)){const t=n.enter("headingSetext"),r=n.enter("phrasing"),i=n.containerPhrasing(e,{...a.current(),before:"\n",after:"\n"});return r(),t(),i+"\n"+(1===o?"=":"-").repeat(i.length-(Math.max(i.lastIndexOf("\r"),i.lastIndexOf("\n"))+1))}const i="#".repeat(o),s=n.enter("headingAtx"),l=n.enter("phrasing");a.move(i+" ");let c=n.containerPhrasing(e,{before:"# ",after:"\n",...a.current()});return/^[\t ]/.test(c)&&(c=""+c.charCodeAt(0).toString(16).toUpperCase()+";"+c.slice(1)),c=c?i+" "+c:i,n.options.closeAtx&&(c+=" "+i),l(),s(),c},html:kh,image:Ch,imageReference:Ah,inlineCode:_h,link:Oh,linkReference:Ih,list:function(e,t,n,r){const o=n.enter("list"),a=n.bulletCurrent;let i=e.ordered?function(e){const t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):wh(n);const s=e.ordered?"."===i?")":".":function(e){const t=wh(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n);let l=!(!t||!n.bulletLastUsed)&&i===n.bulletLastUsed;if(!e.ordered){const t=e.children?e.children[0]:void 0;if("*"!==i&&"-"!==i||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),Nh(n)===i&&t){let t=-1;for(;++t-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+a);let i=a.length+1;("tab"===o||"mixed"===o&&(t&&"list"===t.type&&t.spread||e.spread))&&(i=4*Math.ceil(i/4));const s=n.createTracker(r);s.move(a+" ".repeat(i-a.length)),s.shift(i);const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),(function(e,t,n){return t?(n?"":" ".repeat(i))+e:(n?a:a+" ".repeat(i-a.length))+e}));return l(),c},paragraph:function(e,t,n,r){const o=n.enter("paragraph"),a=n.enter("phrasing"),i=n.containerPhrasing(e,r);return a(),o(),i},root:function(e,t,n,r){return(e.children.some((function(e){return Dh(e)}))?n.containerPhrasing:n.containerFlow).call(n,e,r)},strong:Rh,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){const r=(Nh(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function Lh(e){const t=e._align;this.enter({type:"table",align:t.map((function(e){return"none"===e?null:e})),children:[]},e),this.data.inTable=!0}function Mh(e){this.exit(e),this.data.inTable=void 0}function Bh(e){this.enter({type:"tableRow",children:[]},e)}function Fh(e){this.exit(e)}function Hh(e){this.enter({type:"tableCell",children:[]},e)}function jh(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Uh));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function Uh(e,t){return"|"===t?t:e}function zh(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,o=t.stringLength,a=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,n){let r=Ph.inlineCode(e,t,n);return n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&")),r},table:function(e,t,n,r){return s(function(e,t,n){const r=e.children;let o=-1;const a=[],i=t.enter("table");for(;++ol&&(l=e[c].length);++ds[d])&&(s[d]=e)}n.push(a)}a[c]=n,i[c]=o}var u;let d=-1;if("object"==typeof n&&"length"in n)for(;++ds[d]&&(s[d]=a),f[d]=a),p[d]=i}a.splice(1,0,p),i.splice(1,0,f),c=-1;const h=[];for(;++c0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}em[43]=Zh,em[45]=Zh,em[46]=Zh,em[95]=Zh,em[72]=[Zh,Jh],em[104]=[Zh,Jh],em[87]=[Zh,Xh],em[119]=[Zh,Xh];const sm={tokenize:function(e,t,n){const r=this;return nd(e,(function(e){const o=r.events[r.events.length-1];return o&&"gfmFootnoteDefinitionIndent"===o[1].type&&4===o[2].sliceSerialize(o[1],!0).length?t(e):n(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function lm(e,t,n){const r=this;let o=r.events.length;const a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i;for(;o--;){const e=r.events[o][1];if("labelImage"===e.type){i=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(o){if(!i||!i._balanced)return n(o);const s=xd(r.sliceSerialize({start:i.end,end:r.now()}));return 94===s.codePointAt(0)&&a.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)):n(o)}}function cm(e,t){let n,r=e.length;for(;r--;)if("labelImage"===e[r][1].type&&"enter"===e[r][0]){n=e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";const o={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},l=[e[r+1],e[r+2],["enter",o,t],e[r+3],e[r+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",s,t],["exit",s,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",o,t]];return e.splice(r,e.length-r+1,...l),e}function um(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,i=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),s};function s(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(s){if(i>999||93===s&&!a||null===s||91===s||Xu(s))return n(s);if(93===s){e.exit("chunkString");const a=e.exit("gfmFootnoteCallString");return o.includes(xd(r.sliceSerialize(a)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(s)}return Xu(s)||(a=!0),i++,e.consume(s),92===s?c:l}function c(t){return 91===t||92===t||93===t?(e.consume(t),i++,l):l(t)}}function dm(e,t,n){const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,i,s=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),l};function l(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(t)}function c(t){if(s>999||93===t&&!i||null===t||91===t||Xu(t))return n(t);if(93===t){e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString");return a=xd(r.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return Xu(t)||(i=!0),s++,e.consume(t),92===t?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}function d(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o.includes(a)||o.push(a),nd(e,p,"gfmFootnoteDefinitionWhitespace")):n(t)}function p(e){return t(e)}}function pm(e,t,n){return e.check(id,t,e.attempt(sm,t,n))}function fm(e){e.exit("gfmFootnoteDefinition")}function hm(e){let t=(e||{}).singleTilde;const n={tokenize:function(e,n,r){const o=this.previous,a=this.events;let i=0;return function(t){return 126===o&&"characterEscape"!==a[a.length-1][1].type?r(t):(e.enter("strikethroughSequenceTemporary"),s(t))};function s(a){const l=Qd(o);if(126===a)return i>1?r(a):(e.consume(a),i++,s);if(i<2&&!t)return r(a);const c=e.exit("strikethroughSequenceTemporary"),u=Qd(a);return c._open=!u||2===u&&Boolean(l),c._close=!l||2===l&&Boolean(u),n(a)}},resolveAll:function(e,t){let n=-1;for(;++n0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function gm(e,t){let n=!1;const r=[];for(;t-1;){const e=r.events[t][1].type;if("lineEnding"!==e&&"linePrefix"!==e)break;t--}const o=t>-1?r.events[t][1].type:null,a="tableHead"===o||"tableRow"===o?E:s;return a===E&&r.parser.lazy[r.now().line]?n(e):a(e)};function s(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){return 124===e||(o=!0,i+=1),l(e)}(t)}function l(t){return null===t?n(t):Qu(t)?i>1?(i=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d):n(t):Ju(t)?nd(e,l,"whitespace")(t):(i+=1,o&&(o=!1,a+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),o=!0,l):(e.enter("data"),c(t)))}function c(t){return null===t||124===t||Xu(t)?(e.exit("data"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return 92===t||124===t?(e.consume(t),c):c(t)}function d(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter("tableDelimiterRow"),o=!1,Ju(t)?nd(e,p,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):p(t))}function p(t){return 45===t||58===t?h(t):124===t?(o=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),f):b(t)}function f(t){return Ju(t)?nd(e,h,"whitespace")(t):h(t)}function h(t){return 58===t?(i+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(i+=1,m(t)):null===t||Qu(t)?y(t):b(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),g(t)):b(t)}function g(t){return 45===t?(e.consume(t),g):58===t?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),v):(e.exit("tableDelimiterFiller"),v(t))}function v(t){return Ju(t)?nd(e,y,"whitespace")(t):y(t)}function y(n){return 124===n?p(n):(null===n||Qu(n))&&o&&a===i?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(n)):b(n)}function b(e){return n(e)}function E(t){return e.enter("tableRow"),T(t)}function T(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),T):null===n||Qu(n)?(e.exit("tableRow"),t(n)):Ju(n)?nd(e,T,"whitespace")(n):(e.enter("data"),S(n))}function S(t){return null===t||124===t||Xu(t)?(e.exit("data"),T(t)):(e.consume(t),92===t?k:S)}function k(t){return 92===t||124===t?(e.consume(t),S):S(t)}}function ym(e,t){let n,r,o,a=-1,i=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0;const p=new mm;for(;++an[2]+1){const t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",i,t]])}return void 0!==o&&(a.end=Object.assign({},Tm(t.events,o)),e.add(o,0,[["exit",a,t]]),a=void 0),a}function Em(e,t,n,r,o){const a=[],i=Tm(t.events,n);o&&(o.end=Object.assign({},i),a.push(["exit",o,t])),r.end=Object.assign({},i),a.push(["exit",r,t]),e.add(n+1,0,a)}function Tm(e,t){const n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}const Sm={tokenize:function(e,t,n){const r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),o):n(t)};function o(t){return Xu(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),a):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),a):n(t)}function a(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),i):n(t)}function i(r){return Qu(r)?t(r):Ju(r)?e.check({tokenize:km},t,n)(r):n(r)}}};function km(e,t,n){return nd(e,(function(e){return null===e?n(e):t(e)}),"whitespace")}const Cm={};function Am(e){const t=e||Cm,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),o=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),a=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push(function(e){return ju([{text:em},{document:{91:{tokenize:dm,continuation:{tokenize:pm},exit:fm}},text:{91:{tokenize:um},93:{add:"after",tokenize:lm,resolveTo:cm}}},hm(e),{flow:{null:{tokenize:vm,resolveAll:ym}}},{text:{91:Sm}}])}(t)),o.push([{transforms:[Qf],enter:{literalAutolink:Gf,literalAutolinkEmail:Wf,literalAutolinkHttp:Wf,literalAutolinkWww:Wf},exit:{literalAutolink:Kf,literalAutolinkEmail:qf,literalAutolinkHttp:Vf,literalAutolinkWww:Yf}},{enter:{gfmFootnoteDefinition:eh,gfmFootnoteDefinitionLabelString:th,gfmFootnoteCall:oh,gfmFootnoteCallString:ah},exit:{gfmFootnoteDefinition:rh,gfmFootnoteDefinitionLabelString:nh,gfmFootnoteCall:sh,gfmFootnoteCallString:ih}},{canContainEols:["delete"],enter:{strikethrough:ph},exit:{strikethrough:fh}},{enter:{table:Lh,tableData:Hh,tableHeader:Hh,tableRow:Bh},exit:{codeText:jh,table:Mh,tableData:Fh,tableHeader:Fh,tableRow:Fh}},{exit:{taskListCheckValueChecked:$h,taskListCheckValueUnchecked:$h,paragraph:Gh}}]),a.push(function(e){return{extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:zf,notInConstruct:$f},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:zf,notInConstruct:$f},{character:":",before:"[ps]",after:"\\/",inConstruct:zf,notInConstruct:$f}]},{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:ch,footnoteReference:lh}},{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:dh}],handlers:{delete:hh}},zh(e),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Wh}}]}}(t))}const _m=/[#.]/g,xm=new Set(["button","menu","reset","submit"]),Om={}.hasOwnProperty;function Im(e,t,n){const r=n&&function(e){const t={};let n=-1;for(;++n-1&&ee)return{line:t+1,column:e-(t>0?n[t-1]:0)+1,offset:e}},toOffset:function(e){const t=e&&e.line,r=e&&e.column;if("number"==typeof t&&"number"==typeof r&&!Number.isNaN(t)&&!Number.isNaN(r)&&t-1 in n){const e=(n[t-2]||0)+r-1||0;if(e>-1&&e=55296&&e<=57343}function ig(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function sg(e){return e>=64976&&e<=65007||Zm.has(e)}var lg,cg;!function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"}(lg=lg||(lg={}));class ug{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){const{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){const t=this.html.charCodeAt(this.pos+1);if(function(e){return e>=56320&&e<=57343}(t))return this.pos++,this._addGap(),1024*(e-55296)+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,tg.EOF;return this._err(lg.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,tg.EOF;const n=this.html.charCodeAt(t);return n===tg.CARRIAGE_RETURN?tg.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,tg.EOF;let e=this.html.charCodeAt(this.pos);return e===tg.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,tg.LINE_FEED):e===tg.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,ag(e)&&(e=this._processSurrogate(e)),null===this.handler.onParseError||e>31&&e<127||e===tg.LINE_FEED||e===tg.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){ig(e)?this._err(lg.controlCharacterInInputStream):sg(e)&&this._err(lg.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}!function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"}(cg=cg||(cg={}));const pg=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((e=>e.charCodeAt(0)))),fg=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e=>e.charCodeAt(0))));var hg;const mg=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),gg=null!==(hg=String.fromCodePoint)&&void 0!==hg?hg:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e),t};var vg,yg,bg,Eg,Tg,Sg,kg,Cg,Ag,_g;function xg(e){return e>=vg.ZERO&&e<=vg.NINE}!function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(vg||(vg={})),function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(yg||(yg={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(bg||(bg={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(Eg||(Eg={}));class Og{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=bg.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Eg.Strict}startEntity(e){this.decodeMode=e,this.state=bg.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case bg.EntityStart:return e.charCodeAt(t)===vg.NUM?(this.state=bg.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=bg.NamedEntity,this.stateNamedEntity(e,t));case bg.NumericStart:return this.stateNumericStart(e,t);case bg.NumericDecimal:return this.stateNumericDecimal(e,t);case bg.NumericHex:return this.stateNumericHex(e,t);case bg.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===vg.LOWER_X?(this.state=bg.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=bg.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){const o=n-t;this.result=this.result*Math.pow(r,o)+parseInt(e.substr(t,o),r),this.consumed+=o}}stateNumericHex(e,t){const n=t;for(;t=vg.UPPER_A&&r<=vg.UPPER_F||r>=vg.LOWER_A&&r<=vg.LOWER_F)))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(o,3);t+=1}var r;return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){const n=t;for(;t=55296&&e<=57343||e>1114111?65533:null!==(t=mg.get(e))&&void 0!==t?t:e}(this.result),this.consumed),this.errors&&(e!==vg.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:n}=this;let r=n[this.treeIndex],o=(r&yg.VALUE_LENGTH)>>14;for(;t=vg.UPPER_A&&e<=vg.UPPER_Z||e>=vg.LOWER_A&&e<=vg.LOWER_Z||xg(e)}(a)))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],o=(r&yg.VALUE_LENGTH)>>14,0!==o){if(i===vg.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==Eg.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}var a;return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:n}=this,r=(n[t]&yg.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){const{decodeTree:r}=this;return this.emitCodePoint(1===t?r[e]&~yg.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case bg.NamedEntity:return 0===this.result||this.decodeMode===Eg.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case bg.NumericDecimal:return this.emitNumericEntity(0,2);case bg.NumericHex:return this.emitNumericEntity(0,3);case bg.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case bg.EntityStart:return 0}}}function Ig(e){let t="";const n=new Og(e,(e=>t+=gg(e)));return function(e,r){let o=0,a=0;for(;(a=e.indexOf("&",a))>=0;){t+=e.slice(o,a),n.startEntity(r);const i=n.write(e,a+1);if(i<0){o=a+n.end();break}o=a+i,a=0===i?o+1:o}const i=t+e.slice(o);return t="",i}}function wg(e,t,n,r){const o=(t&yg.BRANCH_LENGTH)>>7,a=t&yg.JUMP_TABLE;if(0===o)return 0!==a&&r===a?n:-1;if(a){const t=r-a;return t<0||t>=o?-1:e[n+t]-1}let i=n,s=i+o-1;for(;i<=s;){const t=i+s>>>1,n=e[t];if(nr))return e[t+o];s=t-1}}return-1}Ig(pg),Ig(fg),(_g=Tg=Tg||(Tg={})).HTML="http://www.w3.org/1999/xhtml",_g.MATHML="http://www.w3.org/1998/Math/MathML",_g.SVG="http://www.w3.org/2000/svg",_g.XLINK="http://www.w3.org/1999/xlink",_g.XML="http://www.w3.org/XML/1998/namespace",_g.XMLNS="http://www.w3.org/2000/xmlns/",function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"}(Sg=Sg||(Sg={})),function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"}(kg=kg||(kg={})),function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"}(Cg=Cg||(Cg={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SECTION=94]="SECTION",e[e.SELECT=95]="SELECT",e[e.SOURCE=96]="SOURCE",e[e.SMALL=97]="SMALL",e[e.SPAN=98]="SPAN",e[e.STRIKE=99]="STRIKE",e[e.STRONG=100]="STRONG",e[e.STYLE=101]="STYLE",e[e.SUB=102]="SUB",e[e.SUMMARY=103]="SUMMARY",e[e.SUP=104]="SUP",e[e.TABLE=105]="TABLE",e[e.TBODY=106]="TBODY",e[e.TEMPLATE=107]="TEMPLATE",e[e.TEXTAREA=108]="TEXTAREA",e[e.TFOOT=109]="TFOOT",e[e.TD=110]="TD",e[e.TH=111]="TH",e[e.THEAD=112]="THEAD",e[e.TITLE=113]="TITLE",e[e.TR=114]="TR",e[e.TRACK=115]="TRACK",e[e.TT=116]="TT",e[e.U=117]="U",e[e.UL=118]="UL",e[e.SVG=119]="SVG",e[e.VAR=120]="VAR",e[e.WBR=121]="WBR",e[e.XMP=122]="XMP"}(Ag=Ag||(Ag={}));const Ng=new Map([[Cg.A,Ag.A],[Cg.ADDRESS,Ag.ADDRESS],[Cg.ANNOTATION_XML,Ag.ANNOTATION_XML],[Cg.APPLET,Ag.APPLET],[Cg.AREA,Ag.AREA],[Cg.ARTICLE,Ag.ARTICLE],[Cg.ASIDE,Ag.ASIDE],[Cg.B,Ag.B],[Cg.BASE,Ag.BASE],[Cg.BASEFONT,Ag.BASEFONT],[Cg.BGSOUND,Ag.BGSOUND],[Cg.BIG,Ag.BIG],[Cg.BLOCKQUOTE,Ag.BLOCKQUOTE],[Cg.BODY,Ag.BODY],[Cg.BR,Ag.BR],[Cg.BUTTON,Ag.BUTTON],[Cg.CAPTION,Ag.CAPTION],[Cg.CENTER,Ag.CENTER],[Cg.CODE,Ag.CODE],[Cg.COL,Ag.COL],[Cg.COLGROUP,Ag.COLGROUP],[Cg.DD,Ag.DD],[Cg.DESC,Ag.DESC],[Cg.DETAILS,Ag.DETAILS],[Cg.DIALOG,Ag.DIALOG],[Cg.DIR,Ag.DIR],[Cg.DIV,Ag.DIV],[Cg.DL,Ag.DL],[Cg.DT,Ag.DT],[Cg.EM,Ag.EM],[Cg.EMBED,Ag.EMBED],[Cg.FIELDSET,Ag.FIELDSET],[Cg.FIGCAPTION,Ag.FIGCAPTION],[Cg.FIGURE,Ag.FIGURE],[Cg.FONT,Ag.FONT],[Cg.FOOTER,Ag.FOOTER],[Cg.FOREIGN_OBJECT,Ag.FOREIGN_OBJECT],[Cg.FORM,Ag.FORM],[Cg.FRAME,Ag.FRAME],[Cg.FRAMESET,Ag.FRAMESET],[Cg.H1,Ag.H1],[Cg.H2,Ag.H2],[Cg.H3,Ag.H3],[Cg.H4,Ag.H4],[Cg.H5,Ag.H5],[Cg.H6,Ag.H6],[Cg.HEAD,Ag.HEAD],[Cg.HEADER,Ag.HEADER],[Cg.HGROUP,Ag.HGROUP],[Cg.HR,Ag.HR],[Cg.HTML,Ag.HTML],[Cg.I,Ag.I],[Cg.IMG,Ag.IMG],[Cg.IMAGE,Ag.IMAGE],[Cg.INPUT,Ag.INPUT],[Cg.IFRAME,Ag.IFRAME],[Cg.KEYGEN,Ag.KEYGEN],[Cg.LABEL,Ag.LABEL],[Cg.LI,Ag.LI],[Cg.LINK,Ag.LINK],[Cg.LISTING,Ag.LISTING],[Cg.MAIN,Ag.MAIN],[Cg.MALIGNMARK,Ag.MALIGNMARK],[Cg.MARQUEE,Ag.MARQUEE],[Cg.MATH,Ag.MATH],[Cg.MENU,Ag.MENU],[Cg.META,Ag.META],[Cg.MGLYPH,Ag.MGLYPH],[Cg.MI,Ag.MI],[Cg.MO,Ag.MO],[Cg.MN,Ag.MN],[Cg.MS,Ag.MS],[Cg.MTEXT,Ag.MTEXT],[Cg.NAV,Ag.NAV],[Cg.NOBR,Ag.NOBR],[Cg.NOFRAMES,Ag.NOFRAMES],[Cg.NOEMBED,Ag.NOEMBED],[Cg.NOSCRIPT,Ag.NOSCRIPT],[Cg.OBJECT,Ag.OBJECT],[Cg.OL,Ag.OL],[Cg.OPTGROUP,Ag.OPTGROUP],[Cg.OPTION,Ag.OPTION],[Cg.P,Ag.P],[Cg.PARAM,Ag.PARAM],[Cg.PLAINTEXT,Ag.PLAINTEXT],[Cg.PRE,Ag.PRE],[Cg.RB,Ag.RB],[Cg.RP,Ag.RP],[Cg.RT,Ag.RT],[Cg.RTC,Ag.RTC],[Cg.RUBY,Ag.RUBY],[Cg.S,Ag.S],[Cg.SCRIPT,Ag.SCRIPT],[Cg.SECTION,Ag.SECTION],[Cg.SELECT,Ag.SELECT],[Cg.SOURCE,Ag.SOURCE],[Cg.SMALL,Ag.SMALL],[Cg.SPAN,Ag.SPAN],[Cg.STRIKE,Ag.STRIKE],[Cg.STRONG,Ag.STRONG],[Cg.STYLE,Ag.STYLE],[Cg.SUB,Ag.SUB],[Cg.SUMMARY,Ag.SUMMARY],[Cg.SUP,Ag.SUP],[Cg.TABLE,Ag.TABLE],[Cg.TBODY,Ag.TBODY],[Cg.TEMPLATE,Ag.TEMPLATE],[Cg.TEXTAREA,Ag.TEXTAREA],[Cg.TFOOT,Ag.TFOOT],[Cg.TD,Ag.TD],[Cg.TH,Ag.TH],[Cg.THEAD,Ag.THEAD],[Cg.TITLE,Ag.TITLE],[Cg.TR,Ag.TR],[Cg.TRACK,Ag.TRACK],[Cg.TT,Ag.TT],[Cg.U,Ag.U],[Cg.UL,Ag.UL],[Cg.SVG,Ag.SVG],[Cg.VAR,Ag.VAR],[Cg.WBR,Ag.WBR],[Cg.XMP,Ag.XMP]]);function Dg(e){var t;return null!==(t=Ng.get(e))&&void 0!==t?t:Ag.UNKNOWN}const Rg=Ag,Pg={[Tg.HTML]:new Set([Rg.ADDRESS,Rg.APPLET,Rg.AREA,Rg.ARTICLE,Rg.ASIDE,Rg.BASE,Rg.BASEFONT,Rg.BGSOUND,Rg.BLOCKQUOTE,Rg.BODY,Rg.BR,Rg.BUTTON,Rg.CAPTION,Rg.CENTER,Rg.COL,Rg.COLGROUP,Rg.DD,Rg.DETAILS,Rg.DIR,Rg.DIV,Rg.DL,Rg.DT,Rg.EMBED,Rg.FIELDSET,Rg.FIGCAPTION,Rg.FIGURE,Rg.FOOTER,Rg.FORM,Rg.FRAME,Rg.FRAMESET,Rg.H1,Rg.H2,Rg.H3,Rg.H4,Rg.H5,Rg.H6,Rg.HEAD,Rg.HEADER,Rg.HGROUP,Rg.HR,Rg.HTML,Rg.IFRAME,Rg.IMG,Rg.INPUT,Rg.LI,Rg.LINK,Rg.LISTING,Rg.MAIN,Rg.MARQUEE,Rg.MENU,Rg.META,Rg.NAV,Rg.NOEMBED,Rg.NOFRAMES,Rg.NOSCRIPT,Rg.OBJECT,Rg.OL,Rg.P,Rg.PARAM,Rg.PLAINTEXT,Rg.PRE,Rg.SCRIPT,Rg.SECTION,Rg.SELECT,Rg.SOURCE,Rg.STYLE,Rg.SUMMARY,Rg.TABLE,Rg.TBODY,Rg.TD,Rg.TEMPLATE,Rg.TEXTAREA,Rg.TFOOT,Rg.TH,Rg.THEAD,Rg.TITLE,Rg.TR,Rg.TRACK,Rg.UL,Rg.WBR,Rg.XMP]),[Tg.MATHML]:new Set([Rg.MI,Rg.MO,Rg.MN,Rg.MS,Rg.MTEXT,Rg.ANNOTATION_XML]),[Tg.SVG]:new Set([Rg.TITLE,Rg.FOREIGN_OBJECT,Rg.DESC]),[Tg.XLINK]:new Set,[Tg.XML]:new Set,[Tg.XMLNS]:new Set};function Lg(e){return e===Rg.H1||e===Rg.H2||e===Rg.H3||e===Rg.H4||e===Rg.H5||e===Rg.H6}new Set([Cg.STYLE,Cg.SCRIPT,Cg.XMP,Cg.IFRAME,Cg.NOEMBED,Cg.NOFRAMES,Cg.PLAINTEXT]);const Mg=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);var Bg;!function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",e[e.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",e[e.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",e[e.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",e[e.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",e[e.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END"}(Bg||(Bg={}));const Fg={DATA:Bg.DATA,RCDATA:Bg.RCDATA,RAWTEXT:Bg.RAWTEXT,SCRIPT_DATA:Bg.SCRIPT_DATA,PLAINTEXT:Bg.PLAINTEXT,CDATA_SECTION:Bg.CDATA_SECTION};function Hg(e){return e>=tg.DIGIT_0&&e<=tg.DIGIT_9}function jg(e){return e>=tg.LATIN_CAPITAL_A&&e<=tg.LATIN_CAPITAL_Z}function Ug(e){return function(e){return e>=tg.LATIN_SMALL_A&&e<=tg.LATIN_SMALL_Z}(e)||jg(e)}function zg(e){return Ug(e)||Hg(e)}function $g(e){return e>=tg.LATIN_CAPITAL_A&&e<=tg.LATIN_CAPITAL_F}function Gg(e){return e>=tg.LATIN_SMALL_A&&e<=tg.LATIN_SMALL_F}function Wg(e){return e+32}function Vg(e){return e===tg.SPACE||e===tg.LINE_FEED||e===tg.TABULATION||e===tg.FORM_FEED}function Yg(e){return Vg(e)||e===tg.SOLIDUS||e===tg.GREATER_THAN_SIGN}class qg{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=Bg.DATA,this.returnState=Bg.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new ug(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;null===(n=(t=this.handler).onParseError)||void 0===n||n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t0&&this._err(lg.endTagWithAttributes),e.selfClosing&&this._err(lg.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case cg.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case cg.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case cg.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){const e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:cg.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type===e)return void(this.currentCharacterToken.chars+=t);this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk()}this._createCharacterToken(e,t)}_emitCodePoint(e){const t=Vg(e)?cg.WHITESPACE_CHARACTER:e===tg.NULL?cg.NULL_CHARACTER:cg.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(cg.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,n=0,r=!1;for(let a=0,i=pg[0];a>=0&&(a=wg(pg,i,a+1,e),!(a<0));e=this._consume()){n+=1,i=pg[a];const s=i&yg.VALUE_LENGTH;if(s){const i=(s>>14)-1;if(e!==tg.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((o=this.preprocessor.peek(1))===tg.EQUALS_SIGN||zg(o))?(t=[tg.AMPERSAND],a+=i):(t=0===i?[pg[a]&~yg.VALUE_LENGTH]:1===i?[pg[++a]]:[pg[++a],pg[++a]],n=0,r=e!==tg.SEMICOLON),0===i){this._consume();break}}}var o;return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(lg.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===Bg.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===Bg.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===Bg.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case Bg.DATA:this._stateData(e);break;case Bg.RCDATA:this._stateRcdata(e);break;case Bg.RAWTEXT:this._stateRawtext(e);break;case Bg.SCRIPT_DATA:this._stateScriptData(e);break;case Bg.PLAINTEXT:this._statePlaintext(e);break;case Bg.TAG_OPEN:this._stateTagOpen(e);break;case Bg.END_TAG_OPEN:this._stateEndTagOpen(e);break;case Bg.TAG_NAME:this._stateTagName(e);break;case Bg.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case Bg.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case Bg.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case Bg.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case Bg.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case Bg.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case Bg.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case Bg.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case Bg.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case Bg.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case Bg.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case Bg.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case Bg.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case Bg.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case Bg.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case Bg.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case Bg.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case Bg.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case Bg.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case Bg.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case Bg.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case Bg.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case Bg.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case Bg.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case Bg.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case Bg.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case Bg.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case Bg.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case Bg.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case Bg.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case Bg.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case Bg.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case Bg.BOGUS_COMMENT:this._stateBogusComment(e);break;case Bg.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case Bg.COMMENT_START:this._stateCommentStart(e);break;case Bg.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case Bg.COMMENT:this._stateComment(e);break;case Bg.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case Bg.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case Bg.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case Bg.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case Bg.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case Bg.COMMENT_END:this._stateCommentEnd(e);break;case Bg.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case Bg.DOCTYPE:this._stateDoctype(e);break;case Bg.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case Bg.DOCTYPE_NAME:this._stateDoctypeName(e);break;case Bg.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case Bg.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case Bg.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case Bg.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case Bg.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case Bg.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case Bg.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case Bg.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case Bg.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case Bg.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case Bg.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case Bg.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case Bg.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case Bg.CDATA_SECTION:this._stateCdataSection(e);break;case Bg.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case Bg.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case Bg.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case Bg.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case Bg.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case Bg.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case Bg.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case Bg.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case Bg.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case Bg.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw new Error("Unknown state")}}_stateData(e){switch(e){case tg.LESS_THAN_SIGN:this.state=Bg.TAG_OPEN;break;case tg.AMPERSAND:this.returnState=Bg.DATA,this.state=Bg.CHARACTER_REFERENCE;break;case tg.NULL:this._err(lg.unexpectedNullCharacter),this._emitCodePoint(e);break;case tg.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case tg.AMPERSAND:this.returnState=Bg.RCDATA,this.state=Bg.CHARACTER_REFERENCE;break;case tg.LESS_THAN_SIGN:this.state=Bg.RCDATA_LESS_THAN_SIGN;break;case tg.NULL:this._err(lg.unexpectedNullCharacter),this._emitChars(eg);break;case tg.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case tg.LESS_THAN_SIGN:this.state=Bg.RAWTEXT_LESS_THAN_SIGN;break;case tg.NULL:this._err(lg.unexpectedNullCharacter),this._emitChars(eg);break;case tg.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case tg.LESS_THAN_SIGN:this.state=Bg.SCRIPT_DATA_LESS_THAN_SIGN;break;case tg.NULL:this._err(lg.unexpectedNullCharacter),this._emitChars(eg);break;case tg.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case tg.NULL:this._err(lg.unexpectedNullCharacter),this._emitChars(eg);break;case tg.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(Ug(e))this._createStartTagToken(),this.state=Bg.TAG_NAME,this._stateTagName(e);else switch(e){case tg.EXCLAMATION_MARK:this.state=Bg.MARKUP_DECLARATION_OPEN;break;case tg.SOLIDUS:this.state=Bg.END_TAG_OPEN;break;case tg.QUESTION_MARK:this._err(lg.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=Bg.BOGUS_COMMENT,this._stateBogusComment(e);break;case tg.EOF:this._err(lg.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(lg.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=Bg.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(Ug(e))this._createEndTagToken(),this.state=Bg.TAG_NAME,this._stateTagName(e);else switch(e){case tg.GREATER_THAN_SIGN:this._err(lg.missingEndTagName),this.state=Bg.DATA;break;case tg.EOF:this._err(lg.eofBeforeTagName),this._emitChars(""),this._emitEOFToken();break;default:this._err(lg.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=Bg.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){const t=this.currentToken;switch(e){case tg.SPACE:case tg.LINE_FEED:case tg.TABULATION:case tg.FORM_FEED:this.state=Bg.BEFORE_ATTRIBUTE_NAME;break;case tg.SOLIDUS:this.state=Bg.SELF_CLOSING_START_TAG;break;case tg.GREATER_THAN_SIGN:this.state=Bg.DATA,this.emitCurrentTagToken();break;case tg.NULL:this._err(lg.unexpectedNullCharacter),t.tagName+=eg;break;case tg.EOF:this._err(lg.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint(jg(e)?Wg(e):e)}}_stateRcdataLessThanSign(e){e===tg.SOLIDUS?this.state=Bg.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=Bg.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){Ug(e)?(this.state=Bg.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars(""),this.state=Bg.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();switch(this._createEndTagToken(),this.currentToken.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case tg.SPACE:case tg.LINE_FEED:case tg.TABULATION:case tg.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=Bg.BEFORE_ATTRIBUTE_NAME,!1;case tg.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=Bg.SELF_CLOSING_START_TAG,!1;case tg.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=Bg.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(""),this.state=Bg.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===tg.SOLIDUS?this.state=Bg.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=Bg.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){Ug(e)?(this.state=Bg.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars(""),this.state=Bg.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(""),this.state=Bg.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case tg.SOLIDUS:this.state=Bg.SCRIPT_DATA_END_TAG_OPEN;break;case tg.EXCLAMATION_MARK:this.state=Bg.SCRIPT_DATA_ESCAPE_START,this._emitChars("");break;case tg.NULL:this._err(lg.unexpectedNullCharacter),this.state=Bg.SCRIPT_DATA_ESCAPED,this._emitChars(eg);break;case tg.EOF:this._err(lg.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Bg.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===tg.SOLIDUS?this.state=Bg.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Ug(e)?(this._emitChars("<"),this.state=Bg.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=Bg.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){Ug(e)?(this.state=Bg.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars(""),this.state=Bg.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(""),this.state=Bg.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(og,!1)&&Yg(this.preprocessor.peek(6))){this._emitCodePoint(e);for(let e=0;e<6;e++)this._emitCodePoint(this._consume());this.state=Bg.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=Bg.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case tg.HYPHEN_MINUS:this.state=Bg.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break;case tg.LESS_THAN_SIGN:this.state=Bg.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case tg.NULL:this._err(lg.unexpectedNullCharacter),this._emitChars(eg);break;case tg.EOF:this._err(lg.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case tg.HYPHEN_MINUS:this.state=Bg.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break;case tg.LESS_THAN_SIGN:this.state=Bg.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case tg.NULL:this._err(lg.unexpectedNullCharacter),this.state=Bg.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(eg);break;case tg.EOF:this._err(lg.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Bg.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case tg.HYPHEN_MINUS:this._emitChars("-");break;case tg.LESS_THAN_SIGN:this.state=Bg.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case tg.GREATER_THAN_SIGN:this.state=Bg.SCRIPT_DATA,this._emitChars(">");break;case tg.NULL:this._err(lg.unexpectedNullCharacter),this.state=Bg.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(eg);break;case tg.EOF:this._err(lg.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Bg.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===tg.SOLIDUS?(this.state=Bg.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=Bg.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(og,!1)&&Yg(this.preprocessor.peek(6))){this._emitCodePoint(e);for(let e=0;e<6;e++)this._emitCodePoint(this._consume());this.state=Bg.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=Bg.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case tg.SPACE:case tg.LINE_FEED:case tg.TABULATION:case tg.FORM_FEED:break;case tg.SOLIDUS:case tg.GREATER_THAN_SIGN:case tg.EOF:this.state=Bg.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case tg.EQUALS_SIGN:this._err(lg.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=Bg.ATTRIBUTE_NAME;break;default:this._createAttr(""),this.state=Bg.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case tg.SPACE:case tg.LINE_FEED:case tg.TABULATION:case tg.FORM_FEED:case tg.SOLIDUS:case tg.GREATER_THAN_SIGN:case tg.EOF:this._leaveAttrName(),this.state=Bg.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case tg.EQUALS_SIGN:this._leaveAttrName(),this.state=Bg.BEFORE_ATTRIBUTE_VALUE;break;case tg.QUOTATION_MARK:case tg.APOSTROPHE:case tg.LESS_THAN_SIGN:this._err(lg.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case tg.NULL:this._err(lg.unexpectedNullCharacter),this.currentAttr.name+=eg;break;default:this.currentAttr.name+=String.fromCodePoint(jg(e)?Wg(e):e)}}_stateAfterAttributeName(e){switch(e){case tg.SPACE:case tg.LINE_FEED:case tg.TABULATION:case tg.FORM_FEED:break;case tg.SOLIDUS:this.state=Bg.SELF_CLOSING_START_TAG;break;case tg.EQUALS_SIGN:this.state=Bg.BEFORE_ATTRIBUTE_VALUE;break;case tg.GREATER_THAN_SIGN:this.state=Bg.DATA,this.emitCurrentTagToken();break;case tg.EOF:this._err(lg.eofInTag),this._emitEOFToken();break;default:this._createAttr(""),this.state=Bg.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case tg.SPACE:case tg.LINE_FEED:case tg.TABULATION:case tg.FORM_FEED:break;case tg.QUOTATION_MARK:this.state=Bg.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case tg.APOSTROPHE:this.state=Bg.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case tg.GREATER_THAN_SIGN:this._err(lg.missingAttributeValue),this.state=Bg.DATA,this.emitCurrentTagToken();break;default:this.state=Bg.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case tg.QUOTATION_MARK:this.state=Bg.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case tg.AMPERSAND:this.returnState=Bg.ATTRIBUTE_VALUE_DOUBLE_QUOTED,this.state=Bg.CHARACTER_REFERENCE;break;case tg.NULL:this._err(lg.unexpectedNullCharacter),this.currentAttr.value+=eg;break;case tg.EOF:this._err(lg.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case tg.APOSTROPHE:this.state=Bg.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case tg.AMPERSAND:this.returnState=Bg.ATTRIBUTE_VALUE_SINGLE_QUOTED,this.state=Bg.CHARACTER_REFERENCE;break;case tg.NULL:this._err(lg.unexpectedNullCharacter),this.currentAttr.value+=eg;break;case tg.EOF:this._err(lg.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case tg.SPACE:case tg.LINE_FEED:case tg.TABULATION:case tg.FORM_FEED:this._leaveAttrValue(),this.state=Bg.BEFORE_ATTRIBUTE_NAME;break;case tg.AMPERSAND:this.returnState=Bg.ATTRIBUTE_VALUE_UNQUOTED,this.state=Bg.CHARACTER_REFERENCE;break;case tg.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=Bg.DATA,this.emitCurrentTagToken();break;case tg.NULL:this._err(lg.unexpectedNullCharacter),this.currentAttr.value+=eg;break;case tg.QUOTATION_MARK:case tg.APOSTROPHE:case tg.LESS_THAN_SIGN:case tg.EQUALS_SIGN:case tg.GRAVE_ACCENT:this._err(lg.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case tg.EOF:this._err(lg.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case tg.SPACE:case tg.LINE_FEED:case tg.TABULATION:case tg.FORM_FEED:this._leaveAttrValue(),this.state=Bg.BEFORE_ATTRIBUTE_NAME;break;case tg.SOLIDUS:this._leaveAttrValue(),this.state=Bg.SELF_CLOSING_START_TAG;break;case tg.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=Bg.DATA,this.emitCurrentTagToken();break;case tg.EOF:this._err(lg.eofInTag),this._emitEOFToken();break;default:this._err(lg.missingWhitespaceBetweenAttributes),this.state=Bg.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case tg.GREATER_THAN_SIGN:this.currentToken.selfClosing=!0,this.state=Bg.DATA,this.emitCurrentTagToken();break;case tg.EOF:this._err(lg.eofInTag),this._emitEOFToken();break;default:this._err(lg.unexpectedSolidusInTag),this.state=Bg.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){const t=this.currentToken;switch(e){case tg.GREATER_THAN_SIGN:this.state=Bg.DATA,this.emitCurrentComment(t);break;case tg.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case tg.NULL:this._err(lg.unexpectedNullCharacter),t.data+=eg;break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch("--",!0)?(this._createCommentToken(3),this.state=Bg.COMMENT_START):this._consumeSequenceIfMatch(rg,!1)?(this.currentLocation=this.getCurrentLocation(8),this.state=Bg.DOCTYPE):this._consumeSequenceIfMatch(ng,!0)?this.inForeignNode?this.state=Bg.CDATA_SECTION:(this._err(lg.cdataInHtmlContent),this._createCommentToken(8),this.currentToken.data="[CDATA[",this.state=Bg.BOGUS_COMMENT):this._ensureHibernation()||(this._err(lg.incorrectlyOpenedComment),this._createCommentToken(2),this.state=Bg.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case tg.HYPHEN_MINUS:this.state=Bg.COMMENT_START_DASH;break;case tg.GREATER_THAN_SIGN:{this._err(lg.abruptClosingOfEmptyComment),this.state=Bg.DATA;const e=this.currentToken;this.emitCurrentComment(e);break}default:this.state=Bg.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){const t=this.currentToken;switch(e){case tg.HYPHEN_MINUS:this.state=Bg.COMMENT_END;break;case tg.GREATER_THAN_SIGN:this._err(lg.abruptClosingOfEmptyComment),this.state=Bg.DATA,this.emitCurrentComment(t);break;case tg.EOF:this._err(lg.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=Bg.COMMENT,this._stateComment(e)}}_stateComment(e){const t=this.currentToken;switch(e){case tg.HYPHEN_MINUS:this.state=Bg.COMMENT_END_DASH;break;case tg.LESS_THAN_SIGN:t.data+="<",this.state=Bg.COMMENT_LESS_THAN_SIGN;break;case tg.NULL:this._err(lg.unexpectedNullCharacter),t.data+=eg;break;case tg.EOF:this._err(lg.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){const t=this.currentToken;switch(e){case tg.EXCLAMATION_MARK:t.data+="!",this.state=Bg.COMMENT_LESS_THAN_SIGN_BANG;break;case tg.LESS_THAN_SIGN:t.data+="<";break;default:this.state=Bg.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===tg.HYPHEN_MINUS?this.state=Bg.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=Bg.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===tg.HYPHEN_MINUS?this.state=Bg.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=Bg.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==tg.GREATER_THAN_SIGN&&e!==tg.EOF&&this._err(lg.nestedComment),this.state=Bg.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){const t=this.currentToken;switch(e){case tg.HYPHEN_MINUS:this.state=Bg.COMMENT_END;break;case tg.EOF:this._err(lg.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=Bg.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){const t=this.currentToken;switch(e){case tg.GREATER_THAN_SIGN:this.state=Bg.DATA,this.emitCurrentComment(t);break;case tg.EXCLAMATION_MARK:this.state=Bg.COMMENT_END_BANG;break;case tg.HYPHEN_MINUS:t.data+="-";break;case tg.EOF:this._err(lg.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--",this.state=Bg.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){const t=this.currentToken;switch(e){case tg.HYPHEN_MINUS:t.data+="--!",this.state=Bg.COMMENT_END_DASH;break;case tg.GREATER_THAN_SIGN:this._err(lg.incorrectlyClosedComment),this.state=Bg.DATA,this.emitCurrentComment(t);break;case tg.EOF:this._err(lg.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--!",this.state=Bg.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case tg.SPACE:case tg.LINE_FEED:case tg.TABULATION:case tg.FORM_FEED:this.state=Bg.BEFORE_DOCTYPE_NAME;break;case tg.GREATER_THAN_SIGN:this.state=Bg.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case tg.EOF:{this._err(lg.eofInDoctype),this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._err(lg.missingWhitespaceBeforeDoctypeName),this.state=Bg.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(jg(e))this._createDoctypeToken(String.fromCharCode(Wg(e))),this.state=Bg.DOCTYPE_NAME;else switch(e){case tg.SPACE:case tg.LINE_FEED:case tg.TABULATION:case tg.FORM_FEED:break;case tg.NULL:this._err(lg.unexpectedNullCharacter),this._createDoctypeToken(eg),this.state=Bg.DOCTYPE_NAME;break;case tg.GREATER_THAN_SIGN:{this._err(lg.missingDoctypeName),this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=Bg.DATA;break}case tg.EOF:{this._err(lg.eofInDoctype),this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=Bg.DOCTYPE_NAME}}_stateDoctypeName(e){const t=this.currentToken;switch(e){case tg.SPACE:case tg.LINE_FEED:case tg.TABULATION:case tg.FORM_FEED:this.state=Bg.AFTER_DOCTYPE_NAME;break;case tg.GREATER_THAN_SIGN:this.state=Bg.DATA,this.emitCurrentDoctype(t);break;case tg.NULL:this._err(lg.unexpectedNullCharacter),t.name+=eg;break;case tg.EOF:this._err(lg.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint(jg(e)?Wg(e):e)}}_stateAfterDoctypeName(e){const t=this.currentToken;switch(e){case tg.SPACE:case tg.LINE_FEED:case tg.TABULATION:case tg.FORM_FEED:break;case tg.GREATER_THAN_SIGN:this.state=Bg.DATA,this.emitCurrentDoctype(t);break;case tg.EOF:this._err(lg.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch("public",!1)?this.state=Bg.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch("system",!1)?this.state=Bg.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(lg.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=Bg.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){const t=this.currentToken;switch(e){case tg.SPACE:case tg.LINE_FEED:case tg.TABULATION:case tg.FORM_FEED:this.state=Bg.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case tg.QUOTATION_MARK:this._err(lg.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=Bg.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case tg.APOSTROPHE:this._err(lg.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=Bg.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case tg.GREATER_THAN_SIGN:this._err(lg.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Bg.DATA,this.emitCurrentDoctype(t);break;case tg.EOF:this._err(lg.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(lg.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Bg.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case tg.SPACE:case tg.LINE_FEED:case tg.TABULATION:case tg.FORM_FEED:break;case tg.QUOTATION_MARK:t.publicId="",this.state=Bg.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case tg.APOSTROPHE:t.publicId="",this.state=Bg.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case tg.GREATER_THAN_SIGN:this._err(lg.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Bg.DATA,this.emitCurrentDoctype(t);break;case tg.EOF:this._err(lg.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(lg.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Bg.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case tg.QUOTATION_MARK:this.state=Bg.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case tg.NULL:this._err(lg.unexpectedNullCharacter),t.publicId+=eg;break;case tg.GREATER_THAN_SIGN:this._err(lg.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Bg.DATA;break;case tg.EOF:this._err(lg.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case tg.APOSTROPHE:this.state=Bg.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case tg.NULL:this._err(lg.unexpectedNullCharacter),t.publicId+=eg;break;case tg.GREATER_THAN_SIGN:this._err(lg.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Bg.DATA;break;case tg.EOF:this._err(lg.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case tg.SPACE:case tg.LINE_FEED:case tg.TABULATION:case tg.FORM_FEED:this.state=Bg.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case tg.GREATER_THAN_SIGN:this.state=Bg.DATA,this.emitCurrentDoctype(t);break;case tg.QUOTATION_MARK:this._err(lg.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=Bg.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case tg.APOSTROPHE:this._err(lg.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=Bg.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case tg.EOF:this._err(lg.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(lg.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Bg.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){const t=this.currentToken;switch(e){case tg.SPACE:case tg.LINE_FEED:case tg.TABULATION:case tg.FORM_FEED:break;case tg.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=Bg.DATA;break;case tg.QUOTATION_MARK:t.systemId="",this.state=Bg.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case tg.APOSTROPHE:t.systemId="",this.state=Bg.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case tg.EOF:this._err(lg.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(lg.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Bg.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){const t=this.currentToken;switch(e){case tg.SPACE:case tg.LINE_FEED:case tg.TABULATION:case tg.FORM_FEED:this.state=Bg.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case tg.QUOTATION_MARK:this._err(lg.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=Bg.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case tg.APOSTROPHE:this._err(lg.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=Bg.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case tg.GREATER_THAN_SIGN:this._err(lg.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Bg.DATA,this.emitCurrentDoctype(t);break;case tg.EOF:this._err(lg.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(lg.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Bg.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case tg.SPACE:case tg.LINE_FEED:case tg.TABULATION:case tg.FORM_FEED:break;case tg.QUOTATION_MARK:t.systemId="",this.state=Bg.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case tg.APOSTROPHE:t.systemId="",this.state=Bg.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case tg.GREATER_THAN_SIGN:this._err(lg.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Bg.DATA,this.emitCurrentDoctype(t);break;case tg.EOF:this._err(lg.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(lg.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Bg.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case tg.QUOTATION_MARK:this.state=Bg.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case tg.NULL:this._err(lg.unexpectedNullCharacter),t.systemId+=eg;break;case tg.GREATER_THAN_SIGN:this._err(lg.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Bg.DATA;break;case tg.EOF:this._err(lg.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case tg.APOSTROPHE:this.state=Bg.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case tg.NULL:this._err(lg.unexpectedNullCharacter),t.systemId+=eg;break;case tg.GREATER_THAN_SIGN:this._err(lg.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Bg.DATA;break;case tg.EOF:this._err(lg.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case tg.SPACE:case tg.LINE_FEED:case tg.TABULATION:case tg.FORM_FEED:break;case tg.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=Bg.DATA;break;case tg.EOF:this._err(lg.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(lg.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=Bg.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){const t=this.currentToken;switch(e){case tg.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=Bg.DATA;break;case tg.NULL:this._err(lg.unexpectedNullCharacter);break;case tg.EOF:this.emitCurrentDoctype(t),this._emitEOFToken()}}_stateCdataSection(e){switch(e){case tg.RIGHT_SQUARE_BRACKET:this.state=Bg.CDATA_SECTION_BRACKET;break;case tg.EOF:this._err(lg.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===tg.RIGHT_SQUARE_BRACKET?this.state=Bg.CDATA_SECTION_END:(this._emitChars("]"),this.state=Bg.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case tg.GREATER_THAN_SIGN:this.state=Bg.DATA;break;case tg.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:this._emitChars("]]"),this.state=Bg.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(e){e===tg.NUMBER_SIGN?this.state=Bg.NUMERIC_CHARACTER_REFERENCE:zg(e)?(this.state=Bg.NAMED_CHARACTER_REFERENCE,this._stateNamedCharacterReference(e)):(this._flushCodePointConsumedAsCharacterReference(tg.AMPERSAND),this._reconsumeInState(this.returnState,e))}_stateNamedCharacterReference(e){const t=this._matchNamedCharacterReference(e);if(this._ensureHibernation());else if(t){for(let e=0;e1114111)this._err(lg.characterReferenceOutsideUnicodeRange),this.charRefCode=tg.REPLACEMENT_CHARACTER;else if(ag(this.charRefCode))this._err(lg.surrogateCharacterReference),this.charRefCode=tg.REPLACEMENT_CHARACTER;else if(sg(this.charRefCode))this._err(lg.noncharacterCharacterReference);else if(ig(this.charRefCode)||this.charRefCode===tg.CARRIAGE_RETURN){this._err(lg.controlCharacterReference);const e=Mg.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}const Kg=new Set([Ag.DD,Ag.DT,Ag.LI,Ag.OPTGROUP,Ag.OPTION,Ag.P,Ag.RB,Ag.RP,Ag.RT,Ag.RTC]),Qg=new Set([...Kg,Ag.CAPTION,Ag.COLGROUP,Ag.TBODY,Ag.TD,Ag.TFOOT,Ag.TH,Ag.THEAD,Ag.TR]),Xg=new Map([[Ag.APPLET,Tg.HTML],[Ag.CAPTION,Tg.HTML],[Ag.HTML,Tg.HTML],[Ag.MARQUEE,Tg.HTML],[Ag.OBJECT,Tg.HTML],[Ag.TABLE,Tg.HTML],[Ag.TD,Tg.HTML],[Ag.TEMPLATE,Tg.HTML],[Ag.TH,Tg.HTML],[Ag.ANNOTATION_XML,Tg.MATHML],[Ag.MI,Tg.MATHML],[Ag.MN,Tg.MATHML],[Ag.MO,Tg.MATHML],[Ag.MS,Tg.MATHML],[Ag.MTEXT,Tg.MATHML],[Ag.DESC,Tg.SVG],[Ag.FOREIGN_OBJECT,Tg.SVG],[Ag.TITLE,Tg.SVG]]),Jg=[Ag.H1,Ag.H2,Ag.H3,Ag.H4,Ag.H5,Ag.H6],Zg=[Ag.TR,Ag.TEMPLATE,Ag.HTML],ev=[Ag.TBODY,Ag.TFOOT,Ag.THEAD,Ag.TEMPLATE,Ag.HTML],tv=[Ag.TABLE,Ag.TEMPLATE,Ag.HTML],nv=[Ag.TD,Ag.TH];class rv{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=Ag.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===Ag.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===Tg.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){const e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){const n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){const r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do{t=this.tagIDs.lastIndexOf(e,t-1)}while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==Tg.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return-1}clearBackTo(e,t){const n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(tv,Tg.HTML)}clearBackToTableBodyContext(){this.clearBackTo(ev,Tg.HTML)}clearBackToTableRowContext(){this.clearBackTo(Zg,Tg.HTML)}remove(e){const t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===Ag.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){const t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===Ag.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===Tg.HTML)return!0;if(Xg.get(n)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(Lg(t)&&n===Tg.HTML)return!0;if(Xg.get(t)===n)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===Tg.HTML)return!0;if((n===Ag.UL||n===Ag.OL)&&r===Tg.HTML||Xg.get(n)===r)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===Tg.HTML)return!0;if(n===Ag.BUTTON&&r===Tg.HTML||Xg.get(n)===r)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===Tg.HTML){if(n===e)return!0;if(n===Ag.TABLE||n===Ag.TEMPLATE||n===Ag.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e];if(this.treeAdapter.getNamespaceURI(this.items[e])===Tg.HTML){if(t===Ag.TBODY||t===Ag.THEAD||t===Ag.TFOOT)return!0;if(t===Ag.TABLE||t===Ag.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===Tg.HTML){if(n===e)return!0;if(n!==Ag.OPTION&&n!==Ag.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;Kg.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;Qg.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&Qg.has(this.currentTagId);)this.pop()}}var ov;!function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"}(ov=ov||(ov={}));const av={type:ov.Marker};class iv{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){const n=[],r=t.length,o=this.treeAdapter.getTagName(e),a=this.treeAdapter.getNamespaceURI(e);for(let e=0;e[e.name,e.value])));let o=0;for(let e=0;er.get(e.name)===e.value))&&(o+=1,o>=3&&this.entries.splice(t.idx,1))}}insertMarker(){this.entries.unshift(av)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:ov.Element,element:e,token:t})}insertElementAfterBookmark(e,t){const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:ov.Element,element:e,token:t})}removeEntry(e){const t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){const e=this.entries.indexOf(av);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){const t=this.entries.find((t=>t.type===ov.Marker||this.treeAdapter.getTagName(t.element)===e));return t&&t.type===ov.Element?t:null}getElementEntry(e){return this.entries.find((t=>t.type===ov.Element&&t.element===e))}}function sv(e){return{nodeName:"#text",value:e,parentNode:null}}const lv={createDocument:()=>({nodeName:"#document",mode:kg.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){const o=e.childNodes.find((e=>"#documentType"===e.nodeName));if(o)o.name=t,o.publicId=n,o.systemId=r;else{const o={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};lv.appendChild(e,o)}},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(lv.isTextNode(n))return void(n.value+=t)}lv.appendChild(e,sv(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&lv.isTextNode(r)?r.value+=t:lv.insertBefore(e,sv(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map((e=>e.name)));for(let r=0;re.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},cv="html",uv=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],dv=[...uv,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],pv=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),fv=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],hv=[...fv,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function mv(e,t){return t.some((t=>e.startsWith(t)))}const gv="text/html",vv="application/xhtml+xml",yv="definitionurl",bv="definitionURL",Ev=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((e=>[e.toLowerCase(),e]))),Tv=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:Tg.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:Tg.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:Tg.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:Tg.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:Tg.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:Tg.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:Tg.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:Tg.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:Tg.XML}],["xml:space",{prefix:"xml",name:"space",namespace:Tg.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:Tg.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:Tg.XMLNS}]]),Sv=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((e=>[e.toLowerCase(),e]))),kv=new Set([Ag.B,Ag.BIG,Ag.BLOCKQUOTE,Ag.BODY,Ag.BR,Ag.CENTER,Ag.CODE,Ag.DD,Ag.DIV,Ag.DL,Ag.DT,Ag.EM,Ag.EMBED,Ag.H1,Ag.H2,Ag.H3,Ag.H4,Ag.H5,Ag.H6,Ag.HEAD,Ag.HR,Ag.I,Ag.IMG,Ag.LI,Ag.LISTING,Ag.MENU,Ag.META,Ag.NOBR,Ag.OL,Ag.P,Ag.PRE,Ag.RUBY,Ag.S,Ag.SMALL,Ag.SPAN,Ag.STRONG,Ag.STRIKE,Ag.SUB,Ag.SUP,Ag.TABLE,Ag.TT,Ag.U,Ag.UL,Ag.VAR]);function Cv(e){for(let t=0;t0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):({current:e,currentTagId:t}=this.openElements),this._setContextModes(e,t)}}_setContextModes(e,t){const n=e===this.document||this.treeAdapter.getNamespaceURI(e)===Tg.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,Tg.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=wv.TEXT}switchToPlaintextParsing(){this.insertionMode=wv.TEXT,this.originalInsertionMode=wv.IN_BODY,this.tokenizer.state=Fg.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===Cg.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===Tg.HTML)switch(this.fragmentContextID){case Ag.TITLE:case Ag.TEXTAREA:this.tokenizer.state=Fg.RCDATA;break;case Ag.STYLE:case Ag.XMP:case Ag.IFRAME:case Ag.NOEMBED:case Ag.NOFRAMES:case Ag.NOSCRIPT:this.tokenizer.state=Fg.RAWTEXT;break;case Ag.SCRIPT:this.tokenizer.state=Fg.SCRIPT_DATA;break;case Ag.PLAINTEXT:this.tokenizer.state=Fg.PLAINTEXT}}_setDocumentType(e){const t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){const t=this.treeAdapter.getChildNodes(this.document).find((e=>this.treeAdapter.isDocumentTypeNode(e)));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){const n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{const t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){const n=this.treeAdapter.createElement(e,Tg.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){const t=this.treeAdapter.createElement(e.tagName,Tg.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){const e=this.treeAdapter.createElement(Cg.HTML,Tg.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,Ag.HTML)}_appendCommentNode(e,t){const n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?(({parent:t,beforeElement:n}=this._findFosterParentingLocation()),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;const r=this.treeAdapter.getChildNodes(t),o=n?r.lastIndexOf(n):r.length,a=r[o-1];if(this.treeAdapter.getNodeSourceCodeLocation(a)){const{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(a,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){const n=t.location,r=this.treeAdapter.getTagName(e),o=t.type===cg.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,o)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let t,n;return 0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):({current:t,currentTagId:n}=this.openElements),(e.tagID!==Ag.SVG||this.treeAdapter.getTagName(t)!==Cg.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==Tg.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===Ag.MGLYPH||e.tagID===Ag.MALIGNMARK)&&!this._isIntegrationPoint(n,t,Tg.HTML))}_processToken(e){switch(e.type){case cg.CHARACTER:this.onCharacter(e);break;case cg.NULL_CHARACTER:this.onNullCharacter(e);break;case cg.COMMENT:this.onComment(e);break;case cg.DOCTYPE:this.onDoctype(e);break;case cg.START_TAG:this._processStartTag(e);break;case cg.END_TAG:this.onEndTag(e);break;case cg.EOF:this.onEof(e);break;case cg.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){return function(e,t,n,r){return(!r||r===Tg.HTML)&&function(e,t,n){if(t===Tg.MATHML&&e===Ag.ANNOTATION_XML)for(let e=0;ee.type===ov.Marker||this.openElements.contains(e.element)));for(let n=t<0?e-1:t-1;n>=0;n--){const e=this.activeFormattingElements.entries[n];this._insertElement(e.token,this.treeAdapter.getNamespaceURI(e.element)),e.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=wv.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(Ag.P),this.openElements.popUntilTagNamePopped(Ag.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case Ag.TR:return void(this.insertionMode=wv.IN_ROW);case Ag.TBODY:case Ag.THEAD:case Ag.TFOOT:return void(this.insertionMode=wv.IN_TABLE_BODY);case Ag.CAPTION:return void(this.insertionMode=wv.IN_CAPTION);case Ag.COLGROUP:return void(this.insertionMode=wv.IN_COLUMN_GROUP);case Ag.TABLE:return void(this.insertionMode=wv.IN_TABLE);case Ag.BODY:return void(this.insertionMode=wv.IN_BODY);case Ag.FRAMESET:return void(this.insertionMode=wv.IN_FRAMESET);case Ag.SELECT:return void this._resetInsertionModeForSelect(e);case Ag.TEMPLATE:return void(this.insertionMode=this.tmplInsertionModeStack[0]);case Ag.HTML:return void(this.insertionMode=this.headElement?wv.AFTER_HEAD:wv.BEFORE_HEAD);case Ag.TD:case Ag.TH:if(e>0)return void(this.insertionMode=wv.IN_CELL);break;case Ag.HEAD:if(e>0)return void(this.insertionMode=wv.IN_HEAD)}this.insertionMode=wv.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){const e=this.openElements.tagIDs[t];if(e===Ag.TEMPLATE)break;if(e===Ag.TABLE)return void(this.insertionMode=wv.IN_SELECT_IN_TABLE)}this.insertionMode=wv.IN_SELECT}_isElementCausesFosterParenting(e){return Dv.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){const t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case Ag.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===Tg.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case Ag.TABLE:{const n=this.treeAdapter.getParentNode(t);return n?{parent:n,beforeElement:t}:{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){const n=this.treeAdapter.getNamespaceURI(e);return Pg[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){e._insertCharacters(t),e.framesetOk=!1}(this,e);else switch(this.insertionMode){case wv.INITIAL:Gv(this,e);break;case wv.BEFORE_HTML:Wv(this,e);break;case wv.BEFORE_HEAD:Vv(this,e);break;case wv.IN_HEAD:Kv(this,e);break;case wv.IN_HEAD_NO_SCRIPT:Qv(this,e);break;case wv.AFTER_HEAD:Xv(this,e);break;case wv.IN_BODY:case wv.IN_CAPTION:case wv.IN_CELL:case wv.IN_TEMPLATE:ey(this,e);break;case wv.TEXT:case wv.IN_SELECT:case wv.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case wv.IN_TABLE:case wv.IN_TABLE_BODY:case wv.IN_ROW:cy(this,e);break;case wv.IN_TABLE_TEXT:hy(this,e);break;case wv.IN_COLUMN_GROUP:yy(this,e);break;case wv.AFTER_BODY:xy(this,e);break;case wv.AFTER_AFTER_BODY:Oy(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){t.chars=eg,e._insertCharacters(t)}(this,e);else switch(this.insertionMode){case wv.INITIAL:Gv(this,e);break;case wv.BEFORE_HTML:Wv(this,e);break;case wv.BEFORE_HEAD:Vv(this,e);break;case wv.IN_HEAD:Kv(this,e);break;case wv.IN_HEAD_NO_SCRIPT:Qv(this,e);break;case wv.AFTER_HEAD:Xv(this,e);break;case wv.TEXT:this._insertCharacters(e);break;case wv.IN_TABLE:case wv.IN_TABLE_BODY:case wv.IN_ROW:cy(this,e);break;case wv.IN_COLUMN_GROUP:yy(this,e);break;case wv.AFTER_BODY:xy(this,e);break;case wv.AFTER_AFTER_BODY:Oy(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML)zv(this,e);else switch(this.insertionMode){case wv.INITIAL:case wv.BEFORE_HTML:case wv.BEFORE_HEAD:case wv.IN_HEAD:case wv.IN_HEAD_NO_SCRIPT:case wv.AFTER_HEAD:case wv.IN_BODY:case wv.IN_TABLE:case wv.IN_CAPTION:case wv.IN_COLUMN_GROUP:case wv.IN_TABLE_BODY:case wv.IN_ROW:case wv.IN_CELL:case wv.IN_SELECT:case wv.IN_SELECT_IN_TABLE:case wv.IN_TEMPLATE:case wv.IN_FRAMESET:case wv.AFTER_FRAMESET:zv(this,e);break;case wv.IN_TABLE_TEXT:my(this,e);break;case wv.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case wv.AFTER_AFTER_BODY:case wv.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case wv.INITIAL:!function(e,t){e._setDocumentType(t);const n=t.forceQuirks?kg.QUIRKS:function(e){if(e.name!==cv)return kg.QUIRKS;const{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return kg.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),pv.has(n))return kg.QUIRKS;let e=null===t?dv:uv;if(mv(n,e))return kg.QUIRKS;if(e=null===t?fv:hv,mv(n,e))return kg.LIMITED_QUIRKS}return kg.NO_QUIRKS}(t);(function(e){return e.name===cv&&null===e.publicId&&(null===e.systemId||"about:legacy-compat"===e.systemId)})(t)||e._err(t,lg.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=wv.BEFORE_HTML}(this,e);break;case wv.BEFORE_HEAD:case wv.IN_HEAD:case wv.IN_HEAD_NO_SCRIPT:case wv.AFTER_HEAD:this._err(e,lg.misplacedDoctype);break;case wv.IN_TABLE_TEXT:my(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,lg.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){const t=e.tagID;return t===Ag.FONT&&e.attrs.some((({name:e})=>e===Sg.COLOR||e===Sg.SIZE||e===Sg.FACE))||kv.has(t)}(t))Iy(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===Tg.MATHML?Cv(t):r===Tg.SVG&&(function(e){const t=Sv.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=Dg(e.tagName))}(t),Av(t)),_v(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case wv.INITIAL:Gv(this,e);break;case wv.BEFORE_HTML:!function(e,t){t.tagID===Ag.HTML?(e._insertElement(t,Tg.HTML),e.insertionMode=wv.BEFORE_HEAD):Wv(e,t)}(this,e);break;case wv.BEFORE_HEAD:!function(e,t){switch(t.tagID){case Ag.HTML:ay(e,t);break;case Ag.HEAD:e._insertElement(t,Tg.HTML),e.headElement=e.openElements.current,e.insertionMode=wv.IN_HEAD;break;default:Vv(e,t)}}(this,e);break;case wv.IN_HEAD:Yv(this,e);break;case wv.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case Ag.HTML:ay(e,t);break;case Ag.BASEFONT:case Ag.BGSOUND:case Ag.HEAD:case Ag.LINK:case Ag.META:case Ag.NOFRAMES:case Ag.STYLE:Yv(e,t);break;case Ag.NOSCRIPT:e._err(t,lg.nestedNoscriptInHead);break;default:Qv(e,t)}}(this,e);break;case wv.AFTER_HEAD:!function(e,t){switch(t.tagID){case Ag.HTML:ay(e,t);break;case Ag.BODY:e._insertElement(t,Tg.HTML),e.framesetOk=!1,e.insertionMode=wv.IN_BODY;break;case Ag.FRAMESET:e._insertElement(t,Tg.HTML),e.insertionMode=wv.IN_FRAMESET;break;case Ag.BASE:case Ag.BASEFONT:case Ag.BGSOUND:case Ag.LINK:case Ag.META:case Ag.NOFRAMES:case Ag.SCRIPT:case Ag.STYLE:case Ag.TEMPLATE:case Ag.TITLE:e._err(t,lg.abandonedHeadElementChild),e.openElements.push(e.headElement,Ag.HEAD),Yv(e,t),e.openElements.remove(e.headElement);break;case Ag.HEAD:e._err(t,lg.misplacedStartTagForHeadElement);break;default:Xv(e,t)}}(this,e);break;case wv.IN_BODY:ay(this,e);break;case wv.IN_TABLE:uy(this,e);break;case wv.IN_TABLE_TEXT:my(this,e);break;case wv.IN_CAPTION:!function(e,t){const n=t.tagID;gy.has(n)?e.openElements.hasInTableScope(Ag.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Ag.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=wv.IN_TABLE,uy(e,t)):ay(e,t)}(this,e);break;case wv.IN_COLUMN_GROUP:vy(this,e);break;case wv.IN_TABLE_BODY:by(this,e);break;case wv.IN_ROW:Ty(this,e);break;case wv.IN_CELL:!function(e,t){const n=t.tagID;gy.has(n)?(e.openElements.hasInTableScope(Ag.TD)||e.openElements.hasInTableScope(Ag.TH))&&(e._closeTableCell(),Ty(e,t)):ay(e,t)}(this,e);break;case wv.IN_SELECT:ky(this,e);break;case wv.IN_SELECT_IN_TABLE:!function(e,t){const n=t.tagID;n===Ag.CAPTION||n===Ag.TABLE||n===Ag.TBODY||n===Ag.TFOOT||n===Ag.THEAD||n===Ag.TR||n===Ag.TD||n===Ag.TH?(e.openElements.popUntilTagNamePopped(Ag.SELECT),e._resetInsertionMode(),e._processStartTag(t)):ky(e,t)}(this,e);break;case wv.IN_TEMPLATE:!function(e,t){switch(t.tagID){case Ag.BASE:case Ag.BASEFONT:case Ag.BGSOUND:case Ag.LINK:case Ag.META:case Ag.NOFRAMES:case Ag.SCRIPT:case Ag.STYLE:case Ag.TEMPLATE:case Ag.TITLE:Yv(e,t);break;case Ag.CAPTION:case Ag.COLGROUP:case Ag.TBODY:case Ag.TFOOT:case Ag.THEAD:e.tmplInsertionModeStack[0]=wv.IN_TABLE,e.insertionMode=wv.IN_TABLE,uy(e,t);break;case Ag.COL:e.tmplInsertionModeStack[0]=wv.IN_COLUMN_GROUP,e.insertionMode=wv.IN_COLUMN_GROUP,vy(e,t);break;case Ag.TR:e.tmplInsertionModeStack[0]=wv.IN_TABLE_BODY,e.insertionMode=wv.IN_TABLE_BODY,by(e,t);break;case Ag.TD:case Ag.TH:e.tmplInsertionModeStack[0]=wv.IN_ROW,e.insertionMode=wv.IN_ROW,Ty(e,t);break;default:e.tmplInsertionModeStack[0]=wv.IN_BODY,e.insertionMode=wv.IN_BODY,ay(e,t)}}(this,e);break;case wv.AFTER_BODY:!function(e,t){t.tagID===Ag.HTML?ay(e,t):xy(e,t)}(this,e);break;case wv.IN_FRAMESET:!function(e,t){switch(t.tagID){case Ag.HTML:ay(e,t);break;case Ag.FRAMESET:e._insertElement(t,Tg.HTML);break;case Ag.FRAME:e._appendElement(t,Tg.HTML),t.ackSelfClosing=!0;break;case Ag.NOFRAMES:Yv(e,t)}}(this,e);break;case wv.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case Ag.HTML:ay(e,t);break;case Ag.NOFRAMES:Yv(e,t)}}(this,e);break;case wv.AFTER_AFTER_BODY:!function(e,t){t.tagID===Ag.HTML?ay(e,t):Oy(e,t)}(this,e);break;case wv.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case Ag.HTML:ay(e,t);break;case Ag.NOFRAMES:Yv(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===Ag.P||t.tagID===Ag.BR)return Iy(e),void e._endTagOutsideForeignContent(t);for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===Tg.HTML){e._endTagOutsideForeignContent(t);break}const o=e.treeAdapter.getTagName(r);if(o.toLowerCase()===t.tagName){t.tagName=o,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case wv.INITIAL:Gv(this,e);break;case wv.BEFORE_HTML:!function(e,t){const n=t.tagID;n!==Ag.HTML&&n!==Ag.HEAD&&n!==Ag.BODY&&n!==Ag.BR||Wv(e,t)}(this,e);break;case wv.BEFORE_HEAD:!function(e,t){const n=t.tagID;n===Ag.HEAD||n===Ag.BODY||n===Ag.HTML||n===Ag.BR?Vv(e,t):e._err(t,lg.endTagWithoutMatchingOpenElement)}(this,e);break;case wv.IN_HEAD:!function(e,t){switch(t.tagID){case Ag.HEAD:e.openElements.pop(),e.insertionMode=wv.AFTER_HEAD;break;case Ag.BODY:case Ag.BR:case Ag.HTML:Kv(e,t);break;case Ag.TEMPLATE:qv(e,t);break;default:e._err(t,lg.endTagWithoutMatchingOpenElement)}}(this,e);break;case wv.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case Ag.NOSCRIPT:e.openElements.pop(),e.insertionMode=wv.IN_HEAD;break;case Ag.BR:Qv(e,t);break;default:e._err(t,lg.endTagWithoutMatchingOpenElement)}}(this,e);break;case wv.AFTER_HEAD:!function(e,t){switch(t.tagID){case Ag.BODY:case Ag.HTML:case Ag.BR:Xv(e,t);break;case Ag.TEMPLATE:qv(e,t);break;default:e._err(t,lg.endTagWithoutMatchingOpenElement)}}(this,e);break;case wv.IN_BODY:sy(this,e);break;case wv.TEXT:!function(e,t){var n;t.tagID===Ag.SCRIPT&&(null===(n=e.scriptHandler)||void 0===n||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}(this,e);break;case wv.IN_TABLE:dy(this,e);break;case wv.IN_TABLE_TEXT:my(this,e);break;case wv.IN_CAPTION:!function(e,t){const n=t.tagID;switch(n){case Ag.CAPTION:case Ag.TABLE:e.openElements.hasInTableScope(Ag.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Ag.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=wv.IN_TABLE,n===Ag.TABLE&&dy(e,t));break;case Ag.BODY:case Ag.COL:case Ag.COLGROUP:case Ag.HTML:case Ag.TBODY:case Ag.TD:case Ag.TFOOT:case Ag.TH:case Ag.THEAD:case Ag.TR:break;default:sy(e,t)}}(this,e);break;case wv.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case Ag.COLGROUP:e.openElements.currentTagId===Ag.COLGROUP&&(e.openElements.pop(),e.insertionMode=wv.IN_TABLE);break;case Ag.TEMPLATE:qv(e,t);break;case Ag.COL:break;default:yy(e,t)}}(this,e);break;case wv.IN_TABLE_BODY:Ey(this,e);break;case wv.IN_ROW:Sy(this,e);break;case wv.IN_CELL:!function(e,t){const n=t.tagID;switch(n){case Ag.TD:case Ag.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=wv.IN_ROW);break;case Ag.TABLE:case Ag.TBODY:case Ag.TFOOT:case Ag.THEAD:case Ag.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),Sy(e,t));break;case Ag.BODY:case Ag.CAPTION:case Ag.COL:case Ag.COLGROUP:case Ag.HTML:break;default:sy(e,t)}}(this,e);break;case wv.IN_SELECT:Cy(this,e);break;case wv.IN_SELECT_IN_TABLE:!function(e,t){const n=t.tagID;n===Ag.CAPTION||n===Ag.TABLE||n===Ag.TBODY||n===Ag.TFOOT||n===Ag.THEAD||n===Ag.TR||n===Ag.TD||n===Ag.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(Ag.SELECT),e._resetInsertionMode(),e.onEndTag(t)):Cy(e,t)}(this,e);break;case wv.IN_TEMPLATE:!function(e,t){t.tagID===Ag.TEMPLATE&&qv(e,t)}(this,e);break;case wv.AFTER_BODY:_y(this,e);break;case wv.IN_FRAMESET:!function(e,t){t.tagID!==Ag.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagId===Ag.FRAMESET||(e.insertionMode=wv.AFTER_FRAMESET))}(this,e);break;case wv.AFTER_FRAMESET:!function(e,t){t.tagID===Ag.HTML&&(e.insertionMode=wv.AFTER_AFTER_FRAMESET)}(this,e);break;case wv.AFTER_AFTER_BODY:Oy(this,e)}}onEof(e){switch(this.insertionMode){case wv.INITIAL:Gv(this,e);break;case wv.BEFORE_HTML:Wv(this,e);break;case wv.BEFORE_HEAD:Vv(this,e);break;case wv.IN_HEAD:Kv(this,e);break;case wv.IN_HEAD_NO_SCRIPT:Qv(this,e);break;case wv.AFTER_HEAD:Xv(this,e);break;case wv.IN_BODY:case wv.IN_TABLE:case wv.IN_CAPTION:case wv.IN_COLUMN_GROUP:case wv.IN_TABLE_BODY:case wv.IN_ROW:case wv.IN_CELL:case wv.IN_SELECT:case wv.IN_SELECT_IN_TABLE:ly(this,e);break;case wv.TEXT:!function(e,t){e._err(t,lg.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}(this,e);break;case wv.IN_TABLE_TEXT:my(this,e);break;case wv.IN_TEMPLATE:Ay(this,e);break;case wv.AFTER_BODY:case wv.IN_FRAMESET:case wv.AFTER_FRAMESET:case wv.AFTER_AFTER_BODY:case wv.AFTER_AFTER_FRAMESET:$v(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===tg.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode)this._insertCharacters(e);else switch(this.insertionMode){case wv.IN_HEAD:case wv.IN_HEAD_NO_SCRIPT:case wv.AFTER_HEAD:case wv.TEXT:case wv.IN_COLUMN_GROUP:case wv.IN_SELECT:case wv.IN_SELECT_IN_TABLE:case wv.IN_FRAMESET:case wv.AFTER_FRAMESET:this._insertCharacters(e);break;case wv.IN_BODY:case wv.IN_CAPTION:case wv.IN_CELL:case wv.IN_TEMPLATE:case wv.AFTER_BODY:case wv.AFTER_AFTER_BODY:case wv.AFTER_AFTER_FRAMESET:Zv(this,e);break;case wv.IN_TABLE:case wv.IN_TABLE_BODY:case wv.IN_ROW:cy(this,e);break;case wv.IN_TABLE_TEXT:fy(this,e)}}}function Lv(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):iy(e,t),n}function Mv(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const o=e.openElements.items[r];if(o===t.element)break;e._isSpecialElement(o,e.openElements.tagIDs[r])&&(n=o)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}function Bv(e,t,n){let r=t,o=e.openElements.getCommonAncestor(t);for(let a=0,i=o;i!==n;a++,i=o){o=e.openElements.getCommonAncestor(i);const n=e.activeFormattingElements.getElementEntry(i),s=n&&a>=Iv;!n||s?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(i)):(i=Fv(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(i,r),r=i)}return r}function Fv(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function Hv(e,t,n){const r=Dg(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{const o=e.treeAdapter.getNamespaceURI(t);r===Ag.TEMPLATE&&o===Tg.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function jv(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:o}=n,a=e.treeAdapter.createElement(o.tagName,r,o.attrs);e._adoptNodes(t,a),e.treeAdapter.appendChild(t,a),e.activeFormattingElements.insertElementAfterBookmark(a,o),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,a,o.tagID)}function Uv(e,t){for(let n=0;n=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){const n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function Gv(e,t){e._err(t,lg.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,kg.QUIRKS),e.insertionMode=wv.BEFORE_HTML,e._processToken(t)}function Wv(e,t){e._insertFakeRootElement(),e.insertionMode=wv.BEFORE_HEAD,e._processToken(t)}function Vv(e,t){e._insertFakeElement(Cg.HEAD,Ag.HEAD),e.headElement=e.openElements.current,e.insertionMode=wv.IN_HEAD,e._processToken(t)}function Yv(e,t){switch(t.tagID){case Ag.HTML:ay(e,t);break;case Ag.BASE:case Ag.BASEFONT:case Ag.BGSOUND:case Ag.LINK:case Ag.META:e._appendElement(t,Tg.HTML),t.ackSelfClosing=!0;break;case Ag.TITLE:e._switchToTextParsing(t,Fg.RCDATA);break;case Ag.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,Fg.RAWTEXT):(e._insertElement(t,Tg.HTML),e.insertionMode=wv.IN_HEAD_NO_SCRIPT);break;case Ag.NOFRAMES:case Ag.STYLE:e._switchToTextParsing(t,Fg.RAWTEXT);break;case Ag.SCRIPT:e._switchToTextParsing(t,Fg.SCRIPT_DATA);break;case Ag.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=wv.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(wv.IN_TEMPLATE);break;case Ag.HEAD:e._err(t,lg.misplacedStartTagForHeadElement);break;default:Kv(e,t)}}function qv(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==Ag.TEMPLATE&&e._err(t,lg.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(Ag.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,lg.endTagWithoutMatchingOpenElement)}function Kv(e,t){e.openElements.pop(),e.insertionMode=wv.AFTER_HEAD,e._processToken(t)}function Qv(e,t){const n=t.type===cg.EOF?lg.openElementsLeftAfterEof:lg.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=wv.IN_HEAD,e._processToken(t)}function Xv(e,t){e._insertFakeElement(Cg.BODY,Ag.BODY),e.insertionMode=wv.IN_BODY,Jv(e,t)}function Jv(e,t){switch(t.type){case cg.CHARACTER:ey(e,t);break;case cg.WHITESPACE_CHARACTER:Zv(e,t);break;case cg.COMMENT:zv(e,t);break;case cg.START_TAG:ay(e,t);break;case cg.END_TAG:sy(e,t);break;case cg.EOF:ly(e,t)}}function Zv(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function ey(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function ty(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Tg.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function ny(e){const t=dg(e,Sg.TYPE);return null!=t&&t.toLowerCase()===xv}function ry(e,t){e._switchToTextParsing(t,Fg.RAWTEXT)}function oy(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Tg.HTML)}function ay(e,t){switch(t.tagID){case Ag.I:case Ag.S:case Ag.B:case Ag.U:case Ag.EM:case Ag.TT:case Ag.BIG:case Ag.CODE:case Ag.FONT:case Ag.SMALL:case Ag.STRIKE:case Ag.STRONG:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Tg.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case Ag.A:!function(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(Cg.A);n&&(Uv(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,Tg.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case Ag.H1:case Ag.H2:case Ag.H3:case Ag.H4:case Ag.H5:case Ag.H6:!function(e,t){e.openElements.hasInButtonScope(Ag.P)&&e._closePElement(),Lg(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,Tg.HTML)}(e,t);break;case Ag.P:case Ag.DL:case Ag.OL:case Ag.UL:case Ag.DIV:case Ag.DIR:case Ag.NAV:case Ag.MAIN:case Ag.MENU:case Ag.ASIDE:case Ag.CENTER:case Ag.FIGURE:case Ag.FOOTER:case Ag.HEADER:case Ag.HGROUP:case Ag.DIALOG:case Ag.DETAILS:case Ag.ADDRESS:case Ag.ARTICLE:case Ag.SECTION:case Ag.SUMMARY:case Ag.FIELDSET:case Ag.BLOCKQUOTE:case Ag.FIGCAPTION:!function(e,t){e.openElements.hasInButtonScope(Ag.P)&&e._closePElement(),e._insertElement(t,Tg.HTML)}(e,t);break;case Ag.LI:case Ag.DD:case Ag.DT:!function(e,t){e.framesetOk=!1;const n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){const r=e.openElements.tagIDs[t];if(n===Ag.LI&&r===Ag.LI||(n===Ag.DD||n===Ag.DT)&&(r===Ag.DD||r===Ag.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==Ag.ADDRESS&&r!==Ag.DIV&&r!==Ag.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(Ag.P)&&e._closePElement(),e._insertElement(t,Tg.HTML)}(e,t);break;case Ag.BR:case Ag.IMG:case Ag.WBR:case Ag.AREA:case Ag.EMBED:case Ag.KEYGEN:ty(e,t);break;case Ag.HR:!function(e,t){e.openElements.hasInButtonScope(Ag.P)&&e._closePElement(),e._appendElement(t,Tg.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}(e,t);break;case Ag.RB:case Ag.RTC:!function(e,t){e.openElements.hasInScope(Ag.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,Tg.HTML)}(e,t);break;case Ag.RT:case Ag.RP:!function(e,t){e.openElements.hasInScope(Ag.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(Ag.RTC),e._insertElement(t,Tg.HTML)}(e,t);break;case Ag.PRE:case Ag.LISTING:!function(e,t){e.openElements.hasInButtonScope(Ag.P)&&e._closePElement(),e._insertElement(t,Tg.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}(e,t);break;case Ag.XMP:!function(e,t){e.openElements.hasInButtonScope(Ag.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Fg.RAWTEXT)}(e,t);break;case Ag.SVG:!function(e,t){e._reconstructActiveFormattingElements(),Av(t),_v(t),t.selfClosing?e._appendElement(t,Tg.SVG):e._insertElement(t,Tg.SVG),t.ackSelfClosing=!0}(e,t);break;case Ag.HTML:!function(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}(e,t);break;case Ag.BASE:case Ag.LINK:case Ag.META:case Ag.STYLE:case Ag.TITLE:case Ag.SCRIPT:case Ag.BGSOUND:case Ag.BASEFONT:case Ag.TEMPLATE:Yv(e,t);break;case Ag.BODY:!function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case Ag.FORM:!function(e,t){const n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(Ag.P)&&e._closePElement(),e._insertElement(t,Tg.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case Ag.NOBR:!function(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(Ag.NOBR)&&(Uv(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,Tg.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case Ag.MATH:!function(e,t){e._reconstructActiveFormattingElements(),Cv(t),_v(t),t.selfClosing?e._appendElement(t,Tg.MATHML):e._insertElement(t,Tg.MATHML),t.ackSelfClosing=!0}(e,t);break;case Ag.TABLE:!function(e,t){e.treeAdapter.getDocumentMode(e.document)!==kg.QUIRKS&&e.openElements.hasInButtonScope(Ag.P)&&e._closePElement(),e._insertElement(t,Tg.HTML),e.framesetOk=!1,e.insertionMode=wv.IN_TABLE}(e,t);break;case Ag.INPUT:!function(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Tg.HTML),ny(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t);break;case Ag.PARAM:case Ag.TRACK:case Ag.SOURCE:!function(e,t){e._appendElement(t,Tg.HTML),t.ackSelfClosing=!0}(e,t);break;case Ag.IMAGE:!function(e,t){t.tagName=Cg.IMG,t.tagID=Ag.IMG,ty(e,t)}(e,t);break;case Ag.BUTTON:!function(e,t){e.openElements.hasInScope(Ag.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Ag.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,Tg.HTML),e.framesetOk=!1}(e,t);break;case Ag.APPLET:case Ag.OBJECT:case Ag.MARQUEE:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Tg.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}(e,t);break;case Ag.IFRAME:!function(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Fg.RAWTEXT)}(e,t);break;case Ag.SELECT:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Tg.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===wv.IN_TABLE||e.insertionMode===wv.IN_CAPTION||e.insertionMode===wv.IN_TABLE_BODY||e.insertionMode===wv.IN_ROW||e.insertionMode===wv.IN_CELL?wv.IN_SELECT_IN_TABLE:wv.IN_SELECT}(e,t);break;case Ag.OPTION:case Ag.OPTGROUP:!function(e,t){e.openElements.currentTagId===Ag.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,Tg.HTML)}(e,t);break;case Ag.NOEMBED:ry(e,t);break;case Ag.FRAMESET:!function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,Tg.HTML),e.insertionMode=wv.IN_FRAMESET)}(e,t);break;case Ag.TEXTAREA:!function(e,t){e._insertElement(t,Tg.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Fg.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=wv.TEXT}(e,t);break;case Ag.NOSCRIPT:e.options.scriptingEnabled?ry(e,t):oy(e,t);break;case Ag.PLAINTEXT:!function(e,t){e.openElements.hasInButtonScope(Ag.P)&&e._closePElement(),e._insertElement(t,Tg.HTML),e.tokenizer.state=Fg.PLAINTEXT}(e,t);break;case Ag.COL:case Ag.TH:case Ag.TD:case Ag.TR:case Ag.HEAD:case Ag.FRAME:case Ag.TBODY:case Ag.TFOOT:case Ag.THEAD:case Ag.CAPTION:case Ag.COLGROUP:break;default:oy(e,t)}}function iy(e,t){const n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){const o=e.openElements.items[t],a=e.openElements.tagIDs[t];if(r===a&&(r!==Ag.UNKNOWN||e.treeAdapter.getTagName(o)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(o,a))break}}function sy(e,t){switch(t.tagID){case Ag.A:case Ag.B:case Ag.I:case Ag.S:case Ag.U:case Ag.EM:case Ag.TT:case Ag.BIG:case Ag.CODE:case Ag.FONT:case Ag.NOBR:case Ag.SMALL:case Ag.STRIKE:case Ag.STRONG:Uv(e,t);break;case Ag.P:!function(e){e.openElements.hasInButtonScope(Ag.P)||e._insertFakeElement(Cg.P,Ag.P),e._closePElement()}(e);break;case Ag.DL:case Ag.UL:case Ag.OL:case Ag.DIR:case Ag.DIV:case Ag.NAV:case Ag.PRE:case Ag.MAIN:case Ag.MENU:case Ag.ASIDE:case Ag.BUTTON:case Ag.CENTER:case Ag.FIGURE:case Ag.FOOTER:case Ag.HEADER:case Ag.HGROUP:case Ag.DIALOG:case Ag.ADDRESS:case Ag.ARTICLE:case Ag.DETAILS:case Ag.SECTION:case Ag.SUMMARY:case Ag.LISTING:case Ag.FIELDSET:case Ag.BLOCKQUOTE:case Ag.FIGCAPTION:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case Ag.LI:!function(e){e.openElements.hasInListItemScope(Ag.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(Ag.LI),e.openElements.popUntilTagNamePopped(Ag.LI))}(e);break;case Ag.DD:case Ag.DT:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case Ag.H1:case Ag.H2:case Ag.H3:case Ag.H4:case Ag.H5:case Ag.H6:!function(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}(e);break;case Ag.BR:!function(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(Cg.BR,Ag.BR),e.openElements.pop(),e.framesetOk=!1}(e);break;case Ag.BODY:!function(e,t){if(e.openElements.hasInScope(Ag.BODY)&&(e.insertionMode=wv.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case Ag.HTML:!function(e,t){e.openElements.hasInScope(Ag.BODY)&&(e.insertionMode=wv.AFTER_BODY,_y(e,t))}(e,t);break;case Ag.FORM:!function(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(Ag.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(Ag.FORM):n&&e.openElements.remove(n))}(e);break;case Ag.APPLET:case Ag.OBJECT:case Ag.MARQUEE:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case Ag.TEMPLATE:qv(e,t);break;default:iy(e,t)}}function ly(e,t){e.tmplInsertionModeStack.length>0?Ay(e,t):$v(e,t)}function cy(e,t){if(Dv.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=wv.IN_TABLE_TEXT,t.type){case cg.CHARACTER:hy(e,t);break;case cg.WHITESPACE_CHARACTER:fy(e,t)}else py(e,t)}function uy(e,t){switch(t.tagID){case Ag.TD:case Ag.TH:case Ag.TR:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(Cg.TBODY,Ag.TBODY),e.insertionMode=wv.IN_TABLE_BODY,by(e,t)}(e,t);break;case Ag.STYLE:case Ag.SCRIPT:case Ag.TEMPLATE:Yv(e,t);break;case Ag.COL:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(Cg.COLGROUP,Ag.COLGROUP),e.insertionMode=wv.IN_COLUMN_GROUP,vy(e,t)}(e,t);break;case Ag.FORM:!function(e,t){e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,Tg.HTML),e.formElement=e.openElements.current,e.openElements.pop())}(e,t);break;case Ag.TABLE:!function(e,t){e.openElements.hasInTableScope(Ag.TABLE)&&(e.openElements.popUntilTagNamePopped(Ag.TABLE),e._resetInsertionMode(),e._processStartTag(t))}(e,t);break;case Ag.TBODY:case Ag.TFOOT:case Ag.THEAD:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Tg.HTML),e.insertionMode=wv.IN_TABLE_BODY}(e,t);break;case Ag.INPUT:!function(e,t){ny(t)?e._appendElement(t,Tg.HTML):py(e,t),t.ackSelfClosing=!0}(e,t);break;case Ag.CAPTION:!function(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,Tg.HTML),e.insertionMode=wv.IN_CAPTION}(e,t);break;case Ag.COLGROUP:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Tg.HTML),e.insertionMode=wv.IN_COLUMN_GROUP}(e,t);break;default:py(e,t)}}function dy(e,t){switch(t.tagID){case Ag.TABLE:e.openElements.hasInTableScope(Ag.TABLE)&&(e.openElements.popUntilTagNamePopped(Ag.TABLE),e._resetInsertionMode());break;case Ag.TEMPLATE:qv(e,t);break;case Ag.BODY:case Ag.CAPTION:case Ag.COL:case Ag.COLGROUP:case Ag.HTML:case Ag.TBODY:case Ag.TD:case Ag.TFOOT:case Ag.TH:case Ag.THEAD:case Ag.TR:break;default:py(e,t)}}function py(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,Jv(e,t),e.fosterParentingEnabled=n}function fy(e,t){e.pendingCharacterTokens.push(t)}function hy(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function my(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===Ag.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===Ag.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===Ag.OPTGROUP&&e.openElements.pop();break;case Ag.OPTION:e.openElements.currentTagId===Ag.OPTION&&e.openElements.pop();break;case Ag.SELECT:e.openElements.hasInSelectScope(Ag.SELECT)&&(e.openElements.popUntilTagNamePopped(Ag.SELECT),e._resetInsertionMode());break;case Ag.TEMPLATE:qv(e,t)}}function Ay(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(Ag.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):$v(e,t)}function _y(e,t){var n;if(t.tagID===Ag.HTML){if(e.fragmentContext||(e.insertionMode=wv.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===Ag.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)&&e._setEndLocation(r,t)}}else xy(e,t)}function xy(e,t){e.insertionMode=wv.IN_BODY,Jv(e,t)}function Oy(e,t){e.insertionMode=wv.IN_BODY,Jv(e,t)}function Iy(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==Tg.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}const wy=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);function Ny(e,t){return function(n){let r,o=0,a="";for(;r=e.exec(n);)o!==r.index&&(a+=n.substring(o,r.index)),a+=t.get(r[0].charCodeAt(0)),o=r.index+1;return a+n.substring(o)}}String.prototype.codePointAt,Ny(/[&<>'"]/g,wy),Ny(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),Ny(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),new Set([Cg.AREA,Cg.BASE,Cg.BASEFONT,Cg.BGSOUND,Cg.BR,Cg.COL,Cg.EMBED,Cg.FRAME,Cg.HR,Cg.IMG,Cg.INPUT,Cg.KEYGEN,Cg.LINK,Cg.META,Cg.PARAM,Cg.SOURCE,Cg.TRACK,Cg.WBR]);const Dy=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),Ry={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Py(e,t){const n=function(e){const t="root"===e.type?e.children[0]:e;return Boolean(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName))}(e),r=Wm("type",{handlers:{root:My,element:By,text:Fy,comment:jy,doctype:Hy,raw:Uy},unknown:zy}),o={parser:n?new Pv(Ry):Pv.getFragmentParser(void 0,Ry),handle(e){r(e,o)},stitches:!1,options:t||{}};r(e,o),$y(o,iu());const a=function(e,t){const n=t||{};return Hm({file:n.file||void 0,location:!1,schema:"svg"===n.space?Yc:Vc,verbose:n.verbose||!1},e)}(n?o.parser.document:o.parser.getFragment(),{file:o.options.file});return o.stitches&&zp(a,"comment",(function(e,t,n){const r=e;if(r.value.stitch&&n&&void 0!==t)return n.children[t]=r.value.stitch,t})),"root"===a.type&&1===a.children.length&&a.children[0].type===e.type?a.children[0]:a}function Ly(e,t){let n=-1;if(e)for(;++nt.root})({flex:"1 1 auto",minWidth:0}),nb=a.forwardRef((function(e,t){const n=Or({props:e,name:"JoyListItemContent"}),{component:r,className:o,children:a,slots:i={},slotProps:s={}}=n,l=fe(n,eb),c=he({},n),u=ve({root:["root"]},Zy,{}),d=he({},l,{component:r,slots:i,slotProps:s}),[p,f]=mo("root",{ref:t,className:ge(u.root,o),elementType:tb,externalForwardedProps:d,ownerState:c});return(0,go.jsx)(p,he({},f,{children:a}))}));function rb(e){return rb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},rb(e)}var ob=["node"],ab=["node"],ib=["children"];function sb(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 lb(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function ub(e){return br("MuiCard",e)}Er("MuiCard",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg","horizontal","vertical"]);const db=["className","color","component","invertedColors","size","variant","children","orientation","slots","slotProps"],pb=to("div")((({theme:e,ownerState:t})=>{var n;const{p:r,padding:o,borderRadius:a}=no({theme:e,ownerState:t},["p","padding","borderRadius"]);return[he({"--Icon-color":"neutral"!==t.color||"solid"===t.variant?"currentColor":e.vars.palette.text.icon,"--Card-childRadius":"max((var(--Card-radius) - var(--variant-borderWidth, 0px)) - var(--Card-padding), min(var(--Card-padding) / 2, (var(--Card-radius) - var(--variant-borderWidth, 0px)) / 2))","--AspectRatio-radius":"var(--Card-childRadius)","--unstable_actionMargin":"calc(-1 * var(--variant-borderWidth, 0px))","--unstable_actionRadius":"var(--Card-radius)","--CardCover-radius":"calc(var(--Card-radius) - var(--variant-borderWidth, 0px))","--CardOverflow-offset":"calc(-1 * var(--Card-padding))","--CardOverflow-radius":"calc(var(--Card-radius) - var(--variant-borderWidth, 0px))","--Divider-inset":"calc(-1 * var(--Card-padding))"},"sm"===t.size&&{"--Card-radius":e.vars.radius.sm,"--Card-padding":"0.625rem",gap:"0.5rem"},"md"===t.size&&{"--Card-radius":e.vars.radius.md,"--Card-padding":"1rem",gap:"0.75rem 1rem"},"lg"===t.size&&{"--Card-radius":e.vars.radius.lg,"--Card-padding":"1.5rem",gap:"1rem 1.5rem"},{padding:"var(--Card-padding)",borderRadius:"var(--Card-radius)",backgroundColor:e.vars.palette.background.surface,position:"relative",display:"flex",flexDirection:"horizontal"===t.orientation?"row":"column"},e.typography[`body-${t.size}`],"solid"===t.variant&&t.color&&t.invertedColors&&Rr(t.color)(e),"soft"===t.variant&&t.color&&t.invertedColors&&Pr(t.color)(e),null==(n=e.variants[t.variant])?void 0:n[t.color]),void 0!==r&&{"--Card-padding":r},void 0!==o&&{"--Card-padding":o},void 0!==a&&{"--Card-radius":a}]})),fb=to(pb,{name:"JoyCard",slot:"Root",overridesResolver:(e,t)=>t.root})({}),hb=a.forwardRef((function(e,t){const n=Or({props:e,name:"JoyCard"}),{className:r,color:o="neutral",component:i="div",invertedColors:s=!1,size:l="md",variant:c="outlined",children:u,orientation:d="vertical",slots:p={},slotProps:f={}}=n,h=fe(n,db),m=he({},n,{color:o,component:i,orientation:d,size:l,variant:c,invertedColors:s}),g=(e=>{const{size:t,variant:n,color:r,orientation:o}=e;return ve({root:["root",o,n&&`variant${be(n)}`,r&&`color${be(r)}`,t&&`size${be(t)}`]},ub,{})})(m),v=he({},h,{component:i,slots:p,slotProps:f}),[y,b]=mo("root",{ref:t,className:ge(g.root,r),elementType:fb,externalForwardedProps:v,ownerState:m});return(0,go.jsx)(y,he({},b,{children:a.Children.map(u,((e,t)=>{if(!a.isValidElement(e))return e;const n={};if(Vi(e,["Divider"])){n.inset="inset"in e.props?e.props.inset:"context";const t="vertical"===d?"horizontal":"vertical";n.orientation="orientation"in e.props?e.props.orientation:t}return 0===t&&(n["data-first-child"]=""),t===a.Children.count(u)-1&&(n["data-last-child"]=""),a.cloneElement(e,n)}))}))})),mb=hb;function gb(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function vb(e){return e instanceof gb(e).Element||e instanceof Element}function yb(e){return e instanceof gb(e).HTMLElement||e instanceof HTMLElement}function bb(e){return"undefined"!=typeof ShadowRoot&&(e instanceof gb(e).ShadowRoot||e instanceof ShadowRoot)}var Eb=Math.max,Tb=Math.min,Sb=Math.round;function kb(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Cb(){return!/^((?!chrome|android).)*safari/i.test(kb())}function Ab(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&yb(e)&&(o=e.offsetWidth>0&&Sb(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Sb(r.height)/e.offsetHeight||1);var i=(vb(e)?gb(e):window).visualViewport,s=!Cb()&&n,l=(r.left+(s&&i?i.offsetLeft:0))/o,c=(r.top+(s&&i?i.offsetTop:0))/a,u=r.width/o,d=r.height/a;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function _b(e){var t=gb(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function xb(e){return e?(e.nodeName||"").toLowerCase():null}function Ob(e){return((vb(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ib(e){return Ab(Ob(e)).left+_b(e).scrollLeft}function wb(e){return gb(e).getComputedStyle(e)}function Nb(e){var t=wb(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Db(e,t,n){void 0===n&&(n=!1);var r=yb(t),o=yb(t)&&function(e){var t=e.getBoundingClientRect(),n=Sb(t.width)/e.offsetWidth||1,r=Sb(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),a=Ob(t),i=Ab(e,o,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&(("body"!==xb(t)||Nb(a))&&(s=function(e){return e!==gb(e)&&yb(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:_b(e);var t}(t)),yb(t)?((l=Ab(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=Ib(a))),{x:i.left+s.scrollLeft-l.x,y:i.top+s.scrollTop-l.y,width:i.width,height:i.height}}function Rb(e){var t=Ab(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Pb(e){return"html"===xb(e)?e:e.assignedSlot||e.parentNode||(bb(e)?e.host:null)||Ob(e)}function Lb(e){return["html","body","#document"].indexOf(xb(e))>=0?e.ownerDocument.body:yb(e)&&Nb(e)?e:Lb(Pb(e))}function Mb(e,t){var n;void 0===t&&(t=[]);var r=Lb(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=gb(r),i=o?[a].concat(a.visualViewport||[],Nb(r)?r:[]):r,s=t.concat(i);return o?s:s.concat(Mb(Pb(i)))}function Bb(e){return["table","td","th"].indexOf(xb(e))>=0}function Fb(e){return yb(e)&&"fixed"!==wb(e).position?e.offsetParent:null}function Hb(e){for(var t=gb(e),n=Fb(e);n&&Bb(n)&&"static"===wb(n).position;)n=Fb(n);return n&&("html"===xb(n)||"body"===xb(n)&&"static"===wb(n).position)?t:n||function(e){var t=/firefox/i.test(kb());if(/Trident/i.test(kb())&&yb(e)&&"fixed"===wb(e).position)return null;var n=Pb(e);for(bb(n)&&(n=n.host);yb(n)&&["html","body"].indexOf(xb(n))<0;){var r=wb(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var jb="top",Ub="bottom",zb="right",$b="left",Gb="auto",Wb=[jb,Ub,zb,$b],Vb="start",Yb="end",qb="viewport",Kb="popper",Qb=Wb.reduce((function(e,t){return e.concat([t+"-"+Vb,t+"-"+Yb])}),[]),Xb=[].concat(Wb,[Gb]).reduce((function(e,t){return e.concat([t,t+"-"+Vb,t+"-"+Yb])}),[]),Jb=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Zb(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var eE={placement:"bottom",modifiers:[],strategy:"absolute"};function tE(){for(var e=arguments.length,t=new Array(e),n=0;n=0?"x":"y"}function sE(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?oE(o):null,i=o?aE(o):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(a){case jb:t={x:s,y:n.y-r.height};break;case Ub:t={x:s,y:n.y+n.height};break;case zb:t={x:n.x+n.width,y:l};break;case $b:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=a?iE(a):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case Vb:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Yb:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var lE={top:"auto",right:"auto",bottom:"auto",left:"auto"};function cE(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,i=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=i.x,f=void 0===p?0:p,h=i.y,m=void 0===h?0:h,g="function"==typeof u?u({x:f,y:m}):{x:f,y:m};f=g.x,m=g.y;var v=i.hasOwnProperty("x"),y=i.hasOwnProperty("y"),b=$b,E=jb,T=window;if(c){var S=Hb(n),k="clientHeight",C="clientWidth";S===gb(n)&&"static"!==wb(S=Ob(n)).position&&"absolute"===s&&(k="scrollHeight",C="scrollWidth"),(o===jb||(o===$b||o===zb)&&a===Yb)&&(E=Ub,m-=(d&&S===T&&T.visualViewport?T.visualViewport.height:S[k])-r.height,m*=l?1:-1),o!==$b&&(o!==jb&&o!==Ub||a!==Yb)||(b=zb,f-=(d&&S===T&&T.visualViewport?T.visualViewport.width:S[C])-r.width,f*=l?1:-1)}var A,_=Object.assign({position:s},c&&lE),x=!0===u?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:Sb(n*o)/o||0,y:Sb(r*o)/o||0}}({x:f,y:m},gb(n)):{x:f,y:m};return f=x.x,m=x.y,l?Object.assign({},_,((A={})[E]=y?"0":"",A[b]=v?"0":"",A.transform=(T.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",A)):Object.assign({},_,((t={})[E]=y?m+"px":"",t[b]=v?f+"px":"",t.transform="",t))}var uE={left:"right",right:"left",bottom:"top",top:"bottom"};function dE(e){return e.replace(/left|right|bottom|top/g,(function(e){return uE[e]}))}var pE={start:"end",end:"start"};function fE(e){return e.replace(/start|end/g,(function(e){return pE[e]}))}function hE(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&bb(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function mE(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function gE(e,t,n){return t===qb?mE(function(e,t){var n=gb(e),r=Ob(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,s=0,l=0;if(o){a=o.width,i=o.height;var c=Cb();(c||!c&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:a,height:i,x:s+Ib(e),y:l}}(e,n)):vb(t)?function(e,t){var n=Ab(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):mE(function(e){var t,n=Ob(e),r=_b(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=Eb(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Eb(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+Ib(e),l=-r.scrollTop;return"rtl"===wb(o||n).direction&&(s+=Eb(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:s,y:l}}(Ob(e)))}function vE(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function yE(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function bE(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.strategy,i=void 0===a?e.strategy:a,s=n.boundary,l=void 0===s?"clippingParents":s,c=n.rootBoundary,u=void 0===c?qb:c,d=n.elementContext,p=void 0===d?Kb:d,f=n.altBoundary,h=void 0!==f&&f,m=n.padding,g=void 0===m?0:m,v=vE("number"!=typeof g?g:yE(g,Wb)),y=p===Kb?"reference":Kb,b=e.rects.popper,E=e.elements[h?y:p],T=function(e,t,n,r){var o="clippingParents"===t?function(e){var t=Mb(Pb(e)),n=["absolute","fixed"].indexOf(wb(e).position)>=0&&yb(e)?Hb(e):e;return vb(n)?t.filter((function(e){return vb(e)&&hE(e,n)&&"body"!==xb(e)})):[]}(e):[].concat(t),a=[].concat(o,[n]),i=a[0],s=a.reduce((function(t,n){var o=gE(e,n,r);return t.top=Eb(o.top,t.top),t.right=Tb(o.right,t.right),t.bottom=Tb(o.bottom,t.bottom),t.left=Eb(o.left,t.left),t}),gE(e,i,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(vb(E)?E:E.contextElement||Ob(e.elements.popper),l,u,i),S=Ab(e.elements.reference),k=sE({reference:S,element:b,strategy:"absolute",placement:o}),C=mE(Object.assign({},b,k)),A=p===Kb?C:S,_={top:T.top-A.top+v.top,bottom:A.bottom-T.bottom+v.bottom,left:T.left-A.left+v.left,right:A.right-T.right+v.right},x=e.modifiersData.offset;if(p===Kb&&x){var O=x[o];Object.keys(_).forEach((function(e){var t=[zb,Ub].indexOf(e)>=0?1:-1,n=[jb,Ub].indexOf(e)>=0?"y":"x";_[e]+=O[n]*t}))}return _}const EE={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=void 0===o||o,i=n.altAxis,s=void 0===i||i,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,m=n.allowedAutoPlacements,g=t.options.placement,v=oE(g),y=l||(v!==g&&h?function(e){if(oE(e)===Gb)return[];var t=dE(e);return[fE(e),t,fE(t)]}(g):[dE(g)]),b=[g].concat(y).reduce((function(e,n){return e.concat(oE(n)===Gb?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?Xb:l,u=aE(r),d=u?s?Qb:Qb.filter((function(e){return aE(e)===u})):Wb,p=d.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=bE(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[oE(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),E=t.rects.reference,T=t.rects.popper,S=new Map,k=!0,C=b[0],A=0;A=0,w=I?"width":"height",N=bE(t,{placement:_,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),D=I?O?zb:$b:O?Ub:jb;E[w]>T[w]&&(D=dE(D));var R=dE(D),P=[];if(a&&P.push(N[x]<=0),s&&P.push(N[D]<=0,N[R]<=0),P.every((function(e){return e}))){C=_,k=!1;break}S.set(_,P)}if(k)for(var L=function(e){var t=b.find((function(t){var n=S.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return C=t,"break"},M=h?3:1;M>0&&"break"!==L(M);M--);t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function TE(e,t,n){return Eb(e,Tb(t,n))}const SE={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,i=n.altAxis,s=void 0!==i&&i,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,h=n.tetherOffset,m=void 0===h?0:h,g=bE(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),v=oE(t.placement),y=aE(t.placement),b=!y,E=iE(v),T="x"===E?"y":"x",S=t.modifiersData.popperOffsets,k=t.rects.reference,C=t.rects.popper,A="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,_="number"==typeof A?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),x=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(S){if(a){var I,w="y"===E?jb:$b,N="y"===E?Ub:zb,D="y"===E?"height":"width",R=S[E],P=R+g[w],L=R-g[N],M=f?-C[D]/2:0,B=y===Vb?k[D]:C[D],F=y===Vb?-C[D]:-k[D],H=t.elements.arrow,j=f&&H?Rb(H):{width:0,height:0},U=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},z=U[w],$=U[N],G=TE(0,k[D],j[D]),W=b?k[D]/2-M-G-z-_.mainAxis:B-G-z-_.mainAxis,V=b?-k[D]/2+M+G+$+_.mainAxis:F+G+$+_.mainAxis,Y=t.elements.arrow&&Hb(t.elements.arrow),q=Y?"y"===E?Y.clientTop||0:Y.clientLeft||0:0,K=null!=(I=null==x?void 0:x[E])?I:0,Q=R+V-K,X=TE(f?Tb(P,R+W-K-q):P,R,f?Eb(L,Q):L);S[E]=X,O[E]=X-R}if(s){var J,Z="x"===E?jb:$b,ee="x"===E?Ub:zb,te=S[T],ne="y"===T?"height":"width",re=te+g[Z],oe=te-g[ee],ae=-1!==[jb,$b].indexOf(v),ie=null!=(J=null==x?void 0:x[T])?J:0,se=ae?re:te-k[ne]-C[ne]-ie+_.altAxis,le=ae?te+k[ne]+C[ne]-ie-_.altAxis:oe,ce=f&&ae?function(e,t,n){var r=TE(e,t,n);return r>n?n:r}(se,te,le):TE(f?se:re,te,f?le:oe);S[T]=ce,O[T]=ce-te}t.modifiersData[r]=O}},requiresIfExists:["offset"]},kE={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,s=oE(n.placement),l=iE(s),c=[$b,zb].indexOf(s)>=0?"height":"width";if(a&&i){var u=function(e,t){return vE("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:yE(e,Wb))}(o.padding,n),d=Rb(a),p="y"===l?jb:$b,f="y"===l?Ub:zb,h=n.rects.reference[c]+n.rects.reference[l]-i[l]-n.rects.popper[c],m=i[l]-n.rects.reference[l],g=Hb(a),v=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,y=h/2-m/2,b=u[p],E=v-d[c]-u[f],T=v/2-d[c]/2+y,S=TE(b,T,E),k=l;n.modifiersData[r]=((t={})[k]=S,t.centerOffset=S-T,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&hE(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function CE(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function AE(e){return[jb,zb,Ub,$b].some((function(t){return e[t]>=0}))}var _E=nE({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,i=r.resize,s=void 0===i||i,l=gb(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach((function(e){e.addEventListener("scroll",n.update,rE)})),s&&l.addEventListener("resize",n.update,rE),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",n.update,rE)})),s&&l.removeEventListener("resize",n.update,rE)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=sE({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,a=n.adaptive,i=void 0===a||a,s=n.roundOffsets,l=void 0===s||s,c={placement:oE(t.placement),variation:aE(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,cE(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,cE(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];yb(o)&&xb(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});yb(r)&&xb(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=void 0===o?[0,0]:o,i=Xb.reduce((function(e,n){return e[n]=function(e,t,n){var r=oE(e),o=[$b,jb].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=a[0],s=a[1];return i=i||0,s=(s||0)*o,[$b,zb].indexOf(r)>=0?{x:s,y:i}:{x:i,y:s}}(n,t.rects,a),e}),{}),s=i[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=i}},EE,SE,kE,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=bE(t,{elementContext:"reference"}),s=bE(t,{altBoundary:!0}),l=CE(i,r),c=CE(s,o,a),u=AE(l),d=AE(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]});const xE="base";function OE(e,t){const n=gr[t];return n?`${xE}--${n}`:function(e,t){return`${xE}-${e}-${t}`}(e,t)}const IE="Popper";function wE(e){return OE(IE,e)}!function(e,t){const n={};["root"].forEach((t=>{n[t]=OE(e,t)}))}(IE);const NE=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"],DE={disableDefaultClasses:!1},RE=a.createContext(DE),PE=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],LE=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function ME(e){return"function"==typeof e?e():e}const BE={},FE=a.forwardRef((function(e,t){var n;const{anchorEl:r,children:o,direction:i,disablePortal:s,modifiers:l,open:c,placement:u,popperOptions:d,popperRef:p,slotProps:f={},slots:h={},TransitionProps:m}=e,g=fe(e,PE),v=a.useRef(null),y=ao(v,t),b=a.useRef(null),E=ao(b,p),T=a.useRef(E);Wo((()=>{T.current=E}),[E]),a.useImperativeHandle(p,(()=>b.current),[]);const S=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(u,i),[k,C]=a.useState(S),[A,_]=a.useState(ME(r));a.useEffect((()=>{b.current&&b.current.forceUpdate()})),a.useEffect((()=>{r&&_(ME(r))}),[r]),Wo((()=>{if(!A||!c)return;let e=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{C(e.placement)}}];null!=l&&(e=e.concat(l)),d&&null!=d.modifiers&&(e=e.concat(d.modifiers));const t=_E(A,v.current,he({placement:S},d,{modifiers:e}));return T.current(t),()=>{t.destroy(),T.current(null)}}),[A,s,l,c,d,S]);const x={placement:k};null!==m&&(x.TransitionProps=m);const O=ve({root:["root"]},function(e){const{disableDefaultClasses:t}=a.useContext(RE);return n=>t?"":e(n)}(wE)),I=null!=(n=h.root)?n:"div",w=function(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:a=!1}=e,i=fe(e,NE),s=a?{}:io(r,o),{props:l,internalRef:c}=co(he({},i,{externalSlotProps:s}));return uo(n,he({},l,{ref:ao(c,null==s?void 0:s.ref,null==(t=e.additionalProps)?void 0:t.ref)}),o)}({elementType:I,externalSlotProps:f.root,externalForwardedProps:g,additionalProps:{role:"tooltip",ref:y},ownerState:e,className:O.root});return(0,go.jsx)(I,he({},w,{children:"function"==typeof o?o(x):o}))})),HE=a.forwardRef((function(e,t){const{anchorEl:n,children:r,container:o,direction:i="ltr",disablePortal:s=!1,keepMounted:l=!1,modifiers:c,open:u,placement:d="bottom",popperOptions:p=BE,popperRef:f,style:h,transition:m=!1,slotProps:g={},slots:v={}}=e,y=fe(e,LE),[b,E]=a.useState(!0);if(!l&&!u&&(!m||b))return null;let T;if(o)T=o;else if(n){const e=ME(n);T=e&&void 0!==e.nodeType?Go(e).body:Go(null).body}const S=u||!l||m&&!b?void 0:"none",k=m?{in:u,onEnter:()=>{E(!1)},onExited:()=>{E(!0)}}:void 0;return(0,go.jsx)(na,{disablePortal:s,container:T,children:(0,go.jsx)(FE,he({anchorEl:n,direction:i,disablePortal:s,modifiers:c,ref:t,open:m?!b:u,placement:d,popperOptions:p,popperRef:f,slotProps:g,slots:v},y,{style:he({position:"fixed",top:0,left:0,display:S},h),TransitionProps:k,children:r}))})}));function jE(e){return br("MuiTooltip",e)}Er("MuiTooltip",["root","tooltipArrow","arrow","touch","placementLeft","placementRight","placementTop","placementBottom","colorPrimary","colorDanger","colorNeutral","colorSuccess","colorWarning","colorContext","sizeSm","sizeMd","sizeLg","variantPlain","variantOutlined","variantSoft","variantSolid"]);const UE=["children","className","component","arrow","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","disablePortal","direction","keepMounted","modifiers","placement","title","color","variant","size","slots","slotProps"],zE=to("div",{name:"JoyTooltip",slot:"Root",overridesResolver:(e,t)=>t.root})((({ownerState:e,theme:t})=>{var n,r,o;const a=null==(n=t.variants[e.variant])?void 0:n[e.color];return he({},"sm"===e.size&&{"--Icon-fontSize":t.vars.fontSize.md,"--Tooltip-arrowSize":"8px",padding:t.spacing(.25,.625)},"md"===e.size&&{"--Icon-fontSize":t.vars.fontSize.lg,"--Tooltip-arrowSize":"10px",padding:t.spacing(.5,.75)},"lg"===e.size&&{"--Icon-fontSize":t.vars.fontSize.xl,"--Tooltip-arrowSize":"12px",padding:t.spacing(.75,1)},{zIndex:t.vars.zIndex.tooltip,borderRadius:t.vars.radius.sm,boxShadow:t.shadow.sm,wordWrap:"break-word",position:"relative"},e.disableInteractive&&{pointerEvents:"none"},t.typography[`body-${{sm:"xs",md:"sm",lg:"md"}[e.size]}`],a,!a.backgroundColor&&{backgroundColor:t.vars.palette.background.surface},{"&::before":{content:'""',display:"block",position:"absolute",width:null!=(r=e.placement)&&r.match(/(top|bottom)/)?"100%":"calc(10px + var(--variant-borderWidth, 0px))",height:null!=(o=e.placement)&&o.match(/(top|bottom)/)?"calc(10px + var(--variant-borderWidth, 0px))":"100%"},'&[data-popper-placement*="bottom"]::before':{top:0,left:0,transform:"translateY(-100%)"},'&[data-popper-placement*="left"]::before':{top:0,right:0,transform:"translateX(100%)"},'&[data-popper-placement*="right"]::before':{top:0,left:0,transform:"translateX(-100%)"},'&[data-popper-placement*="top"]::before':{bottom:0,left:0,transform:"translateY(100%)"}})})),$E=to("span",{name:"JoyTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})((({theme:e,ownerState:t})=>{var n,r,o;const a=null==(n=e.variants[t.variant])?void 0:n[t.color];return{"--unstable_Tooltip-arrowRotation":0,width:"var(--Tooltip-arrowSize)",height:"var(--Tooltip-arrowSize)",boxSizing:"border-box","&::before":{content:'""',display:"block",position:"absolute",width:0,height:0,border:"calc(var(--Tooltip-arrowSize) / 2) solid",borderLeftColor:"transparent",borderBottomColor:"transparent",borderTopColor:null!=(r=null==a?void 0:a.backgroundColor)?r:e.vars.palette.background.surface,borderRightColor:null!=(o=null==a?void 0:a.backgroundColor)?o:e.vars.palette.background.surface,borderRadius:"0px 2px 0px 0px",boxShadow:`var(--variant-borderWidth, 0px) calc(-1 * var(--variant-borderWidth, 0px)) 0px 0px ${a.borderColor}`,transformOrigin:"center center",transform:"rotate(calc(-45deg + 90deg * var(--unstable_Tooltip-arrowRotation)))"},'[data-popper-placement*="bottom"] &':{top:"calc(0.5px + var(--Tooltip-arrowSize) * -1 / 2)"},'[data-popper-placement*="top"] &':{"--unstable_Tooltip-arrowRotation":2,bottom:"calc(0.5px + var(--Tooltip-arrowSize) * -1 / 2)"},'[data-popper-placement*="left"] &':{"--unstable_Tooltip-arrowRotation":1,right:"calc(0.5px + var(--Tooltip-arrowSize) * -1 / 2)"},'[data-popper-placement*="right"] &':{"--unstable_Tooltip-arrowRotation":3,left:"calc(0.5px + var(--Tooltip-arrowSize) * -1 / 2)"}}}));let GE=!1;const WE=new So;let VE={x:0,y:0};function YE(e,t){return n=>{t&&t(n),e(n)}}function qE(e,t){return n=>{t&&t(n),e(n)}}const KE=a.forwardRef((function(e,t){var n;const r=Or({props:e,name:"JoyTooltip"}),{children:o,className:i,component:s,arrow:l=!1,describeChild:c=!1,disableFocusListener:u=!1,disableHoverListener:d=!1,disableInteractive:p=!1,disableTouchListener:f=!1,enterDelay:h=100,enterNextDelay:m=0,enterTouchDelay:g=700,followCursor:v=!1,id:y,leaveDelay:b=0,leaveTouchDelay:E=1500,onClose:T,onOpen:S,open:k,disablePortal:C,direction:A,keepMounted:_,modifiers:x,placement:O="bottom",title:I,color:w="neutral",variant:N="solid",size:D="md",slots:R={},slotProps:P={}}=r,L=fe(r,UE),[M,B]=a.useState(),[F,H]=a.useState(null),j=a.useRef(!1),U=p||v,z=ko(),$=ko(),G=ko(),W=ko(),[V,Y]=function({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=a.useRef(void 0!==e),[i,s]=a.useState(t);return[o?e:i,a.useCallback((e=>{o||s(e)}),[])]}({controlled:k,default:!1,name:"Tooltip",state:"open"});let q=V;const K=$o(y),Q=a.useRef(),X=Vo((()=>{void 0!==Q.current&&(document.body.style.WebkitUserSelect=Q.current,Q.current=void 0),W.clear()}));a.useEffect((()=>X),[X]);const J=e=>{WE.clear(),GE=!0,Y(!0),S&&!q&&S(e)},Z=Vo((e=>{WE.start(800+b,(()=>{GE=!1})),Y(!1),T&&q&&T(e),z.start(150,(()=>{j.current=!1}))})),ee=e=>{j.current&&"touchstart"!==e.type||(M&&M.removeAttribute("title"),$.clear(),G.clear(),h||GE&&m?$.start(GE?m:h,(()=>{J(e)})):J(e))},te=e=>{$.clear(),G.start(b,(()=>{Z(e)}))},{isFocusVisibleRef:ne,onBlur:re,onFocus:oe,ref:ae}=No(),[,ie]=a.useState(!1),se=e=>{re(e),!1===ne.current&&(ie(!1),te(e))},le=e=>{M||B(e.currentTarget),oe(e),!0===ne.current&&(ie(!0),ee(e))},ce=e=>{j.current=!0;const t=o.props;t.onTouchStart&&t.onTouchStart(e)},ue=ee,de=te;a.useEffect((()=>{if(q)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||Z(e)}}),[Z,q]);const pe=ao(B,t),me=ao(ae,pe),ye=ao(o.ref,me);"number"==typeof I||I||(q=!1);const Ee=a.useRef(null),Te={},Se="string"==typeof I;c?(Te.title=q||!Se||d?null:I,Te["aria-describedby"]=q?K:null):(Te["aria-label"]=Se?I:null,Te["aria-labelledby"]=q&&!Se?K:null);const ke=he({},Te,L,{component:s},o.props,{className:ge(i,o.props.className),onTouchStart:ce,ref:ye},v?{onMouseMove:e=>{const t=o.props;t.onMouseMove&&t.onMouseMove(e),VE={x:e.clientX,y:e.clientY},Ee.current&&Ee.current.update()}}:{}),Ce={};f||(ke.onTouchStart=e=>{ce(e),G.clear(),z.clear(),X(),Q.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",W.start(g,(()=>{document.body.style.WebkitUserSelect=Q.current,ee(e)}))},ke.onTouchEnd=e=>{o.props.onTouchEnd&&o.props.onTouchEnd(e),X(),G.start(E,(()=>{Z(e)}))}),d||(ke.onMouseOver=YE(ue,ke.onMouseOver),ke.onMouseLeave=YE(de,ke.onMouseLeave),U||(Ce.onMouseOver=ue,Ce.onMouseLeave=de)),u||(ke.onFocus=qE(le,ke.onFocus),ke.onBlur=qE(se,ke.onBlur),U||(Ce.onFocus=le,Ce.onBlur=se));const Ae=he({},r,{arrow:l,disableInteractive:U,placement:O,touch:j.current,color:w,variant:N,size:D}),_e=(e=>{const{arrow:t,variant:n,color:r,size:o,placement:a,touch:i}=e;return ve({root:["root",t&&"tooltipArrow",i&&"touch",o&&`size${be(o)}`,r&&`color${be(r)}`,n&&`variant${be(n)}`,`tooltipPlacement${be(a.split("-")[0])}`],arrow:["arrow"]},jE,{})})(Ae),xe=he({},L,{component:s,slots:R,slotProps:P}),Oe=a.useMemo((()=>[{name:"arrow",enabled:Boolean(F),options:{element:F,padding:6}},{name:"offset",options:{offset:[0,10]}},...x||[]]),[F,x]),[Ie,we]=mo("root",{additionalProps:he({id:K,popperRef:Ee,placement:O,anchorEl:v?{getBoundingClientRect:()=>({top:VE.y,left:VE.x,right:VE.x,bottom:VE.y,width:0,height:0})}:M,open:!!M&&q,disablePortal:C,keepMounted:_,direction:A,modifiers:Oe},Ce),ref:null,className:_e.root,elementType:zE,externalForwardedProps:xe,ownerState:Ae}),[Ne,De]=mo("arrow",{ref:H,className:_e.arrow,elementType:$E,externalForwardedProps:xe,ownerState:Ae});return(0,go.jsxs)(a.Fragment,{children:[a.isValidElement(o)&&a.cloneElement(o,ke),(0,go.jsxs)(Ie,he({},we,!(null!=(n=r.slots)&&n.root)&&{as:HE,slots:{root:s||"div"}},{children:[I,l?(0,go.jsx)(Ne,he({},De)):null]}))]})})),QE=KE;function XE(){return XE=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["color","size"]);return a.createElement("svg",XE({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),a.createElement("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),a.createElement("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"}))}));JE.propTypes={color:pe().string,size:pe().oneOfType([pe().string,pe().number])},JE.displayName="Copy";const ZE=JE;function eT(e){return eT="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},eT(e)}var tT=["children"];function nT(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 rT(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,tT),i=(t=(0,a.useState)(!1),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw o}}return s}}(t,n)||function(e,t){if(e){if("string"==typeof e)return oT(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?oT(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=i[0],l=i[1];if("string"!=typeof r)return(0,go.jsx)(mb,{children:"..."});var c=function(){var e;l(!0),e=r,navigator.clipboard.writeText(e)};(0,a.useEffect)((function(){if(s){var e=setTimeout((function(){l(!1)}),2e3);return function(){return clearTimeout(e)}}}),[s]);var u=(0,a.useCallback)((function(){var e=s?{variant:"plain",color:"success"}:{variant:"soft",color:"neutral"};return(0,go.jsx)(QE,{title:s?"Copied!":"Copy to clipboard",placement:"top",children:(0,go.jsx)(jo,rT(rT({size:"sm"},e),{},{sx:{position:"absolute",top:0,right:0,borderRadius:0,borderBottomLeftRadius:8},onClick:c,children:(0,go.jsx)(ZE,{size:16})}))})}),[s]);return(0,go.jsxs)(bo,{variant:"outlined",sx:{m:2},children:[(0,go.jsx)(Xa,rT(rT({component:"pre",sx:{backgroundColor:"background.surface",color:"var(--knit-palette-tertiary-dark)",p:2,pr:6,m:0,fontSize:"80%",position:"relative",overflow:"auto",whiteSpace:"pre-wrap"}},o),{},{children:r})),(0,go.jsx)(u,{})]})};function iT(e){return iT="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},iT(e)}aT.propTypes={children:pe().string};var sT=["node","children"];function lT(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 cT(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["color","size"]);return a.createElement("svg",uT({ref:t,xmlns:"http://www.w3.org/2000/svg",width:i,height:i,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),a.createElement("path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"}),a.createElement("path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"}))}));dT.propTypes={color:pe().string,size:pe().oneOfType([pe().string,pe().number])},dT.displayName="Link";const pT=dT;function fT(e){return fT="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fT(e)}var hT=["children"];function mT(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 gT(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,hT);if("string"!=typeof t)return(0,go.jsx)(as,gT(gT({},n),{},{children:t}));var r=String(t).normalize("NFKD").replace(/[\u0300-\u036f]/g,"").trim().toLowerCase().replace(/[^a-z0-9 -]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-");return(0,go.jsx)(Xa,{id:r,sx:{scrollMarginTop:"4rem",".heading-link":{m:2,filter:"opacity(0.1)",transition:"filter 250ms"},"&:hover .heading-link":{filter:"opacity(1.0)"}},children:(0,go.jsxs)(as,gT(gT({},n),{},{children:[t,(0,go.jsx)("a",{href:"#".concat(r),className:"heading-link",children:(0,go.jsx)(pT,{size:18,color:"var(--knit-palette-common-black)"})})]}))})};function yT(e){return yT="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yT(e)}vT.propTypes={children:pe().string};var bT=["node"],ET=["node"],TT=["node"],ST=["node"],kT=["node"],CT=["node"],AT=["node"];function _T(e){if(null==e)throw new TypeError("Cannot destructure "+e)}function xT(){return xT=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var NT=function(e){e.node;var t=wT(e,bT);return(0,go.jsx)(vT,IT({level:"h1"},t))},DT=function(e){e.node;var t=wT(e,ET);return(0,go.jsx)(vT,IT({level:"h2"},t))},RT=function(e){e.node;var t=wT(e,TT);return(0,go.jsx)(as,IT({level:"h3"},t))},PT=function(e){e.node;var t=wT(e,ST);return(0,go.jsx)(as,IT({level:"h4"},t))},LT=function(e){e.node;var t=wT(e,kT);return(0,go.jsx)(as,IT({level:"h5"},t))},MT=function(e){e.node;var t=wT(e,CT);return(0,go.jsx)(as,IT({level:"h6"},t))},BT=function(e){e.node;var t=wT(e,AT);return(0,go.jsx)(as,IT({level:"body-md",sx:{my:2}},t))},FT=function(e){var t=xT({},(_T(e),e));return(0,go.jsx)(as,IT({sx:{fontWeight:"bold"}},t))},HT=function(e){var t=xT({},(_T(e),e));return(0,go.jsx)(as,IT({sx:{fontStyle:"italic"}},t))};function jT(e){return jT="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jT(e)}function UT(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 zT(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,Xy);return(0,go.jsx)(bi,function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,qy);return(0,go.jsx)(Ya,function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,sT);return console.log(t),"string"!=typeof t.props.children?(0,go.jsx)(mb,{children:"..."}):(0,go.jsx)(aT,cT(cT({},n),{},{children:t.props.children}))},ul:function(e){e.node;var t=cb(e,ob);return(0,go.jsx)(tl,lb(lb({orientation:"vertical"},t),{},{sx:{display:"block",flexDirection:"column"},marker:"disc"}))},ol:function(e){e.node;var t=cb(e,ab);return(0,go.jsx)(tl,lb(lb({component:"ol",marker:"decimal",orientation:"vertical"},t),{},{sx:{display:"block",flexDirection:"column"}}))},li:function(e){var t=e.children,n=cb(e,ib);return(0,go.jsx)(dl,lb(lb({},n),{},{sx:{flexDirection:"column",alignItems:"flex-start"},children:(0,go.jsx)(nb,{children:(0,go.jsx)(as,{level:"body-sm",children:t})})}))}},n),{},{button:function(e){var t=e.linkto,n=e.children;return"string"!=typeof n?(0,go.jsx)(Wi,{children:n}):t?(0,go.jsx)(Wi,{component:bi,to:t,button:!0,size:"lg",children:n}):(0,go.jsx)(Wi,{children:n})}}),GT=function(e){return(0,go.jsx)(Bf,zT(zT({},e),{},{components:$T,remarkPlugins:[Am],rehypePlugins:[Vy]}))},WT=function(){return(0,go.jsx)(dc,{title:"Call for Proposals",children:(0,go.jsx)(GT,{children:'# Calls for Action\n\n## Calls for Presentations\nCall for Lightning Talks\n\nKNIT9 attendees have the opportunity to present lightning talks on the following topics:\n\n1. Enabling experimentation in various science domains\n2. Getting started with FABRIC -- Unique features, useful tricks, sharable services\n3. Experiments across FABRIC and other testbeds\n4. Propose a compelling new topic\n\nThese talks should show active FABRIC experiment views and results. For planned experiments, we encourage presenting planned topology and resources (FABRIC and other) as specific as possible.\n\nSubmissions are due July 15 via our [submission form](https://docs.google.com/forms/d/1x-JXFHXTNgN6-wkqcoBcnFNAvkPdRSCIrX_poPTXazw/viewform?edit_requested=true).\n\n\n\n
\n\nFor more questions, email [Chelsea Davis](mailto:cdavis@renci.org)'})})},VT=function(){return(0,go.jsx)(dc,{title:"Home",description:"Home of FABRIC's KNIT Worksop",children:(0,go.jsx)(GT,{children:'# KNIT 9\n\n## Registration is Open!\n\nSeptember 24 - 27, 2024 | Kansas City, MO\n \nKNIT 9, the next FABRIC Community Workshop, will take place September 24, 2024 in Kansas City, MO, and will be co-located with the MERIF Workshop. The workshop will include small-group, hands-on FABRIC tutorial sessions and advanced training topics. During the event, experimenters across multiple science domains will highlight their use of FABRIC to push forward compelling experiments. The FABRIC team will set the stage for the future of FABRIC and solicit feedback from fellow participants during talks and open mic sessions.\n\nThe last day to register is _Monday, September 2, 2024_.\nPrevious KNIT attendees and students are eligible to receive discounted pricing.\nSee what [travel accommodations](/travel) are available,\nand [register now](/registration)!\n\n\n\n\n
\n\n##### Funding Details\n\nFABRIC is funded by NSF grants CNS-1935966, CNS-2029176, CNS-2029200, CNS-2029235, CNS-2029260, CNS-2029261 and CNS-2330891.\n'})})},YT=function(){return(0,go.jsx)(dc,{title:"Not Found",children:(0,go.jsx)("h1",{children:"404: Not Found"})})},qT=function(){return(0,go.jsx)(dc,{title:"Registration",description:"Register for the KNIT workshop",children:(0,go.jsx)(GT,{children:'# Registration\n\n## When\n\n- Workshop: Tuesday September 24 - Friday September 27, 2024\n- Registration deadline: Monday, September 2, 2024\n\n## Where\n\nKansas City, MO\n\n## Cost\n\n- **Full KNIT-Only Registration**: $70\n\n*Please also stay the rest of the week for the MERIF Workshop. You can find the pricing information for MERIF on the registration link below.*\n\n\n\n
'})})},KT=function(){return(0,go.jsx)(dc,{title:"Travel",description:"View travel and lodging accommodations",children:(0,go.jsx)(GT,{children:'# Travel\n\n## Hotel Block\n\nSeptember 4 is the last day to reserve your room as part of the hotel block. Our team has reserved a hotel block from the evening of Monday September 23 through checkout on Friday September 27 at the Residence Inn.\n\n> Residence Inn\n\n> 4601 Broadway Blvd, Kansas City, MO 64112\n\nReservations can be made at the [hotel website](https://www.marriott.com/event-reservations/reservation-link.mi?id=1717098427388&key=GRP&app=resvlink).\n\n\n\n
\n\n## Travel Stipends\n\nTravel grant applications will be evaluated on there ability to increase the diversity of the KNIT conference through ...\n\n1. A wide range of institutions and organizations,\n2. Providing opportunities for attendees to contribute ideas, share expertise, and receive training, and\n3. The applicants ability to stimulate successful FABRIC experiments that can lead to important scientific impacts in a diverse range of science domains.\n\nImportant Note: In order to receive travel grant reimbursements, you are required to serve as an active note taker during the FABRIC KNIT Workshop sessions and fill out a feedback survey provided after the workshop. Should you be awarded, you will be given additional instructions for your note taking assignment.\n\n***Application form is now closed.***'})})},QT=function(e){var t=e.title,n=e.md;return(0,go.jsxs)(Xa,{component:"section",sx:{details:{my:2,backgroundColor:"#fff9",borderRadius:6,border:"1px solid",borderColor:"var(--variant-outlinedBorder, var(--knit-palette-neutral-outlinedBorder, var(--knit-palette-neutral-300, #456)))"},summary:{p:1,cursor:"pointer",fontFamily:"monospace",textTransform:"uppercase",transition:"filter 250ms",color:"var(--knit-palette-primary-dark)",filter:"saturate(0.0)","&:hover":{filter:"saturate(1.0)"}}},children:[(0,go.jsx)(Ya,{children:(0,go.jsx)(as,{sx:{fontSize:"300%"},children:t})}),(0,go.jsx)(mb,{variant:"outlined",children:(0,go.jsx)(GT,{children:n})}),(0,go.jsxs)("details",{children:[(0,go.jsx)("summary",{children:"Markdown Syntax"}),(0,go.jsx)(aT,{children:n})]})]})};QT.propTypes={title:pe().string.isRequired,md:pe().string.isRequired};var XT=function(){return(0,go.jsxs)(a.Fragment,{children:[(0,go.jsx)(QT,{md:"# Level 1 Heading\n## Level 2 Heading\n### Level 3 Heading\n#### Level 4 Heading\n##### Level 5 Heading\n###### Level 6 Heading\n",title:"Headings"}),(0,go.jsx)(QT,{md:"This is one line.\n\nThis line is separated from the previous line by two newlines (pressing Return twice), so it renders in a *separate paragraph*.\n\nThis is another paragraph.\nHowever, because it is comprised\nof text on adjacent lines,\nit renders as a single paragraph.\n",title:"Line Breaks"}),(0,go.jsx)(QT,{md:"The syntax for links has two parts--the text label for the link (enclosed in square brackets)\nimmediately followed by path to which that text is linked (enclosed in parentheses).\n\nBoth [Internal links](/some/page/on/this/site) and [external links](https://www.google.com) have the same syntax.\nNote that external links are automatically decorated with an icon and will open in a new tab.\n",title:"Links"}),(0,go.jsx)(QT,{md:"Italicize text with either *asterisks* or _underscores_.\n\nBold text with either **double asterisks** or __double underscores__.\n\nStrikethrough text with single or double tildes ~disregard this~ or ~~forget that.~~ \n",title:"Text Emphasis"}),(0,go.jsx)(QT,{md:'Here\'s an image from https://picsum.photos/.\n\n![Alternative text goes here](https://picsum.photos/600/200 "Tooltip text goes here")\n',title:"Images"}),(0,go.jsx)(QT,{md:"> Multi lorem ipsum ea quis exercitation aliqua cupidatat dolore pariatur commodo sint cillum enim minim ex ad enim.\n> Line fugiat dolor in eiusmod officia esse laboris in quis duis anim veniam officia ut sed veniam aute deserunt.\n> Quote sunt nisi reprehenderit velit aliquip cupidatat labore consectetur dolore irure sit exercitation dolore eu consectetur dolore.\n\nLabore commodo duis consectetur tempor minim dolore pariatur nostrud dolore ullamco proident ex id ut adipisicing.\n\n> Very long quote in pariatur minim consequat fugiat incididunt occaecat ad laborum cupidatat sit elit. Consectetur enim ea eiusmod veniam occaecat in culpa exercitation irure elit incididunt. Lorem ipsum in sit commodo cupidatat eiusmod officia aliqua minim laborum excepteur irure sunt reprehenderit. Proident exercitation sint est ex in voluptate cillum nostrud adipisicing reprehenderit aliqua minim non. Lorem ipsum laborum tempor tempor ut ullamco exercitation non cupidatat eu pariatur in. Blockquotes can include **Markdown**, too!\n",title:"Blockquotes"}),(0,go.jsx)(QT,{md:"Three hyphens on a line create a divider.\n\n---\n\nAlternatively, asterisks can be used.\n\n***\n",title:"Dividers"}),(0,go.jsx)(QT,{md:"Raw HTML syntax can be used:\n\nMarkdown _inside_ HTML inside markdown is **not** so reliable.\nHTML tags are, though.\n
",title:"Raw HTML"})]})},JT=function(){return(0,go.jsx)(dc,{size:"lg",title:"Markdown Showcase",children:(0,go.jsx)(XT,{})})},ZT=[{path:"/",label:"Home",view:(0,go.jsx)(VT,{})},{path:"/registration",label:"Registration",view:(0,go.jsx)(qT,{})},{path:"/travel",label:"Travel Info",view:(0,go.jsx)(KT,{})},{path:"/cfa",label:"Calls for Action",view:(0,go.jsx)(WT,{})}],eS=function(){return(0,go.jsxs)(a.Fragment,{children:[(0,go.jsx)(zs,{}),(0,go.jsx)(Ns,{options:ZT}),(0,go.jsx)("main",{children:(0,go.jsxs)(ce,{children:[ZT.map((function(e){var t=e.path,n=e.view,r=e.label;return(0,go.jsx)(se,{path:t,element:n},"route-".concat(r))})),(0,go.jsx)(se,{path:"__markdown",element:(0,go.jsx)(JT,{})}),(0,go.jsx)(se,{path:"*",element:(0,go.jsx)(YT,{})})]})}),(0,go.jsx)(gl,{})]})},tS=o(352);function nS(e){const{styles:t,defaultTheme:n={}}=e,r="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return(0,go.jsx)(ki,{styles:r})}const rS=a.createContext(null);function oS(){return a.useContext(rS)}const aS="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",iS=function(e){const{children:t,theme:n}=e,r=oS(),o=a.useMemo((()=>{const e=null===r?n:function(e,t){return"function"==typeof t?t(e):he({},e,t)}(r,n);return null!=e&&(e[aS]=null!==r),e}),[n,r]);return(0,go.jsx)(rS.Provider,{value:o,children:t})},sS={};function lS(e,t,n,r=!1){return a.useMemo((()=>{const o=e&&t[e]||t;if("function"==typeof n){const a=n(o),i=e?he({},t,{[e]:a}):a;return r?()=>i:i}return he({},t,e?{[e]:n}:n)}),[e,t,n,r])}const cS=function(e){const{children:t,theme:n,themeId:r}=e,o=Zn(sS),a=oS()||sS,i=lS(r,o,n),s=lS(r,a,n,!0);return(0,go.jsx)(iS,{theme:s,children:(0,go.jsx)(Jn.Provider,{value:i,children:t})})},uS="mode",dS="color-scheme",pS="data-color-scheme";function fS(e){if("undefined"!=typeof window&&"system"===e)return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function hS(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}function mS(e,t){if("undefined"==typeof window)return;let n;try{n=localStorage.getItem(e)||void 0,n||localStorage.setItem(e,t)}catch(e){}return n||t}const gS=["colorSchemes","components","generateCssVars","cssVarPrefix"],{CssVarsProvider:vS,useColorScheme:yS,getInitColorSchemeScript:bS}=function(e){const{themeId:t,theme:n={},attribute:r=pS,modeStorageKey:o=uS,colorSchemeStorageKey:i=dS,defaultMode:s="light",defaultColorScheme:l,disableTransitionOnChange:c=!1,resolveTheme:u,excludeVariablesFromRoot:d}=e;(!n.colorSchemes||"string"==typeof l&&!n.colorSchemes[l]||"object"==typeof l&&!n.colorSchemes[null==l?void 0:l.light]||"object"==typeof l&&!n.colorSchemes[null==l?void 0:l.dark])&&console.error(`MUI: \`${l}\` does not exist in \`theme.colorSchemes\`.`);const p=a.createContext(void 0),f="string"==typeof l?l:l.light,h="string"==typeof l?l:l.dark;return{CssVarsProvider:function({children:e,theme:f=n,modeStorageKey:h=o,colorSchemeStorageKey:m=i,attribute:g=r,defaultMode:v=s,defaultColorScheme:y=l,disableTransitionOnChange:b=c,storageWindow:E=("undefined"==typeof window?void 0:window),documentNode:T=("undefined"==typeof document?void 0:document),colorSchemeNode:S=("undefined"==typeof document?void 0:document.documentElement),colorSchemeSelector:k=":root",disableNestedContext:C=!1,disableStyleSheetGeneration:A=!1}){const _=a.useRef(!1),x=oS(),O=a.useContext(p),I=!!O&&!C,w=f[t],N=w||f,{colorSchemes:D={},components:R={},generateCssVars:P=(()=>({vars:{},css:{}})),cssVarPrefix:L}=N,M=fe(N,gS),B=Object.keys(D),F="string"==typeof y?y:y.light,H="string"==typeof y?y:y.dark,{mode:j,setMode:U,systemMode:z,lightColorScheme:$,darkColorScheme:G,colorScheme:W,setColorScheme:V}=function(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:o=[],modeStorageKey:i=uS,colorSchemeStorageKey:s=dS,storageWindow:l=("undefined"==typeof window?void 0:window)}=e,c=o.join(","),[u,d]=a.useState((()=>{const e=mS(i,t),o=mS(`${s}-light`,n),a=mS(`${s}-dark`,r);return{mode:e,systemMode:fS(e),lightColorScheme:o,darkColorScheme:a}})),p=function(e){return hS(e,(t=>"light"===t?e.lightColorScheme:"dark"===t?e.darkColorScheme:void 0))}(u),f=a.useCallback((e=>{d((n=>{if(e===n.mode)return n;const r=e||t;try{localStorage.setItem(i,r)}catch(e){}return he({},n,{mode:r,systemMode:fS(r)})}))}),[i,t]),h=a.useCallback((e=>{e?"string"==typeof e?e&&!c.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):d((t=>{const n=he({},t);return hS(t,(t=>{try{localStorage.setItem(`${s}-${t}`,e)}catch(e){}"light"===t&&(n.lightColorScheme=e),"dark"===t&&(n.darkColorScheme=e)})),n})):d((t=>{const o=he({},t),a=null===e.light?n:e.light,i=null===e.dark?r:e.dark;if(a)if(c.includes(a)){o.lightColorScheme=a;try{localStorage.setItem(`${s}-light`,a)}catch(e){}}else console.error(`\`${a}\` does not exist in \`theme.colorSchemes\`.`);if(i)if(c.includes(i)){o.darkColorScheme=i;try{localStorage.setItem(`${s}-dark`,i)}catch(e){}}else console.error(`\`${i}\` does not exist in \`theme.colorSchemes\`.`);return o})):d((e=>{try{localStorage.setItem(`${s}-light`,n),localStorage.setItem(`${s}-dark`,r)}catch(e){}return he({},e,{lightColorScheme:n,darkColorScheme:r})}))}),[c,s,n,r]),m=a.useCallback((e=>{"system"===u.mode&&d((t=>he({},t,{systemMode:null!=e&&e.matches?"dark":"light"})))}),[u.mode]),g=a.useRef(m);return g.current=m,a.useEffect((()=>{const e=(...e)=>g.current(...e),t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>t.removeListener(e)}),[]),a.useEffect((()=>{const e=e=>{const n=e.newValue;"string"!=typeof e.key||!e.key.startsWith(s)||n&&!c.match(n)||(e.key.endsWith("light")&&h({light:n}),e.key.endsWith("dark")&&h({dark:n})),e.key!==i||n&&!["light","dark","system"].includes(n)||f(n||t)};if(l)return l.addEventListener("storage",e),()=>l.removeEventListener("storage",e)}),[h,f,i,s,c,t,l]),he({},u,{colorScheme:p,setMode:f,setColorScheme:h})}({supportedColorSchemes:B,defaultLightColorScheme:F,defaultDarkColorScheme:H,modeStorageKey:h,colorSchemeStorageKey:m,defaultMode:v,storageWindow:E});let Y=j,q=W;I&&(Y=O.mode,q=O.colorScheme);const K=q||("dark"===(Y||("system"===v?s:v))?H:F),{css:Q,vars:X}=P(),J=he({},M,{components:R,colorSchemes:D,cssVarPrefix:L,vars:X,getColorSchemeSelector:e=>`[${g}="${e}"] &`}),Z={},ee={};Object.entries(D).forEach((([e,t])=>{const{css:n,vars:r}=P(e);if(J.vars=Se(J.vars,r),e===K&&(Object.keys(t).forEach((e=>{t[e]&&"object"==typeof t[e]?J[e]=he({},J[e],t[e]):J[e]=t[e]})),J.palette&&(J.palette.colorScheme=e)),e===("string"==typeof y?y:"dark"===v?y.dark:y.light)){if(d){const t={};d(L).forEach((e=>{t[e]=n[e],delete n[e]})),Z[`[${g}="${e}"]`]=t}Z[`${k}, [${g}="${e}"]`]=n}else ee[`${":root"===k?"":k}[${g}="${e}"]`]=n})),J.vars=Se(J.vars,X),a.useEffect((()=>{q&&S&&S.setAttribute(g,q)}),[q,g,S]),a.useEffect((()=>{let e;if(b&&_.current&&T){const t=T.createElement("style");t.appendChild(T.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),T.head.appendChild(t),window.getComputedStyle(T.body),e=setTimeout((()=>{T.head.removeChild(t)}),1)}return()=>{clearTimeout(e)}}),[q,b,T]),a.useEffect((()=>(_.current=!0,()=>{_.current=!1})),[]);const te=a.useMemo((()=>({mode:Y,systemMode:z,setMode:U,lightColorScheme:$,darkColorScheme:G,colorScheme:q,setColorScheme:V,allColorSchemes:B})),[B,q,G,$,Y,V,U,z]);let ne=!0;(A||I&&(null==x?void 0:x.cssVarPrefix)===L)&&(ne=!1);const re=(0,go.jsxs)(a.Fragment,{children:[ne&&(0,go.jsxs)(a.Fragment,{children:[(0,go.jsx)(nS,{styles:{[k]:Q}}),(0,go.jsx)(nS,{styles:Z}),(0,go.jsx)(nS,{styles:ee})]}),(0,go.jsx)(cS,{themeId:w?t:void 0,theme:u?u(J):J,children:e})]});return I?re:(0,go.jsx)(p.Provider,{value:te,children:re})},useColorScheme:()=>{const e=a.useContext(p);if(!e)throw new Error(ye(19));return e},getInitColorSchemeScript:e=>function(e){const{defaultMode:t="light",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:o=uS,colorSchemeStorageKey:a=dS,attribute:i=pS,colorSchemeNode:s="document.documentElement"}=e||{};return(0,go.jsx)("script",{dangerouslySetInnerHTML:{__html:`(function() {\ntry {\n var mode = localStorage.getItem('${o}') || '${t}';\n var colorScheme = '';\n if (mode === 'system') {\n // handle system mode\n var mql = window.matchMedia('(prefers-color-scheme: dark)');\n if (mql.matches) {\n colorScheme = localStorage.getItem('${a}-dark') || '${r}';\n } else {\n colorScheme = localStorage.getItem('${a}-light') || '${n}';\n }\n }\n if (mode === 'light') {\n colorScheme = localStorage.getItem('${a}-light') || '${n}';\n }\n if (mode === 'dark') {\n colorScheme = localStorage.getItem('${a}-dark') || '${r}';\n }\n if (colorScheme) {\n ${s}.setAttribute('${i}', colorScheme);\n }\n} catch(e){}})();`}},"mui-color-scheme-init")}(he({attribute:r,colorSchemeStorageKey:i,defaultMode:s,defaultLightColorScheme:f,defaultDarkColorScheme:h,modeStorageKey:o},e))}}({themeId:xr,theme:_r,attribute:"data-joy-color-scheme",modeStorageKey:"joy-mode",colorSchemeStorageKey:"joy-color-scheme",defaultColorScheme:{light:"light",dark:"dark"}});var ES={primary:{50:"#69C2F6",100:"#5ABAEF",200:"#4CB3E6",300:"#3DA9DD",400:"#2FA1D5",500:"#2198CC",600:"#128EC3",700:"#0386BA",800:"#007FB3",900:"#0075A9",main:"#47aae1",light:"#93e1f1",dark:"#2e7197",contrastText:"rgba(255, 255, 255, 0.87)",solidBg:"var(--knit-palette-primary-300)",solidActiveBg:"var(--knit-palette-primary-300)",outlinedBorder:"var(--knit-palette-primary-400)",outlinedColor:"var(--knit-palette-primary-600)",outlinedActiveBg:"var(--knit-palette-primary-900)",softColor:"var(--knit-palette-primary-400)",softBg:"var(--knit-palette-primary-50)",softActiveBg:"var(--knit-palette-primary-500)",plainColor:"var(--knit-palette-primary-700)",plainActiveBg:"var(--knit-palette-primary-200)"},secondary:{50:"#E6B489",100:"#DAAE80",200:"#CFA878",300:"#C49E6F",400:"#B99366",500:"#AE8E5D",600:"#A38354",700:"#98794B",800:"#8D6E42",900:"#826339",main:"#c19875",light:"#ffd9c9",dark:"#82624e",contrastText:"rgba(0, 0, 0, 0.87)",solidBg:"var(--knit-palette-secondary-400)",solidActiveBg:"var(--knit-palette-secondary-500)",outlinedBorder:"var(--knit-palette-secondary-700)",outlinedColor:"var(--knit-palette-secondary-600)",outlinedActiveBg:"var(--knit-palette-secondary-900)",softColor:"var(--knit-palette-secondary-500)",softBg:"var(--knit-palette-secondary-50)",softActiveBg:"var(--knit-palette-secondary-800)",plainColor:"var(--knit-palette-secondary-500)",plainActiveBg:"var(--knit-palette-secondary-900)"},tertiary:{50:"#4D5040",100:"#494B3E",200:"#45473D",300:"#41443B",400:"#3D4039",500:"#393C37",600:"#353934",700:"#313631",800:"#2D322F",900:"#292E2D",main:"#414535",light:"#565c46",dark:"#2b2d24",contrastText:"rgba(0, 0, 0, 0.87)",solidBg:"var(--knit-palette-tertiary-400)",solidActiveBg:"var(--knit-palette-tertiary-500)",outlinedBorder:"var(--knit-palette-tertiary-700)",outlinedColor:"var(--knit-palette-tertiary-600)",outlinedActiveBg:"var(--knit-palette-tertiary-900)",softColor:"var(--knit-palette-tertiary-500)",softBg:"var(--knit-palette-tertiary-50)",softActiveBg:"var(--knit-palette-tertiary-800)",plainColor:"var(--knit-palette-secondary-500)",plainActiveBg:"var(--knit-palette-secondary-900)"}};function TS(e){return TS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},TS(e)}function SS(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 kS(e){for(var t=1;t (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));\n\t}\n\tdef['default'] = () => (value);\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","'use strict';\n\nvar hasOwn = Object.prototype.hasOwnProperty;\nvar toStr = Object.prototype.toString;\nvar defineProperty = Object.defineProperty;\nvar gOPD = Object.getOwnPropertyDescriptor;\n\nvar isArray = function isArray(arr) {\n\tif (typeof Array.isArray === 'function') {\n\t\treturn Array.isArray(arr);\n\t}\n\n\treturn toStr.call(arr) === '[object Array]';\n};\n\nvar isPlainObject = function isPlainObject(obj) {\n\tif (!obj || toStr.call(obj) !== '[object Object]') {\n\t\treturn false;\n\t}\n\n\tvar hasOwnConstructor = hasOwn.call(obj, 'constructor');\n\tvar hasIsPrototypeOf = obj.constructor && obj.constructor.prototype && hasOwn.call(obj.constructor.prototype, 'isPrototypeOf');\n\t// Not own constructor property must be Object\n\tif (obj.constructor && !hasOwnConstructor && !hasIsPrototypeOf) {\n\t\treturn false;\n\t}\n\n\t// Own properties are enumerated firstly, so to speed up,\n\t// if last one is own, then all properties are own.\n\tvar key;\n\tfor (key in obj) { /**/ }\n\n\treturn typeof key === 'undefined' || hasOwn.call(obj, key);\n};\n\n// If name is '__proto__', and Object.defineProperty is available, define __proto__ as an own property on target\nvar setProperty = function setProperty(target, options) {\n\tif (defineProperty && options.name === '__proto__') {\n\t\tdefineProperty(target, options.name, {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: true,\n\t\t\tvalue: options.newValue,\n\t\t\twritable: true\n\t\t});\n\t} else {\n\t\ttarget[options.name] = options.newValue;\n\t}\n};\n\n// Return undefined instead of __proto__ if '__proto__' is not an own property\nvar getProperty = function getProperty(obj, name) {\n\tif (name === '__proto__') {\n\t\tif (!hasOwn.call(obj, name)) {\n\t\t\treturn void 0;\n\t\t} else if (gOPD) {\n\t\t\t// In early versions of node, obj['__proto__'] is buggy when obj has\n\t\t\t// __proto__ as an own property. Object.getOwnPropertyDescriptor() works.\n\t\t\treturn gOPD(obj, name).value;\n\t\t}\n\t}\n\n\treturn obj[name];\n};\n\nmodule.exports = function extend() {\n\tvar options, name, src, copy, copyIsArray, clone;\n\tvar target = arguments[0];\n\tvar i = 1;\n\tvar length = arguments.length;\n\tvar deep = false;\n\n\t// Handle a deep copy situation\n\tif (typeof target === 'boolean') {\n\t\tdeep = target;\n\t\ttarget = arguments[1] || {};\n\t\t// skip the boolean and the target\n\t\ti = 2;\n\t}\n\tif (target == null || (typeof target !== 'object' && typeof target !== 'function')) {\n\t\ttarget = {};\n\t}\n\n\tfor (; i < length; ++i) {\n\t\toptions = arguments[i];\n\t\t// Only deal with non-null/undefined values\n\t\tif (options != null) {\n\t\t\t// Extend the base object\n\t\t\tfor (name in options) {\n\t\t\t\tsrc = getProperty(target, name);\n\t\t\t\tcopy = getProperty(options, name);\n\n\t\t\t\t// Prevent never-ending loop\n\t\t\t\tif (target !== copy) {\n\t\t\t\t\t// Recurse if we're merging plain objects or arrays\n\t\t\t\t\tif (deep && copy && (isPlainObject(copy) || (copyIsArray = isArray(copy)))) {\n\t\t\t\t\t\tif (copyIsArray) {\n\t\t\t\t\t\t\tcopyIsArray = false;\n\t\t\t\t\t\t\tclone = src && isArray(src) ? src : [];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tclone = src && isPlainObject(src) ? src : {};\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Never move original objects, clone them\n\t\t\t\t\t\tsetProperty(target, { name: name, newValue: extend(deep, clone, copy) });\n\n\t\t\t\t\t// Don't bring in undefined values\n\t\t\t\t\t} else if (typeof copy !== 'undefined') {\n\t\t\t\t\t\tsetProperty(target, { name: name, newValue: copy });\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// Return the modified object\n\treturn target;\n};\n","'use strict';\n\nvar reactIs = require('react-is');\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\nvar REACT_STATICS = {\n childContextTypes: true,\n contextType: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromError: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\nvar FORWARD_REF_STATICS = {\n '$$typeof': true,\n render: true,\n defaultProps: true,\n displayName: true,\n propTypes: true\n};\nvar MEMO_STATICS = {\n '$$typeof': true,\n compare: true,\n defaultProps: true,\n displayName: true,\n propTypes: true,\n type: true\n};\nvar TYPE_STATICS = {};\nTYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;\nTYPE_STATICS[reactIs.Memo] = MEMO_STATICS;\n\nfunction getStatics(component) {\n // React v16.11 and below\n if (reactIs.isMemo(component)) {\n return MEMO_STATICS;\n } // React v16.12 and above\n\n\n return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;\n}\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = Object.prototype;\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n var targetStatics = getStatics(targetComponent);\n var sourceStatics = getStatics(sourceComponent);\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n\n if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n","// http://www.w3.org/TR/CSS21/grammar.html\n// https://github.com/visionmedia/css-parse/pull/49#issuecomment-30088027\nvar COMMENT_REGEX = /\\/\\*[^*]*\\*+([^/*][^*]*\\*+)*\\//g;\n\nvar NEWLINE_REGEX = /\\n/g;\nvar WHITESPACE_REGEX = /^\\s*/;\n\n// declaration\nvar PROPERTY_REGEX = /^(\\*?[-#/*\\\\\\w]+(\\[[0-9a-z_-]+\\])?)\\s*/;\nvar COLON_REGEX = /^:\\s*/;\nvar VALUE_REGEX = /^((?:'(?:\\\\'|.)*?'|\"(?:\\\\\"|.)*?\"|\\([^)]*?\\)|[^};])+)/;\nvar SEMICOLON_REGEX = /^[;\\s]*/;\n\n// https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String/Trim#Polyfill\nvar TRIM_REGEX = /^\\s+|\\s+$/g;\n\n// strings\nvar NEWLINE = '\\n';\nvar FORWARD_SLASH = '/';\nvar ASTERISK = '*';\nvar EMPTY_STRING = '';\n\n// types\nvar TYPE_COMMENT = 'comment';\nvar TYPE_DECLARATION = 'declaration';\n\n/**\n * @param {String} style\n * @param {Object} [options]\n * @return {Object[]}\n * @throws {TypeError}\n * @throws {Error}\n */\nmodule.exports = function (style, options) {\n if (typeof style !== 'string') {\n throw new TypeError('First argument must be a string');\n }\n\n if (!style) return [];\n\n options = options || {};\n\n /**\n * Positional.\n */\n var lineno = 1;\n var column = 1;\n\n /**\n * Update lineno and column based on `str`.\n *\n * @param {String} str\n */\n function updatePosition(str) {\n var lines = str.match(NEWLINE_REGEX);\n if (lines) lineno += lines.length;\n var i = str.lastIndexOf(NEWLINE);\n column = ~i ? str.length - i : column + str.length;\n }\n\n /**\n * Mark position and patch `node.position`.\n *\n * @return {Function}\n */\n function position() {\n var start = { line: lineno, column: column };\n return function (node) {\n node.position = new Position(start);\n whitespace();\n return node;\n };\n }\n\n /**\n * Store position information for a node.\n *\n * @constructor\n * @property {Object} start\n * @property {Object} end\n * @property {undefined|String} source\n */\n function Position(start) {\n this.start = start;\n this.end = { line: lineno, column: column };\n this.source = options.source;\n }\n\n /**\n * Non-enumerable source string.\n */\n Position.prototype.content = style;\n\n var errorsList = [];\n\n /**\n * Error `msg`.\n *\n * @param {String} msg\n * @throws {Error}\n */\n function error(msg) {\n var err = new Error(\n options.source + ':' + lineno + ':' + column + ': ' + msg\n );\n err.reason = msg;\n err.filename = options.source;\n err.line = lineno;\n err.column = column;\n err.source = style;\n\n if (options.silent) {\n errorsList.push(err);\n } else {\n throw err;\n }\n }\n\n /**\n * Match `re` and return captures.\n *\n * @param {RegExp} re\n * @return {undefined|Array}\n */\n function match(re) {\n var m = re.exec(style);\n if (!m) return;\n var str = m[0];\n updatePosition(str);\n style = style.slice(str.length);\n return m;\n }\n\n /**\n * Parse whitespace.\n */\n function whitespace() {\n match(WHITESPACE_REGEX);\n }\n\n /**\n * Parse comments.\n *\n * @param {Object[]} [rules]\n * @return {Object[]}\n */\n function comments(rules) {\n var c;\n rules = rules || [];\n while ((c = comment())) {\n if (c !== false) {\n rules.push(c);\n }\n }\n return rules;\n }\n\n /**\n * Parse comment.\n *\n * @return {Object}\n * @throws {Error}\n */\n function comment() {\n var pos = position();\n if (FORWARD_SLASH != style.charAt(0) || ASTERISK != style.charAt(1)) return;\n\n var i = 2;\n while (\n EMPTY_STRING != style.charAt(i) &&\n (ASTERISK != style.charAt(i) || FORWARD_SLASH != style.charAt(i + 1))\n ) {\n ++i;\n }\n i += 2;\n\n if (EMPTY_STRING === style.charAt(i - 1)) {\n return error('End of comment missing');\n }\n\n var str = style.slice(2, i - 2);\n column += 2;\n updatePosition(str);\n style = style.slice(i);\n column += 2;\n\n return pos({\n type: TYPE_COMMENT,\n comment: str\n });\n }\n\n /**\n * Parse declaration.\n *\n * @return {Object}\n * @throws {Error}\n */\n function declaration() {\n var pos = position();\n\n // prop\n var prop = match(PROPERTY_REGEX);\n if (!prop) return;\n comment();\n\n // :\n if (!match(COLON_REGEX)) return error(\"property missing ':'\");\n\n // val\n var val = match(VALUE_REGEX);\n\n var ret = pos({\n type: TYPE_DECLARATION,\n property: trim(prop[0].replace(COMMENT_REGEX, EMPTY_STRING)),\n value: val\n ? trim(val[0].replace(COMMENT_REGEX, EMPTY_STRING))\n : EMPTY_STRING\n });\n\n // ;\n match(SEMICOLON_REGEX);\n\n return ret;\n }\n\n /**\n * Parse declarations.\n *\n * @return {Object[]}\n */\n function declarations() {\n var decls = [];\n\n comments(decls);\n\n // declarations\n var decl;\n while ((decl = declaration())) {\n if (decl !== false) {\n decls.push(decl);\n comments(decls);\n }\n }\n\n return decls;\n }\n\n whitespace();\n return declarations();\n};\n\n/**\n * Trim `str`.\n *\n * @param {String} str\n * @return {String}\n */\nfunction trim(str) {\n return str ? str.replace(TRIM_REGEX, EMPTY_STRING) : EMPTY_STRING;\n}\n","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bigint: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","/**\n * @license React\n * react-dom.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n/*\n Modernizr 3.0.0pre (Custom Build) | MIT\n*/\n'use strict';var aa=require(\"react\"),ca=require(\"scheduler\");function p(a){for(var b=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+a,c=1;cb}return!1}function v(a,b,c,d,e,f,g){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=f;this.removeEmptyString=g}var z={};\n\"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style\".split(\" \").forEach(function(a){z[a]=new v(a,0,!1,a,null,!1,!1)});[[\"acceptCharset\",\"accept-charset\"],[\"className\",\"class\"],[\"htmlFor\",\"for\"],[\"httpEquiv\",\"http-equiv\"]].forEach(function(a){var b=a[0];z[b]=new v(b,1,!1,a[1],null,!1,!1)});[\"contentEditable\",\"draggable\",\"spellCheck\",\"value\"].forEach(function(a){z[a]=new v(a,2,!1,a.toLowerCase(),null,!1,!1)});\n[\"autoReverse\",\"externalResourcesRequired\",\"focusable\",\"preserveAlpha\"].forEach(function(a){z[a]=new v(a,2,!1,a,null,!1,!1)});\"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope\".split(\" \").forEach(function(a){z[a]=new v(a,3,!1,a.toLowerCase(),null,!1,!1)});\n[\"checked\",\"multiple\",\"muted\",\"selected\"].forEach(function(a){z[a]=new v(a,3,!0,a,null,!1,!1)});[\"capture\",\"download\"].forEach(function(a){z[a]=new v(a,4,!1,a,null,!1,!1)});[\"cols\",\"rows\",\"size\",\"span\"].forEach(function(a){z[a]=new v(a,6,!1,a,null,!1,!1)});[\"rowSpan\",\"start\"].forEach(function(a){z[a]=new v(a,5,!1,a.toLowerCase(),null,!1,!1)});var ra=/[\\-:]([a-z])/g;function sa(a){return a[1].toUpperCase()}\n\"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height\".split(\" \").forEach(function(a){var b=a.replace(ra,\nsa);z[b]=new v(b,1,!1,a,null,!1,!1)});\"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type\".split(\" \").forEach(function(a){var b=a.replace(ra,sa);z[b]=new v(b,1,!1,a,\"http://www.w3.org/1999/xlink\",!1,!1)});[\"xml:base\",\"xml:lang\",\"xml:space\"].forEach(function(a){var b=a.replace(ra,sa);z[b]=new v(b,1,!1,a,\"http://www.w3.org/XML/1998/namespace\",!1,!1)});[\"tabIndex\",\"crossOrigin\"].forEach(function(a){z[a]=new v(a,1,!1,a.toLowerCase(),null,!1,!1)});\nz.xlinkHref=new v(\"xlinkHref\",1,!1,\"xlink:href\",\"http://www.w3.org/1999/xlink\",!0,!1);[\"src\",\"href\",\"action\",\"formAction\"].forEach(function(a){z[a]=new v(a,1,!1,a.toLowerCase(),null,!0,!0)});\nfunction ta(a,b,c,d){var e=z.hasOwnProperty(b)?z[b]:null;if(null!==e?0!==e.type:d||!(2h||e[g]!==f[h]){var k=\"\\n\"+e[g].replace(\" at new \",\" at \");a.displayName&&k.includes(\"\")&&(k=k.replace(\"\",a.displayName));return k}while(1<=g&&0<=h)}break}}}finally{Na=!1,Error.prepareStackTrace=c}return(a=a?a.displayName||a.name:\"\")?Ma(a):\"\"}\nfunction Pa(a){switch(a.tag){case 5:return Ma(a.type);case 16:return Ma(\"Lazy\");case 13:return Ma(\"Suspense\");case 19:return Ma(\"SuspenseList\");case 0:case 2:case 15:return a=Oa(a.type,!1),a;case 11:return a=Oa(a.type.render,!1),a;case 1:return a=Oa(a.type,!0),a;default:return\"\"}}\nfunction Qa(a){if(null==a)return null;if(\"function\"===typeof a)return a.displayName||a.name||null;if(\"string\"===typeof a)return a;switch(a){case ya:return\"Fragment\";case wa:return\"Portal\";case Aa:return\"Profiler\";case za:return\"StrictMode\";case Ea:return\"Suspense\";case Fa:return\"SuspenseList\"}if(\"object\"===typeof a)switch(a.$$typeof){case Ca:return(a.displayName||\"Context\")+\".Consumer\";case Ba:return(a._context.displayName||\"Context\")+\".Provider\";case Da:var b=a.render;a=a.displayName;a||(a=b.displayName||\nb.name||\"\",a=\"\"!==a?\"ForwardRef(\"+a+\")\":\"ForwardRef\");return a;case Ga:return b=a.displayName||null,null!==b?b:Qa(a.type)||\"Memo\";case Ha:b=a._payload;a=a._init;try{return Qa(a(b))}catch(c){}}return null}\nfunction Ra(a){var b=a.type;switch(a.tag){case 24:return\"Cache\";case 9:return(b.displayName||\"Context\")+\".Consumer\";case 10:return(b._context.displayName||\"Context\")+\".Provider\";case 18:return\"DehydratedFragment\";case 11:return a=b.render,a=a.displayName||a.name||\"\",b.displayName||(\"\"!==a?\"ForwardRef(\"+a+\")\":\"ForwardRef\");case 7:return\"Fragment\";case 5:return b;case 4:return\"Portal\";case 3:return\"Root\";case 6:return\"Text\";case 16:return Qa(b);case 8:return b===za?\"StrictMode\":\"Mode\";case 22:return\"Offscreen\";\ncase 12:return\"Profiler\";case 21:return\"Scope\";case 13:return\"Suspense\";case 19:return\"SuspenseList\";case 25:return\"TracingMarker\";case 1:case 0:case 17:case 2:case 14:case 15:if(\"function\"===typeof b)return b.displayName||b.name||null;if(\"string\"===typeof b)return b}return null}function Sa(a){switch(typeof a){case \"boolean\":case \"number\":case \"string\":case \"undefined\":return a;case \"object\":return a;default:return\"\"}}\nfunction Ta(a){var b=a.type;return(a=a.nodeName)&&\"input\"===a.toLowerCase()&&(\"checkbox\"===b||\"radio\"===b)}\nfunction Ua(a){var b=Ta(a)?\"checked\":\"value\",c=Object.getOwnPropertyDescriptor(a.constructor.prototype,b),d=\"\"+a[b];if(!a.hasOwnProperty(b)&&\"undefined\"!==typeof c&&\"function\"===typeof c.get&&\"function\"===typeof c.set){var e=c.get,f=c.set;Object.defineProperty(a,b,{configurable:!0,get:function(){return e.call(this)},set:function(a){d=\"\"+a;f.call(this,a)}});Object.defineProperty(a,b,{enumerable:c.enumerable});return{getValue:function(){return d},setValue:function(a){d=\"\"+a},stopTracking:function(){a._valueTracker=\nnull;delete a[b]}}}}function Va(a){a._valueTracker||(a._valueTracker=Ua(a))}function Wa(a){if(!a)return!1;var b=a._valueTracker;if(!b)return!0;var c=b.getValue();var d=\"\";a&&(d=Ta(a)?a.checked?\"true\":\"false\":a.value);a=d;return a!==c?(b.setValue(a),!0):!1}function Xa(a){a=a||(\"undefined\"!==typeof document?document:void 0);if(\"undefined\"===typeof a)return null;try{return a.activeElement||a.body}catch(b){return a.body}}\nfunction Ya(a,b){var c=b.checked;return A({},b,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=c?c:a._wrapperState.initialChecked})}function Za(a,b){var c=null==b.defaultValue?\"\":b.defaultValue,d=null!=b.checked?b.checked:b.defaultChecked;c=Sa(null!=b.value?b.value:c);a._wrapperState={initialChecked:d,initialValue:c,controlled:\"checkbox\"===b.type||\"radio\"===b.type?null!=b.checked:null!=b.value}}function ab(a,b){b=b.checked;null!=b&&ta(a,\"checked\",b,!1)}\nfunction bb(a,b){ab(a,b);var c=Sa(b.value),d=b.type;if(null!=c)if(\"number\"===d){if(0===c&&\"\"===a.value||a.value!=c)a.value=\"\"+c}else a.value!==\"\"+c&&(a.value=\"\"+c);else if(\"submit\"===d||\"reset\"===d){a.removeAttribute(\"value\");return}b.hasOwnProperty(\"value\")?cb(a,b.type,c):b.hasOwnProperty(\"defaultValue\")&&cb(a,b.type,Sa(b.defaultValue));null==b.checked&&null!=b.defaultChecked&&(a.defaultChecked=!!b.defaultChecked)}\nfunction db(a,b,c){if(b.hasOwnProperty(\"value\")||b.hasOwnProperty(\"defaultValue\")){var d=b.type;if(!(\"submit\"!==d&&\"reset\"!==d||void 0!==b.value&&null!==b.value))return;b=\"\"+a._wrapperState.initialValue;c||b===a.value||(a.value=b);a.defaultValue=b}c=a.name;\"\"!==c&&(a.name=\"\");a.defaultChecked=!!a._wrapperState.initialChecked;\"\"!==c&&(a.name=c)}\nfunction cb(a,b,c){if(\"number\"!==b||Xa(a.ownerDocument)!==a)null==c?a.defaultValue=\"\"+a._wrapperState.initialValue:a.defaultValue!==\"\"+c&&(a.defaultValue=\"\"+c)}var eb=Array.isArray;\nfunction fb(a,b,c,d){a=a.options;if(b){b={};for(var e=0;e\"+b.valueOf().toString()+\"\";for(b=mb.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;b.firstChild;)a.appendChild(b.firstChild)}});\nfunction ob(a,b){if(b){var c=a.firstChild;if(c&&c===a.lastChild&&3===c.nodeType){c.nodeValue=b;return}}a.textContent=b}\nvar pb={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,\nzoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},qb=[\"Webkit\",\"ms\",\"Moz\",\"O\"];Object.keys(pb).forEach(function(a){qb.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);pb[b]=pb[a]})});function rb(a,b,c){return null==b||\"boolean\"===typeof b||\"\"===b?\"\":c||\"number\"!==typeof b||0===b||pb.hasOwnProperty(a)&&pb[a]?(\"\"+b).trim():b+\"px\"}\nfunction sb(a,b){a=a.style;for(var c in b)if(b.hasOwnProperty(c)){var d=0===c.indexOf(\"--\"),e=rb(c,b[c],d);\"float\"===c&&(c=\"cssFloat\");d?a.setProperty(c,e):a[c]=e}}var tb=A({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});\nfunction ub(a,b){if(b){if(tb[a]&&(null!=b.children||null!=b.dangerouslySetInnerHTML))throw Error(p(137,a));if(null!=b.dangerouslySetInnerHTML){if(null!=b.children)throw Error(p(60));if(\"object\"!==typeof b.dangerouslySetInnerHTML||!(\"__html\"in b.dangerouslySetInnerHTML))throw Error(p(61));}if(null!=b.style&&\"object\"!==typeof b.style)throw Error(p(62));}}\nfunction vb(a,b){if(-1===a.indexOf(\"-\"))return\"string\"===typeof b.is;switch(a){case \"annotation-xml\":case \"color-profile\":case \"font-face\":case \"font-face-src\":case \"font-face-uri\":case \"font-face-format\":case \"font-face-name\":case \"missing-glyph\":return!1;default:return!0}}var wb=null;function xb(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode:a}var yb=null,zb=null,Ab=null;\nfunction Bb(a){if(a=Cb(a)){if(\"function\"!==typeof yb)throw Error(p(280));var b=a.stateNode;b&&(b=Db(b),yb(a.stateNode,a.type,b))}}function Eb(a){zb?Ab?Ab.push(a):Ab=[a]:zb=a}function Fb(){if(zb){var a=zb,b=Ab;Ab=zb=null;Bb(a);if(b)for(a=0;a>>=0;return 0===a?32:31-(pc(a)/qc|0)|0}var rc=64,sc=4194304;\nfunction tc(a){switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return a&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;\ndefault:return a}}function uc(a,b){var c=a.pendingLanes;if(0===c)return 0;var d=0,e=a.suspendedLanes,f=a.pingedLanes,g=c&268435455;if(0!==g){var h=g&~e;0!==h?d=tc(h):(f&=g,0!==f&&(d=tc(f)))}else g=c&~e,0!==g?d=tc(g):0!==f&&(d=tc(f));if(0===d)return 0;if(0!==b&&b!==d&&0===(b&e)&&(e=d&-d,f=b&-b,e>=f||16===e&&0!==(f&4194240)))return b;0!==(d&4)&&(d|=c&16);b=a.entangledLanes;if(0!==b)for(a=a.entanglements,b&=d;0c;c++)b.push(a);return b}\nfunction Ac(a,b,c){a.pendingLanes|=b;536870912!==b&&(a.suspendedLanes=0,a.pingedLanes=0);a=a.eventTimes;b=31-oc(b);a[b]=c}function Bc(a,b){var c=a.pendingLanes&~b;a.pendingLanes=b;a.suspendedLanes=0;a.pingedLanes=0;a.expiredLanes&=b;a.mutableReadLanes&=b;a.entangledLanes&=b;b=a.entanglements;var d=a.eventTimes;for(a=a.expirationTimes;0=be),ee=String.fromCharCode(32),fe=!1;\nfunction ge(a,b){switch(a){case \"keyup\":return-1!==$d.indexOf(b.keyCode);case \"keydown\":return 229!==b.keyCode;case \"keypress\":case \"mousedown\":case \"focusout\":return!0;default:return!1}}function he(a){a=a.detail;return\"object\"===typeof a&&\"data\"in a?a.data:null}var ie=!1;function je(a,b){switch(a){case \"compositionend\":return he(b);case \"keypress\":if(32!==b.which)return null;fe=!0;return ee;case \"textInput\":return a=b.data,a===ee&&fe?null:a;default:return null}}\nfunction ke(a,b){if(ie)return\"compositionend\"===a||!ae&&ge(a,b)?(a=nd(),md=ld=kd=null,ie=!1,a):null;switch(a){case \"paste\":return null;case \"keypress\":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1=b)return{node:c,offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=Je(c)}}function Le(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?Le(a,b.parentNode):\"contains\"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1}\nfunction Me(){for(var a=window,b=Xa();b instanceof a.HTMLIFrameElement;){try{var c=\"string\"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=Xa(a.document)}return b}function Ne(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&(\"input\"===b&&(\"text\"===a.type||\"search\"===a.type||\"tel\"===a.type||\"url\"===a.type||\"password\"===a.type)||\"textarea\"===b||\"true\"===a.contentEditable)}\nfunction Oe(a){var b=Me(),c=a.focusedElem,d=a.selectionRange;if(b!==c&&c&&c.ownerDocument&&Le(c.ownerDocument.documentElement,c)){if(null!==d&&Ne(c))if(b=d.start,a=d.end,void 0===a&&(a=b),\"selectionStart\"in c)c.selectionStart=b,c.selectionEnd=Math.min(a,c.value.length);else if(a=(b=c.ownerDocument||document)&&b.defaultView||window,a.getSelection){a=a.getSelection();var e=c.textContent.length,f=Math.min(d.start,e);d=void 0===d.end?f:Math.min(d.end,e);!a.extend&&f>d&&(e=d,d=f,f=e);e=Ke(c,f);var g=Ke(c,\nd);e&&g&&(1!==a.rangeCount||a.anchorNode!==e.node||a.anchorOffset!==e.offset||a.focusNode!==g.node||a.focusOffset!==g.offset)&&(b=b.createRange(),b.setStart(e.node,e.offset),a.removeAllRanges(),f>d?(a.addRange(b),a.extend(g.node,g.offset)):(b.setEnd(g.node,g.offset),a.addRange(b)))}b=[];for(a=c;a=a.parentNode;)1===a.nodeType&&b.push({element:a,left:a.scrollLeft,top:a.scrollTop});\"function\"===typeof c.focus&&c.focus();for(c=0;c=document.documentMode,Qe=null,Re=null,Se=null,Te=!1;\nfunction Ue(a,b,c){var d=c.window===c?c.document:9===c.nodeType?c:c.ownerDocument;Te||null==Qe||Qe!==Xa(d)||(d=Qe,\"selectionStart\"in d&&Ne(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),Se&&Ie(Se,d)||(Se=d,d=oe(Re,\"onSelect\"),0Tf||(a.current=Sf[Tf],Sf[Tf]=null,Tf--)}function G(a,b){Tf++;Sf[Tf]=a.current;a.current=b}var Vf={},H=Uf(Vf),Wf=Uf(!1),Xf=Vf;function Yf(a,b){var c=a.type.contextTypes;if(!c)return Vf;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}\nfunction Zf(a){a=a.childContextTypes;return null!==a&&void 0!==a}function $f(){E(Wf);E(H)}function ag(a,b,c){if(H.current!==Vf)throw Error(p(168));G(H,b);G(Wf,c)}function bg(a,b,c){var d=a.stateNode;b=b.childContextTypes;if(\"function\"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in b))throw Error(p(108,Ra(a)||\"Unknown\",e));return A({},c,d)}\nfunction cg(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Vf;Xf=H.current;G(H,a);G(Wf,Wf.current);return!0}function dg(a,b,c){var d=a.stateNode;if(!d)throw Error(p(169));c?(a=bg(a,b,Xf),d.__reactInternalMemoizedMergedChildContext=a,E(Wf),E(H),G(H,a)):E(Wf);G(Wf,c)}var eg=null,fg=!1,gg=!1;function hg(a){null===eg?eg=[a]:eg.push(a)}function ig(a){fg=!0;hg(a)}\nfunction jg(){if(!gg&&null!==eg){gg=!0;var a=0,b=C;try{var c=eg;for(C=1;a>=g;e-=g;rg=1<<32-oc(b)+e|c<w?(x=u,u=null):x=u.sibling;var n=r(e,u,h[w],k);if(null===n){null===u&&(u=x);break}a&&u&&null===n.alternate&&b(e,u);g=f(n,g,w);null===m?l=n:m.sibling=n;m=n;u=x}if(w===h.length)return c(e,u),I&&tg(e,w),l;if(null===u){for(;ww?(x=m,m=null):x=m.sibling;var t=r(e,m,n.value,k);if(null===t){null===m&&(m=x);break}a&&m&&null===t.alternate&&b(e,m);g=f(t,g,w);null===u?l=t:u.sibling=t;u=t;m=x}if(n.done)return c(e,\nm),I&&tg(e,w),l;if(null===m){for(;!n.done;w++,n=h.next())n=q(e,n.value,k),null!==n&&(g=f(n,g,w),null===u?l=n:u.sibling=n,u=n);I&&tg(e,w);return l}for(m=d(e,m);!n.done;w++,n=h.next())n=y(m,e,w,n.value,k),null!==n&&(a&&null!==n.alternate&&m.delete(null===n.key?w:n.key),g=f(n,g,w),null===u?l=n:u.sibling=n,u=n);a&&m.forEach(function(a){return b(e,a)});I&&tg(e,w);return l}function J(a,d,f,h){\"object\"===typeof f&&null!==f&&f.type===ya&&null===f.key&&(f=f.props.children);if(\"object\"===typeof f&&null!==f){switch(f.$$typeof){case va:a:{for(var k=\nf.key,l=d;null!==l;){if(l.key===k){k=f.type;if(k===ya){if(7===l.tag){c(a,l.sibling);d=e(l,f.props.children);d.return=a;a=d;break a}}else if(l.elementType===k||\"object\"===typeof k&&null!==k&&k.$$typeof===Ha&&uh(k)===l.type){c(a,l.sibling);d=e(l,f.props);d.ref=sh(a,l,f);d.return=a;a=d;break a}c(a,l);break}else b(a,l);l=l.sibling}f.type===ya?(d=Ah(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=yh(f.type,f.key,f.props,null,a.mode,h),h.ref=sh(a,d,f),h.return=a,a=h)}return g(a);case wa:a:{for(l=f.key;null!==\nd;){if(d.key===l)if(4===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===f.implementation){c(a,d.sibling);d=e(d,f.children||[]);d.return=a;a=d;break a}else{c(a,d);break}else b(a,d);d=d.sibling}d=zh(f,a.mode,h);d.return=a;a=d}return g(a);case Ha:return l=f._init,J(a,d,l(f._payload),h)}if(eb(f))return n(a,d,f,h);if(Ka(f))return t(a,d,f,h);th(a,f)}return\"string\"===typeof f&&\"\"!==f||\"number\"===typeof f?(f=\"\"+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f),d.return=a,a=d):\n(c(a,d),d=xh(f,a.mode,h),d.return=a,a=d),g(a)):c(a,d)}return J}var Bh=vh(!0),Ch=vh(!1),Dh={},Eh=Uf(Dh),Fh=Uf(Dh),Gh=Uf(Dh);function Hh(a){if(a===Dh)throw Error(p(174));return a}function Ih(a,b){G(Gh,b);G(Fh,a);G(Eh,Dh);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?b.namespaceURI:lb(null,\"\");break;default:a=8===a?b.parentNode:b,b=a.namespaceURI||null,a=a.tagName,b=lb(b,a)}E(Eh);G(Eh,b)}function Jh(){E(Eh);E(Fh);E(Gh)}\nfunction Kh(a){Hh(Gh.current);var b=Hh(Eh.current);var c=lb(b,a.type);b!==c&&(G(Fh,a),G(Eh,c))}function Lh(a){Fh.current===a&&(E(Eh),E(Fh))}var M=Uf(0);\nfunction Mh(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||\"$?\"===c.data||\"$!\"===c.data))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.flags&128))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}var Nh=[];\nfunction Oh(){for(var a=0;ac?c:4;a(!0);var d=Qh.transition;Qh.transition={};try{a(!1),b()}finally{C=c,Qh.transition=d}}function Fi(){return di().memoizedState}\nfunction Gi(a,b,c){var d=lh(a);c={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null};if(Hi(a))Ii(b,c);else if(c=Yg(a,b,c,d),null!==c){var e=L();mh(c,a,d,e);Ji(c,b,d)}}\nfunction ri(a,b,c){var d=lh(a),e={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null};if(Hi(a))Ii(b,e);else{var f=a.alternate;if(0===a.lanes&&(null===f||0===f.lanes)&&(f=b.lastRenderedReducer,null!==f))try{var g=b.lastRenderedState,h=f(g,c);e.hasEagerState=!0;e.eagerState=h;if(He(h,g)){var k=b.interleaved;null===k?(e.next=e,Xg(b)):(e.next=k.next,k.next=e);b.interleaved=e;return}}catch(l){}finally{}c=Yg(a,b,e,d);null!==c&&(e=L(),mh(c,a,d,e),Ji(c,b,d))}}\nfunction Hi(a){var b=a.alternate;return a===N||null!==b&&b===N}function Ii(a,b){Th=Sh=!0;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}function Ji(a,b,c){if(0!==(c&4194240)){var d=b.lanes;d&=a.pendingLanes;c|=d;b.lanes=c;Cc(a,c)}}\nvar ai={readContext:Vg,useCallback:Q,useContext:Q,useEffect:Q,useImperativeHandle:Q,useInsertionEffect:Q,useLayoutEffect:Q,useMemo:Q,useReducer:Q,useRef:Q,useState:Q,useDebugValue:Q,useDeferredValue:Q,useTransition:Q,useMutableSource:Q,useSyncExternalStore:Q,useId:Q,unstable_isNewReconciler:!1},Yh={readContext:Vg,useCallback:function(a,b){ci().memoizedState=[a,void 0===b?null:b];return a},useContext:Vg,useEffect:vi,useImperativeHandle:function(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null;return ti(4194308,\n4,yi.bind(null,b,a),c)},useLayoutEffect:function(a,b){return ti(4194308,4,a,b)},useInsertionEffect:function(a,b){return ti(4,2,a,b)},useMemo:function(a,b){var c=ci();b=void 0===b?null:b;a=a();c.memoizedState=[a,b];return a},useReducer:function(a,b,c){var d=ci();b=void 0!==c?c(b):b;d.memoizedState=d.baseState=b;a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:b};d.queue=a;a=a.dispatch=Gi.bind(null,N,a);return[d.memoizedState,a]},useRef:function(a){var b=\nci();a={current:a};return b.memoizedState=a},useState:qi,useDebugValue:Ai,useDeferredValue:function(a){return ci().memoizedState=a},useTransition:function(){var a=qi(!1),b=a[0];a=Ei.bind(null,a[1]);ci().memoizedState=a;return[b,a]},useMutableSource:function(){},useSyncExternalStore:function(a,b,c){var d=N,e=ci();if(I){if(void 0===c)throw Error(p(407));c=c()}else{c=b();if(null===R)throw Error(p(349));0!==(Rh&30)||ni(d,b,c)}e.memoizedState=c;var f={value:c,getSnapshot:b};e.queue=f;vi(ki.bind(null,d,\nf,a),[a]);d.flags|=2048;li(9,mi.bind(null,d,f,c,b),void 0,null);return c},useId:function(){var a=ci(),b=R.identifierPrefix;if(I){var c=sg;var d=rg;c=(d&~(1<<32-oc(d)-1)).toString(32)+c;b=\":\"+b+\"R\"+c;c=Uh++;0\\x3c/script>\",a=a.removeChild(a.firstChild)):\n\"string\"===typeof d.is?a=g.createElement(c,{is:d.is}):(a=g.createElement(c),\"select\"===c&&(g=a,d.multiple?g.multiple=!0:d.size&&(g.size=d.size))):a=g.createElementNS(a,c);a[Of]=b;a[Pf]=d;Aj(a,b,!1,!1);b.stateNode=a;a:{g=vb(c,d);switch(c){case \"dialog\":D(\"cancel\",a);D(\"close\",a);e=d;break;case \"iframe\":case \"object\":case \"embed\":D(\"load\",a);e=d;break;case \"video\":case \"audio\":for(e=0;eHj&&(b.flags|=128,d=!0,Ej(f,!1),b.lanes=4194304)}else{if(!d)if(a=Mh(g),null!==a){if(b.flags|=128,d=!0,c=a.updateQueue,null!==c&&(b.updateQueue=c,b.flags|=4),Ej(f,!0),null===f.tail&&\"hidden\"===f.tailMode&&!g.alternate&&!I)return S(b),null}else 2*B()-f.renderingStartTime>Hj&&1073741824!==c&&(b.flags|=128,d=!0,Ej(f,!1),b.lanes=4194304);f.isBackwards?(g.sibling=b.child,b.child=g):(c=f.last,null!==c?c.sibling=g:b.child=g,f.last=g)}if(null!==f.tail)return b=f.tail,f.rendering=\nb,f.tail=b.sibling,f.renderingStartTime=B(),b.sibling=null,c=M.current,G(M,d?c&1|2:c&1),b;S(b);return null;case 22:case 23:return Ij(),d=null!==b.memoizedState,null!==a&&null!==a.memoizedState!==d&&(b.flags|=8192),d&&0!==(b.mode&1)?0!==(gj&1073741824)&&(S(b),b.subtreeFlags&6&&(b.flags|=8192)):S(b),null;case 24:return null;case 25:return null}throw Error(p(156,b.tag));}\nfunction Jj(a,b){wg(b);switch(b.tag){case 1:return Zf(b.type)&&$f(),a=b.flags,a&65536?(b.flags=a&-65537|128,b):null;case 3:return Jh(),E(Wf),E(H),Oh(),a=b.flags,0!==(a&65536)&&0===(a&128)?(b.flags=a&-65537|128,b):null;case 5:return Lh(b),null;case 13:E(M);a=b.memoizedState;if(null!==a&&null!==a.dehydrated){if(null===b.alternate)throw Error(p(340));Ig()}a=b.flags;return a&65536?(b.flags=a&-65537|128,b):null;case 19:return E(M),null;case 4:return Jh(),null;case 10:return Rg(b.type._context),null;case 22:case 23:return Ij(),\nnull;case 24:return null;default:return null}}var Kj=!1,U=!1,Lj=\"function\"===typeof WeakSet?WeakSet:Set,V=null;function Mj(a,b){var c=a.ref;if(null!==c)if(\"function\"===typeof c)try{c(null)}catch(d){W(a,b,d)}else c.current=null}function Nj(a,b,c){try{c()}catch(d){W(a,b,d)}}var Oj=!1;\nfunction Pj(a,b){Cf=dd;a=Me();if(Ne(a)){if(\"selectionStart\"in a)var c={start:a.selectionStart,end:a.selectionEnd};else a:{c=(c=a.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&0!==d.rangeCount){c=d.anchorNode;var e=d.anchorOffset,f=d.focusNode;d=d.focusOffset;try{c.nodeType,f.nodeType}catch(F){c=null;break a}var g=0,h=-1,k=-1,l=0,m=0,q=a,r=null;b:for(;;){for(var y;;){q!==c||0!==e&&3!==q.nodeType||(h=g+e);q!==f||0!==d&&3!==q.nodeType||(k=g+d);3===q.nodeType&&(g+=\nq.nodeValue.length);if(null===(y=q.firstChild))break;r=q;q=y}for(;;){if(q===a)break b;r===c&&++l===e&&(h=g);r===f&&++m===d&&(k=g);if(null!==(y=q.nextSibling))break;q=r;r=q.parentNode}q=y}c=-1===h||-1===k?null:{start:h,end:k}}else c=null}c=c||{start:0,end:0}}else c=null;Df={focusedElem:a,selectionRange:c};dd=!1;for(V=b;null!==V;)if(b=V,a=b.child,0!==(b.subtreeFlags&1028)&&null!==a)a.return=b,V=a;else for(;null!==V;){b=V;try{var n=b.alternate;if(0!==(b.flags&1024))switch(b.tag){case 0:case 11:case 15:break;\ncase 1:if(null!==n){var t=n.memoizedProps,J=n.memoizedState,x=b.stateNode,w=x.getSnapshotBeforeUpdate(b.elementType===b.type?t:Lg(b.type,t),J);x.__reactInternalSnapshotBeforeUpdate=w}break;case 3:var u=b.stateNode.containerInfo;1===u.nodeType?u.textContent=\"\":9===u.nodeType&&u.documentElement&&u.removeChild(u.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(p(163));}}catch(F){W(b,b.return,F)}a=b.sibling;if(null!==a){a.return=b.return;V=a;break}V=b.return}n=Oj;Oj=!1;return n}\nfunction Qj(a,b,c){var d=b.updateQueue;d=null!==d?d.lastEffect:null;if(null!==d){var e=d=d.next;do{if((e.tag&a)===a){var f=e.destroy;e.destroy=void 0;void 0!==f&&Nj(b,c,f)}e=e.next}while(e!==d)}}function Rj(a,b){b=b.updateQueue;b=null!==b?b.lastEffect:null;if(null!==b){var c=b=b.next;do{if((c.tag&a)===a){var d=c.create;c.destroy=d()}c=c.next}while(c!==b)}}function Sj(a){var b=a.ref;if(null!==b){var c=a.stateNode;switch(a.tag){case 5:a=c;break;default:a=c}\"function\"===typeof b?b(a):b.current=a}}\nfunction Tj(a){var b=a.alternate;null!==b&&(a.alternate=null,Tj(b));a.child=null;a.deletions=null;a.sibling=null;5===a.tag&&(b=a.stateNode,null!==b&&(delete b[Of],delete b[Pf],delete b[of],delete b[Qf],delete b[Rf]));a.stateNode=null;a.return=null;a.dependencies=null;a.memoizedProps=null;a.memoizedState=null;a.pendingProps=null;a.stateNode=null;a.updateQueue=null}function Uj(a){return 5===a.tag||3===a.tag||4===a.tag}\nfunction Vj(a){a:for(;;){for(;null===a.sibling;){if(null===a.return||Uj(a.return))return null;a=a.return}a.sibling.return=a.return;for(a=a.sibling;5!==a.tag&&6!==a.tag&&18!==a.tag;){if(a.flags&2)continue a;if(null===a.child||4===a.tag)continue a;else a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}\nfunction Wj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?8===c.nodeType?c.parentNode.insertBefore(a,b):c.insertBefore(a,b):(8===c.nodeType?(b=c.parentNode,b.insertBefore(a,c)):(b=c,b.appendChild(a)),c=c._reactRootContainer,null!==c&&void 0!==c||null!==b.onclick||(b.onclick=Bf));else if(4!==d&&(a=a.child,null!==a))for(Wj(a,b,c),a=a.sibling;null!==a;)Wj(a,b,c),a=a.sibling}\nfunction Xj(a,b,c){var d=a.tag;if(5===d||6===d)a=a.stateNode,b?c.insertBefore(a,b):c.appendChild(a);else if(4!==d&&(a=a.child,null!==a))for(Xj(a,b,c),a=a.sibling;null!==a;)Xj(a,b,c),a=a.sibling}var X=null,Yj=!1;function Zj(a,b,c){for(c=c.child;null!==c;)ak(a,b,c),c=c.sibling}\nfunction ak(a,b,c){if(lc&&\"function\"===typeof lc.onCommitFiberUnmount)try{lc.onCommitFiberUnmount(kc,c)}catch(h){}switch(c.tag){case 5:U||Mj(c,b);case 6:var d=X,e=Yj;X=null;Zj(a,b,c);X=d;Yj=e;null!==X&&(Yj?(a=X,c=c.stateNode,8===a.nodeType?a.parentNode.removeChild(c):a.removeChild(c)):X.removeChild(c.stateNode));break;case 18:null!==X&&(Yj?(a=X,c=c.stateNode,8===a.nodeType?Kf(a.parentNode,c):1===a.nodeType&&Kf(a,c),bd(a)):Kf(X,c.stateNode));break;case 4:d=X;e=Yj;X=c.stateNode.containerInfo;Yj=!0;\nZj(a,b,c);X=d;Yj=e;break;case 0:case 11:case 14:case 15:if(!U&&(d=c.updateQueue,null!==d&&(d=d.lastEffect,null!==d))){e=d=d.next;do{var f=e,g=f.destroy;f=f.tag;void 0!==g&&(0!==(f&2)?Nj(c,b,g):0!==(f&4)&&Nj(c,b,g));e=e.next}while(e!==d)}Zj(a,b,c);break;case 1:if(!U&&(Mj(c,b),d=c.stateNode,\"function\"===typeof d.componentWillUnmount))try{d.props=c.memoizedProps,d.state=c.memoizedState,d.componentWillUnmount()}catch(h){W(c,b,h)}Zj(a,b,c);break;case 21:Zj(a,b,c);break;case 22:c.mode&1?(U=(d=U)||null!==\nc.memoizedState,Zj(a,b,c),U=d):Zj(a,b,c);break;default:Zj(a,b,c)}}function bk(a){var b=a.updateQueue;if(null!==b){a.updateQueue=null;var c=a.stateNode;null===c&&(c=a.stateNode=new Lj);b.forEach(function(b){var d=ck.bind(null,a,b);c.has(b)||(c.add(b),b.then(d,d))})}}\nfunction dk(a,b){var c=b.deletions;if(null!==c)for(var d=0;de&&(e=g);d&=~f}d=e;d=B()-d;d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3E3>d?3E3:4320>d?4320:1960*mk(d/1960))-d;if(10a?16:a;if(null===xk)var d=!1;else{a=xk;xk=null;yk=0;if(0!==(K&6))throw Error(p(331));var e=K;K|=4;for(V=a.current;null!==V;){var f=V,g=f.child;if(0!==(V.flags&16)){var h=f.deletions;if(null!==h){for(var k=0;kB()-gk?Lk(a,0):sk|=c);Ek(a,b)}function Zk(a,b){0===b&&(0===(a.mode&1)?b=1:(b=sc,sc<<=1,0===(sc&130023424)&&(sc=4194304)));var c=L();a=Zg(a,b);null!==a&&(Ac(a,b,c),Ek(a,c))}function vj(a){var b=a.memoizedState,c=0;null!==b&&(c=b.retryLane);Zk(a,c)}\nfunction ck(a,b){var c=0;switch(a.tag){case 13:var d=a.stateNode;var e=a.memoizedState;null!==e&&(c=e.retryLane);break;case 19:d=a.stateNode;break;default:throw Error(p(314));}null!==d&&d.delete(b);Zk(a,c)}var Wk;\nWk=function(a,b,c){if(null!==a)if(a.memoizedProps!==b.pendingProps||Wf.current)Ug=!0;else{if(0===(a.lanes&c)&&0===(b.flags&128))return Ug=!1,zj(a,b,c);Ug=0!==(a.flags&131072)?!0:!1}else Ug=!1,I&&0!==(b.flags&1048576)&&ug(b,ng,b.index);b.lanes=0;switch(b.tag){case 2:var d=b.type;jj(a,b);a=b.pendingProps;var e=Yf(b,H.current);Tg(b,c);e=Xh(null,b,d,a,e,c);var f=bi();b.flags|=1;\"object\"===typeof e&&null!==e&&\"function\"===typeof e.render&&void 0===e.$$typeof?(b.tag=1,b.memoizedState=null,b.updateQueue=\nnull,Zf(d)?(f=!0,cg(b)):f=!1,b.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,ah(b),e.updater=nh,b.stateNode=e,e._reactInternals=b,rh(b,d,a,c),b=kj(null,b,d,!0,f,c)):(b.tag=0,I&&f&&vg(b),Yi(null,b,e,c),b=b.child);return b;case 16:d=b.elementType;a:{jj(a,b);a=b.pendingProps;e=d._init;d=e(d._payload);b.type=d;e=b.tag=$k(d);a=Lg(d,a);switch(e){case 0:b=dj(null,b,d,a,c);break a;case 1:b=ij(null,b,d,a,c);break a;case 11:b=Zi(null,b,d,a,c);break a;case 14:b=aj(null,b,d,Lg(d.type,a),c);break a}throw Error(p(306,\nd,\"\"));}return b;case 0:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Lg(d,e),dj(a,b,d,e,c);case 1:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Lg(d,e),ij(a,b,d,e,c);case 3:a:{lj(b);if(null===a)throw Error(p(387));d=b.pendingProps;f=b.memoizedState;e=f.element;bh(a,b);gh(b,d,null,c);var g=b.memoizedState;d=g.element;if(f.isDehydrated)if(f={element:d,isDehydrated:!1,cache:g.cache,pendingSuspenseBoundaries:g.pendingSuspenseBoundaries,transitions:g.transitions},b.updateQueue.baseState=\nf,b.memoizedState=f,b.flags&256){e=Ki(Error(p(423)),b);b=mj(a,b,d,c,e);break a}else if(d!==e){e=Ki(Error(p(424)),b);b=mj(a,b,d,c,e);break a}else for(yg=Lf(b.stateNode.containerInfo.firstChild),xg=b,I=!0,zg=null,c=Ch(b,null,d,c),b.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{Ig();if(d===e){b=$i(a,b,c);break a}Yi(a,b,d,c)}b=b.child}return b;case 5:return Kh(b),null===a&&Eg(b),d=b.type,e=b.pendingProps,f=null!==a?a.memoizedProps:null,g=e.children,Ef(d,e)?g=null:null!==f&&Ef(d,f)&&(b.flags|=32),\nhj(a,b),Yi(a,b,g,c),b.child;case 6:return null===a&&Eg(b),null;case 13:return pj(a,b,c);case 4:return Ih(b,b.stateNode.containerInfo),d=b.pendingProps,null===a?b.child=Bh(b,null,d,c):Yi(a,b,d,c),b.child;case 11:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Lg(d,e),Zi(a,b,d,e,c);case 7:return Yi(a,b,b.pendingProps,c),b.child;case 8:return Yi(a,b,b.pendingProps.children,c),b.child;case 12:return Yi(a,b,b.pendingProps.children,c),b.child;case 10:a:{d=b.type._context;e=b.pendingProps;f=b.memoizedProps;\ng=e.value;G(Mg,d._currentValue);d._currentValue=g;if(null!==f)if(He(f.value,g)){if(f.children===e.children&&!Wf.current){b=$i(a,b,c);break a}}else for(f=b.child,null!==f&&(f.return=b);null!==f;){var h=f.dependencies;if(null!==h){g=f.child;for(var k=h.firstContext;null!==k;){if(k.context===d){if(1===f.tag){k=ch(-1,c&-c);k.tag=2;var l=f.updateQueue;if(null!==l){l=l.shared;var m=l.pending;null===m?k.next=k:(k.next=m.next,m.next=k);l.pending=k}}f.lanes|=c;k=f.alternate;null!==k&&(k.lanes|=c);Sg(f.return,\nc,b);h.lanes|=c;break}k=k.next}}else if(10===f.tag)g=f.type===b.type?null:f.child;else if(18===f.tag){g=f.return;if(null===g)throw Error(p(341));g.lanes|=c;h=g.alternate;null!==h&&(h.lanes|=c);Sg(g,c,b);g=f.sibling}else g=f.child;if(null!==g)g.return=f;else for(g=f;null!==g;){if(g===b){g=null;break}f=g.sibling;if(null!==f){f.return=g.return;g=f;break}g=g.return}f=g}Yi(a,b,e.children,c);b=b.child}return b;case 9:return e=b.type,d=b.pendingProps.children,Tg(b,c),e=Vg(e),d=d(e),b.flags|=1,Yi(a,b,d,c),\nb.child;case 14:return d=b.type,e=Lg(d,b.pendingProps),e=Lg(d.type,e),aj(a,b,d,e,c);case 15:return cj(a,b,b.type,b.pendingProps,c);case 17:return d=b.type,e=b.pendingProps,e=b.elementType===d?e:Lg(d,e),jj(a,b),b.tag=1,Zf(d)?(a=!0,cg(b)):a=!1,Tg(b,c),ph(b,d,e),rh(b,d,e,c),kj(null,b,d,!0,a,c);case 19:return yj(a,b,c);case 22:return ej(a,b,c)}throw Error(p(156,b.tag));};function Gk(a,b){return ac(a,b)}\nfunction al(a,b,c,d){this.tag=a;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.ref=null;this.pendingProps=b;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.subtreeFlags=this.flags=0;this.deletions=null;this.childLanes=this.lanes=0;this.alternate=null}function Bg(a,b,c,d){return new al(a,b,c,d)}function bj(a){a=a.prototype;return!(!a||!a.isReactComponent)}\nfunction $k(a){if(\"function\"===typeof a)return bj(a)?1:0;if(void 0!==a&&null!==a){a=a.$$typeof;if(a===Da)return 11;if(a===Ga)return 14}return 2}\nfunction wh(a,b){var c=a.alternate;null===c?(c=Bg(a.tag,b,a.key,a.mode),c.elementType=a.elementType,c.type=a.type,c.stateNode=a.stateNode,c.alternate=a,a.alternate=c):(c.pendingProps=b,c.type=a.type,c.flags=0,c.subtreeFlags=0,c.deletions=null);c.flags=a.flags&14680064;c.childLanes=a.childLanes;c.lanes=a.lanes;c.child=a.child;c.memoizedProps=a.memoizedProps;c.memoizedState=a.memoizedState;c.updateQueue=a.updateQueue;b=a.dependencies;c.dependencies=null===b?null:{lanes:b.lanes,firstContext:b.firstContext};\nc.sibling=a.sibling;c.index=a.index;c.ref=a.ref;return c}\nfunction yh(a,b,c,d,e,f){var g=2;d=a;if(\"function\"===typeof a)bj(a)&&(g=1);else if(\"string\"===typeof a)g=5;else a:switch(a){case ya:return Ah(c.children,e,f,b);case za:g=8;e|=8;break;case Aa:return a=Bg(12,c,b,e|2),a.elementType=Aa,a.lanes=f,a;case Ea:return a=Bg(13,c,b,e),a.elementType=Ea,a.lanes=f,a;case Fa:return a=Bg(19,c,b,e),a.elementType=Fa,a.lanes=f,a;case Ia:return qj(c,e,f,b);default:if(\"object\"===typeof a&&null!==a)switch(a.$$typeof){case Ba:g=10;break a;case Ca:g=9;break a;case Da:g=11;\nbreak a;case Ga:g=14;break a;case Ha:g=16;d=null;break a}throw Error(p(130,null==a?a:typeof a,\"\"));}b=Bg(g,c,b,e);b.elementType=a;b.type=d;b.lanes=f;return b}function Ah(a,b,c,d){a=Bg(7,a,d,b);a.lanes=c;return a}function qj(a,b,c,d){a=Bg(22,a,d,b);a.elementType=Ia;a.lanes=c;a.stateNode={isHidden:!1};return a}function xh(a,b,c){a=Bg(6,a,null,b);a.lanes=c;return a}\nfunction zh(a,b,c){b=Bg(4,null!==a.children?a.children:[],a.key,b);b.lanes=c;b.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation};return b}\nfunction bl(a,b,c,d,e){this.tag=b;this.containerInfo=a;this.finishedWork=this.pingCache=this.current=this.pendingChildren=null;this.timeoutHandle=-1;this.callbackNode=this.pendingContext=this.context=null;this.callbackPriority=0;this.eventTimes=zc(0);this.expirationTimes=zc(-1);this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0;this.entanglements=zc(0);this.identifierPrefix=d;this.onRecoverableError=e;this.mutableSourceEagerHydrationData=\nnull}function cl(a,b,c,d,e,f,g,h,k){a=new bl(a,b,c,h,k);1===b?(b=1,!0===f&&(b|=8)):b=0;f=Bg(3,null,null,b);a.current=f;f.stateNode=a;f.memoizedState={element:d,isDehydrated:c,cache:null,transitions:null,pendingSuspenseBoundaries:null};ah(f);return a}function dl(a,b,c){var d=3 &&` helpers in initial condition allow es6 code\n // to co-exist with es5.\n // 2. Replace `for of` with es5 compliant iteration using `for`.\n // Basically, take:\n //\n // ```js\n // for (i of a.entries())\n // if (!b.has(i[0])) return false;\n // ```\n //\n // ... and convert to:\n //\n // ```js\n // it = a.entries();\n // while (!(i = it.next()).done)\n // if (!b.has(i.value[0])) return false;\n // ```\n //\n // **Note**: `i` access switches to `i.value`.\n var it;\n if (hasMap && (a instanceof Map) && (b instanceof Map)) {\n if (a.size !== b.size) return false;\n it = a.entries();\n while (!(i = it.next()).done)\n if (!b.has(i.value[0])) return false;\n it = a.entries();\n while (!(i = it.next()).done)\n if (!equal(i.value[1], b.get(i.value[0]))) return false;\n return true;\n }\n\n if (hasSet && (a instanceof Set) && (b instanceof Set)) {\n if (a.size !== b.size) return false;\n it = a.entries();\n while (!(i = it.next()).done)\n if (!b.has(i.value[0])) return false;\n return true;\n }\n // END: Modifications\n\n if (hasArrayBuffer && ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {\n length = a.length;\n if (length != b.length) return false;\n for (i = length; i-- !== 0;)\n if (a[i] !== b[i]) return false;\n return true;\n }\n\n if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;\n // START: Modifications:\n // Apply guards for `Object.create(null)` handling. See:\n // - https://github.com/FormidableLabs/react-fast-compare/issues/64\n // - https://github.com/epoberezkin/fast-deep-equal/issues/49\n if (a.valueOf !== Object.prototype.valueOf && typeof a.valueOf === 'function' && typeof b.valueOf === 'function') return a.valueOf() === b.valueOf();\n if (a.toString !== Object.prototype.toString && typeof a.toString === 'function' && typeof b.toString === 'function') return a.toString() === b.toString();\n // END: Modifications\n\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) return false;\n\n for (i = length; i-- !== 0;)\n if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;\n // END: fast-deep-equal\n\n // START: react-fast-compare\n // custom handling for DOM elements\n if (hasElementType && a instanceof Element) return false;\n\n // custom handling for React/Preact\n for (i = length; i-- !== 0;) {\n if ((keys[i] === '_owner' || keys[i] === '__v' || keys[i] === '__o') && a.$$typeof) {\n // React-specific: avoid traversing React elements' _owner\n // Preact-specific: avoid traversing Preact elements' __v and __o\n // __v = $_original / $_vnode\n // __o = $_owner\n // These properties contain circular references and are not needed when\n // comparing the actual elements (and not their owners)\n // .$$typeof and ._store on just reasonable markers of elements\n\n continue;\n }\n\n // all other properties should be traversed as usual\n if (!equal(a[keys[i]], b[keys[i]])) return false;\n }\n // END: react-fast-compare\n\n // START: fast-deep-equal\n return true;\n }\n\n return a !== a && b !== b;\n}\n// end fast-deep-equal\n\nmodule.exports = function isEqual(a, b) {\n try {\n return equal(a, b);\n } catch (error) {\n if (((error.message || '').match(/stack|recursion/i))) {\n // warn on circular references, don't crash\n // browsers give this different errors name and messages:\n // chrome/safari: \"RangeError\", \"Maximum call stack size exceeded\"\n // firefox: \"InternalError\", too much recursion\"\n // edge: \"Error\", \"Out of stack space\"\n console.warn('react-fast-compare cannot handle circular refs');\n return false;\n }\n // some other error. we should definitely know about these\n throw error;\n }\n};\n","/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?\nSymbol.for(\"react.suspense_list\"):60120,r=b?Symbol.for(\"react.memo\"):60115,t=b?Symbol.for(\"react.lazy\"):60116,v=b?Symbol.for(\"react.block\"):60121,w=b?Symbol.for(\"react.fundamental\"):60117,x=b?Symbol.for(\"react.responder\"):60118,y=b?Symbol.for(\"react.scope\"):60119;\nfunction z(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;\nexports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};\nexports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","'use strict';\n\nfunction _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }\n\nvar React = require('react');\nvar React__default = _interopDefault(React);\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nfunction _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n subClass.__proto__ = superClass;\n}\n\nvar canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\nfunction withSideEffect(reducePropsToState, handleStateChangeOnClient, mapStateOnServer) {\n if (typeof reducePropsToState !== 'function') {\n throw new Error('Expected reducePropsToState to be a function.');\n }\n\n if (typeof handleStateChangeOnClient !== 'function') {\n throw new Error('Expected handleStateChangeOnClient to be a function.');\n }\n\n if (typeof mapStateOnServer !== 'undefined' && typeof mapStateOnServer !== 'function') {\n throw new Error('Expected mapStateOnServer to either be undefined or a function.');\n }\n\n function getDisplayName(WrappedComponent) {\n return WrappedComponent.displayName || WrappedComponent.name || 'Component';\n }\n\n return function wrap(WrappedComponent) {\n if (typeof WrappedComponent !== 'function') {\n throw new Error('Expected WrappedComponent to be a React component.');\n }\n\n var mountedInstances = [];\n var state;\n\n function emitChange() {\n state = reducePropsToState(mountedInstances.map(function (instance) {\n return instance.props;\n }));\n\n if (SideEffect.canUseDOM) {\n handleStateChangeOnClient(state);\n } else if (mapStateOnServer) {\n state = mapStateOnServer(state);\n }\n }\n\n var SideEffect =\n /*#__PURE__*/\n function (_PureComponent) {\n _inheritsLoose(SideEffect, _PureComponent);\n\n function SideEffect() {\n return _PureComponent.apply(this, arguments) || this;\n }\n\n // Try to use displayName of wrapped component\n // Expose canUseDOM so tests can monkeypatch it\n SideEffect.peek = function peek() {\n return state;\n };\n\n SideEffect.rewind = function rewind() {\n if (SideEffect.canUseDOM) {\n throw new Error('You may only call rewind() on the server. Call peek() to read the current state.');\n }\n\n var recordedState = state;\n state = undefined;\n mountedInstances = [];\n return recordedState;\n };\n\n var _proto = SideEffect.prototype;\n\n _proto.UNSAFE_componentWillMount = function UNSAFE_componentWillMount() {\n mountedInstances.push(this);\n emitChange();\n };\n\n _proto.componentDidUpdate = function componentDidUpdate() {\n emitChange();\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n var index = mountedInstances.indexOf(this);\n mountedInstances.splice(index, 1);\n emitChange();\n };\n\n _proto.render = function render() {\n return React__default.createElement(WrappedComponent, this.props);\n };\n\n return SideEffect;\n }(React.PureComponent);\n\n _defineProperty(SideEffect, \"displayName\", \"SideEffect(\" + getDisplayName(WrappedComponent) + \")\");\n\n _defineProperty(SideEffect, \"canUseDOM\", canUseDOM);\n\n return SideEffect;\n };\n}\n\nmodule.exports = withSideEffect;\n","/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","/**\n * @license React\n * react.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var l=Symbol.for(\"react.element\"),n=Symbol.for(\"react.portal\"),p=Symbol.for(\"react.fragment\"),q=Symbol.for(\"react.strict_mode\"),r=Symbol.for(\"react.profiler\"),t=Symbol.for(\"react.provider\"),u=Symbol.for(\"react.context\"),v=Symbol.for(\"react.forward_ref\"),w=Symbol.for(\"react.suspense\"),x=Symbol.for(\"react.memo\"),y=Symbol.for(\"react.lazy\"),z=Symbol.iterator;function A(a){if(null===a||\"object\"!==typeof a)return null;a=z&&a[z]||a[\"@@iterator\"];return\"function\"===typeof a?a:null}\nvar B={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,D={};function E(a,b,e){this.props=a;this.context=b;this.refs=D;this.updater=e||B}E.prototype.isReactComponent={};\nE.prototype.setState=function(a,b){if(\"object\"!==typeof a&&\"function\"!==typeof a&&null!=a)throw Error(\"setState(...): takes an object of state variables to update or a function which returns an object of state variables.\");this.updater.enqueueSetState(this,a,b,\"setState\")};E.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,\"forceUpdate\")};function F(){}F.prototype=E.prototype;function G(a,b,e){this.props=a;this.context=b;this.refs=D;this.updater=e||B}var H=G.prototype=new F;\nH.constructor=G;C(H,E.prototype);H.isPureReactComponent=!0;var I=Array.isArray,J=Object.prototype.hasOwnProperty,K={current:null},L={key:!0,ref:!0,__self:!0,__source:!0};\nfunction M(a,b,e){var d,c={},k=null,h=null;if(null!=b)for(d in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(k=\"\"+b.key),b)J.call(b,d)&&!L.hasOwnProperty(d)&&(c[d]=b[d]);var g=arguments.length-2;if(1===g)c.children=e;else if(1>>1,e=a[d];if(0>>1;dg(C,c))ng(x,C)?(a[d]=x,a[n]=c,d=n):(a[d]=C,a[m]=c,d=m);else if(ng(x,c))a[d]=x,a[n]=c,d=n;else break a}}return b}\nfunction g(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}if(\"object\"===typeof performance&&\"function\"===typeof performance.now){var l=performance;exports.unstable_now=function(){return l.now()}}else{var p=Date,q=p.now();exports.unstable_now=function(){return p.now()-q}}var r=[],t=[],u=1,v=null,y=3,z=!1,A=!1,B=!1,D=\"function\"===typeof setTimeout?setTimeout:null,E=\"function\"===typeof clearTimeout?clearTimeout:null,F=\"undefined\"!==typeof setImmediate?setImmediate:null;\n\"undefined\"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function G(a){for(var b=h(t);null!==b;){if(null===b.callback)k(t);else if(b.startTime<=a)k(t),b.sortIndex=b.expirationTime,f(r,b);else break;b=h(t)}}function H(a){B=!1;G(a);if(!A)if(null!==h(r))A=!0,I(J);else{var b=h(t);null!==b&&K(H,b.startTime-a)}}\nfunction J(a,b){A=!1;B&&(B=!1,E(L),L=-1);z=!0;var c=y;try{G(b);for(v=h(r);null!==v&&(!(v.expirationTime>b)||a&&!M());){var d=v.callback;if(\"function\"===typeof d){v.callback=null;y=v.priorityLevel;var e=d(v.expirationTime<=b);b=exports.unstable_now();\"function\"===typeof e?v.callback=e:v===h(r)&&k(r);G(b)}else k(r);v=h(r)}if(null!==v)var w=!0;else{var m=h(t);null!==m&&K(H,m.startTime-b);w=!1}return w}finally{v=null,y=c,z=!1}}var N=!1,O=null,L=-1,P=5,Q=-1;\nfunction M(){return exports.unstable_now()-Q