From 204a24cd5c54ea76b89254336b70f7d4f7c5f408 Mon Sep 17 00:00:00 2001 From: Praneeth Date: Tue, 19 May 2026 16:09:06 +0530 Subject: [PATCH 1/4] initial commit - cross ref tests visiable in AI pillar --- src/powershell/assets/ReportTemplate.html | 12 +++++++++--- src/powershell/classes/ZtTest.ps1 | 2 +- src/powershell/private/tests/Invoke-ZtTests.ps1 | 2 +- src/powershell/public/Get-ZtTest.ps1 | 2 +- src/powershell/tests/Test-Assessment.25415.ps1 | 2 +- src/report/src/components/test-table/data-table.tsx | 2 +- src/report/src/config/report-data.ts | 2 +- 7 files changed, 15 insertions(+), 9 deletions(-) diff --git a/src/powershell/assets/ReportTemplate.html b/src/powershell/assets/ReportTemplate.html index 80852d0b38..7d62fe4681 100644 --- a/src/powershell/assets/ReportTemplate.html +++ b/src/powershell/assets/ReportTemplate.html @@ -181,7 +181,13 @@ L`+o2+" "+o2+` L0 `+o2+` L`+o2/2+` 0 - `,fill:r2,opacity:a2,strokeWidth:d,stroke:s2===void 0?"transparent":s2,style:{pointerEvents:"none"}})})},"u");function p(){return p=Object.assign?Object.assign.bind():function(t2){for(var e3=1;e3[id(d,i2,nodes2),d]));for(const[i2,link2]of links2.entries()){link2.index=i2;let{source,target}=link2;typeof source!="object"&&(source=link2.source=find$1(nodeById,source)),typeof target!="object"&&(target=link2.target=find$1(nodeById,target)),source.sourceLinks.push(link2),target.targetLinks.push(link2)}if(linkSort!=null)for(const{sourceLinks,targetLinks}of nodes2)sourceLinks.sort(linkSort),targetLinks.sort(linkSort)}__name(computeNodeLinks,"computeNodeLinks");function computeNodeValues({nodes:nodes2}){for(const node2 of nodes2)node2.value=node2.fixedValue===void 0?Math.max(sum$1(node2.sourceLinks,value),sum$1(node2.targetLinks,value)):node2.fixedValue}__name(computeNodeValues,"computeNodeValues");function computeNodeDepths({nodes:nodes2}){const n2=nodes2.length;let current=new Set(nodes2),next2=new Set,x2=0;for(;current.size;){for(const node2 of current){node2.depth=x2;for(const{target}of node2.sourceLinks)next2.add(target)}if(++x2>n2)throw new Error("circular link");current=next2,next2=new Set}}__name(computeNodeDepths,"computeNodeDepths");function computeNodeHeights({nodes:nodes2}){const n2=nodes2.length;let current=new Set(nodes2),next2=new Set,x2=0;for(;current.size;){for(const node2 of current){node2.height=x2;for(const{source}of node2.targetLinks)next2.add(source)}if(++x2>n2)throw new Error("circular link");current=next2,next2=new Set}}__name(computeNodeHeights,"computeNodeHeights");function computeNodeLayers({nodes:nodes2}){const x2=max$2(nodes2,d=>d.depth)+1,kx2=(x1-x0-dx)/(x2-1),columns2=new Array(x2);for(const node2 of nodes2){const i2=Math.max(0,Math.min(x2-1,Math.floor(align.call(null,node2,x2))));node2.layer=i2,node2.x0=x0+i2*kx2,node2.x1=node2.x0+dx,columns2[i2]?columns2[i2].push(node2):columns2[i2]=[node2]}if(sort)for(const column of columns2)column.sort(sort);return columns2}__name(computeNodeLayers,"computeNodeLayers");function initializeNodeBreadths(columns2){const ky2=min$2(columns2,c2=>(y1-y0-(c2.length-1)*py)/sum$1(c2,value));for(const nodes2 of columns2){let y2=y0;for(const node2 of nodes2){node2.y0=y2,node2.y1=y2+node2.value*ky2,y2=node2.y1+py;for(const link2 of node2.sourceLinks)link2.width=link2.value*ky2}y2=(y1-y2+py)/(nodes2.length+1);for(let i2=0;i2c2.length)-1)),initializeNodeBreadths(columns2);for(let i2=0;i20))continue;let dy2=(y2/w2-target.y0)*alpha3;target.y0+=dy2,target.y1+=dy2,reorderNodeLinks(target)}sort===void 0&&column.sort(ascendingBreadth),resolveCollisions(column,beta)}}__name(relaxLeftToRight,"relaxLeftToRight");function relaxRightToLeft(columns2,alpha3,beta){for(let n2=columns2.length,i2=n2-2;i2>=0;--i2){const column=columns2[i2];for(const source of column){let y2=0,w2=0;for(const{target,value:value2}of source.sourceLinks){let v2=value2*(target.layer-source.layer);y2+=sourceTop(source,target)*v2,w2+=v2}if(!(w2>0))continue;let dy2=(y2/w2-source.y0)*alpha3;source.y0+=dy2,source.y1+=dy2,reorderNodeLinks(source)}sort===void 0&&column.sort(ascendingBreadth),resolveCollisions(column,beta)}}__name(relaxRightToLeft,"relaxRightToLeft");function resolveCollisions(nodes2,alpha3){const i2=nodes2.length>>1,subject=nodes2[i2];resolveCollisionsBottomToTop(nodes2,subject.y0-py,i2-1,alpha3),resolveCollisionsTopToBottom(nodes2,subject.y1+py,i2+1,alpha3),resolveCollisionsBottomToTop(nodes2,y1,nodes2.length-1,alpha3),resolveCollisionsTopToBottom(nodes2,y0,0,alpha3)}__name(resolveCollisions,"resolveCollisions");function resolveCollisionsTopToBottom(nodes2,y2,i2,alpha3){for(;i21e-6&&(node2.y0+=dy2,node2.y1+=dy2),y2=node2.y1+py}}__name(resolveCollisionsTopToBottom,"resolveCollisionsTopToBottom");function resolveCollisionsBottomToTop(nodes2,y2,i2,alpha3){for(;i2>=0;--i2){const node2=nodes2[i2],dy2=(node2.y1-y2)*alpha3;dy2>1e-6&&(node2.y0-=dy2,node2.y1-=dy2),y2=node2.y0-py}}__name(resolveCollisionsBottomToTop,"resolveCollisionsBottomToTop");function reorderNodeLinks({sourceLinks,targetLinks}){if(linkSort===void 0){for(const{source:{sourceLinks:sourceLinks2}}of targetLinks)sourceLinks2.sort(ascendingTargetBreadth);for(const{target:{targetLinks:targetLinks2}}of sourceLinks)targetLinks2.sort(ascendingSourceBreadth)}}__name(reorderNodeLinks,"reorderNodeLinks");function reorderLinks(nodes2){if(linkSort===void 0)for(const{sourceLinks,targetLinks}of nodes2)sourceLinks.sort(ascendingTargetBreadth),targetLinks.sort(ascendingSourceBreadth)}__name(reorderLinks,"reorderLinks");function targetTop(source,target){let y2=source.y0-(source.sourceLinks.length-1)*py/2;for(const{target:node2,width}of source.sourceLinks){if(node2===target)break;y2+=width+py}for(const{source:node2,width}of target.targetLinks){if(node2===source)break;y2-=width}return y2}__name(targetTop,"targetTop");function sourceTop(source,target){let y2=target.y0-(target.targetLinks.length-1)*py/2;for(const{source:node2,width}of target.targetLinks){if(node2===source)break;y2+=width+py}for(const{target:node2,width}of source.sourceLinks){if(node2===target)break;y2-=width}return y2}return __name(sourceTop,"sourceTop"),sankey}__name(Sankey,"Sankey");var cloneDeep_1,hasRequiredCloneDeep;function requireCloneDeep(){if(hasRequiredCloneDeep)return cloneDeep_1;hasRequiredCloneDeep=1;var baseClone=require_baseClone(),CLONE_DEEP_FLAG=1,CLONE_SYMBOLS_FLAG=4;function cloneDeep(value2){return baseClone(value2,CLONE_DEEP_FLAG|CLONE_SYMBOLS_FLAG)}return __name(cloneDeep,"cloneDeep"),cloneDeep_1=cloneDeep,cloneDeep_1}__name(requireCloneDeep,"requireCloneDeep");var cloneDeepExports=requireCloneDeep();const w$1=getDefaultExportFromCjs(cloneDeepExports);function S$1(){return S$1=Object.assign?Object.assign.bind():function(e3){for(var o2=1;o2 ",jsxRuntimeExports.jsx("strong",{children:o2.target.label}),jsxRuntimeExports.jsx(g$1,{color:o2.target.color,style:z.targetChip}),jsxRuntimeExports.jsx("strong",{children:o2.formattedValue})]})})},"linkTooltip"),legends:[],layers:["links","nodes","labels","legends"],role:"img",animate:!0,motionConfig:"gentle"},V=__name(function(e3){return e3.id},"V"),A=__name(function(n2){var t2=n2.data,i2=n2.valueFormat,r2=n2.layout,c2=n2.width,s2=n2.height,u2=n2.sort,h2=n2.align,v2=n2.colors,p2=n2.nodeThickness,g2=n2.nodeSpacing,f2=n2.nodeInnerPadding,y2=n2.nodeBorderColor,m2=n2.label,k2=n2.labelTextColor,C2=reactExports.useState(null),x2=C2[0],O2=C2[1],L2=reactExports.useState(null),M2=L2[0],T2=L2[1],H=reactExports.useMemo((function(){if(u2!=="auto")return u2==="input"?null:u2==="ascending"?function(e3,o2){return e3.value-o2.value}:u2==="descending"?function(e3,o2){return o2.value-e3.value}:u2}),[u2]),P2=u2==="input"?null:void 0,W2=reactExports.useMemo((function(){return typeof h2=="function"?h2:j(h2)}),[h2]),N2=zt(),F2=pr(v2,"id"),R2=Xe(y2,N2),S2=Wn(m2),z2=Xe(k2,N2),E2=Ot(i2),G=reactExports.useMemo((function(){return(function(e3){var o2=e3.data,n3=e3.formatValue,t3=e3.layout,i3=e3.alignFunction,r3=e3.sortFunction,l2=e3.linkSortMode,a2=e3.nodeThickness,d=e3.nodeSpacing,c3=e3.nodeInnerPadding,s3=e3.width,u3=e3.height,h3=e3.getColor,v3=e3.getLabel,p3=Sankey().nodeAlign(i3).nodeSort(r3).linkSort(l2).nodeWidth(a2).nodePadding(d).size(t3==="horizontal"?[s3,u3]:[u3,s3]).nodeId(V),g3=w$1(o2);return p3(g3),g3.nodes.forEach((function(e4){if(e4.color=h3(e4),e4.label=v3(e4),e4.formattedValue=n3(e4.value),t3==="horizontal")e4.x=e4.x0+c3,e4.y=e4.y0,e4.width=Math.max(e4.x1-e4.x0-2*c3,0),e4.height=Math.max(e4.y1-e4.y0,0);else{e4.x=e4.y0,e4.y=e4.x0+c3,e4.width=Math.max(e4.y1-e4.y0,0),e4.height=Math.max(e4.x1-e4.x0-2*c3,0);var o3=e4.x0,i4=e4.x1;e4.x0=e4.y0,e4.x1=e4.y1,e4.y0=o3,e4.y1=i4}})),g3.links.forEach((function(e4){e4.formattedValue=n3(e4.value),e4.color=e4.source.color,e4.pos0=e4.y0,e4.pos1=e4.y1,e4.thickness=e4.width,delete e4.y0,delete e4.y1,delete e4.width})),g3})({data:t2,formatValue:E2,layout:r2,alignFunction:W2,sortFunction:H,linkSortMode:P2,nodeThickness:p2,nodeSpacing:g2,nodeInnerPadding:f2,width:c2,height:s2,getColor:F2,getLabel:S2})}),[t2,E2,r2,W2,H,P2,p2,g2,f2,c2,s2,F2,S2]),D2=G.nodes,A2=G.links,Z2=reactExports.useMemo((function(){return D2.map((function(e3){return{id:e3.id,label:e3.label,color:e3.color}}))}),[D2]);return{nodes:D2,links:A2,legendData:Z2,getNodeBorderColor:R2,currentNode:x2,setCurrentNode:O2,currentLink:M2,setCurrentLink:T2,getLabelTextColor:z2}},"A"),Z=__name(function(e3){var o2=e3.node,i2=e3.x,r2=e3.y,l2=e3.width,a2=e3.height,d=e3.color,s2=e3.opacity,u2=e3.borderWidth,h2=e3.borderColor,v2=e3.borderRadius,p2=e3.setCurrent,g2=e3.isInteractive,f2=e3.onClick,y2=e3.tooltip,m2=Ur(),k2=m2.animate,b2=m2.config,C2=useSpring({x:i2,y:r2,width:l2,height:a2,opacity:s2,color:d,config:b2,immediate:!k2}),x2=k$2(),M2=x2.showTooltipFromEvent,T2=x2.hideTooltip,w2=reactExports.useCallback((function(e4){p2(o2),M2(reactExports.createElement(y2,{node:o2}),e4,"left")}),[p2,o2,M2,y2]),B2=reactExports.useCallback((function(e4){M2(reactExports.createElement(y2,{node:o2}),e4,"left")}),[M2,o2,y2]),I2=reactExports.useCallback((function(){p2(null),T2()}),[p2,T2]),W2=reactExports.useCallback((function(e4){f2?.(o2,e4)}),[f2,o2]);return jsxRuntimeExports.jsx(animated.rect,{x:C2.x,y:C2.y,rx:v2,ry:v2,width:C2.width.to((function(e4){return Math.max(e4,0)})),height:C2.height.to((function(e4){return Math.max(e4,0)})),fill:C2.color,fillOpacity:C2.opacity,strokeWidth:u2,stroke:h2,strokeOpacity:s2,onMouseEnter:g2?w2:void 0,onMouseMove:g2?B2:void 0,onMouseLeave:g2?I2:void 0,onClick:g2?W2:void 0})},"Z"),q=__name(function(e3){var o2=e3.nodes,n2=e3.nodeOpacity,t2=e3.nodeHoverOpacity,i2=e3.nodeHoverOthersOpacity,r2=e3.borderWidth,l2=e3.getBorderColor,a2=e3.borderRadius,d=e3.setCurrentNode,c2=e3.currentNode,s2=e3.currentLink,u2=e3.isCurrentNode,h2=e3.isInteractive,v2=e3.onClick,p2=e3.tooltip,g2=__name(function(e4){return c2||s2?u2(e4)?t2:i2:n2},"g");return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:o2.map((function(e4){return jsxRuntimeExports.jsx(Z,{node:e4,x:e4.x,y:e4.y,width:e4.width,height:e4.height,color:e4.color,opacity:g2(e4),borderWidth:r2,borderColor:l2(e4),borderRadius:a2,setCurrent:d,isInteractive:h2,onClick:v2,tooltip:p2},e4.id)}))})},"q"),U=__name(function(e3){var o2=e3.id,n2=e3.layout,t2=e3.startColor,i2=e3.endColor;return jsxRuntimeExports.jsxs("linearGradient",S$1({id:o2,spreadMethod:"pad"},n2==="horizontal"?{x1:"0%",x2:"100%",y1:"0%",y2:"0%"}:{x1:"0%",x2:"0%",y1:"0%",y2:"100%"},{children:[jsxRuntimeExports.jsx("stop",{offset:"0%",stopColor:t2}),jsxRuntimeExports.jsx("stop",{offset:"100%",stopColor:i2})]}))},"U"),J=__name(function(e3){var o2=e3.link,i2=e3.layout,r2=e3.path,l2=e3.color,a2=e3.opacity,d=e3.blendMode,u2=e3.enableGradient,h2=e3.setCurrent,v2=e3.tooltip,p2=e3.isInteractive,g2=e3.onClick,f2=o2.source.id+"."+o2.target.id+"."+o2.index,y2=Ur(),m2=y2.animate,k2=y2.config,b2=Fr(r2),C2=useSpring({color:l2,opacity:a2,config:k2,immediate:!m2}),x2=k$2(),w2=x2.showTooltipFromEvent,B2=x2.hideTooltip,I2=reactExports.useCallback((function(e4){h2(o2),w2(reactExports.createElement(v2,{link:o2}),e4,"left")}),[h2,o2,w2,v2]),W2=reactExports.useCallback((function(e4){w2(reactExports.createElement(v2,{link:o2}),e4,"left")}),[w2,o2,v2]),N2=reactExports.useCallback((function(){h2(null),B2()}),[h2,B2]),F2=reactExports.useCallback((function(e4){g2?.(o2,e4)}),[g2,o2]);return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[u2&&jsxRuntimeExports.jsx(U,{id:f2,layout:i2,startColor:o2.startColor||o2.source.color,endColor:o2.endColor||o2.target.color}),jsxRuntimeExports.jsx(animated.path,{fill:u2?'url("#'+encodeURI(f2)+'")':C2.color,d:b2,fillOpacity:C2.opacity,onMouseEnter:p2?I2:void 0,onMouseMove:p2?W2:void 0,onMouseLeave:p2?N2:void 0,onClick:p2?F2:void 0,style:{mixBlendMode:d}})]})},"J"),K=__name(function(e3){var n2=e3.links,t2=e3.layout,i2=e3.linkOpacity,r2=e3.linkHoverOpacity,l2=e3.linkHoverOthersOpacity,a2=e3.linkContract,d=e3.linkBlendMode,c2=e3.enableLinkGradient,s2=e3.setCurrentLink,u2=e3.currentLink,h2=e3.currentNode,v2=e3.isCurrentLink,p2=e3.isInteractive,g2=e3.onClick,f2=e3.tooltip,y2=__name(function(e4){return h2||u2?v2(e4)?r2:l2:i2},"y"),m2=reactExports.useMemo((function(){return t2==="horizontal"?(e4=N$2().curve(monotoneX),function(o2,n3){var t3=Math.max(1,o2.thickness-2*n3)/2,i3=.12*(o2.target.x0-o2.source.x1),r3=[[o2.source.x1,o2.pos0-t3],[o2.source.x1+i3,o2.pos0-t3],[o2.target.x0-i3,o2.pos1-t3],[o2.target.x0,o2.pos1-t3],[o2.target.x0,o2.pos1+t3],[o2.target.x0-i3,o2.pos1+t3],[o2.source.x1+i3,o2.pos0+t3],[o2.source.x1,o2.pos0+t3],[o2.source.x1,o2.pos0-t3]];return e4(r3)+"Z"}):(function(){var e6=N$2().curve(monotoneY);return function(o2,n3){var t3=Math.max(1,o2.thickness-2*n3)/2,i3=.12*(o2.target.y0-o2.source.y1),r3=[[o2.pos0+t3,o2.source.y1],[o2.pos0+t3,o2.source.y1+i3],[o2.pos1+t3,o2.target.y0-i3],[o2.pos1+t3,o2.target.y0],[o2.pos1-t3,o2.target.y0],[o2.pos1-t3,o2.target.y0-i3],[o2.pos0-t3,o2.source.y1+i3],[o2.pos0-t3,o2.source.y1],[o2.pos0+t3,o2.source.y1]];return e6(r3)+"Z"}})();var e4}),[t2]);return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:n2.map((function(e4){return jsxRuntimeExports.jsx(J,{link:e4,layout:t2,path:m2(e4,a2),color:e4.color,opacity:y2(e4),blendMode:d,enableGradient:c2,setCurrent:s2,isInteractive:p2,onClick:g2,tooltip:f2},e4.source.id+"."+e4.target.id+"."+e4.index)}))})},"K"),Q=__name(function(e3){var o2=e3.nodes,n2=e3.layout,t2=e3.width,i2=e3.height,r2=e3.labelPosition,a2=e3.labelPadding,d=e3.labelOrientation,s2=e3.getLabelTextColor,u2=zt(),h2=d==="vertical"?-90:0,v2=o2.map((function(e4){var o3,l2,c2;return n2==="horizontal"?(l2=e4.y+e4.height/2,e4.x=0||(i3[n3]=e4[n3]);return i3})(e3,X);return jsxRuntimeExports.jsx(St,{animate:i2,isInteractive:n2,motionConfig:l2,renderWrapper:d,theme:a2,children:jsxRuntimeExports.jsx(Y,S$1({isInteractive:n2},c2))})},"$$1"),_$1=__name(function(e3){return jsxRuntimeExports.jsx(It,{children:__name(function(o2){var n2=o2.width,t2=o2.height;return jsxRuntimeExports.jsx($$1,S$1({width:n2,height:t2},e3))},"children")})},"_$1");const ZtResponsiveSankey=__name(({isDark,data})=>{const connectedNodeIds=new Set;for(const link2 of data.links)connectedNodeIds.add(link2.source),connectedNodeIds.add(link2.target);const filteredData={nodes:data.nodes.filter(node2=>connectedNodeIds.has(node2.id)),links:data.links},theme={tooltip:{container:{background:isDark?"rgba(33, 33, 33, 0.95)":"rgba(255, 255, 255, 0.95)",color:isDark?"#ffffff":"#000000",border:isDark?"1px solid #555":"1px solid #ccc",borderRadius:"4px",boxShadow:"0 2px 8px rgba(0, 0, 0, 0.15)",fontSize:"12px",padding:"8px 12px"}},labels:{text:{fontSize:12}}};return jsxRuntimeExports.jsx("div",{className:`h-full w-full ${isDark?"sankey-dark-mode":"sankey-light-mode"}`,children:jsxRuntimeExports.jsx(_$1,{data:filteredData,theme,margin:{top:10,right:10,bottom:10,left:10},align:"justify",colors:__name(node2=>node2.nodeColor,"colors"),nodeOpacity:1,nodeHoverOthersOpacity:.35,nodeThickness:18,nodeSpacing:24,nodeBorderWidth:0,nodeBorderColor:{from:"color",modifiers:[["darker",.8]]},nodeBorderRadius:3,linkOpacity:.5,linkHoverOthersOpacity:.1,linkContract:3,linkBlendMode:isDark?"lighten":"multiply",enableLinkGradient:!0,labelPosition:"inside",labelOrientation:"horizontal",labelPadding:16,labelTextColor:isDark?"#ffffff":"#000000",sort:"input",legends:[],valueFormat:__name(value2=>`${value2}`,"valueFormat")})})},"ZtResponsiveSankey"),CaSankey=__name(({data})=>{const theme=reactExports.useContext(ThemeProviderContext),filteredData=data.filter(link2=>link2.value!=null&&link2.value>0);return jsxRuntimeExports.jsx(ZtResponsiveSankey,{isDark:!!(theme.theme==="dark"||theme.theme==="system"&&window.matchMedia("(prefers-color-scheme: dark)").matches),data:{nodes:[{id:"User sign in",nodeColor:"hsl(28, 100%, 53%)"},{id:"No CA applied",nodeColor:"hsl(0, 100%, 50%)"},{id:"CA applied",nodeColor:"hsl(12, 76%, 61%)"},{id:"No MFA",nodeColor:"hsl(0, 69%, 50%)"},{id:"MFA",nodeColor:"hsl(99, 70%, 50%)"}],links:filteredData}})},"CaSankey"),CaDeviceSankey=__name(({data})=>{const theme=reactExports.useContext(ThemeProviderContext),filteredData=data.filter(link2=>link2.value!=null&&link2.value>0);return jsxRuntimeExports.jsx(ZtResponsiveSankey,{isDark:!!(theme.theme==="dark"||theme.theme==="system"&&window.matchMedia("(prefers-color-scheme: dark)").matches),data:{nodes:[{id:"User sign in",nodeColor:"hsl(28, 100%, 53%)"},{id:"Unmanaged",nodeColor:"hsl(0, 100%, 50%)"},{id:"Managed",nodeColor:"hsl(12, 76%, 61%)"},{id:"Non-compliant",nodeColor:"hsl(0, 100%, 50%)"},{id:"Compliant",nodeColor:"hsl(99, 70%, 50%)"}],links:filteredData}})},"CaDeviceSankey"),AuthMethodSankey=__name(({data})=>{const theme=reactExports.useContext(ThemeProviderContext),filteredData=data.filter(link2=>link2.value!=null&&link2.value>0);return jsxRuntimeExports.jsx(ZtResponsiveSankey,{isDark:!!(theme.theme==="dark"||theme.theme==="system"&&window.matchMedia("(prefers-color-scheme: dark)").matches),data:{nodes:[{id:"Users",nodeColor:"hsl(28, 100%, 53%)"},{id:"Single factor",nodeColor:"hsl(0, 100%, 50%)"},{id:"Phishable",nodeColor:"hsl(12, 76%, 61%)"},{id:"Phone",nodeColor:"hsl(12, 76%, 61%)"},{id:"Authenticator",nodeColor:"hsl(12, 76%, 61%)"},{id:"Phish resistant",nodeColor:"hsl(99, 70%, 50%)"},{id:"Passkey",nodeColor:"hsl(99, 70%, 50%)"},{id:"WHfB",nodeColor:"hsl(99, 70%, 50%)"}],links:filteredData}})},"AuthMethodSankey"),DesktopDevicesSankey=__name(({data})=>{const theme=reactExports.useContext(ThemeProviderContext),filteredData=data.filter(link2=>link2.value!=null&&link2.value>0);return jsxRuntimeExports.jsx(ZtResponsiveSankey,{isDark:!!(theme.theme==="dark"||theme.theme==="system"&&window.matchMedia("(prefers-color-scheme: dark)").matches),data:{nodes:[{id:"Desktop devices",nodeColor:"hsl(28, 100%, 53%)"},{id:"Windows",nodeColor:"hsl(35, 100%, 50%)"},{id:"macOS",nodeColor:"hsl(200, 100%, 50%)"},{id:"Entra joined",nodeColor:"hsl(12, 76%, 61%)"},{id:"Entra registered",nodeColor:"hsl(12, 76%, 61%)"},{id:"Entra hybrid joined",nodeColor:"hsl(12, 76%, 61%)"},{id:"Compliant",nodeColor:"hsl(99, 70%, 50%)"},{id:"Non-compliant",nodeColor:"hsl(0, 100%, 50%)"},{id:"Unmanaged",nodeColor:"hsl(220, 10%, 60%)"}],links:filteredData}})},"DesktopDevicesSankey"),MobileSankey=__name(({data})=>{const theme=reactExports.useContext(ThemeProviderContext),filteredData=data.filter(link2=>link2.value!=null&&link2.value>0);return jsxRuntimeExports.jsx(ZtResponsiveSankey,{isDark:!!(theme.theme==="dark"||theme.theme==="system"&&window.matchMedia("(prefers-color-scheme: dark)").matches),data:{nodes:[{id:"Mobile devices",nodeColor:"hsl(28, 100%, 53%)"},{id:"Android",nodeColor:"hsl(35, 100%, 50%)"},{id:"iOS",nodeColor:"hsl(210, 100%, 50%)"},{id:"Android (Company)",nodeColor:"hsl(30, 100%, 45%)"},{id:"Android (Personal)",nodeColor:"hsl(40, 100%, 55%)"},{id:"iOS (Company)",nodeColor:"hsl(210, 100%, 45%)"},{id:"iOS (Personal)",nodeColor:"hsl(210, 100%, 55%)"},{id:"Compliant",nodeColor:"hsl(99, 70%, 50%)"},{id:"Non-compliant",nodeColor:"hsl(0, 100%, 50%)"}],links:filteredData}})},"MobileSankey");var NODES=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Primitive=NODES.reduce((primitive,node2)=>{const Slot2=createSlot$2(`Primitive.${node2}`),Node2=reactExports.forwardRef((props,forwardedRef)=>{const{asChild,...primitiveProps}=props,Comp=asChild?Slot2:node2;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),jsxRuntimeExports.jsx(Comp,{...primitiveProps,ref:forwardedRef})});return Node2.displayName=`Primitive.${node2}`,{...primitive,[node2]:Node2}},{}),NAME="Separator",DEFAULT_ORIENTATION="horizontal",ORIENTATIONS=["horizontal","vertical"],Separator$1=reactExports.forwardRef((props,forwardedRef)=>{const{decorative,orientation:orientationProp=DEFAULT_ORIENTATION,...domProps}=props,orientation=isValidOrientation(orientationProp)?orientationProp:DEFAULT_ORIENTATION,semanticProps=decorative?{role:"none"}:{"aria-orientation":orientation==="vertical"?orientation:void 0,role:"separator"};return jsxRuntimeExports.jsx(Primitive.div,{"data-orientation":orientation,...semanticProps,...domProps,ref:forwardedRef})});Separator$1.displayName=NAME;function isValidOrientation(orientation){return ORIENTATIONS.includes(orientation)}__name(isValidOrientation,"isValidOrientation");var Root=Separator$1;const Separator=reactExports.forwardRef(({className,orientation="horizontal",decorative=!0,...props},ref)=>jsxRuntimeExports.jsx(Root,{ref,decorative,orientation,className:cn$2("shrink-0 bg-border",orientation==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",className),...props}));Separator.displayName=Root.displayName;function formatNumber(value2){return value2==null||isNaN(value2)?"0":value2<1e3?value2.toLocaleString():value2<1e5?`${(value2/1e3).toFixed(1)}K`:`${Math.round(value2/1e3)}K`}__name(formatNumber,"formatNumber");const metricDescriptions={users:"Total number of user accounts in the tenant (excluding guests)",guests:"Total number of guest user accounts",groups:"Total number of groups (security, Microsoft 365, etc.)",apps:"Total number of registered applications",devices:"Including both managed and unmanaged devices",managed:"Total number of Intune managed devices"};function Dashboard(){return jsxRuntimeExports.jsxs(TooltipProvider,{delayDuration:200,children:[jsxRuntimeExports.jsx("div",{className:"w-full flex max-w-7xl flex-col gap-6 mt-12",children:jsxRuntimeExports.jsxs("div",{className:"grid w-full gap-6 lg:grid-cols-3",children:[jsxRuntimeExports.jsxs(Card,{children:[jsxRuntimeExports.jsx(CardHeader,{className:"pb-3",children:jsxRuntimeExports.jsxs(CardTitle,{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx(Building2,{className:"size-5"}),"Tenant"]})}),jsxRuntimeExports.jsx(CardContent,{children:jsxRuntimeExports.jsxs("div",{className:"space-y-4",children:[jsxRuntimeExports.jsxs("div",{className:"flex flex-col gap-1",children:[jsxRuntimeExports.jsx("span",{className:"text-sm text-muted-foreground",children:"Name"}),jsxRuntimeExports.jsx("span",{className:"font-medium",children:reportData.TenantName})]}),jsxRuntimeExports.jsxs("div",{className:"flex flex-col gap-1",children:[jsxRuntimeExports.jsx("span",{className:"text-sm text-muted-foreground",children:"Tenant ID"}),jsxRuntimeExports.jsx("span",{className:"font-mono text-xs",children:reportData.TenantId})]}),jsxRuntimeExports.jsxs("div",{className:"flex flex-col gap-1",children:[jsxRuntimeExports.jsx("span",{className:"text-sm text-muted-foreground",children:"Primary Domain"}),jsxRuntimeExports.jsx("span",{className:"font-medium",children:reportData.Domain})]})]})})]}),jsxRuntimeExports.jsxs("div",{className:"grid gap-4 grid-cols-2 grid-rows-3",children:[jsxRuntimeExports.jsxs(Tooltip,{children:[jsxRuntimeExports.jsx(TooltipTrigger,{asChild:!0,children:jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3 rounded-md border px-4 py-3",children:[jsxRuntimeExports.jsx(Avatar,{className:"size-8.5 rounded-sm",children:jsxRuntimeExports.jsx(AvatarFallback,{className:"text-blue-600 shrink-0 rounded-sm",children:jsxRuntimeExports.jsx(User,{className:"size-8"})})}),jsxRuntimeExports.jsxs("div",{className:"flex flex-col gap-0.5",children:[jsxRuntimeExports.jsx("span",{className:"text-muted-foreground text-sm font-medium",children:"Users"}),jsxRuntimeExports.jsx("span",{className:"text-lg font-medium",children:formatNumber(reportData.TenantInfo?.TenantOverview?.UserCount)})]})]})}),jsxRuntimeExports.jsx(TooltipContent,{children:jsxRuntimeExports.jsxs("div",{className:"space-y-1",children:[jsxRuntimeExports.jsxs("p",{className:"font-semibold",children:[reportData.TenantInfo?.TenantOverview?.UserCount?.toLocaleString()||"0"," Users"]}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground",children:metricDescriptions.users})]})})]}),jsxRuntimeExports.jsxs(Tooltip,{children:[jsxRuntimeExports.jsx(TooltipTrigger,{asChild:!0,children:jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3 rounded-md border px-4 py-3",children:[jsxRuntimeExports.jsx(Avatar,{className:"size-8.5 rounded-sm",children:jsxRuntimeExports.jsx(AvatarFallback,{className:"text-indigo-600 shrink-0 rounded-sm",children:jsxRuntimeExports.jsx(Luggage,{className:"size-8"})})}),jsxRuntimeExports.jsxs("div",{className:"flex flex-col gap-0.5",children:[jsxRuntimeExports.jsx("span",{className:"text-muted-foreground text-sm font-medium",children:"Guests"}),jsxRuntimeExports.jsx("span",{className:"text-lg font-medium",children:formatNumber(reportData.TenantInfo?.TenantOverview?.GuestCount)})]})]})}),jsxRuntimeExports.jsx(TooltipContent,{children:jsxRuntimeExports.jsxs("div",{className:"space-y-1",children:[jsxRuntimeExports.jsxs("p",{className:"font-semibold",children:[reportData.TenantInfo?.TenantOverview?.GuestCount?.toLocaleString()||"0"," Guests"]}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground",children:metricDescriptions.guests})]})})]}),jsxRuntimeExports.jsxs(Tooltip,{children:[jsxRuntimeExports.jsx(TooltipTrigger,{asChild:!0,children:jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3 rounded-md border px-4 py-3",children:[jsxRuntimeExports.jsx(Avatar,{className:"size-8.5 rounded-sm",children:jsxRuntimeExports.jsx(AvatarFallback,{className:"text-purple-600 shrink-0 rounded-sm",children:jsxRuntimeExports.jsx(Users,{className:"size-8"})})}),jsxRuntimeExports.jsxs("div",{className:"flex flex-col gap-0.5",children:[jsxRuntimeExports.jsx("span",{className:"text-muted-foreground text-sm font-medium",children:"Groups"}),jsxRuntimeExports.jsx("span",{className:"text-lg font-medium",children:formatNumber(reportData.TenantInfo?.TenantOverview?.GroupCount)})]})]})}),jsxRuntimeExports.jsx(TooltipContent,{children:jsxRuntimeExports.jsxs("div",{className:"space-y-1",children:[jsxRuntimeExports.jsxs("p",{className:"font-semibold",children:[reportData.TenantInfo?.TenantOverview?.GroupCount?.toLocaleString()||"0"," Groups"]}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground",children:metricDescriptions.groups})]})})]}),jsxRuntimeExports.jsxs(Tooltip,{children:[jsxRuntimeExports.jsx(TooltipTrigger,{asChild:!0,children:jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3 rounded-md border px-4 py-3",children:[jsxRuntimeExports.jsx(Avatar,{className:"size-8.5 rounded-sm",children:jsxRuntimeExports.jsx(AvatarFallback,{className:"text-rose-600 shrink-0 rounded-sm",children:jsxRuntimeExports.jsx(Layers3,{className:"size-8"})})}),jsxRuntimeExports.jsxs("div",{className:"flex flex-col gap-0.5",children:[jsxRuntimeExports.jsx("span",{className:"text-muted-foreground text-sm font-medium",children:"Apps"}),jsxRuntimeExports.jsx("span",{className:"text-lg font-medium",children:formatNumber(reportData.TenantInfo?.TenantOverview?.ApplicationCount)})]})]})}),jsxRuntimeExports.jsx(TooltipContent,{children:jsxRuntimeExports.jsxs("div",{className:"space-y-1",children:[jsxRuntimeExports.jsxs("p",{className:"font-semibold",children:[reportData.TenantInfo?.TenantOverview?.ApplicationCount?.toLocaleString()||"0"," Applications"]}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground",children:metricDescriptions.apps})]})})]}),jsxRuntimeExports.jsxs(Tooltip,{children:[jsxRuntimeExports.jsx(TooltipTrigger,{asChild:!0,children:jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3 rounded-md border px-4 py-3",children:[jsxRuntimeExports.jsx(Avatar,{className:"size-8.5 rounded-sm",children:jsxRuntimeExports.jsx(AvatarFallback,{className:"text-orange-600 shrink-0 rounded-sm",children:jsxRuntimeExports.jsx(MonitorSmartphone,{className:"size-8"})})}),jsxRuntimeExports.jsxs("div",{className:"flex flex-col gap-0.5",children:[jsxRuntimeExports.jsx("span",{className:"text-muted-foreground text-sm font-medium",children:"Devices"}),jsxRuntimeExports.jsx("span",{className:"text-lg font-medium",children:formatNumber(reportData.TenantInfo?.TenantOverview?.DeviceCount)})]})]})}),jsxRuntimeExports.jsx(TooltipContent,{children:jsxRuntimeExports.jsxs("div",{className:"space-y-1",children:[jsxRuntimeExports.jsxs("p",{className:"font-semibold",children:[reportData.TenantInfo?.TenantOverview?.DeviceCount?.toLocaleString()||"0"," Devices"]}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground",children:metricDescriptions.devices})]})})]}),jsxRuntimeExports.jsxs(Tooltip,{children:[jsxRuntimeExports.jsx(TooltipTrigger,{asChild:!0,children:jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3 rounded-md border px-4 py-3",children:[jsxRuntimeExports.jsx(Avatar,{className:"size-8.5 rounded-sm",children:jsxRuntimeExports.jsx(AvatarFallback,{className:"text-emerald-600 shrink-0 rounded-sm",children:jsxRuntimeExports.jsx(MonitorSmartphone,{className:"size-8"})})}),jsxRuntimeExports.jsxs("div",{className:"flex flex-col gap-0.5",children:[jsxRuntimeExports.jsx("span",{className:"text-muted-foreground text-sm font-medium",children:"Managed"}),jsxRuntimeExports.jsx("span",{className:"text-lg font-medium",children:formatNumber(reportData.TenantInfo?.TenantOverview?.ManagedDeviceCount)})]})]})}),jsxRuntimeExports.jsx(TooltipContent,{children:jsxRuntimeExports.jsxs("div",{className:"space-y-1",children:[jsxRuntimeExports.jsxs("p",{className:"font-semibold",children:[reportData.TenantInfo?.TenantOverview?.ManagedDeviceCount?.toLocaleString()||"0"," Managed Devices"]}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground",children:metricDescriptions.managed})]})})]})]}),jsxRuntimeExports.jsxs(Card,{"x-chunk":"charts-01-chunk-5",children:[jsxRuntimeExports.jsx(CardHeader,{className:"pb-3",children:jsxRuntimeExports.jsxs(CardTitle,{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx(ShieldCheck,{className:"size-5"}),"Assessment"]})}),jsxRuntimeExports.jsxs(CardContent,{className:"flex gap-6",children:[jsxRuntimeExports.jsxs("div",{className:"flex flex-col gap-2",children:[jsxRuntimeExports.jsxs("div",{className:"grid auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsx("div",{className:"text-sm text-muted-foreground",children:"Identity"}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 text-xl font-bold tabular-nums leading-none",children:[reportData.TestResultSummary.IdentityPassed,"/",reportData.TestResultSummary.IdentityTotal,jsxRuntimeExports.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:"tests"})]})]}),jsxRuntimeExports.jsxs("div",{className:"grid auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsx("div",{className:"text-sm text-muted-foreground",children:"Devices"}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 text-xl font-bold tabular-nums leading-none",children:[reportData.TestResultSummary.DevicesPassed,"/",reportData.TestResultSummary.DevicesTotal,jsxRuntimeExports.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:"tests"})]})]}),jsxRuntimeExports.jsxs("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsx("div",{className:"text-sm text-muted-foreground",children:"Data"}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 text-xl font-bold tabular-nums leading-none",children:[reportData.TestResultSummary.DataPassed,"/",reportData.TestResultSummary.DataTotal,jsxRuntimeExports.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:"tests"})]})]}),reportData.TestResultSummary.NetworkPassed!==void 0&&jsxRuntimeExports.jsxs("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsx("div",{className:"text-sm text-muted-foreground",children:"Network"}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 text-xl font-bold tabular-nums leading-none",children:[reportData.TestResultSummary.NetworkPassed,"/",reportData.TestResultSummary.NetworkTotal,jsxRuntimeExports.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:"tests"})]})]}),reportData.TestResultSummary.InfrastructurePassed!==void 0&&jsxRuntimeExports.jsxs("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsx("div",{className:"text-sm text-muted-foreground",children:"Infrastructure"}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 text-xl font-bold tabular-nums leading-none",children:[reportData.TestResultSummary.InfrastructurePassed,"/",reportData.TestResultSummary.InfrastructureTotal,jsxRuntimeExports.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:"tests"})]})]}),reportData.TestResultSummary.SecOpsPassed!==void 0&&jsxRuntimeExports.jsxs("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsx("div",{className:"text-sm text-muted-foreground",children:"SecOps"}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 text-xl font-bold tabular-nums leading-none",children:[reportData.TestResultSummary.SecOpsPassed,"/",reportData.TestResultSummary.SecOpsTotal,jsxRuntimeExports.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:"tests"})]})]}),reportData.TestResultSummary.AIPassed!==void 0&&jsxRuntimeExports.jsxs("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsx("div",{className:"text-sm text-muted-foreground",children:"AI"}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 text-xl font-bold tabular-nums leading-none",children:[reportData.TestResultSummary.AIPassed,"/",reportData.TestResultSummary.AITotal,jsxRuntimeExports.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:"tests"})]})]})]}),jsxRuntimeExports.jsx(ChartContainer,{config:{move:{label:"Identity",color:"hsl(var(--chart-1))"},exercise:{label:"Devices",color:"hsl(var(--chart-2))"},stand:{label:"Data",color:"hsl(var(--chart-3))"},network:{label:"Network",color:"hsl(var(--chart-4))"},infrastructure:{label:"Infrastructure",color:"hsl(var(--chart-5))"},secops:{label:"SecOps",color:"hsl(var(--chart-1))"},ai:{label:"AI",color:"hsl(var(--chart-2))"}},className:"mx-auto aspect-square w-full max-w-[80%]",children:jsxRuntimeExports.jsxs(RadialBarChart,{margin:{left:-10,right:-10,top:-10,bottom:-10},data:[...reportData.TestResultSummary.AIPassed!==void 0&&reportData.TestResultSummary.AITotal!==void 0?[{activity:"ai",value:reportData.TestResultSummary.AIPassed/reportData.TestResultSummary.AITotal*100,fill:"var(--color-ai)"}]:[],...reportData.TestResultSummary.SecOpsPassed!==void 0&&reportData.TestResultSummary.SecOpsTotal!==void 0?[{activity:"secops",value:reportData.TestResultSummary.SecOpsPassed/reportData.TestResultSummary.SecOpsTotal*100,fill:"var(--color-secops)"}]:[],...reportData.TestResultSummary.InfrastructurePassed!==void 0&&reportData.TestResultSummary.InfrastructureTotal!==void 0?[{activity:"infrastructure",value:reportData.TestResultSummary.InfrastructurePassed/reportData.TestResultSummary.InfrastructureTotal*100,fill:"var(--color-infrastructure)"}]:[],...reportData.TestResultSummary.NetworkPassed!==void 0&&reportData.TestResultSummary.NetworkTotal!==void 0?[{activity:"network",value:reportData.TestResultSummary.NetworkPassed/reportData.TestResultSummary.NetworkTotal*100,fill:"var(--color-network)"}]:[],{activity:"data",value:reportData.TestResultSummary.DataPassed/reportData.TestResultSummary.DataTotal*100,fill:"var(--color-stand)"},{activity:"devices",value:reportData.TestResultSummary.DevicesPassed/reportData.TestResultSummary.DevicesTotal*100,fill:"var(--color-exercise)"},{activity:"identity",value:reportData.TestResultSummary.IdentityPassed/reportData.TestResultSummary.IdentityTotal*100,fill:"var(--color-move)"}],innerRadius:"20%",barSize:24,startAngle:90,endAngle:450,children:[jsxRuntimeExports.jsx(PolarAngleAxis,{type:"number",domain:[0,100],dataKey:"value",tick:!1}),jsxRuntimeExports.jsx(RadialBar,{dataKey:"value",background:!0,cornerRadius:5})]})})]})]})]})}),jsxRuntimeExports.jsx("div",{className:"mx-auto flex max-w-7xl flex-col gap-6 mt-6",children:jsxRuntimeExports.jsxs("div",{className:"grid gap-6 grid-cols-1 lg:grid-cols-2",children:[jsxRuntimeExports.jsxs("div",{className:"grid w-full gap-6 lg:col-span-1",children:[reportData.TenantInfo?.OverviewAuthMethodsAllUsers?.nodes?jsxRuntimeExports.jsxs(Card,{className:"w-full","x-chunk":"charts-01-chunk-0",children:[jsxRuntimeExports.jsxs(CardHeader,{className:"space-y-0 pb-2 flex-row",children:[jsxRuntimeExports.jsx(UserCog,{className:"pr-2 size-8"}),jsxRuntimeExports.jsx(CardTitle,{className:"text-2xl tabular-nums",children:"Privileged users auth methods"})]}),jsxRuntimeExports.jsx(CardContent,{children:jsxRuntimeExports.jsx(ChartContainer,{config:{steps:{label:"Steps",color:"hsl(var(--chart-1))"}},children:reportData.TenantInfo?.OverviewAuthMethodsPrivilegedUsers?.nodes?jsxRuntimeExports.jsx(AuthMethodSankey,{data:reportData.TenantInfo.OverviewAuthMethodsPrivilegedUsers.nodes}):jsxRuntimeExports.jsx("div",{className:"flex items-center justify-center h-32 text-muted-foreground",children:"No data available"})})}),jsxRuntimeExports.jsx(CardFooter,{className:"flex-col items-start gap-1",children:jsxRuntimeExports.jsx(CardDescription,{children:reportData.TenantInfo?.OverviewAuthMethodsPrivilegedUsers?.description||"No description available"})})]}):null,reportData.TenantInfo?.OverviewAuthMethodsAllUsers?.nodes?jsxRuntimeExports.jsxs(Card,{className:"w-full","x-chunk":"charts-01-chunk-0",children:[jsxRuntimeExports.jsxs(CardHeader,{className:"space-y-0 pb-2 flex-row",children:[jsxRuntimeExports.jsx(Users,{className:"pr-2 size-8"}),jsxRuntimeExports.jsx(CardTitle,{className:"text-2xl tabular-nums",children:"All users auth methods"})]}),jsxRuntimeExports.jsx(CardContent,{children:jsxRuntimeExports.jsx(ChartContainer,{config:{steps:{label:"Steps",color:"hsl(var(--chart-1))"}},children:reportData.TenantInfo?.OverviewAuthMethodsAllUsers?.nodes?jsxRuntimeExports.jsx(AuthMethodSankey,{data:reportData.TenantInfo.OverviewAuthMethodsAllUsers.nodes}):jsxRuntimeExports.jsx("div",{className:"flex items-center justify-center h-32 text-muted-foreground",children:"No data available"})})}),jsxRuntimeExports.jsx(CardFooter,{className:"flex-col items-start gap-1",children:jsxRuntimeExports.jsx(CardDescription,{children:reportData.TenantInfo?.OverviewAuthMethodsAllUsers?.description||"No description available"})})]}):null]}),jsxRuntimeExports.jsxs("div",{className:"grid w-full gap-6 lg:col-span-1",children:[reportData.TenantInfo?.OverviewAuthMethodsAllUsers?.nodes?jsxRuntimeExports.jsxs(Card,{className:"lmax-w-xs","x-chunk":"charts-01-chunk-0",children:[jsxRuntimeExports.jsxs(CardHeader,{className:"space-y-0 pb-2 flex-row",children:[jsxRuntimeExports.jsx(User,{className:"pr-2 size-8"}),jsxRuntimeExports.jsx(CardTitle,{className:"text-2xl tabular-nums",children:"User authentication"})]}),jsxRuntimeExports.jsx(CardContent,{children:jsxRuntimeExports.jsx(ChartContainer,{config:{steps:{label:"Steps",color:"hsl(var(--chart-1))"}},children:reportData.TenantInfo?.OverviewCaMfaAllUsers?.nodes?jsxRuntimeExports.jsx(CaSankey,{data:reportData.TenantInfo.OverviewCaMfaAllUsers.nodes}):jsxRuntimeExports.jsx("div",{className:"flex items-center justify-center h-32 text-muted-foreground",children:"No data available"})})}),jsxRuntimeExports.jsx(CardFooter,{className:"flex-col items-start gap-1",children:jsxRuntimeExports.jsx(CardDescription,{children:reportData.TenantInfo?.OverviewCaMfaAllUsers?.description||"No description available"})})]}):null,reportData.TenantInfo?.OverviewAuthMethodsPrivilegedUsers?.nodes?jsxRuntimeExports.jsxs(Card,{className:"lmax-w-xs","x-chunk":"charts-01-chunk-0",children:[jsxRuntimeExports.jsxs(CardHeader,{className:"space-y-0 pb-2 flex-row",children:[jsxRuntimeExports.jsx(MonitorSmartphone,{className:"pr-2 size-8"}),jsxRuntimeExports.jsx(CardTitle,{className:"text-2xl tabular-nums ",children:"Device sign-ins"})]}),jsxRuntimeExports.jsx(CardContent,{children:jsxRuntimeExports.jsx(ChartContainer,{config:{steps:{label:"Steps",color:"hsl(var(--chart-1))"}},children:reportData.TenantInfo?.OverviewCaDevicesAllUsers?.nodes?jsxRuntimeExports.jsx(CaDeviceSankey,{data:reportData.TenantInfo.OverviewCaDevicesAllUsers.nodes}):jsxRuntimeExports.jsx("div",{className:"flex items-center justify-center h-32 text-muted-foreground",children:"No data available"})})}),jsxRuntimeExports.jsx(CardFooter,{className:"flex-col items-start gap-1",children:jsxRuntimeExports.jsx(CardDescription,{children:reportData.TenantInfo?.OverviewCaDevicesAllUsers?.description||"No description available"})})]}):null]})]})}),jsxRuntimeExports.jsx("div",{className:"flex max-w-7xl flex-col gap-6 mt-6",children:jsxRuntimeExports.jsxs("div",{className:"grid gap-6 grid-cols-1 lg:grid-cols-3",children:[reportData.TenantInfo?.DeviceOverview?.ManagedDevices?jsxRuntimeExports.jsxs(Card,{className:"w-full",children:[jsxRuntimeExports.jsxs(CardHeader,{className:"space-y-0 pb-2 flex-row",children:[jsxRuntimeExports.jsx(MonitorSmartphone,{className:"pr-2 size-8"}),jsxRuntimeExports.jsx(CardTitle,{className:"text-2xl tabular-nums",children:"Device summary"})]}),jsxRuntimeExports.jsx(CardContent,{className:"flex pb-4 h-[250px]",children:jsxRuntimeExports.jsx(ChartContainer,{config:{value:{label:"Devices"}},className:"h-[250px] w-full",children:jsxRuntimeExports.jsxs(BarChart,{margin:{left:12,right:0,top:0,bottom:10},data:[{dataKey:"Windows",value:reportData.TenantInfo?.DeviceOverview?.ManagedDevices?.deviceOperatingSystemSummary?.windowsCount,label:`${reportData.TenantInfo?.DeviceOverview?.ManagedDevices?.deviceOperatingSystemSummary?.windowsCount}`,fill:"hsl(var(--chart-1))"},{dataKey:"macOS",value:reportData.TenantInfo?.DeviceOverview?.ManagedDevices?.deviceOperatingSystemSummary?.macOSCount,label:`${reportData.TenantInfo?.DeviceOverview?.ManagedDevices?.deviceOperatingSystemSummary?.macOSCount}`,fill:"hsl(var(--chart-2))"},{dataKey:"iOS/iPadOS",value:reportData.TenantInfo?.DeviceOverview?.ManagedDevices?.deviceOperatingSystemSummary?.iosCount,label:`${reportData.TenantInfo?.DeviceOverview?.ManagedDevices?.deviceOperatingSystemSummary?.iosCount}`,fill:"hsl(var(--chart-3))"},{dataKey:"Android",value:reportData.TenantInfo?.DeviceOverview?.ManagedDevices?.deviceOperatingSystemSummary?.androidCount,label:`${reportData.TenantInfo?.DeviceOverview?.ManagedDevices?.deviceOperatingSystemSummary?.androidCount}`,fill:"hsl(var(--chart-5))"},{dataKey:"Linux",value:reportData.TenantInfo?.DeviceOverview?.ManagedDevices?.deviceOperatingSystemSummary?.linuxCount,label:`${reportData.TenantInfo?.DeviceOverview?.ManagedDevices?.deviceOperatingSystemSummary?.linuxCount}`,fill:"hsl(var(--chart-4))"}],layout:"vertical",barSize:32,barGap:2,children:[jsxRuntimeExports.jsx(XAxis,{type:"number",dataKey:"value",hide:!0}),jsxRuntimeExports.jsx(YAxis,{dataKey:"dataKey",type:"category",tickLine:!1,tickMargin:4,axisLine:!1,className:""}),jsxRuntimeExports.jsx(ChartTooltip,{cursor:!1,content:jsxRuntimeExports.jsx(ChartTooltipContent,{})}),jsxRuntimeExports.jsx(Bar,{dataKey:"value",radius:5,children:jsxRuntimeExports.jsx(LabelList,{position:"insideLeft",dataKey:"label",fill:"white",offset:8,fontSize:12})})]})})}),jsxRuntimeExports.jsx(CardFooter,{className:"flex flex-row border-t p-4",children:jsxRuntimeExports.jsxs("div",{className:"flex w-full items-center gap-2",children:[jsxRuntimeExports.jsxs("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsx("div",{className:"text-xs text-muted-foreground",children:"Desktops"}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 text-2xl font-bold tabular-nums leading-none",children:[Math.round(reportData.TenantInfo?.DeviceOverview?.ManagedDevices?.desktopCount/reportData.TenantInfo?.DeviceOverview?.ManagedDevices?.totalCount*100),jsxRuntimeExports.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:"%"})]})]}),jsxRuntimeExports.jsx(Separator,{orientation:"vertical",className:"mx-2 h-10 w-px"}),jsxRuntimeExports.jsxs("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsx("div",{className:"text-xs text-muted-foreground",children:"Mobiles"}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 text-2xl font-bold tabular-nums leading-none",children:[Math.round(reportData.TenantInfo?.DeviceOverview?.ManagedDevices?.mobileCount/reportData.TenantInfo?.DeviceOverview?.ManagedDevices?.totalCount*100),jsxRuntimeExports.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:"%"})]})]})]})})]}):null,reportData.TenantInfo?.DeviceOverview?.ManagedDevices&&reportData.TenantInfo?.DeviceOverview?.DeviceCompliance&&reportData.TenantInfo?.DeviceOverview?.DeviceCompliance?.compliantDeviceCount+reportData.TenantInfo?.DeviceOverview?.DeviceCompliance?.nonCompliantDeviceCount>0&&jsxRuntimeExports.jsxs(Card,{className:"w-full",children:[jsxRuntimeExports.jsxs(CardHeader,{className:"space-y-0 pb-2 flex-row",children:[jsxRuntimeExports.jsx(CircleCheckBig,{className:"pr-2 size-8"}),jsxRuntimeExports.jsx(CardTitle,{className:"text-2xl tabular-nums ",children:"Device compliance"})]}),jsxRuntimeExports.jsx(CardContent,{className:"flex pb-2 h-[250px]",children:jsxRuntimeExports.jsx(ChartContainer,{config:{compliant:{label:"Compliant",color:"hsl(142, 76%, 36%)"},nonCompliant:{label:"Non-compliant",color:"hsl(0, 84%, 60%)"}},className:"mx-auto aspect-square w-full max-h-full",children:jsxRuntimeExports.jsxs(PieChart,{margin:{top:5,right:5,bottom:5,left:5},children:[jsxRuntimeExports.jsxs(Pie,{data:[{name:"Compliant",value:reportData.TenantInfo?.DeviceOverview?.DeviceCompliance?.compliantDeviceCount,fill:"var(--color-compliant)"},{name:"Non-compliant",value:reportData.TenantInfo?.DeviceOverview?.DeviceCompliance?.nonCompliantDeviceCount,fill:"var(--color-nonCompliant)"}],cx:"50%",cy:"50%",innerRadius:50,outerRadius:100,paddingAngle:2,dataKey:"value",cornerRadius:5,children:[jsxRuntimeExports.jsx(Cell,{fill:"var(--color-compliant)"}),jsxRuntimeExports.jsx(Cell,{fill:"var(--color-nonCompliant)"})]}),jsxRuntimeExports.jsx(ChartTooltip,{content:jsxRuntimeExports.jsx(ChartTooltipContent,{})})]})})}),jsxRuntimeExports.jsx(CardFooter,{className:"flex flex-row border-t p-4",children:jsxRuntimeExports.jsxs("div",{className:"flex w-full items-center gap-2",children:[jsxRuntimeExports.jsxs("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[jsxRuntimeExports.jsx("div",{className:"w-3 h-3 rounded-sm bg-green-600"}),"Compliant"]}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 text-2xl font-bold tabular-nums leading-none",children:[(()=>{const compliant=reportData.TenantInfo?.DeviceOverview?.DeviceCompliance?.compliantDeviceCount,nonCompliant=reportData.TenantInfo?.DeviceOverview?.DeviceCompliance?.nonCompliantDeviceCount,total=compliant+nonCompliant;return total>0?Math.round(compliant/total*100):0})(),jsxRuntimeExports.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:"%"})]})]}),jsxRuntimeExports.jsx(Separator,{orientation:"vertical",className:"mx-2 h-10 w-px"}),jsxRuntimeExports.jsxs("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[jsxRuntimeExports.jsx("div",{className:"w-3 h-3 rounded-sm bg-red-500"}),"Non-compliant"]}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 text-2xl font-bold tabular-nums leading-none",children:[(()=>{const compliant=reportData.TenantInfo?.DeviceOverview?.DeviceCompliance?.compliantDeviceCount,nonCompliant=reportData.TenantInfo?.DeviceOverview?.DeviceCompliance?.nonCompliantDeviceCount,total=compliant+nonCompliant;return total>0?Math.round(nonCompliant/total*100):0})(),jsxRuntimeExports.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:"%"})]})]})]})})]}),reportData.TenantInfo?.DeviceOverview?.ManagedDevices&&reportData.TenantInfo?.DeviceOverview?.DeviceOwnership&&reportData.TenantInfo?.DeviceOverview?.DeviceOwnership?.corporateCount+reportData.TenantInfo?.DeviceOverview?.DeviceOwnership?.personalCount>0&&jsxRuntimeExports.jsxs(Card,{className:"w-full",children:[jsxRuntimeExports.jsxs(CardHeader,{className:"space-y-0 pb-2 flex-row",children:[jsxRuntimeExports.jsx(Briefcase,{className:"pr-2 size-8"}),jsxRuntimeExports.jsx(CardTitle,{className:"text-2xl tabular-nums ",children:"Device ownership"})]}),jsxRuntimeExports.jsx(CardContent,{className:"flex pb-2 h-[250px]",children:jsxRuntimeExports.jsx(ChartContainer,{config:{corporate:{label:"Corporate",color:"hsl(217, 91%, 60%)"},personal:{label:"Personal",color:"hsl(280, 85%, 60%)"}},className:"mx-auto aspect-square w-full max-h-full",children:jsxRuntimeExports.jsxs(PieChart,{margin:{top:5,right:5,bottom:5,left:5},children:[jsxRuntimeExports.jsxs(Pie,{data:[{name:"Corporate",value:reportData.TenantInfo?.DeviceOverview?.DeviceOwnership?.corporateCount,fill:"var(--color-corporate)"},{name:"Personal",value:reportData.TenantInfo?.DeviceOverview?.DeviceOwnership?.personalCount,fill:"var(--color-personal)"}],cx:"50%",cy:"50%",innerRadius:50,outerRadius:100,paddingAngle:2,dataKey:"value",cornerRadius:5,children:[jsxRuntimeExports.jsx(Cell,{fill:"var(--color-corporate)"}),jsxRuntimeExports.jsx(Cell,{fill:"var(--color-personal)"})]}),jsxRuntimeExports.jsx(ChartTooltip,{content:jsxRuntimeExports.jsx(ChartTooltipContent,{})})]})})}),jsxRuntimeExports.jsx(CardFooter,{className:"flex flex-row border-t p-4",children:jsxRuntimeExports.jsxs("div",{className:"flex w-full items-center gap-2",children:[jsxRuntimeExports.jsxs("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[jsxRuntimeExports.jsx("div",{className:"w-3 h-3 rounded-sm bg-blue-500"}),"Corporate"]}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 text-2xl font-bold tabular-nums leading-none",children:[(()=>{const corporate=reportData.TenantInfo?.DeviceOverview?.DeviceOwnership?.corporateCount,personal=reportData.TenantInfo?.DeviceOverview?.DeviceOwnership?.personalCount,total=corporate+personal;return total>0?Math.round(corporate/total*100):0})(),jsxRuntimeExports.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:"%"})]})]}),jsxRuntimeExports.jsx(Separator,{orientation:"vertical",className:"mx-2 h-10 w-px"}),jsxRuntimeExports.jsxs("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[jsxRuntimeExports.jsx("div",{className:"w-3 h-3 rounded-sm bg-purple-500"}),"Personal"]}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 text-2xl font-bold tabular-nums leading-none",children:[(()=>{const corporate=reportData.TenantInfo?.DeviceOverview?.DeviceOwnership?.corporateCount,personal=reportData.TenantInfo?.DeviceOverview?.DeviceOwnership?.personalCount,total=corporate+personal;return total>0?Math.round(personal/total*100):0})(),jsxRuntimeExports.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:"%"})]})]})]})})]}),reportData.TenantInfo?.DeviceOverview?.DesktopDevicesSummary?.nodes&&reportData.TenantInfo.DeviceOverview.DesktopDevicesSummary.nodes.length>0&&jsxRuntimeExports.jsxs(Card,{className:"w-full lg:col-span-3",children:[jsxRuntimeExports.jsxs(CardHeader,{className:"space-y-0 pb-2 flex-row",children:[jsxRuntimeExports.jsx(Monitor,{className:"pr-2 size-8"}),jsxRuntimeExports.jsx(CardTitle,{className:"text-2xl tabular-nums",children:"Desktop devices"})]}),jsxRuntimeExports.jsx(CardContent,{children:jsxRuntimeExports.jsx(ChartContainer,{config:{steps:{label:"Steps",color:"hsl(var(--chart-1))"}},className:"h-[350px] w-full",children:reportData.TenantInfo?.DeviceOverview?.DesktopDevicesSummary?.nodes?jsxRuntimeExports.jsx(DesktopDevicesSankey,{data:reportData.TenantInfo.DeviceOverview.DesktopDevicesSummary.nodes}):jsxRuntimeExports.jsx("div",{className:"flex items-center justify-center h-32 text-muted-foreground",children:"No data available"})})}),jsxRuntimeExports.jsx(CardFooter,{className:"flex flex-row border-t p-4",children:jsxRuntimeExports.jsxs("div",{className:"flex w-full items-center gap-2",children:[jsxRuntimeExports.jsxs("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsx("div",{className:"text-xs text-muted-foreground",children:"Entra joined"}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 text-2xl font-bold tabular-nums leading-none",children:[(()=>{const nodes=reportData.TenantInfo?.DeviceOverview?.DesktopDevicesSummary?.nodes||[],entraJoined=nodes.find(n2=>n2.target==="Entra joined")?.value||0,windowsDevices=nodes.find(n2=>n2.source==="Desktop devices"&&n2.target==="Windows")?.value||0,macOSDevices=nodes.find(n2=>n2.source==="Desktop devices"&&n2.target==="macOS")?.value||0,total=windowsDevices+macOSDevices;return Math.round(entraJoined/(total||1)*100)})(),jsxRuntimeExports.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:"%"})]})]}),jsxRuntimeExports.jsx(Separator,{orientation:"vertical",className:"mx-2 h-10 w-px"}),jsxRuntimeExports.jsxs("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsx("div",{className:"text-xs text-muted-foreground",children:"Entra hybrid joined"}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 text-2xl font-bold tabular-nums leading-none",children:[(()=>{const nodes=reportData.TenantInfo?.DeviceOverview?.DesktopDevicesSummary?.nodes||[],entraHybrid=nodes.find(n2=>n2.target==="Entra hybrid joined")?.value||0,windowsDevices=nodes.find(n2=>n2.source==="Desktop devices"&&n2.target==="Windows")?.value||0,macOSDevices=nodes.find(n2=>n2.source==="Desktop devices"&&n2.target==="macOS")?.value||0,total=windowsDevices+macOSDevices;return Math.round(entraHybrid/(total||1)*100)})(),jsxRuntimeExports.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:"%"})]})]}),jsxRuntimeExports.jsx(Separator,{orientation:"vertical",className:"mx-2 h-10 w-px"}),jsxRuntimeExports.jsxs("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsx("div",{className:"text-xs text-muted-foreground",children:"Entra registered"}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 text-2xl font-bold tabular-nums leading-none",children:[(()=>{const nodes=reportData.TenantInfo?.DeviceOverview?.DesktopDevicesSummary?.nodes||[],entraRegistered=nodes.find(n2=>n2.target==="Entra registered")?.value||0,windowsDevices=nodes.find(n2=>n2.source==="Desktop devices"&&n2.target==="Windows")?.value||0,macOSDevices=nodes.find(n2=>n2.source==="Desktop devices"&&n2.target==="macOS")?.value||0,total=windowsDevices+macOSDevices;return Math.round(entraRegistered/(total||1)*100)})(),jsxRuntimeExports.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:"%"})]})]})]})})]}),reportData.TenantInfo?.DeviceOverview?.MobileSummary?.nodes&&reportData.TenantInfo?.DeviceOverview?.ManagedDevices&&jsxRuntimeExports.jsxs(Card,{className:"w-full lg:col-span-3",children:[jsxRuntimeExports.jsxs(CardHeader,{className:"space-y-0 pb-2 flex-row",children:[jsxRuntimeExports.jsx(MonitorSmartphone,{className:"pr-2 size-8"}),jsxRuntimeExports.jsx(CardTitle,{className:"text-2xl tabular-nums",children:"Mobile devices"})]}),jsxRuntimeExports.jsx(CardContent,{children:jsxRuntimeExports.jsx(ChartContainer,{config:{steps:{label:"Steps",color:"hsl(var(--chart-1))"}},className:"h-[350px] w-full",children:reportData.TenantInfo?.DeviceOverview?.MobileSummary?.nodes?jsxRuntimeExports.jsx(MobileSankey,{data:reportData.TenantInfo.DeviceOverview.MobileSummary.nodes}):jsxRuntimeExports.jsx("div",{className:"flex items-center justify-center h-32 text-muted-foreground",children:"No data available"})})}),jsxRuntimeExports.jsx(CardFooter,{className:"flex flex-row border-t p-4",children:jsxRuntimeExports.jsxs("div",{className:"flex w-full items-center gap-2",children:[jsxRuntimeExports.jsxs("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsx("div",{className:"text-xs text-muted-foreground",children:"Android compliant"}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 text-2xl font-bold tabular-nums leading-none",children:[(()=>{const nodes=reportData.TenantInfo?.DeviceOverview?.MobileSummary?.nodes||[],androidCompliant=nodes.filter(n2=>n2.source?.includes("Android")&&n2.target==="Compliant").reduce((sum2,n2)=>sum2+(n2.value||0),0),androidTotal=nodes.find(n2=>n2.source==="Mobile devices"&&n2.target==="Android")?.value||0;return androidTotal>0?Math.round(androidCompliant/androidTotal*100):0})(),jsxRuntimeExports.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:"%"})]})]}),jsxRuntimeExports.jsx(Separator,{orientation:"vertical",className:"mx-2 h-10 w-px"}),jsxRuntimeExports.jsxs("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsx("div",{className:"text-xs text-muted-foreground",children:"iOS compliant"}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 text-2xl font-bold tabular-nums leading-none",children:[(()=>{const nodes=reportData.TenantInfo?.DeviceOverview?.MobileSummary?.nodes||[],iosCompliant=nodes.filter(n2=>n2.source?.includes("iOS")&&n2.target==="Compliant").reduce((sum2,n2)=>sum2+(n2.value||0),0),iosTotal=nodes.find(n2=>n2.source==="Mobile devices"&&n2.target==="iOS")?.value||0;return iosTotal>0?Math.round(iosCompliant/iosTotal*100):0})(),jsxRuntimeExports.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:"%"})]})]}),jsxRuntimeExports.jsx(Separator,{orientation:"vertical",className:"mx-2 h-10 w-px"}),jsxRuntimeExports.jsxs("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsx("div",{className:"text-xs text-muted-foreground",children:"Total devices"}),jsxRuntimeExports.jsx("div",{className:"flex items-baseline gap-1 text-2xl font-bold tabular-nums leading-none",children:(()=>{const nodes=reportData.TenantInfo?.DeviceOverview?.MobileSummary?.nodes||[],androidTotal=nodes.find(n2=>n2.source==="Mobile devices"&&n2.target==="Android")?.value||0,iosTotal=nodes.find(n2=>n2.source==="Mobile devices"&&n2.target==="iOS")?.value||0;return androidTotal+iosTotal})()})]})]})})]})]})})]})}__name(Dashboard,"Dashboard");var E=typeof window>"u",m=E?React.useEffect:React.useLayoutEffect,B=0,_=__name(()=>++B,"_"),v=!1;function O(){let[n2,r2]=React.useState(v?_:void 0);return m(()=>{n2===void 0&&r2(_()),v=!0},[]),n2===void 0?n2:`rwb-${n2.toString(32)}`}__name(O,"O");function R(){return React.useMemo(()=>"useId"in React?React.useId:O,[])()}__name(R,"R");var y="__wrap_b",f="__wrap_n",S="__wrap_o",T=__name((n2,r2,e3)=>{e3=e3||document.querySelector(`[data-br="${n2}"]`);let t2=e3?.parentElement;if(!t2)return;let l2=__name(u2=>e3.style.maxWidth=u2+"px","l");e3.style.maxWidth="";let i2=t2.clientWidth,d=t2.clientHeight,o2=i2/2-.25,s2=i2+.5,c2;if(i2){for(l2(o2),o2=Math.max(e3.scrollWidth,o2);o2+1{self.__wrap_b(0,+e3.dataset.brr,e3)})).observe(t2)},"T"),I=T.toString(),w='(self.CSS&&CSS.supports("text-wrap","balance")?1:2)',g=__name((n2,r2,e3="")=>(e3&&(e3=`self.${f}!=1&&${e3}`),React.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:(n2?"":`self.${f}=self.${f}||${w};self.${y}=${I};`)+e3},nonce:r2})),"g"),h$1=React.createContext({preferNative:!0,hasProvider:!1});React.forwardRef(({ratio:n2=1,preferNative:r2,nonce:e3,children:t2,as:l2,...i2},d)=>{let o2=R(),s2=React.useRef(),c2=React.useContext(h$1),u2=r2??c2.preferNative,x2=l2||"span";return React.useImperativeHandle(d,()=>s2.current,[]),m(()=>{u2&&self[f]===1||s2.current&&(self[y]=T)(0,n2,s2.current)},[t2,u2,n2]),m(()=>{if(!(u2&&self[f]===1))return()=>{if(!s2.current)return;let b2=s2.current[S];b2&&(b2.disconnect(),delete s2.current[S])}},[u2]),React.createElement(React.Fragment,null,React.createElement(x2,{...i2,"data-br":o2,"data-brr":n2,ref:s2,style:{display:"inline-block",verticalAlign:"top",textDecoration:"inherit",textWrap:u2?"balance":"initial"},suppressHydrationWarning:!0},t2),g(c2.hasProvider,e3,`self.${y}("${o2}",${n2})`))});function PageHeader({className,children:children2,...props}){return jsxRuntimeExports.jsx("section",{className:cn$2("pt-6 pb-4 flex items-center justify-between space-y-2",className),...props,children:children2})}__name(PageHeader,"PageHeader");function PageHeaderHeading({className,...props}){return jsxRuntimeExports.jsx("h1",{className:cn$2("text-3xl font-semibold tracking-tight my-1",className),...props})}__name(PageHeaderHeading,"PageHeaderHeading");function functionalUpdate(updater,input){return typeof updater=="function"?updater(input):updater}__name(functionalUpdate,"functionalUpdate");function makeStateUpdater(key,instance){return updater=>{instance.setState(old=>({...old,[key]:functionalUpdate(updater,old[key])}))}}__name(makeStateUpdater,"makeStateUpdater");function isFunction(d){return d instanceof Function}__name(isFunction,"isFunction");function isNumberArray(d){return Array.isArray(d)&&d.every(val=>typeof val=="number")}__name(isNumberArray,"isNumberArray");function flattenBy(arr,getChildren){const flat=[],recurse=__name(subArr=>{subArr.forEach(item=>{flat.push(item);const children2=getChildren(item);children2!=null&&children2.length&&recurse(children2)})},"recurse");return recurse(arr),flat}__name(flattenBy,"flattenBy");function memo(getDeps,fn2,opts){let deps=[],result;return depArgs=>{let depTime;opts.key&&opts.debug&&(depTime=Date.now());const newDeps=getDeps(depArgs);if(!(newDeps.length!==deps.length||newDeps.some((dep,index2)=>deps[index2]!==dep)))return result;deps=newDeps;let resultTime;if(opts.key&&opts.debug&&(resultTime=Date.now()),result=fn2(...newDeps),opts==null||opts.onChange==null||opts.onChange(result),opts.key&&opts.debug&&opts!=null&&opts.debug()){const depEndTime=Math.round((Date.now()-depTime)*100)/100,resultEndTime=Math.round((Date.now()-resultTime)*100)/100,resultFpsPercentage=resultEndTime/16,pad2=__name((str,num)=>{for(str=String(str);str.length[id(d,i2,nodes2),d]));for(const[i2,link2]of links2.entries()){link2.index=i2;let{source,target}=link2;typeof source!="object"&&(source=link2.source=find$1(nodeById,source)),typeof target!="object"&&(target=link2.target=find$1(nodeById,target)),source.sourceLinks.push(link2),target.targetLinks.push(link2)}if(linkSort!=null)for(const{sourceLinks,targetLinks}of nodes2)sourceLinks.sort(linkSort),targetLinks.sort(linkSort)}__name(computeNodeLinks,"computeNodeLinks");function computeNodeValues({nodes:nodes2}){for(const node2 of nodes2)node2.value=node2.fixedValue===void 0?Math.max(sum$1(node2.sourceLinks,value),sum$1(node2.targetLinks,value)):node2.fixedValue}__name(computeNodeValues,"computeNodeValues");function computeNodeDepths({nodes:nodes2}){const n2=nodes2.length;let current=new Set(nodes2),next2=new Set,x2=0;for(;current.size;){for(const node2 of current){node2.depth=x2;for(const{target}of node2.sourceLinks)next2.add(target)}if(++x2>n2)throw new Error("circular link");current=next2,next2=new Set}}__name(computeNodeDepths,"computeNodeDepths");function computeNodeHeights({nodes:nodes2}){const n2=nodes2.length;let current=new Set(nodes2),next2=new Set,x2=0;for(;current.size;){for(const node2 of current){node2.height=x2;for(const{source}of node2.targetLinks)next2.add(source)}if(++x2>n2)throw new Error("circular link");current=next2,next2=new Set}}__name(computeNodeHeights,"computeNodeHeights");function computeNodeLayers({nodes:nodes2}){const x2=max$2(nodes2,d=>d.depth)+1,kx2=(x1-x0-dx)/(x2-1),columns2=new Array(x2);for(const node2 of nodes2){const i2=Math.max(0,Math.min(x2-1,Math.floor(align.call(null,node2,x2))));node2.layer=i2,node2.x0=x0+i2*kx2,node2.x1=node2.x0+dx,columns2[i2]?columns2[i2].push(node2):columns2[i2]=[node2]}if(sort)for(const column of columns2)column.sort(sort);return columns2}__name(computeNodeLayers,"computeNodeLayers");function initializeNodeBreadths(columns2){const ky2=min$2(columns2,c2=>(y1-y0-(c2.length-1)*py)/sum$1(c2,value));for(const nodes2 of columns2){let y2=y0;for(const node2 of nodes2){node2.y0=y2,node2.y1=y2+node2.value*ky2,y2=node2.y1+py;for(const link2 of node2.sourceLinks)link2.width=link2.value*ky2}y2=(y1-y2+py)/(nodes2.length+1);for(let i2=0;i2c2.length)-1)),initializeNodeBreadths(columns2);for(let i2=0;i20))continue;let dy2=(y2/w2-target.y0)*alpha3;target.y0+=dy2,target.y1+=dy2,reorderNodeLinks(target)}sort===void 0&&column.sort(ascendingBreadth),resolveCollisions(column,beta)}}__name(relaxLeftToRight,"relaxLeftToRight");function relaxRightToLeft(columns2,alpha3,beta){for(let n2=columns2.length,i2=n2-2;i2>=0;--i2){const column=columns2[i2];for(const source of column){let y2=0,w2=0;for(const{target,value:value2}of source.sourceLinks){let v2=value2*(target.layer-source.layer);y2+=sourceTop(source,target)*v2,w2+=v2}if(!(w2>0))continue;let dy2=(y2/w2-source.y0)*alpha3;source.y0+=dy2,source.y1+=dy2,reorderNodeLinks(source)}sort===void 0&&column.sort(ascendingBreadth),resolveCollisions(column,beta)}}__name(relaxRightToLeft,"relaxRightToLeft");function resolveCollisions(nodes2,alpha3){const i2=nodes2.length>>1,subject=nodes2[i2];resolveCollisionsBottomToTop(nodes2,subject.y0-py,i2-1,alpha3),resolveCollisionsTopToBottom(nodes2,subject.y1+py,i2+1,alpha3),resolveCollisionsBottomToTop(nodes2,y1,nodes2.length-1,alpha3),resolveCollisionsTopToBottom(nodes2,y0,0,alpha3)}__name(resolveCollisions,"resolveCollisions");function resolveCollisionsTopToBottom(nodes2,y2,i2,alpha3){for(;i21e-6&&(node2.y0+=dy2,node2.y1+=dy2),y2=node2.y1+py}}__name(resolveCollisionsTopToBottom,"resolveCollisionsTopToBottom");function resolveCollisionsBottomToTop(nodes2,y2,i2,alpha3){for(;i2>=0;--i2){const node2=nodes2[i2],dy2=(node2.y1-y2)*alpha3;dy2>1e-6&&(node2.y0-=dy2,node2.y1-=dy2),y2=node2.y0-py}}__name(resolveCollisionsBottomToTop,"resolveCollisionsBottomToTop");function reorderNodeLinks({sourceLinks,targetLinks}){if(linkSort===void 0){for(const{source:{sourceLinks:sourceLinks2}}of targetLinks)sourceLinks2.sort(ascendingTargetBreadth);for(const{target:{targetLinks:targetLinks2}}of sourceLinks)targetLinks2.sort(ascendingSourceBreadth)}}__name(reorderNodeLinks,"reorderNodeLinks");function reorderLinks(nodes2){if(linkSort===void 0)for(const{sourceLinks,targetLinks}of nodes2)sourceLinks.sort(ascendingTargetBreadth),targetLinks.sort(ascendingSourceBreadth)}__name(reorderLinks,"reorderLinks");function targetTop(source,target){let y2=source.y0-(source.sourceLinks.length-1)*py/2;for(const{target:node2,width}of source.sourceLinks){if(node2===target)break;y2+=width+py}for(const{source:node2,width}of target.targetLinks){if(node2===source)break;y2-=width}return y2}__name(targetTop,"targetTop");function sourceTop(source,target){let y2=target.y0-(target.targetLinks.length-1)*py/2;for(const{source:node2,width}of target.targetLinks){if(node2===source)break;y2+=width+py}for(const{target:node2,width}of source.sourceLinks){if(node2===target)break;y2-=width}return y2}return __name(sourceTop,"sourceTop"),sankey}__name(Sankey,"Sankey");var cloneDeep_1,hasRequiredCloneDeep;function requireCloneDeep(){if(hasRequiredCloneDeep)return cloneDeep_1;hasRequiredCloneDeep=1;var baseClone=require_baseClone(),CLONE_DEEP_FLAG=1,CLONE_SYMBOLS_FLAG=4;function cloneDeep(value2){return baseClone(value2,CLONE_DEEP_FLAG|CLONE_SYMBOLS_FLAG)}return __name(cloneDeep,"cloneDeep"),cloneDeep_1=cloneDeep,cloneDeep_1}__name(requireCloneDeep,"requireCloneDeep");var cloneDeepExports=requireCloneDeep();const w$1=getDefaultExportFromCjs(cloneDeepExports);function S$1(){return S$1=Object.assign?Object.assign.bind():function(e3){for(var o2=1;o2 ",jsxRuntimeExports.jsx("strong",{children:o2.target.label}),jsxRuntimeExports.jsx(g$1,{color:o2.target.color,style:z.targetChip}),jsxRuntimeExports.jsx("strong",{children:o2.formattedValue})]})})},"linkTooltip"),legends:[],layers:["links","nodes","labels","legends"],role:"img",animate:!0,motionConfig:"gentle"},V=__name(function(e3){return e3.id},"V"),A=__name(function(n2){var t2=n2.data,i2=n2.valueFormat,r2=n2.layout,c2=n2.width,s2=n2.height,u2=n2.sort,h2=n2.align,v2=n2.colors,p2=n2.nodeThickness,g2=n2.nodeSpacing,f2=n2.nodeInnerPadding,y2=n2.nodeBorderColor,m2=n2.label,k2=n2.labelTextColor,C2=reactExports.useState(null),x2=C2[0],O2=C2[1],L2=reactExports.useState(null),M2=L2[0],T2=L2[1],H=reactExports.useMemo((function(){if(u2!=="auto")return u2==="input"?null:u2==="ascending"?function(e3,o2){return e3.value-o2.value}:u2==="descending"?function(e3,o2){return o2.value-e3.value}:u2}),[u2]),P2=u2==="input"?null:void 0,W2=reactExports.useMemo((function(){return typeof h2=="function"?h2:j(h2)}),[h2]),N2=zt(),F2=pr(v2,"id"),R2=Xe(y2,N2),S2=Wn(m2),z2=Xe(k2,N2),E2=Ot(i2),G=reactExports.useMemo((function(){return(function(e3){var o2=e3.data,n3=e3.formatValue,t3=e3.layout,i3=e3.alignFunction,r3=e3.sortFunction,l2=e3.linkSortMode,a2=e3.nodeThickness,d=e3.nodeSpacing,c3=e3.nodeInnerPadding,s3=e3.width,u3=e3.height,h3=e3.getColor,v3=e3.getLabel,p3=Sankey().nodeAlign(i3).nodeSort(r3).linkSort(l2).nodeWidth(a2).nodePadding(d).size(t3==="horizontal"?[s3,u3]:[u3,s3]).nodeId(V),g3=w$1(o2);return p3(g3),g3.nodes.forEach((function(e4){if(e4.color=h3(e4),e4.label=v3(e4),e4.formattedValue=n3(e4.value),t3==="horizontal")e4.x=e4.x0+c3,e4.y=e4.y0,e4.width=Math.max(e4.x1-e4.x0-2*c3,0),e4.height=Math.max(e4.y1-e4.y0,0);else{e4.x=e4.y0,e4.y=e4.x0+c3,e4.width=Math.max(e4.y1-e4.y0,0),e4.height=Math.max(e4.x1-e4.x0-2*c3,0);var o3=e4.x0,i4=e4.x1;e4.x0=e4.y0,e4.x1=e4.y1,e4.y0=o3,e4.y1=i4}})),g3.links.forEach((function(e4){e4.formattedValue=n3(e4.value),e4.color=e4.source.color,e4.pos0=e4.y0,e4.pos1=e4.y1,e4.thickness=e4.width,delete e4.y0,delete e4.y1,delete e4.width})),g3})({data:t2,formatValue:E2,layout:r2,alignFunction:W2,sortFunction:H,linkSortMode:P2,nodeThickness:p2,nodeSpacing:g2,nodeInnerPadding:f2,width:c2,height:s2,getColor:F2,getLabel:S2})}),[t2,E2,r2,W2,H,P2,p2,g2,f2,c2,s2,F2,S2]),D2=G.nodes,A2=G.links,Z2=reactExports.useMemo((function(){return D2.map((function(e3){return{id:e3.id,label:e3.label,color:e3.color}}))}),[D2]);return{nodes:D2,links:A2,legendData:Z2,getNodeBorderColor:R2,currentNode:x2,setCurrentNode:O2,currentLink:M2,setCurrentLink:T2,getLabelTextColor:z2}},"A"),Z=__name(function(e3){var o2=e3.node,i2=e3.x,r2=e3.y,l2=e3.width,a2=e3.height,d=e3.color,s2=e3.opacity,u2=e3.borderWidth,h2=e3.borderColor,v2=e3.borderRadius,p2=e3.setCurrent,g2=e3.isInteractive,f2=e3.onClick,y2=e3.tooltip,m2=Ur(),k2=m2.animate,b2=m2.config,C2=useSpring({x:i2,y:r2,width:l2,height:a2,opacity:s2,color:d,config:b2,immediate:!k2}),x2=k$2(),M2=x2.showTooltipFromEvent,T2=x2.hideTooltip,w2=reactExports.useCallback((function(e4){p2(o2),M2(reactExports.createElement(y2,{node:o2}),e4,"left")}),[p2,o2,M2,y2]),B2=reactExports.useCallback((function(e4){M2(reactExports.createElement(y2,{node:o2}),e4,"left")}),[M2,o2,y2]),I2=reactExports.useCallback((function(){p2(null),T2()}),[p2,T2]),W2=reactExports.useCallback((function(e4){f2?.(o2,e4)}),[f2,o2]);return jsxRuntimeExports.jsx(animated.rect,{x:C2.x,y:C2.y,rx:v2,ry:v2,width:C2.width.to((function(e4){return Math.max(e4,0)})),height:C2.height.to((function(e4){return Math.max(e4,0)})),fill:C2.color,fillOpacity:C2.opacity,strokeWidth:u2,stroke:h2,strokeOpacity:s2,onMouseEnter:g2?w2:void 0,onMouseMove:g2?B2:void 0,onMouseLeave:g2?I2:void 0,onClick:g2?W2:void 0})},"Z"),q=__name(function(e3){var o2=e3.nodes,n2=e3.nodeOpacity,t2=e3.nodeHoverOpacity,i2=e3.nodeHoverOthersOpacity,r2=e3.borderWidth,l2=e3.getBorderColor,a2=e3.borderRadius,d=e3.setCurrentNode,c2=e3.currentNode,s2=e3.currentLink,u2=e3.isCurrentNode,h2=e3.isInteractive,v2=e3.onClick,p2=e3.tooltip,g2=__name(function(e4){return c2||s2?u2(e4)?t2:i2:n2},"g");return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:o2.map((function(e4){return jsxRuntimeExports.jsx(Z,{node:e4,x:e4.x,y:e4.y,width:e4.width,height:e4.height,color:e4.color,opacity:g2(e4),borderWidth:r2,borderColor:l2(e4),borderRadius:a2,setCurrent:d,isInteractive:h2,onClick:v2,tooltip:p2},e4.id)}))})},"q"),U=__name(function(e3){var o2=e3.id,n2=e3.layout,t2=e3.startColor,i2=e3.endColor;return jsxRuntimeExports.jsxs("linearGradient",S$1({id:o2,spreadMethod:"pad"},n2==="horizontal"?{x1:"0%",x2:"100%",y1:"0%",y2:"0%"}:{x1:"0%",x2:"0%",y1:"0%",y2:"100%"},{children:[jsxRuntimeExports.jsx("stop",{offset:"0%",stopColor:t2}),jsxRuntimeExports.jsx("stop",{offset:"100%",stopColor:i2})]}))},"U"),J=__name(function(e3){var o2=e3.link,i2=e3.layout,r2=e3.path,l2=e3.color,a2=e3.opacity,d=e3.blendMode,u2=e3.enableGradient,h2=e3.setCurrent,v2=e3.tooltip,p2=e3.isInteractive,g2=e3.onClick,f2=o2.source.id+"."+o2.target.id+"."+o2.index,y2=Ur(),m2=y2.animate,k2=y2.config,b2=Fr(r2),C2=useSpring({color:l2,opacity:a2,config:k2,immediate:!m2}),x2=k$2(),w2=x2.showTooltipFromEvent,B2=x2.hideTooltip,I2=reactExports.useCallback((function(e4){h2(o2),w2(reactExports.createElement(v2,{link:o2}),e4,"left")}),[h2,o2,w2,v2]),W2=reactExports.useCallback((function(e4){w2(reactExports.createElement(v2,{link:o2}),e4,"left")}),[w2,o2,v2]),N2=reactExports.useCallback((function(){h2(null),B2()}),[h2,B2]),F2=reactExports.useCallback((function(e4){g2?.(o2,e4)}),[g2,o2]);return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[u2&&jsxRuntimeExports.jsx(U,{id:f2,layout:i2,startColor:o2.startColor||o2.source.color,endColor:o2.endColor||o2.target.color}),jsxRuntimeExports.jsx(animated.path,{fill:u2?'url("#'+encodeURI(f2)+'")':C2.color,d:b2,fillOpacity:C2.opacity,onMouseEnter:p2?I2:void 0,onMouseMove:p2?W2:void 0,onMouseLeave:p2?N2:void 0,onClick:p2?F2:void 0,style:{mixBlendMode:d}})]})},"J"),K=__name(function(e3){var n2=e3.links,t2=e3.layout,i2=e3.linkOpacity,r2=e3.linkHoverOpacity,l2=e3.linkHoverOthersOpacity,a2=e3.linkContract,d=e3.linkBlendMode,c2=e3.enableLinkGradient,s2=e3.setCurrentLink,u2=e3.currentLink,h2=e3.currentNode,v2=e3.isCurrentLink,p2=e3.isInteractive,g2=e3.onClick,f2=e3.tooltip,y2=__name(function(e4){return h2||u2?v2(e4)?r2:l2:i2},"y"),m2=reactExports.useMemo((function(){return t2==="horizontal"?(e4=N$2().curve(monotoneX),function(o2,n3){var t3=Math.max(1,o2.thickness-2*n3)/2,i3=.12*(o2.target.x0-o2.source.x1),r3=[[o2.source.x1,o2.pos0-t3],[o2.source.x1+i3,o2.pos0-t3],[o2.target.x0-i3,o2.pos1-t3],[o2.target.x0,o2.pos1-t3],[o2.target.x0,o2.pos1+t3],[o2.target.x0-i3,o2.pos1+t3],[o2.source.x1+i3,o2.pos0+t3],[o2.source.x1,o2.pos0+t3],[o2.source.x1,o2.pos0-t3]];return e4(r3)+"Z"}):(function(){var e6=N$2().curve(monotoneY);return function(o2,n3){var t3=Math.max(1,o2.thickness-2*n3)/2,i3=.12*(o2.target.y0-o2.source.y1),r3=[[o2.pos0+t3,o2.source.y1],[o2.pos0+t3,o2.source.y1+i3],[o2.pos1+t3,o2.target.y0-i3],[o2.pos1+t3,o2.target.y0],[o2.pos1-t3,o2.target.y0],[o2.pos1-t3,o2.target.y0-i3],[o2.pos0-t3,o2.source.y1+i3],[o2.pos0-t3,o2.source.y1],[o2.pos0+t3,o2.source.y1]];return e6(r3)+"Z"}})();var e4}),[t2]);return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:n2.map((function(e4){return jsxRuntimeExports.jsx(J,{link:e4,layout:t2,path:m2(e4,a2),color:e4.color,opacity:y2(e4),blendMode:d,enableGradient:c2,setCurrent:s2,isInteractive:p2,onClick:g2,tooltip:f2},e4.source.id+"."+e4.target.id+"."+e4.index)}))})},"K"),Q=__name(function(e3){var o2=e3.nodes,n2=e3.layout,t2=e3.width,i2=e3.height,r2=e3.labelPosition,a2=e3.labelPadding,d=e3.labelOrientation,s2=e3.getLabelTextColor,u2=zt(),h2=d==="vertical"?-90:0,v2=o2.map((function(e4){var o3,l2,c2;return n2==="horizontal"?(l2=e4.y+e4.height/2,e4.x=0||(i3[n3]=e4[n3]);return i3})(e3,X);return jsxRuntimeExports.jsx(St,{animate:i2,isInteractive:n2,motionConfig:l2,renderWrapper:d,theme:a2,children:jsxRuntimeExports.jsx(Y,S$1({isInteractive:n2},c2))})},"$$1"),_$1=__name(function(e3){return jsxRuntimeExports.jsx(It,{children:__name(function(o2){var n2=o2.width,t2=o2.height;return jsxRuntimeExports.jsx($$1,S$1({width:n2,height:t2},e3))},"children")})},"_$1");const ZtResponsiveSankey=__name(({isDark,data})=>{const connectedNodeIds=new Set;for(const link2 of data.links)connectedNodeIds.add(link2.source),connectedNodeIds.add(link2.target);const filteredData={nodes:data.nodes.filter(node2=>connectedNodeIds.has(node2.id)),links:data.links},theme={tooltip:{container:{background:isDark?"rgba(33, 33, 33, 0.95)":"rgba(255, 255, 255, 0.95)",color:isDark?"#ffffff":"#000000",border:isDark?"1px solid #555":"1px solid #ccc",borderRadius:"4px",boxShadow:"0 2px 8px rgba(0, 0, 0, 0.15)",fontSize:"12px",padding:"8px 12px"}},labels:{text:{fontSize:12}}};return jsxRuntimeExports.jsx("div",{className:`h-full w-full ${isDark?"sankey-dark-mode":"sankey-light-mode"}`,children:jsxRuntimeExports.jsx(_$1,{data:filteredData,theme,margin:{top:10,right:10,bottom:10,left:10},align:"justify",colors:__name(node2=>node2.nodeColor,"colors"),nodeOpacity:1,nodeHoverOthersOpacity:.35,nodeThickness:18,nodeSpacing:24,nodeBorderWidth:0,nodeBorderColor:{from:"color",modifiers:[["darker",.8]]},nodeBorderRadius:3,linkOpacity:.5,linkHoverOthersOpacity:.1,linkContract:3,linkBlendMode:isDark?"lighten":"multiply",enableLinkGradient:!0,labelPosition:"inside",labelOrientation:"horizontal",labelPadding:16,labelTextColor:isDark?"#ffffff":"#000000",sort:"input",legends:[],valueFormat:__name(value2=>`${value2}`,"valueFormat")})})},"ZtResponsiveSankey"),CaSankey=__name(({data})=>{const theme=reactExports.useContext(ThemeProviderContext),filteredData=data.filter(link2=>link2.value!=null&&link2.value>0);return jsxRuntimeExports.jsx(ZtResponsiveSankey,{isDark:!!(theme.theme==="dark"||theme.theme==="system"&&window.matchMedia("(prefers-color-scheme: dark)").matches),data:{nodes:[{id:"User sign in",nodeColor:"hsl(28, 100%, 53%)"},{id:"No CA applied",nodeColor:"hsl(0, 100%, 50%)"},{id:"CA applied",nodeColor:"hsl(12, 76%, 61%)"},{id:"No MFA",nodeColor:"hsl(0, 69%, 50%)"},{id:"MFA",nodeColor:"hsl(99, 70%, 50%)"}],links:filteredData}})},"CaSankey"),CaDeviceSankey=__name(({data})=>{const theme=reactExports.useContext(ThemeProviderContext),filteredData=data.filter(link2=>link2.value!=null&&link2.value>0);return jsxRuntimeExports.jsx(ZtResponsiveSankey,{isDark:!!(theme.theme==="dark"||theme.theme==="system"&&window.matchMedia("(prefers-color-scheme: dark)").matches),data:{nodes:[{id:"User sign in",nodeColor:"hsl(28, 100%, 53%)"},{id:"Unmanaged",nodeColor:"hsl(0, 100%, 50%)"},{id:"Managed",nodeColor:"hsl(12, 76%, 61%)"},{id:"Non-compliant",nodeColor:"hsl(0, 100%, 50%)"},{id:"Compliant",nodeColor:"hsl(99, 70%, 50%)"}],links:filteredData}})},"CaDeviceSankey"),AuthMethodSankey=__name(({data})=>{const theme=reactExports.useContext(ThemeProviderContext),filteredData=data.filter(link2=>link2.value!=null&&link2.value>0);return jsxRuntimeExports.jsx(ZtResponsiveSankey,{isDark:!!(theme.theme==="dark"||theme.theme==="system"&&window.matchMedia("(prefers-color-scheme: dark)").matches),data:{nodes:[{id:"Users",nodeColor:"hsl(28, 100%, 53%)"},{id:"Single factor",nodeColor:"hsl(0, 100%, 50%)"},{id:"Phishable",nodeColor:"hsl(12, 76%, 61%)"},{id:"Phone",nodeColor:"hsl(12, 76%, 61%)"},{id:"Authenticator",nodeColor:"hsl(12, 76%, 61%)"},{id:"Phish resistant",nodeColor:"hsl(99, 70%, 50%)"},{id:"Passkey",nodeColor:"hsl(99, 70%, 50%)"},{id:"WHfB",nodeColor:"hsl(99, 70%, 50%)"}],links:filteredData}})},"AuthMethodSankey"),DesktopDevicesSankey=__name(({data})=>{const theme=reactExports.useContext(ThemeProviderContext),filteredData=data.filter(link2=>link2.value!=null&&link2.value>0);return jsxRuntimeExports.jsx(ZtResponsiveSankey,{isDark:!!(theme.theme==="dark"||theme.theme==="system"&&window.matchMedia("(prefers-color-scheme: dark)").matches),data:{nodes:[{id:"Desktop devices",nodeColor:"hsl(28, 100%, 53%)"},{id:"Windows",nodeColor:"hsl(35, 100%, 50%)"},{id:"macOS",nodeColor:"hsl(200, 100%, 50%)"},{id:"Entra joined",nodeColor:"hsl(12, 76%, 61%)"},{id:"Entra registered",nodeColor:"hsl(12, 76%, 61%)"},{id:"Entra hybrid joined",nodeColor:"hsl(12, 76%, 61%)"},{id:"Compliant",nodeColor:"hsl(99, 70%, 50%)"},{id:"Non-compliant",nodeColor:"hsl(0, 100%, 50%)"},{id:"Unmanaged",nodeColor:"hsl(220, 10%, 60%)"}],links:filteredData}})},"DesktopDevicesSankey"),MobileSankey=__name(({data})=>{const theme=reactExports.useContext(ThemeProviderContext),filteredData=data.filter(link2=>link2.value!=null&&link2.value>0);return jsxRuntimeExports.jsx(ZtResponsiveSankey,{isDark:!!(theme.theme==="dark"||theme.theme==="system"&&window.matchMedia("(prefers-color-scheme: dark)").matches),data:{nodes:[{id:"Mobile devices",nodeColor:"hsl(28, 100%, 53%)"},{id:"Android",nodeColor:"hsl(35, 100%, 50%)"},{id:"iOS",nodeColor:"hsl(210, 100%, 50%)"},{id:"Android (Company)",nodeColor:"hsl(30, 100%, 45%)"},{id:"Android (Personal)",nodeColor:"hsl(40, 100%, 55%)"},{id:"iOS (Company)",nodeColor:"hsl(210, 100%, 45%)"},{id:"iOS (Personal)",nodeColor:"hsl(210, 100%, 55%)"},{id:"Compliant",nodeColor:"hsl(99, 70%, 50%)"},{id:"Non-compliant",nodeColor:"hsl(0, 100%, 50%)"}],links:filteredData}})},"MobileSankey"),badgeVariants=cva("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground",warning:"border-transparent bg-amber-100 text-amber-800 hover:bg-amber-200 dark:bg-amber-900 dark:text-amber-200",success:"border-transparent bg-green-600 text-white hover:bg-green-700 dark:bg-green-700 dark:text-green-100"}},defaultVariants:{variant:"default"}});function Badge({className,variant,...props}){return jsxRuntimeExports.jsx("div",{className:cn$2(badgeVariants({variant}),className),...props})}__name(Badge,"Badge");const DEFENSE_LAYERS=[{id:1,name:"Context-aware network security",shortName:`Context-aware +network security`,specIds:["25406","25407","25410"]},{id:2,name:"TLS inspection, WCF, & TI filtering",shortName:`Web content and +threat intelligence filtering`,specIds:["25411","27001","27002","27003","27004","25408","25409","27000","25412"]},{id:3,name:"AI Gateway, content filtering & DLP",shortName:`Content filtering +and network DLP`,specIds:["25415","25413"]},{id:4,name:"Cloud firewall",shortName:`Cloud +firewall`,specIds:["25416"]},{id:5,name:"Advanced threat protection",shortName:`Advanced threat +protection`,specIds:[]}];function getLayerStatus(layer){if(layer.specIds.length===0)return{layer,status:"na",passed:0,failed:0,total:0,tests:[]};const matchedTests=layer.specIds.map(id=>reportData.Tests.find(t2=>t2.TestId===id)).filter(t2=>t2!==void 0);if(matchedTests.length===0)return{layer,status:"na",passed:0,failed:0,total:layer.specIds.length,tests:[]};const total=layer.specIds.length,passed=matchedTests.filter(t2=>t2.TestStatus==="Passed").length,skipped=matchedTests.filter(t2=>t2.TestStatus==="Skipped"||t2.TestStatus==="Planned").length,failed=matchedTests.length-passed-skipped;if(passed===0&&failed===0)return{layer,status:"na",passed,failed,total,tests:matchedTests};let status;return failed===0?status="pass":passed===0?status="fail":status="partial",{layer,status,passed,failed,total,tests:matchedTests}}__name(getLayerStatus,"getLayerStatus");const STATUS_FILLS={pass:["#1a7a30","#28a044","#38c05c","#50d878","#78e8a0"],partial:["#b07800","#cc9010","#e0a828","#f0c048","#f8d878"],fail:["#a01818","#c02424","#d83838","#e85050","#f07070"],na:["#606068","#787880","#909098","#a8a8b0","#c0c0c8"]};function getStatusLabel(status){switch(status){case"pass":return"Pass";case"partial":return"Partial";case"fail":return"Fail";case"na":return"N/A"}}__name(getStatusLabel,"getStatusLabel");function getStatusBadgeVariant(status){switch(status){case"pass":return"success";case"partial":return"warning";case"fail":return"destructive";default:return"secondary"}}__name(getStatusBadgeVariant,"getStatusBadgeVariant");function getTestStatusIcon(testStatus){switch(testStatus){case"Passed":return jsxRuntimeExports.jsx(CheckCircledIcon,{className:"text-teal-600 size-4"});case"Failed":case"Error":return jsxRuntimeExports.jsx(CrossCircledIcon,{className:"text-rose-500/80 size-4"});default:return jsxRuntimeExports.jsx(QuestionMarkCircledIcon,{className:"text-amber-500/80 size-4"})}}__name(getTestStatusIcon,"getTestStatusIcon");function isForwardingProfileFailed(results){const layer1=results.find(r2=>r2.layer.id===1);if(!layer1)return!1;const forwardingTest=layer1.tests.find(t2=>t2.TestId==="25406");return forwardingTest!==void 0&&(forwardingTest.TestStatus==="Failed"||forwardingTest.TestStatus==="Error")}__name(isForwardingProfileFailed,"isForwardingProfileFailed");function hasSwgData(){const allSpecIds=DEFENSE_LAYERS.flatMap(l2=>l2.specIds);return reportData.Tests.some(t2=>allSpecIds.includes(t2.TestId))}__name(hasSwgData,"hasSwgData");function SwgDefenseLayers(){const[hoveredLayer,setHoveredLayer]=reactExports.useState(null),layerResults=reactExports.useMemo(()=>DEFENSE_LAYERS.map(layer=>getLayerStatus(layer)),[]);if(!hasSwgData())return null;const forwardingFailed=isForwardingProfileFailed(layerResults),activeLayers=layerResults.filter(r2=>r2.layer.specIds.length>0),failingLayers=activeLayers.filter(r2=>r2.status==="fail"||r2.status==="partial"),allNotExecuted=activeLayers.length>0&&activeLayers.every(r2=>r2.status==="na"),overallPass=!allNotExecuted&&failingLayers.length===0&&activeLayers.some(r2=>r2.status==="pass"),centerX=210,centerY=220,layerDims=[{rx:195,ry:195,dy:0},{rx:158,ry:155,dy:14},{rx:122,ry:118,dy:26},{rx:88,ry:84,dy:36},{rx:58,ry:55,dy:44}];return jsxRuntimeExports.jsx("div",{className:"flex flex-col gap-4",children:jsxRuntimeExports.jsxs("div",{className:"flex flex-col lg:flex-row gap-6 items-center",children:[jsxRuntimeExports.jsx("div",{className:"flex-shrink-0",children:jsxRuntimeExports.jsxs("svg",{width:"420",height:"440",viewBox:"0 0 420 440",className:"max-w-full h-auto",children:[layerDims.map((dims,i2)=>{const result=layerResults[i2],isHovered=hoveredLayer===i2,fill=STATUS_FILLS[result.status][i2],cy=centerY+dims.dy,lines=result.layer.shortName.split(` +`),thisTop=centerY+dims.dy-dims.ry,bandHeight=(i2setHoveredLayer(i2),"onMouseEnter"),onMouseLeave:__name(()=>setHoveredLayer(null),"onMouseLeave"),className:"cursor-pointer",opacity:hoveredLayer!==null&&hoveredLayer!==i2?.65:1,children:[jsxRuntimeExports.jsx("ellipse",{cx:centerX,cy,rx:dims.rx,ry:dims.ry,fill,stroke:isHovered?"#ffffff":"rgba(255,255,255,0.25)",strokeWidth:isHovered?3:1.5}),lines.map((line,lineIdx)=>jsxRuntimeExports.jsx("text",{x:centerX,y:firstLineY+lineIdx*lineHeight,textAnchor:"middle",fill:i2===layerDims.length-1?"#52525b":"#ffffff",fontSize,fontWeight:"600",children:line},lineIdx))]},i2)}),forwardingFailed&&jsxRuntimeExports.jsx("text",{x:centerX,y:435,textAnchor:"middle",fill:"#946471",fontSize:"11",fontWeight:"600",children:"⚠ Forwarding profile disabled — all layers effectively inactive"})]})}),jsxRuntimeExports.jsx("div",{className:"flex-1 w-full min-w-0",children:jsxRuntimeExports.jsxs("div",{className:"space-y-1",children:[jsxRuntimeExports.jsx("div",{className:"flex items-center gap-2 mb-3",children:allNotExecuted?jsxRuntimeExports.jsx(Badge,{variant:"secondary",children:"No layer results available — checks not yet executed"}):overallPass?jsxRuntimeExports.jsx(Badge,{variant:"success",children:"All layers passing"}):jsxRuntimeExports.jsxs(Badge,{variant:"destructive",children:[failingLayers.length," of ",activeLayers.length," active layers have issues"]})}),jsxRuntimeExports.jsx(Accordion,{type:"multiple",className:"w-full",children:layerResults.map(result=>jsxRuntimeExports.jsxs(AccordionItem,{value:`layer-${result.layer.id}`,className:"border rounded-md mb-1 px-3",children:[jsxRuntimeExports.jsx(AccordionTrigger,{className:"py-2 hover:no-underline",children:jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3 w-full",children:[jsxRuntimeExports.jsx("span",{className:"text-xs font-mono text-muted-foreground w-4",children:result.layer.id}),jsxRuntimeExports.jsx("span",{className:"text-sm font-medium flex-1 text-left",children:result.layer.name}),jsxRuntimeExports.jsx(Badge,{variant:getStatusBadgeVariant(result.status),className:"mr-2",children:getStatusLabel(result.status)}),jsxRuntimeExports.jsxs("span",{className:"text-xs text-muted-foreground tabular-nums whitespace-nowrap",children:[result.passed,"/",result.total]})]})}),jsxRuntimeExports.jsxs(AccordionContent,{children:[result.tests.length===0?jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground italic py-1",children:"No test data available for this layer."}):jsxRuntimeExports.jsx("div",{className:"space-y-1 py-1",children:result.tests.map(test=>jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2 text-xs py-0.5",children:[getTestStatusIcon(test.TestStatus),jsxRuntimeExports.jsx("span",{className:"text-muted-foreground font-mono",children:test.TestId}),jsxRuntimeExports.jsx("span",{className:"flex-1 truncate",children:test.TestTitle})]},test.TestId))}),forwardingFailed&&result.layer.id>1&&jsxRuntimeExports.jsx("p",{className:"text-xs text-rose-500/80 mt-1",children:"⚠ This layer is effectively inactive because the Internet Access forwarding profile (25406) is not enabled."})]})]},result.layer.id))})]})})]})})}__name(SwgDefenseLayers,"SwgDefenseLayers");var NODES=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Primitive=NODES.reduce((primitive,node2)=>{const Slot2=createSlot$2(`Primitive.${node2}`),Node2=reactExports.forwardRef((props,forwardedRef)=>{const{asChild,...primitiveProps}=props,Comp=asChild?Slot2:node2;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),jsxRuntimeExports.jsx(Comp,{...primitiveProps,ref:forwardedRef})});return Node2.displayName=`Primitive.${node2}`,{...primitive,[node2]:Node2}},{}),NAME="Separator",DEFAULT_ORIENTATION="horizontal",ORIENTATIONS=["horizontal","vertical"],Separator$1=reactExports.forwardRef((props,forwardedRef)=>{const{decorative,orientation:orientationProp=DEFAULT_ORIENTATION,...domProps}=props,orientation=isValidOrientation(orientationProp)?orientationProp:DEFAULT_ORIENTATION,semanticProps=decorative?{role:"none"}:{"aria-orientation":orientation==="vertical"?orientation:void 0,role:"separator"};return jsxRuntimeExports.jsx(Primitive.div,{"data-orientation":orientation,...semanticProps,...domProps,ref:forwardedRef})});Separator$1.displayName=NAME;function isValidOrientation(orientation){return ORIENTATIONS.includes(orientation)}__name(isValidOrientation,"isValidOrientation");var Root=Separator$1;const Separator=reactExports.forwardRef(({className,orientation="horizontal",decorative=!0,...props},ref)=>jsxRuntimeExports.jsx(Root,{ref,decorative,orientation,className:cn$2("shrink-0 bg-border",orientation==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",className),...props}));Separator.displayName=Root.displayName;function formatNumber(value2){return value2==null||isNaN(value2)?"0":value2<1e3?value2.toLocaleString():value2<1e5?`${(value2/1e3).toFixed(1)}K`:`${Math.round(value2/1e3)}K`}__name(formatNumber,"formatNumber");const metricDescriptions={users:"Total number of user accounts in the tenant (excluding guests)",guests:"Total number of guest user accounts",groups:"Total number of groups (security, Microsoft 365, etc.)",apps:"Total number of registered applications",devices:"Including both managed and unmanaged devices",managed:"Total number of Intune managed devices"};function Dashboard(){return jsxRuntimeExports.jsxs(TooltipProvider,{delayDuration:200,children:[jsxRuntimeExports.jsx("div",{className:"w-full flex max-w-7xl flex-col gap-6 mt-12",children:jsxRuntimeExports.jsxs("div",{className:"grid w-full gap-6 lg:grid-cols-3",children:[jsxRuntimeExports.jsxs(Card,{children:[jsxRuntimeExports.jsx(CardHeader,{className:"pb-3",children:jsxRuntimeExports.jsxs(CardTitle,{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx(Building2,{className:"size-5"}),"Tenant"]})}),jsxRuntimeExports.jsx(CardContent,{children:jsxRuntimeExports.jsxs("div",{className:"space-y-4",children:[jsxRuntimeExports.jsxs("div",{className:"flex flex-col gap-1",children:[jsxRuntimeExports.jsx("span",{className:"text-sm text-muted-foreground",children:"Name"}),jsxRuntimeExports.jsx("span",{className:"font-medium",children:reportData.TenantName})]}),jsxRuntimeExports.jsxs("div",{className:"flex flex-col gap-1",children:[jsxRuntimeExports.jsx("span",{className:"text-sm text-muted-foreground",children:"Tenant ID"}),jsxRuntimeExports.jsx("span",{className:"font-mono text-xs",children:reportData.TenantId})]}),jsxRuntimeExports.jsxs("div",{className:"flex flex-col gap-1",children:[jsxRuntimeExports.jsx("span",{className:"text-sm text-muted-foreground",children:"Primary Domain"}),jsxRuntimeExports.jsx("span",{className:"font-medium",children:reportData.Domain})]})]})})]}),jsxRuntimeExports.jsxs("div",{className:"grid gap-4 grid-cols-2 grid-rows-3",children:[jsxRuntimeExports.jsxs(Tooltip,{children:[jsxRuntimeExports.jsx(TooltipTrigger,{asChild:!0,children:jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3 rounded-md border px-4 py-3",children:[jsxRuntimeExports.jsx(Avatar,{className:"size-8.5 rounded-sm",children:jsxRuntimeExports.jsx(AvatarFallback,{className:"text-blue-600 shrink-0 rounded-sm",children:jsxRuntimeExports.jsx(User,{className:"size-8"})})}),jsxRuntimeExports.jsxs("div",{className:"flex flex-col gap-0.5",children:[jsxRuntimeExports.jsx("span",{className:"text-muted-foreground text-sm font-medium",children:"Users"}),jsxRuntimeExports.jsx("span",{className:"text-lg font-medium",children:formatNumber(reportData.TenantInfo?.TenantOverview?.UserCount)})]})]})}),jsxRuntimeExports.jsx(TooltipContent,{children:jsxRuntimeExports.jsxs("div",{className:"space-y-1",children:[jsxRuntimeExports.jsxs("p",{className:"font-semibold",children:[reportData.TenantInfo?.TenantOverview?.UserCount?.toLocaleString()||"0"," Users"]}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground",children:metricDescriptions.users})]})})]}),jsxRuntimeExports.jsxs(Tooltip,{children:[jsxRuntimeExports.jsx(TooltipTrigger,{asChild:!0,children:jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3 rounded-md border px-4 py-3",children:[jsxRuntimeExports.jsx(Avatar,{className:"size-8.5 rounded-sm",children:jsxRuntimeExports.jsx(AvatarFallback,{className:"text-indigo-600 shrink-0 rounded-sm",children:jsxRuntimeExports.jsx(Luggage,{className:"size-8"})})}),jsxRuntimeExports.jsxs("div",{className:"flex flex-col gap-0.5",children:[jsxRuntimeExports.jsx("span",{className:"text-muted-foreground text-sm font-medium",children:"Guests"}),jsxRuntimeExports.jsx("span",{className:"text-lg font-medium",children:formatNumber(reportData.TenantInfo?.TenantOverview?.GuestCount)})]})]})}),jsxRuntimeExports.jsx(TooltipContent,{children:jsxRuntimeExports.jsxs("div",{className:"space-y-1",children:[jsxRuntimeExports.jsxs("p",{className:"font-semibold",children:[reportData.TenantInfo?.TenantOverview?.GuestCount?.toLocaleString()||"0"," Guests"]}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground",children:metricDescriptions.guests})]})})]}),jsxRuntimeExports.jsxs(Tooltip,{children:[jsxRuntimeExports.jsx(TooltipTrigger,{asChild:!0,children:jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3 rounded-md border px-4 py-3",children:[jsxRuntimeExports.jsx(Avatar,{className:"size-8.5 rounded-sm",children:jsxRuntimeExports.jsx(AvatarFallback,{className:"text-purple-600 shrink-0 rounded-sm",children:jsxRuntimeExports.jsx(Users,{className:"size-8"})})}),jsxRuntimeExports.jsxs("div",{className:"flex flex-col gap-0.5",children:[jsxRuntimeExports.jsx("span",{className:"text-muted-foreground text-sm font-medium",children:"Groups"}),jsxRuntimeExports.jsx("span",{className:"text-lg font-medium",children:formatNumber(reportData.TenantInfo?.TenantOverview?.GroupCount)})]})]})}),jsxRuntimeExports.jsx(TooltipContent,{children:jsxRuntimeExports.jsxs("div",{className:"space-y-1",children:[jsxRuntimeExports.jsxs("p",{className:"font-semibold",children:[reportData.TenantInfo?.TenantOverview?.GroupCount?.toLocaleString()||"0"," Groups"]}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground",children:metricDescriptions.groups})]})})]}),jsxRuntimeExports.jsxs(Tooltip,{children:[jsxRuntimeExports.jsx(TooltipTrigger,{asChild:!0,children:jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3 rounded-md border px-4 py-3",children:[jsxRuntimeExports.jsx(Avatar,{className:"size-8.5 rounded-sm",children:jsxRuntimeExports.jsx(AvatarFallback,{className:"text-rose-600 shrink-0 rounded-sm",children:jsxRuntimeExports.jsx(Layers3,{className:"size-8"})})}),jsxRuntimeExports.jsxs("div",{className:"flex flex-col gap-0.5",children:[jsxRuntimeExports.jsx("span",{className:"text-muted-foreground text-sm font-medium",children:"Apps"}),jsxRuntimeExports.jsx("span",{className:"text-lg font-medium",children:formatNumber(reportData.TenantInfo?.TenantOverview?.ApplicationCount)})]})]})}),jsxRuntimeExports.jsx(TooltipContent,{children:jsxRuntimeExports.jsxs("div",{className:"space-y-1",children:[jsxRuntimeExports.jsxs("p",{className:"font-semibold",children:[reportData.TenantInfo?.TenantOverview?.ApplicationCount?.toLocaleString()||"0"," Applications"]}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground",children:metricDescriptions.apps})]})})]}),jsxRuntimeExports.jsxs(Tooltip,{children:[jsxRuntimeExports.jsx(TooltipTrigger,{asChild:!0,children:jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3 rounded-md border px-4 py-3",children:[jsxRuntimeExports.jsx(Avatar,{className:"size-8.5 rounded-sm",children:jsxRuntimeExports.jsx(AvatarFallback,{className:"text-orange-600 shrink-0 rounded-sm",children:jsxRuntimeExports.jsx(MonitorSmartphone,{className:"size-8"})})}),jsxRuntimeExports.jsxs("div",{className:"flex flex-col gap-0.5",children:[jsxRuntimeExports.jsx("span",{className:"text-muted-foreground text-sm font-medium",children:"Devices"}),jsxRuntimeExports.jsx("span",{className:"text-lg font-medium",children:formatNumber(reportData.TenantInfo?.TenantOverview?.DeviceCount)})]})]})}),jsxRuntimeExports.jsx(TooltipContent,{children:jsxRuntimeExports.jsxs("div",{className:"space-y-1",children:[jsxRuntimeExports.jsxs("p",{className:"font-semibold",children:[reportData.TenantInfo?.TenantOverview?.DeviceCount?.toLocaleString()||"0"," Devices"]}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground",children:metricDescriptions.devices})]})})]}),jsxRuntimeExports.jsxs(Tooltip,{children:[jsxRuntimeExports.jsx(TooltipTrigger,{asChild:!0,children:jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3 rounded-md border px-4 py-3",children:[jsxRuntimeExports.jsx(Avatar,{className:"size-8.5 rounded-sm",children:jsxRuntimeExports.jsx(AvatarFallback,{className:"text-emerald-600 shrink-0 rounded-sm",children:jsxRuntimeExports.jsx(MonitorSmartphone,{className:"size-8"})})}),jsxRuntimeExports.jsxs("div",{className:"flex flex-col gap-0.5",children:[jsxRuntimeExports.jsx("span",{className:"text-muted-foreground text-sm font-medium",children:"Managed"}),jsxRuntimeExports.jsx("span",{className:"text-lg font-medium",children:formatNumber(reportData.TenantInfo?.TenantOverview?.ManagedDeviceCount)})]})]})}),jsxRuntimeExports.jsx(TooltipContent,{children:jsxRuntimeExports.jsxs("div",{className:"space-y-1",children:[jsxRuntimeExports.jsxs("p",{className:"font-semibold",children:[reportData.TenantInfo?.TenantOverview?.ManagedDeviceCount?.toLocaleString()||"0"," Managed Devices"]}),jsxRuntimeExports.jsx("p",{className:"text-xs text-muted-foreground",children:metricDescriptions.managed})]})})]})]}),jsxRuntimeExports.jsxs(Card,{"x-chunk":"charts-01-chunk-5",children:[jsxRuntimeExports.jsx(CardHeader,{className:"pb-3",children:jsxRuntimeExports.jsxs(CardTitle,{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx(ShieldCheck,{className:"size-5"}),"Assessment"]})}),jsxRuntimeExports.jsxs(CardContent,{className:"flex gap-6",children:[jsxRuntimeExports.jsxs("div",{className:"flex flex-col gap-2",children:[jsxRuntimeExports.jsxs("div",{className:"grid auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsx("div",{className:"text-sm text-muted-foreground",children:"Identity"}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 text-xl font-bold tabular-nums leading-none",children:[reportData.TestResultSummary.IdentityPassed,"/",reportData.TestResultSummary.IdentityTotal,jsxRuntimeExports.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:"tests"})]})]}),jsxRuntimeExports.jsxs("div",{className:"grid auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsx("div",{className:"text-sm text-muted-foreground",children:"Devices"}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 text-xl font-bold tabular-nums leading-none",children:[reportData.TestResultSummary.DevicesPassed,"/",reportData.TestResultSummary.DevicesTotal,jsxRuntimeExports.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:"tests"})]})]}),jsxRuntimeExports.jsxs("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsx("div",{className:"text-sm text-muted-foreground",children:"Data"}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 text-xl font-bold tabular-nums leading-none",children:[reportData.TestResultSummary.DataPassed,"/",reportData.TestResultSummary.DataTotal,jsxRuntimeExports.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:"tests"})]})]}),reportData.TestResultSummary.NetworkPassed!==void 0&&jsxRuntimeExports.jsxs("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsx("div",{className:"text-sm text-muted-foreground",children:"Network"}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 text-xl font-bold tabular-nums leading-none",children:[reportData.TestResultSummary.NetworkPassed,"/",reportData.TestResultSummary.NetworkTotal,jsxRuntimeExports.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:"tests"})]})]}),reportData.TestResultSummary.InfrastructurePassed!==void 0&&jsxRuntimeExports.jsxs("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsx("div",{className:"text-sm text-muted-foreground",children:"Infrastructure"}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 text-xl font-bold tabular-nums leading-none",children:[reportData.TestResultSummary.InfrastructurePassed,"/",reportData.TestResultSummary.InfrastructureTotal,jsxRuntimeExports.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:"tests"})]})]}),reportData.TestResultSummary.SecOpsPassed!==void 0&&jsxRuntimeExports.jsxs("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsx("div",{className:"text-sm text-muted-foreground",children:"SecOps"}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 text-xl font-bold tabular-nums leading-none",children:[reportData.TestResultSummary.SecOpsPassed,"/",reportData.TestResultSummary.SecOpsTotal,jsxRuntimeExports.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:"tests"})]})]}),reportData.TestResultSummary.AIPassed!==void 0&&jsxRuntimeExports.jsxs("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsx("div",{className:"text-sm text-muted-foreground",children:"AI"}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 text-xl font-bold tabular-nums leading-none",children:[reportData.TestResultSummary.AIPassed,"/",reportData.TestResultSummary.AITotal,jsxRuntimeExports.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:"tests"})]})]})]}),jsxRuntimeExports.jsx(ChartContainer,{config:{move:{label:"Identity",color:"hsl(var(--chart-1))"},exercise:{label:"Devices",color:"hsl(var(--chart-2))"},stand:{label:"Data",color:"hsl(var(--chart-3))"},network:{label:"Network",color:"hsl(var(--chart-4))"},infrastructure:{label:"Infrastructure",color:"hsl(var(--chart-5))"},secops:{label:"SecOps",color:"hsl(var(--chart-1))"},ai:{label:"AI",color:"hsl(var(--chart-2))"}},className:"mx-auto aspect-square w-full max-w-[80%]",children:jsxRuntimeExports.jsxs(RadialBarChart,{margin:{left:-10,right:-10,top:-10,bottom:-10},data:[...reportData.TestResultSummary.AIPassed!==void 0&&reportData.TestResultSummary.AITotal!==void 0?[{activity:"ai",value:reportData.TestResultSummary.AIPassed/reportData.TestResultSummary.AITotal*100,fill:"var(--color-ai)"}]:[],...reportData.TestResultSummary.SecOpsPassed!==void 0&&reportData.TestResultSummary.SecOpsTotal!==void 0?[{activity:"secops",value:reportData.TestResultSummary.SecOpsPassed/reportData.TestResultSummary.SecOpsTotal*100,fill:"var(--color-secops)"}]:[],...reportData.TestResultSummary.InfrastructurePassed!==void 0&&reportData.TestResultSummary.InfrastructureTotal!==void 0?[{activity:"infrastructure",value:reportData.TestResultSummary.InfrastructurePassed/reportData.TestResultSummary.InfrastructureTotal*100,fill:"var(--color-infrastructure)"}]:[],...reportData.TestResultSummary.NetworkPassed!==void 0&&reportData.TestResultSummary.NetworkTotal!==void 0?[{activity:"network",value:reportData.TestResultSummary.NetworkPassed/reportData.TestResultSummary.NetworkTotal*100,fill:"var(--color-network)"}]:[],{activity:"data",value:reportData.TestResultSummary.DataPassed/reportData.TestResultSummary.DataTotal*100,fill:"var(--color-stand)"},{activity:"devices",value:reportData.TestResultSummary.DevicesPassed/reportData.TestResultSummary.DevicesTotal*100,fill:"var(--color-exercise)"},{activity:"identity",value:reportData.TestResultSummary.IdentityPassed/reportData.TestResultSummary.IdentityTotal*100,fill:"var(--color-move)"}],innerRadius:"20%",barSize:24,startAngle:90,endAngle:450,children:[jsxRuntimeExports.jsx(PolarAngleAxis,{type:"number",domain:[0,100],dataKey:"value",tick:!1}),jsxRuntimeExports.jsx(RadialBar,{dataKey:"value",background:!0,cornerRadius:5})]})})]})]})]})}),jsxRuntimeExports.jsx("div",{className:"mx-auto flex max-w-7xl flex-col gap-6 mt-6",children:jsxRuntimeExports.jsxs("div",{className:"grid gap-6 grid-cols-1 lg:grid-cols-2",children:[jsxRuntimeExports.jsxs("div",{className:"grid w-full gap-6 lg:col-span-1",children:[reportData.TenantInfo?.OverviewAuthMethodsAllUsers?.nodes?jsxRuntimeExports.jsxs(Card,{className:"w-full","x-chunk":"charts-01-chunk-0",children:[jsxRuntimeExports.jsxs(CardHeader,{className:"space-y-0 pb-2 flex-row",children:[jsxRuntimeExports.jsx(UserCog,{className:"pr-2 size-8"}),jsxRuntimeExports.jsx(CardTitle,{className:"text-2xl tabular-nums",children:"Privileged users auth methods"})]}),jsxRuntimeExports.jsx(CardContent,{children:jsxRuntimeExports.jsx(ChartContainer,{config:{steps:{label:"Steps",color:"hsl(var(--chart-1))"}},children:reportData.TenantInfo?.OverviewAuthMethodsPrivilegedUsers?.nodes?jsxRuntimeExports.jsx(AuthMethodSankey,{data:reportData.TenantInfo.OverviewAuthMethodsPrivilegedUsers.nodes}):jsxRuntimeExports.jsx("div",{className:"flex items-center justify-center h-32 text-muted-foreground",children:"No data available"})})}),jsxRuntimeExports.jsx(CardFooter,{className:"flex-col items-start gap-1",children:jsxRuntimeExports.jsx(CardDescription,{children:reportData.TenantInfo?.OverviewAuthMethodsPrivilegedUsers?.description||"No description available"})})]}):null,reportData.TenantInfo?.OverviewAuthMethodsAllUsers?.nodes?jsxRuntimeExports.jsxs(Card,{className:"w-full","x-chunk":"charts-01-chunk-0",children:[jsxRuntimeExports.jsxs(CardHeader,{className:"space-y-0 pb-2 flex-row",children:[jsxRuntimeExports.jsx(Users,{className:"pr-2 size-8"}),jsxRuntimeExports.jsx(CardTitle,{className:"text-2xl tabular-nums",children:"All users auth methods"})]}),jsxRuntimeExports.jsx(CardContent,{children:jsxRuntimeExports.jsx(ChartContainer,{config:{steps:{label:"Steps",color:"hsl(var(--chart-1))"}},children:reportData.TenantInfo?.OverviewAuthMethodsAllUsers?.nodes?jsxRuntimeExports.jsx(AuthMethodSankey,{data:reportData.TenantInfo.OverviewAuthMethodsAllUsers.nodes}):jsxRuntimeExports.jsx("div",{className:"flex items-center justify-center h-32 text-muted-foreground",children:"No data available"})})}),jsxRuntimeExports.jsx(CardFooter,{className:"flex-col items-start gap-1",children:jsxRuntimeExports.jsx(CardDescription,{children:reportData.TenantInfo?.OverviewAuthMethodsAllUsers?.description||"No description available"})})]}):null]}),jsxRuntimeExports.jsxs("div",{className:"grid w-full gap-6 lg:col-span-1",children:[reportData.TenantInfo?.OverviewAuthMethodsAllUsers?.nodes?jsxRuntimeExports.jsxs(Card,{className:"lmax-w-xs","x-chunk":"charts-01-chunk-0",children:[jsxRuntimeExports.jsxs(CardHeader,{className:"space-y-0 pb-2 flex-row",children:[jsxRuntimeExports.jsx(User,{className:"pr-2 size-8"}),jsxRuntimeExports.jsx(CardTitle,{className:"text-2xl tabular-nums",children:"User authentication"})]}),jsxRuntimeExports.jsx(CardContent,{children:jsxRuntimeExports.jsx(ChartContainer,{config:{steps:{label:"Steps",color:"hsl(var(--chart-1))"}},children:reportData.TenantInfo?.OverviewCaMfaAllUsers?.nodes?jsxRuntimeExports.jsx(CaSankey,{data:reportData.TenantInfo.OverviewCaMfaAllUsers.nodes}):jsxRuntimeExports.jsx("div",{className:"flex items-center justify-center h-32 text-muted-foreground",children:"No data available"})})}),jsxRuntimeExports.jsx(CardFooter,{className:"flex-col items-start gap-1",children:jsxRuntimeExports.jsx(CardDescription,{children:reportData.TenantInfo?.OverviewCaMfaAllUsers?.description||"No description available"})})]}):null,reportData.TenantInfo?.OverviewAuthMethodsPrivilegedUsers?.nodes?jsxRuntimeExports.jsxs(Card,{className:"lmax-w-xs","x-chunk":"charts-01-chunk-0",children:[jsxRuntimeExports.jsxs(CardHeader,{className:"space-y-0 pb-2 flex-row",children:[jsxRuntimeExports.jsx(MonitorSmartphone,{className:"pr-2 size-8"}),jsxRuntimeExports.jsx(CardTitle,{className:"text-2xl tabular-nums ",children:"Device sign-ins"})]}),jsxRuntimeExports.jsx(CardContent,{children:jsxRuntimeExports.jsx(ChartContainer,{config:{steps:{label:"Steps",color:"hsl(var(--chart-1))"}},children:reportData.TenantInfo?.OverviewCaDevicesAllUsers?.nodes?jsxRuntimeExports.jsx(CaDeviceSankey,{data:reportData.TenantInfo.OverviewCaDevicesAllUsers.nodes}):jsxRuntimeExports.jsx("div",{className:"flex items-center justify-center h-32 text-muted-foreground",children:"No data available"})})}),jsxRuntimeExports.jsx(CardFooter,{className:"flex-col items-start gap-1",children:jsxRuntimeExports.jsx(CardDescription,{children:reportData.TenantInfo?.OverviewCaDevicesAllUsers?.description||"No description available"})})]}):null]})]})}),jsxRuntimeExports.jsx("div",{className:"flex max-w-7xl flex-col gap-6 mt-6",children:jsxRuntimeExports.jsxs("div",{className:"grid gap-6 grid-cols-1 lg:grid-cols-3",children:[reportData.TenantInfo?.DeviceOverview?.ManagedDevices?jsxRuntimeExports.jsxs(Card,{className:"w-full",children:[jsxRuntimeExports.jsxs(CardHeader,{className:"space-y-0 pb-2 flex-row",children:[jsxRuntimeExports.jsx(MonitorSmartphone,{className:"pr-2 size-8"}),jsxRuntimeExports.jsx(CardTitle,{className:"text-2xl tabular-nums",children:"Device summary"})]}),jsxRuntimeExports.jsx(CardContent,{className:"flex pb-4 h-[250px]",children:jsxRuntimeExports.jsx(ChartContainer,{config:{value:{label:"Devices"}},className:"h-[250px] w-full",children:jsxRuntimeExports.jsxs(BarChart,{margin:{left:12,right:0,top:0,bottom:10},data:[{dataKey:"Windows",value:reportData.TenantInfo?.DeviceOverview?.ManagedDevices?.deviceOperatingSystemSummary?.windowsCount,label:`${reportData.TenantInfo?.DeviceOverview?.ManagedDevices?.deviceOperatingSystemSummary?.windowsCount}`,fill:"hsl(var(--chart-1))"},{dataKey:"macOS",value:reportData.TenantInfo?.DeviceOverview?.ManagedDevices?.deviceOperatingSystemSummary?.macOSCount,label:`${reportData.TenantInfo?.DeviceOverview?.ManagedDevices?.deviceOperatingSystemSummary?.macOSCount}`,fill:"hsl(var(--chart-2))"},{dataKey:"iOS/iPadOS",value:reportData.TenantInfo?.DeviceOverview?.ManagedDevices?.deviceOperatingSystemSummary?.iosCount,label:`${reportData.TenantInfo?.DeviceOverview?.ManagedDevices?.deviceOperatingSystemSummary?.iosCount}`,fill:"hsl(var(--chart-3))"},{dataKey:"Android",value:reportData.TenantInfo?.DeviceOverview?.ManagedDevices?.deviceOperatingSystemSummary?.androidCount,label:`${reportData.TenantInfo?.DeviceOverview?.ManagedDevices?.deviceOperatingSystemSummary?.androidCount}`,fill:"hsl(var(--chart-5))"},{dataKey:"Linux",value:reportData.TenantInfo?.DeviceOverview?.ManagedDevices?.deviceOperatingSystemSummary?.linuxCount,label:`${reportData.TenantInfo?.DeviceOverview?.ManagedDevices?.deviceOperatingSystemSummary?.linuxCount}`,fill:"hsl(var(--chart-4))"}],layout:"vertical",barSize:32,barGap:2,children:[jsxRuntimeExports.jsx(XAxis,{type:"number",dataKey:"value",hide:!0}),jsxRuntimeExports.jsx(YAxis,{dataKey:"dataKey",type:"category",tickLine:!1,tickMargin:4,axisLine:!1,className:""}),jsxRuntimeExports.jsx(ChartTooltip,{cursor:!1,content:jsxRuntimeExports.jsx(ChartTooltipContent,{})}),jsxRuntimeExports.jsx(Bar,{dataKey:"value",radius:5,children:jsxRuntimeExports.jsx(LabelList,{position:"insideLeft",dataKey:"label",fill:"white",offset:8,fontSize:12})})]})})}),jsxRuntimeExports.jsx(CardFooter,{className:"flex flex-row border-t p-4",children:jsxRuntimeExports.jsxs("div",{className:"flex w-full items-center gap-2",children:[jsxRuntimeExports.jsxs("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsx("div",{className:"text-xs text-muted-foreground",children:"Desktops"}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 text-2xl font-bold tabular-nums leading-none",children:[Math.round(reportData.TenantInfo?.DeviceOverview?.ManagedDevices?.desktopCount/reportData.TenantInfo?.DeviceOverview?.ManagedDevices?.totalCount*100),jsxRuntimeExports.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:"%"})]})]}),jsxRuntimeExports.jsx(Separator,{orientation:"vertical",className:"mx-2 h-10 w-px"}),jsxRuntimeExports.jsxs("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsx("div",{className:"text-xs text-muted-foreground",children:"Mobiles"}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 text-2xl font-bold tabular-nums leading-none",children:[Math.round(reportData.TenantInfo?.DeviceOverview?.ManagedDevices?.mobileCount/reportData.TenantInfo?.DeviceOverview?.ManagedDevices?.totalCount*100),jsxRuntimeExports.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:"%"})]})]})]})})]}):null,reportData.TenantInfo?.DeviceOverview?.ManagedDevices&&reportData.TenantInfo?.DeviceOverview?.DeviceCompliance&&reportData.TenantInfo?.DeviceOverview?.DeviceCompliance?.compliantDeviceCount+reportData.TenantInfo?.DeviceOverview?.DeviceCompliance?.nonCompliantDeviceCount>0&&jsxRuntimeExports.jsxs(Card,{className:"w-full",children:[jsxRuntimeExports.jsxs(CardHeader,{className:"space-y-0 pb-2 flex-row",children:[jsxRuntimeExports.jsx(CircleCheckBig,{className:"pr-2 size-8"}),jsxRuntimeExports.jsx(CardTitle,{className:"text-2xl tabular-nums ",children:"Device compliance"})]}),jsxRuntimeExports.jsx(CardContent,{className:"flex pb-2 h-[250px]",children:jsxRuntimeExports.jsx(ChartContainer,{config:{compliant:{label:"Compliant",color:"hsl(142, 76%, 36%)"},nonCompliant:{label:"Non-compliant",color:"hsl(0, 84%, 60%)"}},className:"mx-auto aspect-square w-full max-h-full",children:jsxRuntimeExports.jsxs(PieChart,{margin:{top:5,right:5,bottom:5,left:5},children:[jsxRuntimeExports.jsxs(Pie,{data:[{name:"Compliant",value:reportData.TenantInfo?.DeviceOverview?.DeviceCompliance?.compliantDeviceCount,fill:"var(--color-compliant)"},{name:"Non-compliant",value:reportData.TenantInfo?.DeviceOverview?.DeviceCompliance?.nonCompliantDeviceCount,fill:"var(--color-nonCompliant)"}],cx:"50%",cy:"50%",innerRadius:50,outerRadius:100,paddingAngle:2,dataKey:"value",cornerRadius:5,children:[jsxRuntimeExports.jsx(Cell,{fill:"var(--color-compliant)"}),jsxRuntimeExports.jsx(Cell,{fill:"var(--color-nonCompliant)"})]}),jsxRuntimeExports.jsx(ChartTooltip,{content:jsxRuntimeExports.jsx(ChartTooltipContent,{})})]})})}),jsxRuntimeExports.jsx(CardFooter,{className:"flex flex-row border-t p-4",children:jsxRuntimeExports.jsxs("div",{className:"flex w-full items-center gap-2",children:[jsxRuntimeExports.jsxs("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[jsxRuntimeExports.jsx("div",{className:"w-3 h-3 rounded-sm bg-green-600"}),"Compliant"]}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 text-2xl font-bold tabular-nums leading-none",children:[(()=>{const compliant=reportData.TenantInfo?.DeviceOverview?.DeviceCompliance?.compliantDeviceCount,nonCompliant=reportData.TenantInfo?.DeviceOverview?.DeviceCompliance?.nonCompliantDeviceCount,total=compliant+nonCompliant;return total>0?Math.round(compliant/total*100):0})(),jsxRuntimeExports.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:"%"})]})]}),jsxRuntimeExports.jsx(Separator,{orientation:"vertical",className:"mx-2 h-10 w-px"}),jsxRuntimeExports.jsxs("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[jsxRuntimeExports.jsx("div",{className:"w-3 h-3 rounded-sm bg-red-500"}),"Non-compliant"]}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 text-2xl font-bold tabular-nums leading-none",children:[(()=>{const compliant=reportData.TenantInfo?.DeviceOverview?.DeviceCompliance?.compliantDeviceCount,nonCompliant=reportData.TenantInfo?.DeviceOverview?.DeviceCompliance?.nonCompliantDeviceCount,total=compliant+nonCompliant;return total>0?Math.round(nonCompliant/total*100):0})(),jsxRuntimeExports.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:"%"})]})]})]})})]}),reportData.TenantInfo?.DeviceOverview?.ManagedDevices&&reportData.TenantInfo?.DeviceOverview?.DeviceOwnership&&reportData.TenantInfo?.DeviceOverview?.DeviceOwnership?.corporateCount+reportData.TenantInfo?.DeviceOverview?.DeviceOwnership?.personalCount>0&&jsxRuntimeExports.jsxs(Card,{className:"w-full",children:[jsxRuntimeExports.jsxs(CardHeader,{className:"space-y-0 pb-2 flex-row",children:[jsxRuntimeExports.jsx(Briefcase,{className:"pr-2 size-8"}),jsxRuntimeExports.jsx(CardTitle,{className:"text-2xl tabular-nums ",children:"Device ownership"})]}),jsxRuntimeExports.jsx(CardContent,{className:"flex pb-2 h-[250px]",children:jsxRuntimeExports.jsx(ChartContainer,{config:{corporate:{label:"Corporate",color:"hsl(217, 91%, 60%)"},personal:{label:"Personal",color:"hsl(280, 85%, 60%)"}},className:"mx-auto aspect-square w-full max-h-full",children:jsxRuntimeExports.jsxs(PieChart,{margin:{top:5,right:5,bottom:5,left:5},children:[jsxRuntimeExports.jsxs(Pie,{data:[{name:"Corporate",value:reportData.TenantInfo?.DeviceOverview?.DeviceOwnership?.corporateCount,fill:"var(--color-corporate)"},{name:"Personal",value:reportData.TenantInfo?.DeviceOverview?.DeviceOwnership?.personalCount,fill:"var(--color-personal)"}],cx:"50%",cy:"50%",innerRadius:50,outerRadius:100,paddingAngle:2,dataKey:"value",cornerRadius:5,children:[jsxRuntimeExports.jsx(Cell,{fill:"var(--color-corporate)"}),jsxRuntimeExports.jsx(Cell,{fill:"var(--color-personal)"})]}),jsxRuntimeExports.jsx(ChartTooltip,{content:jsxRuntimeExports.jsx(ChartTooltipContent,{})})]})})}),jsxRuntimeExports.jsx(CardFooter,{className:"flex flex-row border-t p-4",children:jsxRuntimeExports.jsxs("div",{className:"flex w-full items-center gap-2",children:[jsxRuntimeExports.jsxs("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[jsxRuntimeExports.jsx("div",{className:"w-3 h-3 rounded-sm bg-blue-500"}),"Corporate"]}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 text-2xl font-bold tabular-nums leading-none",children:[(()=>{const corporate=reportData.TenantInfo?.DeviceOverview?.DeviceOwnership?.corporateCount,personal=reportData.TenantInfo?.DeviceOverview?.DeviceOwnership?.personalCount,total=corporate+personal;return total>0?Math.round(corporate/total*100):0})(),jsxRuntimeExports.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:"%"})]})]}),jsxRuntimeExports.jsx(Separator,{orientation:"vertical",className:"mx-2 h-10 w-px"}),jsxRuntimeExports.jsxs("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[jsxRuntimeExports.jsx("div",{className:"w-3 h-3 rounded-sm bg-purple-500"}),"Personal"]}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 text-2xl font-bold tabular-nums leading-none",children:[(()=>{const corporate=reportData.TenantInfo?.DeviceOverview?.DeviceOwnership?.corporateCount,personal=reportData.TenantInfo?.DeviceOverview?.DeviceOwnership?.personalCount,total=corporate+personal;return total>0?Math.round(personal/total*100):0})(),jsxRuntimeExports.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:"%"})]})]})]})})]}),reportData.TenantInfo?.DeviceOverview?.DesktopDevicesSummary?.nodes&&reportData.TenantInfo.DeviceOverview.DesktopDevicesSummary.nodes.length>0&&jsxRuntimeExports.jsxs(Card,{className:"w-full lg:col-span-3",children:[jsxRuntimeExports.jsxs(CardHeader,{className:"space-y-0 pb-2 flex-row",children:[jsxRuntimeExports.jsx(Monitor,{className:"pr-2 size-8"}),jsxRuntimeExports.jsx(CardTitle,{className:"text-2xl tabular-nums",children:"Desktop devices"})]}),jsxRuntimeExports.jsx(CardContent,{children:jsxRuntimeExports.jsx(ChartContainer,{config:{steps:{label:"Steps",color:"hsl(var(--chart-1))"}},className:"h-[350px] w-full",children:reportData.TenantInfo?.DeviceOverview?.DesktopDevicesSummary?.nodes?jsxRuntimeExports.jsx(DesktopDevicesSankey,{data:reportData.TenantInfo.DeviceOverview.DesktopDevicesSummary.nodes}):jsxRuntimeExports.jsx("div",{className:"flex items-center justify-center h-32 text-muted-foreground",children:"No data available"})})}),jsxRuntimeExports.jsx(CardFooter,{className:"flex flex-row border-t p-4",children:jsxRuntimeExports.jsxs("div",{className:"flex w-full items-center gap-2",children:[jsxRuntimeExports.jsxs("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsx("div",{className:"text-xs text-muted-foreground",children:"Entra joined"}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 text-2xl font-bold tabular-nums leading-none",children:[(()=>{const nodes=reportData.TenantInfo?.DeviceOverview?.DesktopDevicesSummary?.nodes||[],entraJoined=nodes.find(n2=>n2.target==="Entra joined")?.value||0,windowsDevices=nodes.find(n2=>n2.source==="Desktop devices"&&n2.target==="Windows")?.value||0,macOSDevices=nodes.find(n2=>n2.source==="Desktop devices"&&n2.target==="macOS")?.value||0,total=windowsDevices+macOSDevices;return Math.round(entraJoined/(total||1)*100)})(),jsxRuntimeExports.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:"%"})]})]}),jsxRuntimeExports.jsx(Separator,{orientation:"vertical",className:"mx-2 h-10 w-px"}),jsxRuntimeExports.jsxs("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsx("div",{className:"text-xs text-muted-foreground",children:"Entra hybrid joined"}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 text-2xl font-bold tabular-nums leading-none",children:[(()=>{const nodes=reportData.TenantInfo?.DeviceOverview?.DesktopDevicesSummary?.nodes||[],entraHybrid=nodes.find(n2=>n2.target==="Entra hybrid joined")?.value||0,windowsDevices=nodes.find(n2=>n2.source==="Desktop devices"&&n2.target==="Windows")?.value||0,macOSDevices=nodes.find(n2=>n2.source==="Desktop devices"&&n2.target==="macOS")?.value||0,total=windowsDevices+macOSDevices;return Math.round(entraHybrid/(total||1)*100)})(),jsxRuntimeExports.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:"%"})]})]}),jsxRuntimeExports.jsx(Separator,{orientation:"vertical",className:"mx-2 h-10 w-px"}),jsxRuntimeExports.jsxs("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsx("div",{className:"text-xs text-muted-foreground",children:"Entra registered"}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 text-2xl font-bold tabular-nums leading-none",children:[(()=>{const nodes=reportData.TenantInfo?.DeviceOverview?.DesktopDevicesSummary?.nodes||[],entraRegistered=nodes.find(n2=>n2.target==="Entra registered")?.value||0,windowsDevices=nodes.find(n2=>n2.source==="Desktop devices"&&n2.target==="Windows")?.value||0,macOSDevices=nodes.find(n2=>n2.source==="Desktop devices"&&n2.target==="macOS")?.value||0,total=windowsDevices+macOSDevices;return Math.round(entraRegistered/(total||1)*100)})(),jsxRuntimeExports.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:"%"})]})]})]})})]}),reportData.TenantInfo?.DeviceOverview?.MobileSummary?.nodes&&reportData.TenantInfo?.DeviceOverview?.ManagedDevices&&jsxRuntimeExports.jsxs(Card,{className:"w-full lg:col-span-3",children:[jsxRuntimeExports.jsxs(CardHeader,{className:"space-y-0 pb-2 flex-row",children:[jsxRuntimeExports.jsx(MonitorSmartphone,{className:"pr-2 size-8"}),jsxRuntimeExports.jsx(CardTitle,{className:"text-2xl tabular-nums",children:"Mobile devices"})]}),jsxRuntimeExports.jsx(CardContent,{children:jsxRuntimeExports.jsx(ChartContainer,{config:{steps:{label:"Steps",color:"hsl(var(--chart-1))"}},className:"h-[350px] w-full",children:reportData.TenantInfo?.DeviceOverview?.MobileSummary?.nodes?jsxRuntimeExports.jsx(MobileSankey,{data:reportData.TenantInfo.DeviceOverview.MobileSummary.nodes}):jsxRuntimeExports.jsx("div",{className:"flex items-center justify-center h-32 text-muted-foreground",children:"No data available"})})}),jsxRuntimeExports.jsx(CardFooter,{className:"flex flex-row border-t p-4",children:jsxRuntimeExports.jsxs("div",{className:"flex w-full items-center gap-2",children:[jsxRuntimeExports.jsxs("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsx("div",{className:"text-xs text-muted-foreground",children:"Android compliant"}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 text-2xl font-bold tabular-nums leading-none",children:[(()=>{const nodes=reportData.TenantInfo?.DeviceOverview?.MobileSummary?.nodes||[],androidCompliant=nodes.filter(n2=>n2.source?.includes("Android")&&n2.target==="Compliant").reduce((sum2,n2)=>sum2+(n2.value||0),0),androidTotal=nodes.find(n2=>n2.source==="Mobile devices"&&n2.target==="Android")?.value||0;return androidTotal>0?Math.round(androidCompliant/androidTotal*100):0})(),jsxRuntimeExports.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:"%"})]})]}),jsxRuntimeExports.jsx(Separator,{orientation:"vertical",className:"mx-2 h-10 w-px"}),jsxRuntimeExports.jsxs("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsx("div",{className:"text-xs text-muted-foreground",children:"iOS compliant"}),jsxRuntimeExports.jsxs("div",{className:"flex items-baseline gap-1 text-2xl font-bold tabular-nums leading-none",children:[(()=>{const nodes=reportData.TenantInfo?.DeviceOverview?.MobileSummary?.nodes||[],iosCompliant=nodes.filter(n2=>n2.source?.includes("iOS")&&n2.target==="Compliant").reduce((sum2,n2)=>sum2+(n2.value||0),0),iosTotal=nodes.find(n2=>n2.source==="Mobile devices"&&n2.target==="iOS")?.value||0;return iosTotal>0?Math.round(iosCompliant/iosTotal*100):0})(),jsxRuntimeExports.jsx("span",{className:"text-sm font-normal text-muted-foreground",children:"%"})]})]}),jsxRuntimeExports.jsx(Separator,{orientation:"vertical",className:"mx-2 h-10 w-px"}),jsxRuntimeExports.jsxs("div",{className:"grid flex-1 auto-rows-min gap-0.5",children:[jsxRuntimeExports.jsx("div",{className:"text-xs text-muted-foreground",children:"Total devices"}),jsxRuntimeExports.jsx("div",{className:"flex items-baseline gap-1 text-2xl font-bold tabular-nums leading-none",children:(()=>{const nodes=reportData.TenantInfo?.DeviceOverview?.MobileSummary?.nodes||[],androidTotal=nodes.find(n2=>n2.source==="Mobile devices"&&n2.target==="Android")?.value||0,iosTotal=nodes.find(n2=>n2.source==="Mobile devices"&&n2.target==="iOS")?.value||0;return androidTotal+iosTotal})()})]})]})})]})]})}),hasSwgData()&&jsxRuntimeExports.jsx("div",{className:"flex max-w-7xl flex-col gap-6 mt-6",children:jsxRuntimeExports.jsxs(Card,{children:[jsxRuntimeExports.jsxs(CardHeader,{className:"space-y-0 pb-2 flex-row",children:[jsxRuntimeExports.jsx(ShieldCheck,{className:"pr-2 size-8"}),jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx(CardTitle,{className:"text-2xl tabular-nums",children:"SWG defense-in-depth"}),jsxRuntimeExports.jsx(CardDescription,{className:"mt-1",children:"Secure Web Gateway defense layers — internet traffic inspection posture"})]})]}),jsxRuntimeExports.jsx(CardContent,{children:jsxRuntimeExports.jsx(SwgDefenseLayers,{})})]})})]})}__name(Dashboard,"Dashboard");var E=typeof window>"u",m=E?React.useEffect:React.useLayoutEffect,B=0,_=__name(()=>++B,"_"),v=!1;function O(){let[n2,r2]=React.useState(v?_:void 0);return m(()=>{n2===void 0&&r2(_()),v=!0},[]),n2===void 0?n2:`rwb-${n2.toString(32)}`}__name(O,"O");function R(){return React.useMemo(()=>"useId"in React?React.useId:O,[])()}__name(R,"R");var y="__wrap_b",f="__wrap_n",S="__wrap_o",T=__name((n2,r2,e3)=>{e3=e3||document.querySelector(`[data-br="${n2}"]`);let t2=e3?.parentElement;if(!t2)return;let l2=__name(u2=>e3.style.maxWidth=u2+"px","l");e3.style.maxWidth="";let i2=t2.clientWidth,d=t2.clientHeight,o2=i2/2-.25,s2=i2+.5,c2;if(i2){for(l2(o2),o2=Math.max(e3.scrollWidth,o2);o2+1{self.__wrap_b(0,+e3.dataset.brr,e3)})).observe(t2)},"T"),I=T.toString(),w='(self.CSS&&CSS.supports("text-wrap","balance")?1:2)',g=__name((n2,r2,e3="")=>(e3&&(e3=`self.${f}!=1&&${e3}`),React.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:(n2?"":`self.${f}=self.${f}||${w};self.${y}=${I};`)+e3},nonce:r2})),"g"),h$1=React.createContext({preferNative:!0,hasProvider:!1});React.forwardRef(({ratio:n2=1,preferNative:r2,nonce:e3,children:t2,as:l2,...i2},d)=>{let o2=R(),s2=React.useRef(),c2=React.useContext(h$1),u2=r2??c2.preferNative,x2=l2||"span";return React.useImperativeHandle(d,()=>s2.current,[]),m(()=>{u2&&self[f]===1||s2.current&&(self[y]=T)(0,n2,s2.current)},[t2,u2,n2]),m(()=>{if(!(u2&&self[f]===1))return()=>{if(!s2.current)return;let b2=s2.current[S];b2&&(b2.disconnect(),delete s2.current[S])}},[u2]),React.createElement(React.Fragment,null,React.createElement(x2,{...i2,"data-br":o2,"data-brr":n2,ref:s2,style:{display:"inline-block",verticalAlign:"top",textDecoration:"inherit",textWrap:u2?"balance":"initial"},suppressHydrationWarning:!0},t2),g(c2.hasProvider,e3,`self.${y}("${o2}",${n2})`))});function PageHeader({className,children:children2,...props}){return jsxRuntimeExports.jsx("section",{className:cn$2("pt-6 pb-4 flex items-center justify-between space-y-2",className),...props,children:children2})}__name(PageHeader,"PageHeader");function PageHeaderHeading({className,...props}){return jsxRuntimeExports.jsx("h1",{className:cn$2("text-3xl font-semibold tracking-tight my-1",className),...props})}__name(PageHeaderHeading,"PageHeaderHeading");function functionalUpdate(updater,input){return typeof updater=="function"?updater(input):updater}__name(functionalUpdate,"functionalUpdate");function makeStateUpdater(key,instance){return updater=>{instance.setState(old=>({...old,[key]:functionalUpdate(updater,old[key])}))}}__name(makeStateUpdater,"makeStateUpdater");function isFunction(d){return d instanceof Function}__name(isFunction,"isFunction");function isNumberArray(d){return Array.isArray(d)&&d.every(val=>typeof val=="number")}__name(isNumberArray,"isNumberArray");function flattenBy(arr,getChildren){const flat=[],recurse=__name(subArr=>{subArr.forEach(item=>{flat.push(item);const children2=getChildren(item);children2!=null&&children2.length&&recurse(children2)})},"recurse");return recurse(arr),flat}__name(flattenBy,"flattenBy");function memo(getDeps,fn2,opts){let deps=[],result;return depArgs=>{let depTime;opts.key&&opts.debug&&(depTime=Date.now());const newDeps=getDeps(depArgs);if(!(newDeps.length!==deps.length||newDeps.some((dep,index2)=>deps[index2]!==dep)))return result;deps=newDeps;let resultTime;if(opts.key&&opts.debug&&(resultTime=Date.now()),result=fn2(...newDeps),opts==null||opts.onChange==null||opts.onChange(result),opts.key&&opts.debug&&opts!=null&&opts.debug()){const depEndTime=Math.round((Date.now()-depTime)*100)/100,resultEndTime=Math.round((Date.now()-resultTime)*100)/100,resultFpsPercentage=resultEndTime/16,pad2=__name((str,num)=>{for(str=String(str);str.length{var _tableOptions$debugAl;return(_tableOptions$debugAl=tableOptions?.debugAll)!=null?_tableOptions$debugAl:tableOptions[debugLevel]},"debug"),key:!1,onChange}}__name(getMemoOptions,"getMemoOptions");function createCell(table2,row,column,columnId){const getRenderValue=__name(()=>{var _cell$getValue;return(_cell$getValue=cell.getValue())!=null?_cell$getValue:table2.options.renderFallbackValue},"getRenderValue"),cell={id:`${row.id}_${column.id}`,row,column,getValue:__name(()=>row.getValue(columnId),"getValue"),renderValue:getRenderValue,getContext:memo(()=>[table2,column,row,cell],(table22,column2,row2,cell2)=>({table:table22,column:column2,row:row2,cell:cell2,getValue:cell2.getValue,renderValue:cell2.renderValue}),getMemoOptions(table2.options,"debugCells"))};return table2._features.forEach(feature=>{feature.createCell==null||feature.createCell(cell,column,row,table2)},{}),cell}__name(createCell,"createCell");function createColumn(table2,columnDef,depth,parent){var _ref,_resolvedColumnDef$id;const resolvedColumnDef={...table2._getDefaultColumnDef(),...columnDef},accessorKey=resolvedColumnDef.accessorKey;let id=(_ref=(_resolvedColumnDef$id=resolvedColumnDef.id)!=null?_resolvedColumnDef$id:accessorKey?typeof String.prototype.replaceAll=="function"?accessorKey.replaceAll(".","_"):accessorKey.replace(/\./g,"_"):void 0)!=null?_ref:typeof resolvedColumnDef.header=="string"?resolvedColumnDef.header:void 0,accessorFn;if(resolvedColumnDef.accessorFn?accessorFn=resolvedColumnDef.accessorFn:accessorKey&&(accessorKey.includes(".")?accessorFn=__name(originalRow=>{let result=originalRow;for(const key of accessorKey.split(".")){var _result;result=(_result=result)==null?void 0:_result[key]}return result},"accessorFn"):accessorFn=__name(originalRow=>originalRow[resolvedColumnDef.accessorKey],"accessorFn")),!id)throw new Error;let column={id:`${String(id)}`,accessorFn,parent,depth,columnDef:resolvedColumnDef,columns:[],getFlatColumns:memo(()=>[!0],()=>{var _column$columns;return[column,...(_column$columns=column.columns)==null?void 0:_column$columns.flatMap(d=>d.getFlatColumns())]},getMemoOptions(table2.options,"debugColumns")),getLeafColumns:memo(()=>[table2._getOrderColumnsFn()],orderColumns2=>{var _column$columns2;if((_column$columns2=column.columns)!=null&&_column$columns2.length){let leafColumns=column.columns.flatMap(column2=>column2.getLeafColumns());return orderColumns2(leafColumns)}return[column]},getMemoOptions(table2.options,"debugColumns"))};for(const feature of table2._features)feature.createColumn==null||feature.createColumn(column,table2);return column}__name(createColumn,"createColumn");const debug="debugHeaders";function createHeader(table2,column,options){var _options$id;let header={id:(_options$id=options.id)!=null?_options$id:column.id,column,index:options.index,isPlaceholder:!!options.isPlaceholder,placeholderId:options.placeholderId,depth:options.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:__name(()=>{const leafHeaders=[],recurseHeader=__name(h2=>{h2.subHeaders&&h2.subHeaders.length&&h2.subHeaders.map(recurseHeader),leafHeaders.push(h2)},"recurseHeader");return recurseHeader(header),leafHeaders},"getLeafHeaders"),getContext:__name(()=>({table:table2,header,column}),"getContext")};return table2._features.forEach(feature=>{feature.createHeader==null||feature.createHeader(header,table2)}),header}__name(createHeader,"createHeader");const Headers$1={createTable:__name(table2=>{table2.getHeaderGroups=memo(()=>[table2.getAllColumns(),table2.getVisibleLeafColumns(),table2.getState().columnPinning.left,table2.getState().columnPinning.right],(allColumns,leafColumns,left2,right2)=>{var _left$map$filter,_right$map$filter;const leftColumns=(_left$map$filter=left2?.map(columnId=>leafColumns.find(d=>d.id===columnId)).filter(Boolean))!=null?_left$map$filter:[],rightColumns=(_right$map$filter=right2?.map(columnId=>leafColumns.find(d=>d.id===columnId)).filter(Boolean))!=null?_right$map$filter:[],centerColumns=leafColumns.filter(column=>!(left2!=null&&left2.includes(column.id))&&!(right2!=null&&right2.includes(column.id)));return buildHeaderGroups(allColumns,[...leftColumns,...centerColumns,...rightColumns],table2)},getMemoOptions(table2.options,debug)),table2.getCenterHeaderGroups=memo(()=>[table2.getAllColumns(),table2.getVisibleLeafColumns(),table2.getState().columnPinning.left,table2.getState().columnPinning.right],(allColumns,leafColumns,left2,right2)=>(leafColumns=leafColumns.filter(column=>!(left2!=null&&left2.includes(column.id))&&!(right2!=null&&right2.includes(column.id))),buildHeaderGroups(allColumns,leafColumns,table2,"center")),getMemoOptions(table2.options,debug)),table2.getLeftHeaderGroups=memo(()=>[table2.getAllColumns(),table2.getVisibleLeafColumns(),table2.getState().columnPinning.left],(allColumns,leafColumns,left2)=>{var _left$map$filter2;const orderedLeafColumns=(_left$map$filter2=left2?.map(columnId=>leafColumns.find(d=>d.id===columnId)).filter(Boolean))!=null?_left$map$filter2:[];return buildHeaderGroups(allColumns,orderedLeafColumns,table2,"left")},getMemoOptions(table2.options,debug)),table2.getRightHeaderGroups=memo(()=>[table2.getAllColumns(),table2.getVisibleLeafColumns(),table2.getState().columnPinning.right],(allColumns,leafColumns,right2)=>{var _right$map$filter2;const orderedLeafColumns=(_right$map$filter2=right2?.map(columnId=>leafColumns.find(d=>d.id===columnId)).filter(Boolean))!=null?_right$map$filter2:[];return buildHeaderGroups(allColumns,orderedLeafColumns,table2,"right")},getMemoOptions(table2.options,debug)),table2.getFooterGroups=memo(()=>[table2.getHeaderGroups()],headerGroups=>[...headerGroups].reverse(),getMemoOptions(table2.options,debug)),table2.getLeftFooterGroups=memo(()=>[table2.getLeftHeaderGroups()],headerGroups=>[...headerGroups].reverse(),getMemoOptions(table2.options,debug)),table2.getCenterFooterGroups=memo(()=>[table2.getCenterHeaderGroups()],headerGroups=>[...headerGroups].reverse(),getMemoOptions(table2.options,debug)),table2.getRightFooterGroups=memo(()=>[table2.getRightHeaderGroups()],headerGroups=>[...headerGroups].reverse(),getMemoOptions(table2.options,debug)),table2.getFlatHeaders=memo(()=>[table2.getHeaderGroups()],headerGroups=>headerGroups.map(headerGroup=>headerGroup.headers).flat(),getMemoOptions(table2.options,debug)),table2.getLeftFlatHeaders=memo(()=>[table2.getLeftHeaderGroups()],left2=>left2.map(headerGroup=>headerGroup.headers).flat(),getMemoOptions(table2.options,debug)),table2.getCenterFlatHeaders=memo(()=>[table2.getCenterHeaderGroups()],left2=>left2.map(headerGroup=>headerGroup.headers).flat(),getMemoOptions(table2.options,debug)),table2.getRightFlatHeaders=memo(()=>[table2.getRightHeaderGroups()],left2=>left2.map(headerGroup=>headerGroup.headers).flat(),getMemoOptions(table2.options,debug)),table2.getCenterLeafHeaders=memo(()=>[table2.getCenterFlatHeaders()],flatHeaders=>flatHeaders.filter(header=>{var _header$subHeaders;return!((_header$subHeaders=header.subHeaders)!=null&&_header$subHeaders.length)}),getMemoOptions(table2.options,debug)),table2.getLeftLeafHeaders=memo(()=>[table2.getLeftFlatHeaders()],flatHeaders=>flatHeaders.filter(header=>{var _header$subHeaders2;return!((_header$subHeaders2=header.subHeaders)!=null&&_header$subHeaders2.length)}),getMemoOptions(table2.options,debug)),table2.getRightLeafHeaders=memo(()=>[table2.getRightFlatHeaders()],flatHeaders=>flatHeaders.filter(header=>{var _header$subHeaders3;return!((_header$subHeaders3=header.subHeaders)!=null&&_header$subHeaders3.length)}),getMemoOptions(table2.options,debug)),table2.getLeafHeaders=memo(()=>[table2.getLeftHeaderGroups(),table2.getCenterHeaderGroups(),table2.getRightHeaderGroups()],(left2,center2,right2)=>{var _left$0$headers,_left$,_center$0$headers,_center$,_right$0$headers,_right$;return[...(_left$0$headers=(_left$=left2[0])==null?void 0:_left$.headers)!=null?_left$0$headers:[],...(_center$0$headers=(_center$=center2[0])==null?void 0:_center$.headers)!=null?_center$0$headers:[],...(_right$0$headers=(_right$=right2[0])==null?void 0:_right$.headers)!=null?_right$0$headers:[]].map(header=>header.getLeafHeaders()).flat()},getMemoOptions(table2.options,debug))},"createTable")};function buildHeaderGroups(allColumns,columnsToGroup,table2,headerFamily){var _headerGroups$0$heade,_headerGroups$;let maxDepth=0;const findMaxDepth=__name(function(columns2,depth){depth===void 0&&(depth=1),maxDepth=Math.max(maxDepth,depth),columns2.filter(column=>column.getIsVisible()).forEach(column=>{var _column$columns;(_column$columns=column.columns)!=null&&_column$columns.length&&findMaxDepth(column.columns,depth+1)},0)},"findMaxDepth");findMaxDepth(allColumns);let headerGroups=[];const createHeaderGroup=__name((headersToGroup,depth)=>{const headerGroup={depth,id:[headerFamily,`${depth}`].filter(Boolean).join("_"),headers:[]},pendingParentHeaders=[];headersToGroup.forEach(headerToGroup=>{const latestPendingParentHeader=[...pendingParentHeaders].reverse()[0],isLeafHeader=headerToGroup.column.depth===headerGroup.depth;let column,isPlaceholder=!1;if(isLeafHeader&&headerToGroup.column.parent?column=headerToGroup.column.parent:(column=headerToGroup.column,isPlaceholder=!0),latestPendingParentHeader&&latestPendingParentHeader?.column===column)latestPendingParentHeader.subHeaders.push(headerToGroup);else{const header=createHeader(table2,column,{id:[headerFamily,depth,column.id,headerToGroup?.id].filter(Boolean).join("_"),isPlaceholder,placeholderId:isPlaceholder?`${pendingParentHeaders.filter(d=>d.column===column).length}`:void 0,depth,index:pendingParentHeaders.length});header.subHeaders.push(headerToGroup),pendingParentHeaders.push(header)}headerGroup.headers.push(headerToGroup),headerToGroup.headerGroup=headerGroup}),headerGroups.push(headerGroup),depth>0&&createHeaderGroup(pendingParentHeaders,depth-1)},"createHeaderGroup"),bottomHeaders=columnsToGroup.map((column,index2)=>createHeader(table2,column,{depth:maxDepth,index:index2}));createHeaderGroup(bottomHeaders,maxDepth-1),headerGroups.reverse();const recurseHeadersForSpans=__name(headers=>headers.filter(header=>header.column.getIsVisible()).map(header=>{let colSpan=0,rowSpan=0,childRowSpans=[0];header.subHeaders&&header.subHeaders.length?(childRowSpans=[],recurseHeadersForSpans(header.subHeaders).forEach(_ref=>{let{colSpan:childColSpan,rowSpan:childRowSpan}=_ref;colSpan+=childColSpan,childRowSpans.push(childRowSpan)})):colSpan=1;const minChildRowSpan=Math.min(...childRowSpans);return rowSpan=rowSpan+minChildRowSpan,header.colSpan=colSpan,header.rowSpan=rowSpan,{colSpan,rowSpan}}),"recurseHeadersForSpans");return recurseHeadersForSpans((_headerGroups$0$heade=(_headerGroups$=headerGroups[0])==null?void 0:_headerGroups$.headers)!=null?_headerGroups$0$heade:[]),headerGroups}__name(buildHeaderGroups,"buildHeaderGroups");const createRow=__name((table2,id,original,rowIndex,depth,subRows,parentId)=>{let row={id,index:rowIndex,original,depth,parentId,_valuesCache:{},_uniqueValuesCache:{},getValue:__name(columnId=>{if(row._valuesCache.hasOwnProperty(columnId))return row._valuesCache[columnId];const column=table2.getColumn(columnId);if(column!=null&&column.accessorFn)return row._valuesCache[columnId]=column.accessorFn(row.original,rowIndex),row._valuesCache[columnId]},"getValue"),getUniqueValues:__name(columnId=>{if(row._uniqueValuesCache.hasOwnProperty(columnId))return row._uniqueValuesCache[columnId];const column=table2.getColumn(columnId);if(column!=null&&column.accessorFn)return column.columnDef.getUniqueValues?(row._uniqueValuesCache[columnId]=column.columnDef.getUniqueValues(row.original,rowIndex),row._uniqueValuesCache[columnId]):(row._uniqueValuesCache[columnId]=[row.getValue(columnId)],row._uniqueValuesCache[columnId])},"getUniqueValues"),renderValue:__name(columnId=>{var _row$getValue;return(_row$getValue=row.getValue(columnId))!=null?_row$getValue:table2.options.renderFallbackValue},"renderValue"),subRows:[],getLeafRows:__name(()=>flattenBy(row.subRows,d=>d.subRows),"getLeafRows"),getParentRow:__name(()=>row.parentId?table2.getRow(row.parentId,!0):void 0,"getParentRow"),getParentRows:__name(()=>{let parentRows=[],currentRow=row;for(;;){const parentRow=currentRow.getParentRow();if(!parentRow)break;parentRows.push(parentRow),currentRow=parentRow}return parentRows.reverse()},"getParentRows"),getAllCells:memo(()=>[table2.getAllLeafColumns()],leafColumns=>leafColumns.map(column=>createCell(table2,row,column,column.id)),getMemoOptions(table2.options,"debugRows")),_getAllCellsByColumnId:memo(()=>[row.getAllCells()],allCells=>allCells.reduce((acc,cell)=>(acc[cell.column.id]=cell,acc),{}),getMemoOptions(table2.options,"debugRows"))};for(let i2=0;i2{column._getFacetedRowModel=table2.options.getFacetedRowModel&&table2.options.getFacetedRowModel(table2,column.id),column.getFacetedRowModel=()=>column._getFacetedRowModel?column._getFacetedRowModel():table2.getPreFilteredRowModel(),column._getFacetedUniqueValues=table2.options.getFacetedUniqueValues&&table2.options.getFacetedUniqueValues(table2,column.id),column.getFacetedUniqueValues=()=>column._getFacetedUniqueValues?column._getFacetedUniqueValues():new Map,column._getFacetedMinMaxValues=table2.options.getFacetedMinMaxValues&&table2.options.getFacetedMinMaxValues(table2,column.id),column.getFacetedMinMaxValues=()=>{if(column._getFacetedMinMaxValues)return column._getFacetedMinMaxValues()}},"createColumn")},includesString=__name((row,columnId,filterValue)=>{var _filterValue$toString,_row$getValue;const search2=filterValue==null||(_filterValue$toString=filterValue.toString())==null?void 0:_filterValue$toString.toLowerCase();return!!(!((_row$getValue=row.getValue(columnId))==null||(_row$getValue=_row$getValue.toString())==null||(_row$getValue=_row$getValue.toLowerCase())==null)&&_row$getValue.includes(search2))},"includesString");includesString.autoRemove=val=>testFalsey(val);const includesStringSensitive=__name((row,columnId,filterValue)=>{var _row$getValue2;return!!(!((_row$getValue2=row.getValue(columnId))==null||(_row$getValue2=_row$getValue2.toString())==null)&&_row$getValue2.includes(filterValue))},"includesStringSensitive");includesStringSensitive.autoRemove=val=>testFalsey(val);const equalsString=__name((row,columnId,filterValue)=>{var _row$getValue3;return((_row$getValue3=row.getValue(columnId))==null||(_row$getValue3=_row$getValue3.toString())==null?void 0:_row$getValue3.toLowerCase())===filterValue?.toLowerCase()},"equalsString");equalsString.autoRemove=val=>testFalsey(val);const arrIncludes=__name((row,columnId,filterValue)=>{var _row$getValue4;return(_row$getValue4=row.getValue(columnId))==null?void 0:_row$getValue4.includes(filterValue)},"arrIncludes");arrIncludes.autoRemove=val=>testFalsey(val);const arrIncludesAll=__name((row,columnId,filterValue)=>!filterValue.some(val=>{var _row$getValue5;return!((_row$getValue5=row.getValue(columnId))!=null&&_row$getValue5.includes(val))}),"arrIncludesAll");arrIncludesAll.autoRemove=val=>testFalsey(val)||!(val!=null&&val.length);const arrIncludesSome=__name((row,columnId,filterValue)=>filterValue.some(val=>{var _row$getValue6;return(_row$getValue6=row.getValue(columnId))==null?void 0:_row$getValue6.includes(val)}),"arrIncludesSome");arrIncludesSome.autoRemove=val=>testFalsey(val)||!(val!=null&&val.length);const equals=__name((row,columnId,filterValue)=>row.getValue(columnId)===filterValue,"equals");equals.autoRemove=val=>testFalsey(val);const weakEquals=__name((row,columnId,filterValue)=>row.getValue(columnId)==filterValue,"weakEquals");weakEquals.autoRemove=val=>testFalsey(val);const inNumberRange=__name((row,columnId,filterValue)=>{let[min2,max2]=filterValue;const rowValue=row.getValue(columnId);return rowValue>=min2&&rowValue<=max2},"inNumberRange");inNumberRange.resolveFilterValue=val=>{let[unsafeMin,unsafeMax]=val,parsedMin=typeof unsafeMin!="number"?parseFloat(unsafeMin):unsafeMin,parsedMax=typeof unsafeMax!="number"?parseFloat(unsafeMax):unsafeMax,min2=unsafeMin===null||Number.isNaN(parsedMin)?-1/0:parsedMin,max2=unsafeMax===null||Number.isNaN(parsedMax)?1/0:parsedMax;if(min2>max2){const temp=min2;min2=max2,max2=temp}return[min2,max2]};inNumberRange.autoRemove=val=>testFalsey(val)||testFalsey(val[0])&&testFalsey(val[1]);const filterFns={includesString,includesStringSensitive,equalsString,arrIncludes,arrIncludesAll,arrIncludesSome,equals,weakEquals,inNumberRange};function testFalsey(val){return val==null||val===""}__name(testFalsey,"testFalsey");const ColumnFiltering={getDefaultColumnDef:__name(()=>({filterFn:"auto"}),"getDefaultColumnDef"),getInitialState:__name(state=>({columnFilters:[],...state}),"getInitialState"),getDefaultOptions:__name(table2=>({onColumnFiltersChange:makeStateUpdater("columnFilters",table2),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),"getDefaultOptions"),createColumn:__name((column,table2)=>{column.getAutoFilterFn=()=>{const firstRow=table2.getCoreRowModel().flatRows[0],value2=firstRow?.getValue(column.id);return typeof value2=="string"?filterFns.includesString:typeof value2=="number"?filterFns.inNumberRange:typeof value2=="boolean"||value2!==null&&typeof value2=="object"?filterFns.equals:Array.isArray(value2)?filterFns.arrIncludes:filterFns.weakEquals},column.getFilterFn=()=>{var _table$options$filter,_table$options$filter2;return isFunction(column.columnDef.filterFn)?column.columnDef.filterFn:column.columnDef.filterFn==="auto"?column.getAutoFilterFn():(_table$options$filter=(_table$options$filter2=table2.options.filterFns)==null?void 0:_table$options$filter2[column.columnDef.filterFn])!=null?_table$options$filter:filterFns[column.columnDef.filterFn]},column.getCanFilter=()=>{var _column$columnDef$ena,_table$options$enable,_table$options$enable2;return((_column$columnDef$ena=column.columnDef.enableColumnFilter)!=null?_column$columnDef$ena:!0)&&((_table$options$enable=table2.options.enableColumnFilters)!=null?_table$options$enable:!0)&&((_table$options$enable2=table2.options.enableFilters)!=null?_table$options$enable2:!0)&&!!column.accessorFn},column.getIsFiltered=()=>column.getFilterIndex()>-1,column.getFilterValue=()=>{var _table$getState$colum;return(_table$getState$colum=table2.getState().columnFilters)==null||(_table$getState$colum=_table$getState$colum.find(d=>d.id===column.id))==null?void 0:_table$getState$colum.value},column.getFilterIndex=()=>{var _table$getState$colum2,_table$getState$colum3;return(_table$getState$colum2=(_table$getState$colum3=table2.getState().columnFilters)==null?void 0:_table$getState$colum3.findIndex(d=>d.id===column.id))!=null?_table$getState$colum2:-1},column.setFilterValue=value2=>{table2.setColumnFilters(old=>{const filterFn=column.getFilterFn(),previousFilter=old?.find(d=>d.id===column.id),newFilter=functionalUpdate(value2,previousFilter?previousFilter.value:void 0);if(shouldAutoRemoveFilter(filterFn,newFilter,column)){var _old$filter;return(_old$filter=old?.filter(d=>d.id!==column.id))!=null?_old$filter:[]}const newFilterObj={id:column.id,value:newFilter};if(previousFilter){var _old$map;return(_old$map=old?.map(d=>d.id===column.id?newFilterObj:d))!=null?_old$map:[]}return old!=null&&old.length?[...old,newFilterObj]:[newFilterObj]})}},"createColumn"),createRow:__name((row,_table)=>{row.columnFilters={},row.columnFiltersMeta={}},"createRow"),createTable:__name(table2=>{table2.setColumnFilters=updater=>{const leafColumns=table2.getAllLeafColumns(),updateFn=__name(old=>{var _functionalUpdate;return(_functionalUpdate=functionalUpdate(updater,old))==null?void 0:_functionalUpdate.filter(filter=>{const column=leafColumns.find(d=>d.id===filter.id);if(column){const filterFn=column.getFilterFn();if(shouldAutoRemoveFilter(filterFn,filter.value,column))return!1}return!0})},"updateFn");table2.options.onColumnFiltersChange==null||table2.options.onColumnFiltersChange(updateFn)},table2.resetColumnFilters=defaultState=>{var _table$initialState$c,_table$initialState;table2.setColumnFilters(defaultState?[]:(_table$initialState$c=(_table$initialState=table2.initialState)==null?void 0:_table$initialState.columnFilters)!=null?_table$initialState$c:[])},table2.getPreFilteredRowModel=()=>table2.getCoreRowModel(),table2.getFilteredRowModel=()=>(!table2._getFilteredRowModel&&table2.options.getFilteredRowModel&&(table2._getFilteredRowModel=table2.options.getFilteredRowModel(table2)),table2.options.manualFiltering||!table2._getFilteredRowModel?table2.getPreFilteredRowModel():table2._getFilteredRowModel())},"createTable")};function shouldAutoRemoveFilter(filterFn,value2,column){return(filterFn&&filterFn.autoRemove?filterFn.autoRemove(value2,column):!1)||typeof value2>"u"||typeof value2=="string"&&!value2}__name(shouldAutoRemoveFilter,"shouldAutoRemoveFilter");const sum=__name((columnId,_leafRows,childRows)=>childRows.reduce((sum2,next2)=>{const nextValue=next2.getValue(columnId);return sum2+(typeof nextValue=="number"?nextValue:0)},0),"sum"),min=__name((columnId,_leafRows,childRows)=>{let min2;return childRows.forEach(row=>{const value2=row.getValue(columnId);value2!=null&&(min2>value2||min2===void 0&&value2>=value2)&&(min2=value2)}),min2},"min"),max=__name((columnId,_leafRows,childRows)=>{let max2;return childRows.forEach(row=>{const value2=row.getValue(columnId);value2!=null&&(max2=value2)&&(max2=value2)}),max2},"max"),extent=__name((columnId,_leafRows,childRows)=>{let min2,max2;return childRows.forEach(row=>{const value2=row.getValue(columnId);value2!=null&&(min2===void 0?value2>=value2&&(min2=max2=value2):(min2>value2&&(min2=value2),max2{let count2=0,sum2=0;if(leafRows.forEach(row=>{let value2=row.getValue(columnId);value2!=null&&(value2=+value2)>=value2&&(++count2,sum2+=value2)}),count2)return sum2/count2},"mean"),median=__name((columnId,leafRows)=>{if(!leafRows.length)return;const values=leafRows.map(row=>row.getValue(columnId));if(!isNumberArray(values))return;if(values.length===1)return values[0];const mid=Math.floor(values.length/2),nums=values.sort((a2,b2)=>a2-b2);return values.length%2!==0?nums[mid]:(nums[mid-1]+nums[mid])/2},"median"),unique=__name((columnId,leafRows)=>Array.from(new Set(leafRows.map(d=>d.getValue(columnId))).values()),"unique"),uniqueCount=__name((columnId,leafRows)=>new Set(leafRows.map(d=>d.getValue(columnId))).size,"uniqueCount"),count=__name((_columnId,leafRows)=>leafRows.length,"count"),aggregationFns={sum,min,max,extent,mean,median,unique,uniqueCount,count},ColumnGrouping={getDefaultColumnDef:__name(()=>({aggregatedCell:__name(props=>{var _toString,_props$getValue;return(_toString=(_props$getValue=props.getValue())==null||_props$getValue.toString==null?void 0:_props$getValue.toString())!=null?_toString:null},"aggregatedCell"),aggregationFn:"auto"}),"getDefaultColumnDef"),getInitialState:__name(state=>({grouping:[],...state}),"getInitialState"),getDefaultOptions:__name(table2=>({onGroupingChange:makeStateUpdater("grouping",table2),groupedColumnMode:"reorder"}),"getDefaultOptions"),createColumn:__name((column,table2)=>{column.toggleGrouping=()=>{table2.setGrouping(old=>old!=null&&old.includes(column.id)?old.filter(d=>d!==column.id):[...old??[],column.id])},column.getCanGroup=()=>{var _column$columnDef$ena,_table$options$enable;return((_column$columnDef$ena=column.columnDef.enableGrouping)!=null?_column$columnDef$ena:!0)&&((_table$options$enable=table2.options.enableGrouping)!=null?_table$options$enable:!0)&&(!!column.accessorFn||!!column.columnDef.getGroupingValue)},column.getIsGrouped=()=>{var _table$getState$group;return(_table$getState$group=table2.getState().grouping)==null?void 0:_table$getState$group.includes(column.id)},column.getGroupedIndex=()=>{var _table$getState$group2;return(_table$getState$group2=table2.getState().grouping)==null?void 0:_table$getState$group2.indexOf(column.id)},column.getToggleGroupingHandler=()=>{const canGroup=column.getCanGroup();return()=>{canGroup&&column.toggleGrouping()}},column.getAutoAggregationFn=()=>{const firstRow=table2.getCoreRowModel().flatRows[0],value2=firstRow?.getValue(column.id);if(typeof value2=="number")return aggregationFns.sum;if(Object.prototype.toString.call(value2)==="[object Date]")return aggregationFns.extent},column.getAggregationFn=()=>{var _table$options$aggreg,_table$options$aggreg2;if(!column)throw new Error;return isFunction(column.columnDef.aggregationFn)?column.columnDef.aggregationFn:column.columnDef.aggregationFn==="auto"?column.getAutoAggregationFn():(_table$options$aggreg=(_table$options$aggreg2=table2.options.aggregationFns)==null?void 0:_table$options$aggreg2[column.columnDef.aggregationFn])!=null?_table$options$aggreg:aggregationFns[column.columnDef.aggregationFn]}},"createColumn"),createTable:__name(table2=>{table2.setGrouping=updater=>table2.options.onGroupingChange==null?void 0:table2.options.onGroupingChange(updater),table2.resetGrouping=defaultState=>{var _table$initialState$g,_table$initialState;table2.setGrouping(defaultState?[]:(_table$initialState$g=(_table$initialState=table2.initialState)==null?void 0:_table$initialState.grouping)!=null?_table$initialState$g:[])},table2.getPreGroupedRowModel=()=>table2.getFilteredRowModel(),table2.getGroupedRowModel=()=>(!table2._getGroupedRowModel&&table2.options.getGroupedRowModel&&(table2._getGroupedRowModel=table2.options.getGroupedRowModel(table2)),table2.options.manualGrouping||!table2._getGroupedRowModel?table2.getPreGroupedRowModel():table2._getGroupedRowModel())},"createTable"),createRow:__name((row,table2)=>{row.getIsGrouped=()=>!!row.groupingColumnId,row.getGroupingValue=columnId=>{if(row._groupingValuesCache.hasOwnProperty(columnId))return row._groupingValuesCache[columnId];const column=table2.getColumn(columnId);return column!=null&&column.columnDef.getGroupingValue?(row._groupingValuesCache[columnId]=column.columnDef.getGroupingValue(row.original),row._groupingValuesCache[columnId]):row.getValue(columnId)},row._groupingValuesCache={}},"createRow"),createCell:__name((cell,column,row,table2)=>{cell.getIsGrouped=()=>column.getIsGrouped()&&column.id===row.groupingColumnId,cell.getIsPlaceholder=()=>!cell.getIsGrouped()&&column.getIsGrouped(),cell.getIsAggregated=()=>{var _row$subRows;return!cell.getIsGrouped()&&!cell.getIsPlaceholder()&&!!((_row$subRows=row.subRows)!=null&&_row$subRows.length)}},"createCell")};function orderColumns(leafColumns,grouping,groupedColumnMode){if(!(grouping!=null&&grouping.length)||!groupedColumnMode)return leafColumns;const nonGroupingColumns=leafColumns.filter(col=>!grouping.includes(col.id));return groupedColumnMode==="remove"?nonGroupingColumns:[...grouping.map(g2=>leafColumns.find(col=>col.id===g2)).filter(Boolean),...nonGroupingColumns]}__name(orderColumns,"orderColumns");const ColumnOrdering={getInitialState:__name(state=>({columnOrder:[],...state}),"getInitialState"),getDefaultOptions:__name(table2=>({onColumnOrderChange:makeStateUpdater("columnOrder",table2)}),"getDefaultOptions"),createColumn:__name((column,table2)=>{column.getIndex=memo(position2=>[_getVisibleLeafColumns(table2,position2)],columns2=>columns2.findIndex(d=>d.id===column.id),getMemoOptions(table2.options,"debugColumns")),column.getIsFirstColumn=position2=>{var _columns$;return((_columns$=_getVisibleLeafColumns(table2,position2)[0])==null?void 0:_columns$.id)===column.id},column.getIsLastColumn=position2=>{var _columns;const columns2=_getVisibleLeafColumns(table2,position2);return((_columns=columns2[columns2.length-1])==null?void 0:_columns.id)===column.id}},"createColumn"),createTable:__name(table2=>{table2.setColumnOrder=updater=>table2.options.onColumnOrderChange==null?void 0:table2.options.onColumnOrderChange(updater),table2.resetColumnOrder=defaultState=>{var _table$initialState$c;table2.setColumnOrder(defaultState?[]:(_table$initialState$c=table2.initialState.columnOrder)!=null?_table$initialState$c:[])},table2._getOrderColumnsFn=memo(()=>[table2.getState().columnOrder,table2.getState().grouping,table2.options.groupedColumnMode],(columnOrder,grouping,groupedColumnMode)=>columns2=>{let orderedColumns=[];if(!(columnOrder!=null&&columnOrder.length))orderedColumns=columns2;else{const columnOrderCopy=[...columnOrder],columnsCopy=[...columns2];for(;columnsCopy.length&&columnOrderCopy.length;){const targetColumnId=columnOrderCopy.shift(),foundIndex=columnsCopy.findIndex(d=>d.id===targetColumnId);foundIndex>-1&&orderedColumns.push(columnsCopy.splice(foundIndex,1)[0])}orderedColumns=[...orderedColumns,...columnsCopy]}return orderColumns(orderedColumns,grouping,groupedColumnMode)},getMemoOptions(table2.options,"debugTable"))},"createTable")},getDefaultColumnPinningState=__name(()=>({left:[],right:[]}),"getDefaultColumnPinningState"),ColumnPinning={getInitialState:__name(state=>({columnPinning:getDefaultColumnPinningState(),...state}),"getInitialState"),getDefaultOptions:__name(table2=>({onColumnPinningChange:makeStateUpdater("columnPinning",table2)}),"getDefaultOptions"),createColumn:__name((column,table2)=>{column.pin=position2=>{const columnIds=column.getLeafColumns().map(d=>d.id).filter(Boolean);table2.setColumnPinning(old=>{var _old$left3,_old$right3;if(position2==="right"){var _old$left,_old$right;return{left:((_old$left=old?.left)!=null?_old$left:[]).filter(d=>!(columnIds!=null&&columnIds.includes(d))),right:[...((_old$right=old?.right)!=null?_old$right:[]).filter(d=>!(columnIds!=null&&columnIds.includes(d))),...columnIds]}}if(position2==="left"){var _old$left2,_old$right2;return{left:[...((_old$left2=old?.left)!=null?_old$left2:[]).filter(d=>!(columnIds!=null&&columnIds.includes(d))),...columnIds],right:((_old$right2=old?.right)!=null?_old$right2:[]).filter(d=>!(columnIds!=null&&columnIds.includes(d)))}}return{left:((_old$left3=old?.left)!=null?_old$left3:[]).filter(d=>!(columnIds!=null&&columnIds.includes(d))),right:((_old$right3=old?.right)!=null?_old$right3:[]).filter(d=>!(columnIds!=null&&columnIds.includes(d)))}})},column.getCanPin=()=>column.getLeafColumns().some(d=>{var _d$columnDef$enablePi,_ref,_table$options$enable;return((_d$columnDef$enablePi=d.columnDef.enablePinning)!=null?_d$columnDef$enablePi:!0)&&((_ref=(_table$options$enable=table2.options.enableColumnPinning)!=null?_table$options$enable:table2.options.enablePinning)!=null?_ref:!0)}),column.getIsPinned=()=>{const leafColumnIds=column.getLeafColumns().map(d=>d.id),{left:left2,right:right2}=table2.getState().columnPinning,isLeft=leafColumnIds.some(d=>left2?.includes(d)),isRight=leafColumnIds.some(d=>right2?.includes(d));return isLeft?"left":isRight?"right":!1},column.getPinnedIndex=()=>{var _table$getState$colum,_table$getState$colum2;const position2=column.getIsPinned();return position2?(_table$getState$colum=(_table$getState$colum2=table2.getState().columnPinning)==null||(_table$getState$colum2=_table$getState$colum2[position2])==null?void 0:_table$getState$colum2.indexOf(column.id))!=null?_table$getState$colum:-1:0}},"createColumn"),createRow:__name((row,table2)=>{row.getCenterVisibleCells=memo(()=>[row._getAllVisibleCells(),table2.getState().columnPinning.left,table2.getState().columnPinning.right],(allCells,left2,right2)=>{const leftAndRight=[...left2??[],...right2??[]];return allCells.filter(d=>!leftAndRight.includes(d.column.id))},getMemoOptions(table2.options,"debugRows")),row.getLeftVisibleCells=memo(()=>[row._getAllVisibleCells(),table2.getState().columnPinning.left],(allCells,left2)=>(left2??[]).map(columnId=>allCells.find(cell=>cell.column.id===columnId)).filter(Boolean).map(d=>({...d,position:"left"})),getMemoOptions(table2.options,"debugRows")),row.getRightVisibleCells=memo(()=>[row._getAllVisibleCells(),table2.getState().columnPinning.right],(allCells,right2)=>(right2??[]).map(columnId=>allCells.find(cell=>cell.column.id===columnId)).filter(Boolean).map(d=>({...d,position:"right"})),getMemoOptions(table2.options,"debugRows"))},"createRow"),createTable:__name(table2=>{table2.setColumnPinning=updater=>table2.options.onColumnPinningChange==null?void 0:table2.options.onColumnPinningChange(updater),table2.resetColumnPinning=defaultState=>{var _table$initialState$c,_table$initialState;return table2.setColumnPinning(defaultState?getDefaultColumnPinningState():(_table$initialState$c=(_table$initialState=table2.initialState)==null?void 0:_table$initialState.columnPinning)!=null?_table$initialState$c:getDefaultColumnPinningState())},table2.getIsSomeColumnsPinned=position2=>{var _pinningState$positio;const pinningState=table2.getState().columnPinning;if(!position2){var _pinningState$left,_pinningState$right;return!!((_pinningState$left=pinningState.left)!=null&&_pinningState$left.length||(_pinningState$right=pinningState.right)!=null&&_pinningState$right.length)}return!!((_pinningState$positio=pinningState[position2])!=null&&_pinningState$positio.length)},table2.getLeftLeafColumns=memo(()=>[table2.getAllLeafColumns(),table2.getState().columnPinning.left],(allColumns,left2)=>(left2??[]).map(columnId=>allColumns.find(column=>column.id===columnId)).filter(Boolean),getMemoOptions(table2.options,"debugColumns")),table2.getRightLeafColumns=memo(()=>[table2.getAllLeafColumns(),table2.getState().columnPinning.right],(allColumns,right2)=>(right2??[]).map(columnId=>allColumns.find(column=>column.id===columnId)).filter(Boolean),getMemoOptions(table2.options,"debugColumns")),table2.getCenterLeafColumns=memo(()=>[table2.getAllLeafColumns(),table2.getState().columnPinning.left,table2.getState().columnPinning.right],(allColumns,left2,right2)=>{const leftAndRight=[...left2??[],...right2??[]];return allColumns.filter(d=>!leftAndRight.includes(d.id))},getMemoOptions(table2.options,"debugColumns"))},"createTable")};function safelyAccessDocument(_document){return _document||(typeof document<"u"?document:null)}__name(safelyAccessDocument,"safelyAccessDocument");const defaultColumnSizing={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},getDefaultColumnSizingInfoState=__name(()=>({startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}),"getDefaultColumnSizingInfoState"),ColumnSizing={getDefaultColumnDef:__name(()=>defaultColumnSizing,"getDefaultColumnDef"),getInitialState:__name(state=>({columnSizing:{},columnSizingInfo:getDefaultColumnSizingInfoState(),...state}),"getInitialState"),getDefaultOptions:__name(table2=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:makeStateUpdater("columnSizing",table2),onColumnSizingInfoChange:makeStateUpdater("columnSizingInfo",table2)}),"getDefaultOptions"),createColumn:__name((column,table2)=>{column.getSize=()=>{var _column$columnDef$min,_ref,_column$columnDef$max;const columnSize=table2.getState().columnSizing[column.id];return Math.min(Math.max((_column$columnDef$min=column.columnDef.minSize)!=null?_column$columnDef$min:defaultColumnSizing.minSize,(_ref=columnSize??column.columnDef.size)!=null?_ref:defaultColumnSizing.size),(_column$columnDef$max=column.columnDef.maxSize)!=null?_column$columnDef$max:defaultColumnSizing.maxSize)},column.getStart=memo(position2=>[position2,_getVisibleLeafColumns(table2,position2),table2.getState().columnSizing],(position2,columns2)=>columns2.slice(0,column.getIndex(position2)).reduce((sum2,column2)=>sum2+column2.getSize(),0),getMemoOptions(table2.options,"debugColumns")),column.getAfter=memo(position2=>[position2,_getVisibleLeafColumns(table2,position2),table2.getState().columnSizing],(position2,columns2)=>columns2.slice(column.getIndex(position2)+1).reduce((sum2,column2)=>sum2+column2.getSize(),0),getMemoOptions(table2.options,"debugColumns")),column.resetSize=()=>{table2.setColumnSizing(_ref2=>{let{[column.id]:_2,...rest}=_ref2;return rest})},column.getCanResize=()=>{var _column$columnDef$ena,_table$options$enable;return((_column$columnDef$ena=column.columnDef.enableResizing)!=null?_column$columnDef$ena:!0)&&((_table$options$enable=table2.options.enableColumnResizing)!=null?_table$options$enable:!0)},column.getIsResizing=()=>table2.getState().columnSizingInfo.isResizingColumn===column.id},"createColumn"),createHeader:__name((header,table2)=>{header.getSize=()=>{let sum2=0;const recurse=__name(header2=>{if(header2.subHeaders.length)header2.subHeaders.forEach(recurse);else{var _header$column$getSiz;sum2+=(_header$column$getSiz=header2.column.getSize())!=null?_header$column$getSiz:0}},"recurse");return recurse(header),sum2},header.getStart=()=>{if(header.index>0){const prevSiblingHeader=header.headerGroup.headers[header.index-1];return prevSiblingHeader.getStart()+prevSiblingHeader.getSize()}return 0},header.getResizeHandler=_contextDocument=>{const column=table2.getColumn(header.column.id),canResize=column?.getCanResize();return e3=>{if(!column||!canResize||(e3.persist==null||e3.persist(),isTouchStartEvent(e3)&&e3.touches&&e3.touches.length>1))return;const startSize=header.getSize(),columnSizingStart=header?header.getLeafHeaders().map(d=>[d.column.id,d.column.getSize()]):[[column.id,column.getSize()]],clientX=isTouchStartEvent(e3)?Math.round(e3.touches[0].clientX):e3.clientX,newColumnSizing={},updateOffset=__name((eventType,clientXPos)=>{typeof clientXPos=="number"&&(table2.setColumnSizingInfo(old=>{var _old$startOffset,_old$startSize;const deltaDirection=table2.options.columnResizeDirection==="rtl"?-1:1,deltaOffset=(clientXPos-((_old$startOffset=old?.startOffset)!=null?_old$startOffset:0))*deltaDirection,deltaPercentage=Math.max(deltaOffset/((_old$startSize=old?.startSize)!=null?_old$startSize:0),-.999999);return old.columnSizingStart.forEach(_ref3=>{let[columnId,headerSize]=_ref3;newColumnSizing[columnId]=Math.round(Math.max(headerSize+headerSize*deltaPercentage,0)*100)/100}),{...old,deltaOffset,deltaPercentage}}),(table2.options.columnResizeMode==="onChange"||eventType==="end")&&table2.setColumnSizing(old=>({...old,...newColumnSizing})))},"updateOffset"),onMove=__name(clientXPos=>updateOffset("move",clientXPos),"onMove"),onEnd=__name(clientXPos=>{updateOffset("end",clientXPos),table2.setColumnSizingInfo(old=>({...old,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]}))},"onEnd"),contextDocument=safelyAccessDocument(_contextDocument),mouseEvents={moveHandler:__name(e22=>onMove(e22.clientX),"moveHandler"),upHandler:__name(e22=>{contextDocument?.removeEventListener("mousemove",mouseEvents.moveHandler),contextDocument?.removeEventListener("mouseup",mouseEvents.upHandler),onEnd(e22.clientX)},"upHandler")},touchEvents={moveHandler:__name(e22=>(e22.cancelable&&(e22.preventDefault(),e22.stopPropagation()),onMove(e22.touches[0].clientX),!1),"moveHandler"),upHandler:__name(e22=>{var _e$touches$;contextDocument?.removeEventListener("touchmove",touchEvents.moveHandler),contextDocument?.removeEventListener("touchend",touchEvents.upHandler),e22.cancelable&&(e22.preventDefault(),e22.stopPropagation()),onEnd((_e$touches$=e22.touches[0])==null?void 0:_e$touches$.clientX)},"upHandler")},passiveIfSupported=passiveEventSupported()?{passive:!1}:!1;isTouchStartEvent(e3)?(contextDocument?.addEventListener("touchmove",touchEvents.moveHandler,passiveIfSupported),contextDocument?.addEventListener("touchend",touchEvents.upHandler,passiveIfSupported)):(contextDocument?.addEventListener("mousemove",mouseEvents.moveHandler,passiveIfSupported),contextDocument?.addEventListener("mouseup",mouseEvents.upHandler,passiveIfSupported)),table2.setColumnSizingInfo(old=>({...old,startOffset:clientX,startSize,deltaOffset:0,deltaPercentage:0,columnSizingStart,isResizingColumn:column.id}))}}},"createHeader"),createTable:__name(table2=>{table2.setColumnSizing=updater=>table2.options.onColumnSizingChange==null?void 0:table2.options.onColumnSizingChange(updater),table2.setColumnSizingInfo=updater=>table2.options.onColumnSizingInfoChange==null?void 0:table2.options.onColumnSizingInfoChange(updater),table2.resetColumnSizing=defaultState=>{var _table$initialState$c;table2.setColumnSizing(defaultState?{}:(_table$initialState$c=table2.initialState.columnSizing)!=null?_table$initialState$c:{})},table2.resetHeaderSizeInfo=defaultState=>{var _table$initialState$c2;table2.setColumnSizingInfo(defaultState?getDefaultColumnSizingInfoState():(_table$initialState$c2=table2.initialState.columnSizingInfo)!=null?_table$initialState$c2:getDefaultColumnSizingInfoState())},table2.getTotalSize=()=>{var _table$getHeaderGroup,_table$getHeaderGroup2;return(_table$getHeaderGroup=(_table$getHeaderGroup2=table2.getHeaderGroups()[0])==null?void 0:_table$getHeaderGroup2.headers.reduce((sum2,header)=>sum2+header.getSize(),0))!=null?_table$getHeaderGroup:0},table2.getLeftTotalSize=()=>{var _table$getLeftHeaderG,_table$getLeftHeaderG2;return(_table$getLeftHeaderG=(_table$getLeftHeaderG2=table2.getLeftHeaderGroups()[0])==null?void 0:_table$getLeftHeaderG2.headers.reduce((sum2,header)=>sum2+header.getSize(),0))!=null?_table$getLeftHeaderG:0},table2.getCenterTotalSize=()=>{var _table$getCenterHeade,_table$getCenterHeade2;return(_table$getCenterHeade=(_table$getCenterHeade2=table2.getCenterHeaderGroups()[0])==null?void 0:_table$getCenterHeade2.headers.reduce((sum2,header)=>sum2+header.getSize(),0))!=null?_table$getCenterHeade:0},table2.getRightTotalSize=()=>{var _table$getRightHeader,_table$getRightHeader2;return(_table$getRightHeader=(_table$getRightHeader2=table2.getRightHeaderGroups()[0])==null?void 0:_table$getRightHeader2.headers.reduce((sum2,header)=>sum2+header.getSize(),0))!=null?_table$getRightHeader:0}},"createTable")};let passiveSupported=null;function passiveEventSupported(){if(typeof passiveSupported=="boolean")return passiveSupported;let supported=!1;try{const options={get passive(){return supported=!0,!1}},noop22=__name(()=>{},"noop2");window.addEventListener("test",noop22,options),window.removeEventListener("test",noop22)}catch{supported=!1}return passiveSupported=supported,passiveSupported}__name(passiveEventSupported,"passiveEventSupported");function isTouchStartEvent(e3){return e3.type==="touchstart"}__name(isTouchStartEvent,"isTouchStartEvent");const ColumnVisibility={getInitialState:__name(state=>({columnVisibility:{},...state}),"getInitialState"),getDefaultOptions:__name(table2=>({onColumnVisibilityChange:makeStateUpdater("columnVisibility",table2)}),"getDefaultOptions"),createColumn:__name((column,table2)=>{column.toggleVisibility=value2=>{column.getCanHide()&&table2.setColumnVisibility(old=>({...old,[column.id]:value2??!column.getIsVisible()}))},column.getIsVisible=()=>{var _ref,_table$getState$colum;const childColumns=column.columns;return(_ref=childColumns.length?childColumns.some(c2=>c2.getIsVisible()):(_table$getState$colum=table2.getState().columnVisibility)==null?void 0:_table$getState$colum[column.id])!=null?_ref:!0},column.getCanHide=()=>{var _column$columnDef$ena,_table$options$enable;return((_column$columnDef$ena=column.columnDef.enableHiding)!=null?_column$columnDef$ena:!0)&&((_table$options$enable=table2.options.enableHiding)!=null?_table$options$enable:!0)},column.getToggleVisibilityHandler=()=>e3=>{column.toggleVisibility==null||column.toggleVisibility(e3.target.checked)}},"createColumn"),createRow:__name((row,table2)=>{row._getAllVisibleCells=memo(()=>[row.getAllCells(),table2.getState().columnVisibility],cells=>cells.filter(cell=>cell.column.getIsVisible()),getMemoOptions(table2.options,"debugRows")),row.getVisibleCells=memo(()=>[row.getLeftVisibleCells(),row.getCenterVisibleCells(),row.getRightVisibleCells()],(left2,center2,right2)=>[...left2,...center2,...right2],getMemoOptions(table2.options,"debugRows"))},"createRow"),createTable:__name(table2=>{const makeVisibleColumnsMethod=__name((key,getColumns)=>memo(()=>[getColumns(),getColumns().filter(d=>d.getIsVisible()).map(d=>d.id).join("_")],columns2=>columns2.filter(d=>d.getIsVisible==null?void 0:d.getIsVisible()),getMemoOptions(table2.options,"debugColumns")),"makeVisibleColumnsMethod");table2.getVisibleFlatColumns=makeVisibleColumnsMethod("getVisibleFlatColumns",()=>table2.getAllFlatColumns()),table2.getVisibleLeafColumns=makeVisibleColumnsMethod("getVisibleLeafColumns",()=>table2.getAllLeafColumns()),table2.getLeftVisibleLeafColumns=makeVisibleColumnsMethod("getLeftVisibleLeafColumns",()=>table2.getLeftLeafColumns()),table2.getRightVisibleLeafColumns=makeVisibleColumnsMethod("getRightVisibleLeafColumns",()=>table2.getRightLeafColumns()),table2.getCenterVisibleLeafColumns=makeVisibleColumnsMethod("getCenterVisibleLeafColumns",()=>table2.getCenterLeafColumns()),table2.setColumnVisibility=updater=>table2.options.onColumnVisibilityChange==null?void 0:table2.options.onColumnVisibilityChange(updater),table2.resetColumnVisibility=defaultState=>{var _table$initialState$c;table2.setColumnVisibility(defaultState?{}:(_table$initialState$c=table2.initialState.columnVisibility)!=null?_table$initialState$c:{})},table2.toggleAllColumnsVisible=value2=>{var _value;value2=(_value=value2)!=null?_value:!table2.getIsAllColumnsVisible(),table2.setColumnVisibility(table2.getAllLeafColumns().reduce((obj,column)=>({...obj,[column.id]:value2||!(column.getCanHide!=null&&column.getCanHide())}),{}))},table2.getIsAllColumnsVisible=()=>!table2.getAllLeafColumns().some(column=>!(column.getIsVisible!=null&&column.getIsVisible())),table2.getIsSomeColumnsVisible=()=>table2.getAllLeafColumns().some(column=>column.getIsVisible==null?void 0:column.getIsVisible()),table2.getToggleAllColumnsVisibilityHandler=()=>e3=>{var _target;table2.toggleAllColumnsVisible((_target=e3.target)==null?void 0:_target.checked)}},"createTable")};function _getVisibleLeafColumns(table2,position2){return position2?position2==="center"?table2.getCenterVisibleLeafColumns():position2==="left"?table2.getLeftVisibleLeafColumns():table2.getRightVisibleLeafColumns():table2.getVisibleLeafColumns()}__name(_getVisibleLeafColumns,"_getVisibleLeafColumns");const GlobalFaceting={createTable:__name(table2=>{table2._getGlobalFacetedRowModel=table2.options.getFacetedRowModel&&table2.options.getFacetedRowModel(table2,"__global__"),table2.getGlobalFacetedRowModel=()=>table2.options.manualFiltering||!table2._getGlobalFacetedRowModel?table2.getPreFilteredRowModel():table2._getGlobalFacetedRowModel(),table2._getGlobalFacetedUniqueValues=table2.options.getFacetedUniqueValues&&table2.options.getFacetedUniqueValues(table2,"__global__"),table2.getGlobalFacetedUniqueValues=()=>table2._getGlobalFacetedUniqueValues?table2._getGlobalFacetedUniqueValues():new Map,table2._getGlobalFacetedMinMaxValues=table2.options.getFacetedMinMaxValues&&table2.options.getFacetedMinMaxValues(table2,"__global__"),table2.getGlobalFacetedMinMaxValues=()=>{if(table2._getGlobalFacetedMinMaxValues)return table2._getGlobalFacetedMinMaxValues()}},"createTable")},GlobalFiltering={getInitialState:__name(state=>({globalFilter:void 0,...state}),"getInitialState"),getDefaultOptions:__name(table2=>({onGlobalFilterChange:makeStateUpdater("globalFilter",table2),globalFilterFn:"auto",getColumnCanGlobalFilter:__name(column=>{var _table$getCoreRowMode;const value2=(_table$getCoreRowMode=table2.getCoreRowModel().flatRows[0])==null||(_table$getCoreRowMode=_table$getCoreRowMode._getAllCellsByColumnId()[column.id])==null?void 0:_table$getCoreRowMode.getValue();return typeof value2=="string"||typeof value2=="number"},"getColumnCanGlobalFilter")}),"getDefaultOptions"),createColumn:__name((column,table2)=>{column.getCanGlobalFilter=()=>{var _column$columnDef$ena,_table$options$enable,_table$options$enable2,_table$options$getCol;return((_column$columnDef$ena=column.columnDef.enableGlobalFilter)!=null?_column$columnDef$ena:!0)&&((_table$options$enable=table2.options.enableGlobalFilter)!=null?_table$options$enable:!0)&&((_table$options$enable2=table2.options.enableFilters)!=null?_table$options$enable2:!0)&&((_table$options$getCol=table2.options.getColumnCanGlobalFilter==null?void 0:table2.options.getColumnCanGlobalFilter(column))!=null?_table$options$getCol:!0)&&!!column.accessorFn}},"createColumn"),createTable:__name(table2=>{table2.getGlobalAutoFilterFn=()=>filterFns.includesString,table2.getGlobalFilterFn=()=>{var _table$options$filter,_table$options$filter2;const{globalFilterFn}=table2.options;return isFunction(globalFilterFn)?globalFilterFn:globalFilterFn==="auto"?table2.getGlobalAutoFilterFn():(_table$options$filter=(_table$options$filter2=table2.options.filterFns)==null?void 0:_table$options$filter2[globalFilterFn])!=null?_table$options$filter:filterFns[globalFilterFn]},table2.setGlobalFilter=updater=>{table2.options.onGlobalFilterChange==null||table2.options.onGlobalFilterChange(updater)},table2.resetGlobalFilter=defaultState=>{table2.setGlobalFilter(defaultState?void 0:table2.initialState.globalFilter)}},"createTable")},RowExpanding={getInitialState:__name(state=>({expanded:{},...state}),"getInitialState"),getDefaultOptions:__name(table2=>({onExpandedChange:makeStateUpdater("expanded",table2),paginateExpandedRows:!0}),"getDefaultOptions"),createTable:__name(table2=>{let registered=!1,queued=!1;table2._autoResetExpanded=()=>{var _ref,_table$options$autoRe;if(!registered){table2._queue(()=>{registered=!0});return}if((_ref=(_table$options$autoRe=table2.options.autoResetAll)!=null?_table$options$autoRe:table2.options.autoResetExpanded)!=null?_ref:!table2.options.manualExpanding){if(queued)return;queued=!0,table2._queue(()=>{table2.resetExpanded(),queued=!1})}},table2.setExpanded=updater=>table2.options.onExpandedChange==null?void 0:table2.options.onExpandedChange(updater),table2.toggleAllRowsExpanded=expanded=>{expanded??!table2.getIsAllRowsExpanded()?table2.setExpanded(!0):table2.setExpanded({})},table2.resetExpanded=defaultState=>{var _table$initialState$e,_table$initialState;table2.setExpanded(defaultState?{}:(_table$initialState$e=(_table$initialState=table2.initialState)==null?void 0:_table$initialState.expanded)!=null?_table$initialState$e:{})},table2.getCanSomeRowsExpand=()=>table2.getPrePaginationRowModel().flatRows.some(row=>row.getCanExpand()),table2.getToggleAllRowsExpandedHandler=()=>e3=>{e3.persist==null||e3.persist(),table2.toggleAllRowsExpanded()},table2.getIsSomeRowsExpanded=()=>{const expanded=table2.getState().expanded;return expanded===!0||Object.values(expanded).some(Boolean)},table2.getIsAllRowsExpanded=()=>{const expanded=table2.getState().expanded;return typeof expanded=="boolean"?expanded===!0:!(!Object.keys(expanded).length||table2.getRowModel().flatRows.some(row=>!row.getIsExpanded()))},table2.getExpandedDepth=()=>{let maxDepth=0;return(table2.getState().expanded===!0?Object.keys(table2.getRowModel().rowsById):Object.keys(table2.getState().expanded)).forEach(id=>{const splitId=id.split(".");maxDepth=Math.max(maxDepth,splitId.length)}),maxDepth},table2.getPreExpandedRowModel=()=>table2.getSortedRowModel(),table2.getExpandedRowModel=()=>(!table2._getExpandedRowModel&&table2.options.getExpandedRowModel&&(table2._getExpandedRowModel=table2.options.getExpandedRowModel(table2)),table2.options.manualExpanding||!table2._getExpandedRowModel?table2.getPreExpandedRowModel():table2._getExpandedRowModel())},"createTable"),createRow:__name((row,table2)=>{row.toggleExpanded=expanded=>{table2.setExpanded(old=>{var _expanded;const exists=old===!0?!0:!!(old!=null&&old[row.id]);let oldExpanded={};if(old===!0?Object.keys(table2.getRowModel().rowsById).forEach(rowId=>{oldExpanded[rowId]=!0}):oldExpanded=old,expanded=(_expanded=expanded)!=null?_expanded:!exists,!exists&&expanded)return{...oldExpanded,[row.id]:!0};if(exists&&!expanded){const{[row.id]:_2,...rest}=oldExpanded;return rest}return old})},row.getIsExpanded=()=>{var _table$options$getIsR;const expanded=table2.getState().expanded;return!!((_table$options$getIsR=table2.options.getIsRowExpanded==null?void 0:table2.options.getIsRowExpanded(row))!=null?_table$options$getIsR:expanded===!0||expanded?.[row.id])},row.getCanExpand=()=>{var _table$options$getRow,_table$options$enable,_row$subRows;return(_table$options$getRow=table2.options.getRowCanExpand==null?void 0:table2.options.getRowCanExpand(row))!=null?_table$options$getRow:((_table$options$enable=table2.options.enableExpanding)!=null?_table$options$enable:!0)&&!!((_row$subRows=row.subRows)!=null&&_row$subRows.length)},row.getIsAllParentsExpanded=()=>{let isFullyExpanded=!0,currentRow=row;for(;isFullyExpanded&¤tRow.parentId;)currentRow=table2.getRow(currentRow.parentId,!0),isFullyExpanded=currentRow.getIsExpanded();return isFullyExpanded},row.getToggleExpandedHandler=()=>{const canExpand=row.getCanExpand();return()=>{canExpand&&row.toggleExpanded()}}},"createRow")},defaultPageIndex=0,defaultPageSize=10,getDefaultPaginationState=__name(()=>({pageIndex:defaultPageIndex,pageSize:defaultPageSize}),"getDefaultPaginationState"),RowPagination={getInitialState:__name(state=>({...state,pagination:{...getDefaultPaginationState(),...state?.pagination}}),"getInitialState"),getDefaultOptions:__name(table2=>({onPaginationChange:makeStateUpdater("pagination",table2)}),"getDefaultOptions"),createTable:__name(table2=>{let registered=!1,queued=!1;table2._autoResetPageIndex=()=>{var _ref,_table$options$autoRe;if(!registered){table2._queue(()=>{registered=!0});return}if((_ref=(_table$options$autoRe=table2.options.autoResetAll)!=null?_table$options$autoRe:table2.options.autoResetPageIndex)!=null?_ref:!table2.options.manualPagination){if(queued)return;queued=!0,table2._queue(()=>{table2.resetPageIndex(),queued=!1})}},table2.setPagination=updater=>{const safeUpdater=__name(old=>functionalUpdate(updater,old),"safeUpdater");return table2.options.onPaginationChange==null?void 0:table2.options.onPaginationChange(safeUpdater)},table2.resetPagination=defaultState=>{var _table$initialState$p;table2.setPagination(defaultState?getDefaultPaginationState():(_table$initialState$p=table2.initialState.pagination)!=null?_table$initialState$p:getDefaultPaginationState())},table2.setPageIndex=updater=>{table2.setPagination(old=>{let pageIndex=functionalUpdate(updater,old.pageIndex);const maxPageIndex=typeof table2.options.pageCount>"u"||table2.options.pageCount===-1?Number.MAX_SAFE_INTEGER:table2.options.pageCount-1;return pageIndex=Math.max(0,Math.min(pageIndex,maxPageIndex)),{...old,pageIndex}})},table2.resetPageIndex=defaultState=>{var _table$initialState$p2,_table$initialState;table2.setPageIndex(defaultState?defaultPageIndex:(_table$initialState$p2=(_table$initialState=table2.initialState)==null||(_table$initialState=_table$initialState.pagination)==null?void 0:_table$initialState.pageIndex)!=null?_table$initialState$p2:defaultPageIndex)},table2.resetPageSize=defaultState=>{var _table$initialState$p3,_table$initialState2;table2.setPageSize(defaultState?defaultPageSize:(_table$initialState$p3=(_table$initialState2=table2.initialState)==null||(_table$initialState2=_table$initialState2.pagination)==null?void 0:_table$initialState2.pageSize)!=null?_table$initialState$p3:defaultPageSize)},table2.setPageSize=updater=>{table2.setPagination(old=>{const pageSize=Math.max(1,functionalUpdate(updater,old.pageSize)),topRowIndex=old.pageSize*old.pageIndex,pageIndex=Math.floor(topRowIndex/pageSize);return{...old,pageIndex,pageSize}})},table2.setPageCount=updater=>table2.setPagination(old=>{var _table$options$pageCo;let newPageCount=functionalUpdate(updater,(_table$options$pageCo=table2.options.pageCount)!=null?_table$options$pageCo:-1);return typeof newPageCount=="number"&&(newPageCount=Math.max(-1,newPageCount)),{...old,pageCount:newPageCount}}),table2.getPageOptions=memo(()=>[table2.getPageCount()],pageCount=>{let pageOptions=[];return pageCount&&pageCount>0&&(pageOptions=[...new Array(pageCount)].fill(null).map((_2,i2)=>i2)),pageOptions},getMemoOptions(table2.options,"debugTable")),table2.getCanPreviousPage=()=>table2.getState().pagination.pageIndex>0,table2.getCanNextPage=()=>{const{pageIndex}=table2.getState().pagination,pageCount=table2.getPageCount();return pageCount===-1?!0:pageCount===0?!1:pageIndextable2.setPageIndex(old=>old-1),table2.nextPage=()=>table2.setPageIndex(old=>old+1),table2.firstPage=()=>table2.setPageIndex(0),table2.lastPage=()=>table2.setPageIndex(table2.getPageCount()-1),table2.getPrePaginationRowModel=()=>table2.getExpandedRowModel(),table2.getPaginationRowModel=()=>(!table2._getPaginationRowModel&&table2.options.getPaginationRowModel&&(table2._getPaginationRowModel=table2.options.getPaginationRowModel(table2)),table2.options.manualPagination||!table2._getPaginationRowModel?table2.getPrePaginationRowModel():table2._getPaginationRowModel()),table2.getPageCount=()=>{var _table$options$pageCo2;return(_table$options$pageCo2=table2.options.pageCount)!=null?_table$options$pageCo2:Math.ceil(table2.getRowCount()/table2.getState().pagination.pageSize)},table2.getRowCount=()=>{var _table$options$rowCou;return(_table$options$rowCou=table2.options.rowCount)!=null?_table$options$rowCou:table2.getPrePaginationRowModel().rows.length}},"createTable")},getDefaultRowPinningState=__name(()=>({top:[],bottom:[]}),"getDefaultRowPinningState"),RowPinning={getInitialState:__name(state=>({rowPinning:getDefaultRowPinningState(),...state}),"getInitialState"),getDefaultOptions:__name(table2=>({onRowPinningChange:makeStateUpdater("rowPinning",table2)}),"getDefaultOptions"),createRow:__name((row,table2)=>{row.pin=(position2,includeLeafRows,includeParentRows)=>{const leafRowIds=includeLeafRows?row.getLeafRows().map(_ref=>{let{id}=_ref;return id}):[],parentRowIds=includeParentRows?row.getParentRows().map(_ref2=>{let{id}=_ref2;return id}):[],rowIds=new Set([...parentRowIds,row.id,...leafRowIds]);table2.setRowPinning(old=>{var _old$top3,_old$bottom3;if(position2==="bottom"){var _old$top,_old$bottom;return{top:((_old$top=old?.top)!=null?_old$top:[]).filter(d=>!(rowIds!=null&&rowIds.has(d))),bottom:[...((_old$bottom=old?.bottom)!=null?_old$bottom:[]).filter(d=>!(rowIds!=null&&rowIds.has(d))),...Array.from(rowIds)]}}if(position2==="top"){var _old$top2,_old$bottom2;return{top:[...((_old$top2=old?.top)!=null?_old$top2:[]).filter(d=>!(rowIds!=null&&rowIds.has(d))),...Array.from(rowIds)],bottom:((_old$bottom2=old?.bottom)!=null?_old$bottom2:[]).filter(d=>!(rowIds!=null&&rowIds.has(d)))}}return{top:((_old$top3=old?.top)!=null?_old$top3:[]).filter(d=>!(rowIds!=null&&rowIds.has(d))),bottom:((_old$bottom3=old?.bottom)!=null?_old$bottom3:[]).filter(d=>!(rowIds!=null&&rowIds.has(d)))}})},row.getCanPin=()=>{var _ref3;const{enableRowPinning,enablePinning}=table2.options;return typeof enableRowPinning=="function"?enableRowPinning(row):(_ref3=enableRowPinning??enablePinning)!=null?_ref3:!0},row.getIsPinned=()=>{const rowIds=[row.id],{top,bottom}=table2.getState().rowPinning,isTop=rowIds.some(d=>top?.includes(d)),isBottom=rowIds.some(d=>bottom?.includes(d));return isTop?"top":isBottom?"bottom":!1},row.getPinnedIndex=()=>{var _ref4,_visiblePinnedRowIds$;const position2=row.getIsPinned();if(!position2)return-1;const visiblePinnedRowIds=(_ref4=position2==="top"?table2.getTopRows():table2.getBottomRows())==null?void 0:_ref4.map(_ref5=>{let{id}=_ref5;return id});return(_visiblePinnedRowIds$=visiblePinnedRowIds?.indexOf(row.id))!=null?_visiblePinnedRowIds$:-1}},"createRow"),createTable:__name(table2=>{table2.setRowPinning=updater=>table2.options.onRowPinningChange==null?void 0:table2.options.onRowPinningChange(updater),table2.resetRowPinning=defaultState=>{var _table$initialState$r,_table$initialState;return table2.setRowPinning(defaultState?getDefaultRowPinningState():(_table$initialState$r=(_table$initialState=table2.initialState)==null?void 0:_table$initialState.rowPinning)!=null?_table$initialState$r:getDefaultRowPinningState())},table2.getIsSomeRowsPinned=position2=>{var _pinningState$positio;const pinningState=table2.getState().rowPinning;if(!position2){var _pinningState$top,_pinningState$bottom;return!!((_pinningState$top=pinningState.top)!=null&&_pinningState$top.length||(_pinningState$bottom=pinningState.bottom)!=null&&_pinningState$bottom.length)}return!!((_pinningState$positio=pinningState[position2])!=null&&_pinningState$positio.length)},table2._getPinnedRows=(visibleRows,pinnedRowIds,position2)=>{var _table$options$keepPi;return((_table$options$keepPi=table2.options.keepPinnedRows)==null||_table$options$keepPi?(pinnedRowIds??[]).map(rowId=>{const row=table2.getRow(rowId,!0);return row.getIsAllParentsExpanded()?row:null}):(pinnedRowIds??[]).map(rowId=>visibleRows.find(row=>row.id===rowId))).filter(Boolean).map(d=>({...d,position:position2}))},table2.getTopRows=memo(()=>[table2.getRowModel().rows,table2.getState().rowPinning.top],(allRows,topPinnedRowIds)=>table2._getPinnedRows(allRows,topPinnedRowIds,"top"),getMemoOptions(table2.options,"debugRows")),table2.getBottomRows=memo(()=>[table2.getRowModel().rows,table2.getState().rowPinning.bottom],(allRows,bottomPinnedRowIds)=>table2._getPinnedRows(allRows,bottomPinnedRowIds,"bottom"),getMemoOptions(table2.options,"debugRows")),table2.getCenterRows=memo(()=>[table2.getRowModel().rows,table2.getState().rowPinning.top,table2.getState().rowPinning.bottom],(allRows,top,bottom)=>{const topAndBottom=new Set([...top??[],...bottom??[]]);return allRows.filter(d=>!topAndBottom.has(d.id))},getMemoOptions(table2.options,"debugRows"))},"createTable")},RowSelection={getInitialState:__name(state=>({rowSelection:{},...state}),"getInitialState"),getDefaultOptions:__name(table2=>({onRowSelectionChange:makeStateUpdater("rowSelection",table2),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),"getDefaultOptions"),createTable:__name(table2=>{table2.setRowSelection=updater=>table2.options.onRowSelectionChange==null?void 0:table2.options.onRowSelectionChange(updater),table2.resetRowSelection=defaultState=>{var _table$initialState$r;return table2.setRowSelection(defaultState?{}:(_table$initialState$r=table2.initialState.rowSelection)!=null?_table$initialState$r:{})},table2.toggleAllRowsSelected=value2=>{table2.setRowSelection(old=>{value2=typeof value2<"u"?value2:!table2.getIsAllRowsSelected();const rowSelection={...old},preGroupedFlatRows=table2.getPreGroupedRowModel().flatRows;return value2?preGroupedFlatRows.forEach(row=>{row.getCanSelect()&&(rowSelection[row.id]=!0)}):preGroupedFlatRows.forEach(row=>{delete rowSelection[row.id]}),rowSelection})},table2.toggleAllPageRowsSelected=value2=>table2.setRowSelection(old=>{const resolvedValue=typeof value2<"u"?value2:!table2.getIsAllPageRowsSelected(),rowSelection={...old};return table2.getRowModel().rows.forEach(row=>{mutateRowIsSelected(rowSelection,row.id,resolvedValue,!0,table2)}),rowSelection}),table2.getPreSelectedRowModel=()=>table2.getCoreRowModel(),table2.getSelectedRowModel=memo(()=>[table2.getState().rowSelection,table2.getCoreRowModel()],(rowSelection,rowModel)=>Object.keys(rowSelection).length?selectRowsFn(table2,rowModel):{rows:[],flatRows:[],rowsById:{}},getMemoOptions(table2.options,"debugTable")),table2.getFilteredSelectedRowModel=memo(()=>[table2.getState().rowSelection,table2.getFilteredRowModel()],(rowSelection,rowModel)=>Object.keys(rowSelection).length?selectRowsFn(table2,rowModel):{rows:[],flatRows:[],rowsById:{}},getMemoOptions(table2.options,"debugTable")),table2.getGroupedSelectedRowModel=memo(()=>[table2.getState().rowSelection,table2.getSortedRowModel()],(rowSelection,rowModel)=>Object.keys(rowSelection).length?selectRowsFn(table2,rowModel):{rows:[],flatRows:[],rowsById:{}},getMemoOptions(table2.options,"debugTable")),table2.getIsAllRowsSelected=()=>{const preGroupedFlatRows=table2.getFilteredRowModel().flatRows,{rowSelection}=table2.getState();let isAllRowsSelected=!!(preGroupedFlatRows.length&&Object.keys(rowSelection).length);return isAllRowsSelected&&preGroupedFlatRows.some(row=>row.getCanSelect()&&!rowSelection[row.id])&&(isAllRowsSelected=!1),isAllRowsSelected},table2.getIsAllPageRowsSelected=()=>{const paginationFlatRows=table2.getPaginationRowModel().flatRows.filter(row=>row.getCanSelect()),{rowSelection}=table2.getState();let isAllPageRowsSelected=!!paginationFlatRows.length;return isAllPageRowsSelected&&paginationFlatRows.some(row=>!rowSelection[row.id])&&(isAllPageRowsSelected=!1),isAllPageRowsSelected},table2.getIsSomeRowsSelected=()=>{var _table$getState$rowSe;const totalSelected=Object.keys((_table$getState$rowSe=table2.getState().rowSelection)!=null?_table$getState$rowSe:{}).length;return totalSelected>0&&totalSelected{const paginationFlatRows=table2.getPaginationRowModel().flatRows;return table2.getIsAllPageRowsSelected()?!1:paginationFlatRows.filter(row=>row.getCanSelect()).some(d=>d.getIsSelected()||d.getIsSomeSelected())},table2.getToggleAllRowsSelectedHandler=()=>e3=>{table2.toggleAllRowsSelected(e3.target.checked)},table2.getToggleAllPageRowsSelectedHandler=()=>e3=>{table2.toggleAllPageRowsSelected(e3.target.checked)}},"createTable"),createRow:__name((row,table2)=>{row.toggleSelected=(value2,opts)=>{const isSelected=row.getIsSelected();table2.setRowSelection(old=>{var _opts$selectChildren;if(value2=typeof value2<"u"?value2:!isSelected,row.getCanSelect()&&isSelected===value2)return old;const selectedRowIds={...old};return mutateRowIsSelected(selectedRowIds,row.id,value2,(_opts$selectChildren=opts?.selectChildren)!=null?_opts$selectChildren:!0,table2),selectedRowIds})},row.getIsSelected=()=>{const{rowSelection}=table2.getState();return isRowSelected(row,rowSelection)},row.getIsSomeSelected=()=>{const{rowSelection}=table2.getState();return isSubRowSelected(row,rowSelection)==="some"},row.getIsAllSubRowsSelected=()=>{const{rowSelection}=table2.getState();return isSubRowSelected(row,rowSelection)==="all"},row.getCanSelect=()=>{var _table$options$enable;return typeof table2.options.enableRowSelection=="function"?table2.options.enableRowSelection(row):(_table$options$enable=table2.options.enableRowSelection)!=null?_table$options$enable:!0},row.getCanSelectSubRows=()=>{var _table$options$enable2;return typeof table2.options.enableSubRowSelection=="function"?table2.options.enableSubRowSelection(row):(_table$options$enable2=table2.options.enableSubRowSelection)!=null?_table$options$enable2:!0},row.getCanMultiSelect=()=>{var _table$options$enable3;return typeof table2.options.enableMultiRowSelection=="function"?table2.options.enableMultiRowSelection(row):(_table$options$enable3=table2.options.enableMultiRowSelection)!=null?_table$options$enable3:!0},row.getToggleSelectedHandler=()=>{const canSelect=row.getCanSelect();return e3=>{var _target;canSelect&&row.toggleSelected((_target=e3.target)==null?void 0:_target.checked)}}},"createRow")},mutateRowIsSelected=__name((selectedRowIds,id,value2,includeChildren,table2)=>{var _row$subRows;const row=table2.getRow(id,!0);value2?(row.getCanMultiSelect()||Object.keys(selectedRowIds).forEach(key=>delete selectedRowIds[key]),row.getCanSelect()&&(selectedRowIds[id]=!0)):delete selectedRowIds[id],includeChildren&&(_row$subRows=row.subRows)!=null&&_row$subRows.length&&row.getCanSelectSubRows()&&row.subRows.forEach(row2=>mutateRowIsSelected(selectedRowIds,row2.id,value2,includeChildren,table2))},"mutateRowIsSelected");function selectRowsFn(table2,rowModel){const rowSelection=table2.getState().rowSelection,newSelectedFlatRows=[],newSelectedRowsById={},recurseRows=__name(function(rows,depth){return rows.map(row=>{var _row$subRows2;const isSelected=isRowSelected(row,rowSelection);if(isSelected&&(newSelectedFlatRows.push(row),newSelectedRowsById[row.id]=row),(_row$subRows2=row.subRows)!=null&&_row$subRows2.length&&(row={...row,subRows:recurseRows(row.subRows)}),isSelected)return row}).filter(Boolean)},"recurseRows");return{rows:recurseRows(rowModel.rows),flatRows:newSelectedFlatRows,rowsById:newSelectedRowsById}}__name(selectRowsFn,"selectRowsFn");function isRowSelected(row,selection){var _selection$row$id;return(_selection$row$id=selection[row.id])!=null?_selection$row$id:!1}__name(isRowSelected,"isRowSelected");function isSubRowSelected(row,selection,table2){var _row$subRows3;if(!((_row$subRows3=row.subRows)!=null&&_row$subRows3.length))return!1;let allChildrenSelected=!0,someSelected=!1;return row.subRows.forEach(subRow=>{if(!(someSelected&&!allChildrenSelected)&&(subRow.getCanSelect()&&(isRowSelected(subRow,selection)?someSelected=!0:allChildrenSelected=!1),subRow.subRows&&subRow.subRows.length)){const subRowChildrenSelected=isSubRowSelected(subRow,selection);subRowChildrenSelected==="all"?someSelected=!0:(subRowChildrenSelected==="some"&&(someSelected=!0),allChildrenSelected=!1)}}),allChildrenSelected?"all":someSelected?"some":!1}__name(isSubRowSelected,"isSubRowSelected");const reSplitAlphaNumeric=/([0-9]+)/gm,alphanumeric=__name((rowA,rowB,columnId)=>compareAlphanumeric(toString$2(rowA.getValue(columnId)).toLowerCase(),toString$2(rowB.getValue(columnId)).toLowerCase()),"alphanumeric"),alphanumericCaseSensitive=__name((rowA,rowB,columnId)=>compareAlphanumeric(toString$2(rowA.getValue(columnId)),toString$2(rowB.getValue(columnId))),"alphanumericCaseSensitive"),text$9=__name((rowA,rowB,columnId)=>compareBasic(toString$2(rowA.getValue(columnId)).toLowerCase(),toString$2(rowB.getValue(columnId)).toLowerCase()),"text$9"),textCaseSensitive=__name((rowA,rowB,columnId)=>compareBasic(toString$2(rowA.getValue(columnId)),toString$2(rowB.getValue(columnId))),"textCaseSensitive"),datetime=__name((rowA,rowB,columnId)=>{const a2=rowA.getValue(columnId),b2=rowB.getValue(columnId);return a2>b2?1:a2compareBasic(rowA.getValue(columnId),rowB.getValue(columnId)),"basic");function compareBasic(a2,b2){return a2===b2?0:a2>b2?1:-1}__name(compareBasic,"compareBasic");function toString$2(a2){return typeof a2=="number"?isNaN(a2)||a2===1/0||a2===-1/0?"":String(a2):typeof a2=="string"?a2:""}__name(toString$2,"toString$2");function compareAlphanumeric(aStr,bStr){const a2=aStr.split(reSplitAlphaNumeric).filter(Boolean),b2=bStr.split(reSplitAlphaNumeric).filter(Boolean);for(;a2.length&&b2.length;){const aa=a2.shift(),bb=b2.shift(),an2=parseInt(aa,10),bn2=parseInt(bb,10),combo=[an2,bn2].sort();if(isNaN(combo[0])){if(aa>bb)return 1;if(bb>aa)return-1;continue}if(isNaN(combo[1]))return isNaN(an2)?-1:1;if(an2>bn2)return 1;if(bn2>an2)return-1}return a2.length-b2.length}__name(compareAlphanumeric,"compareAlphanumeric");const sortingFns={alphanumeric,alphanumericCaseSensitive,text:text$9,textCaseSensitive,datetime,basic},RowSorting={getInitialState:__name(state=>({sorting:[],...state}),"getInitialState"),getDefaultColumnDef:__name(()=>({sortingFn:"auto",sortUndefined:1}),"getDefaultColumnDef"),getDefaultOptions:__name(table2=>({onSortingChange:makeStateUpdater("sorting",table2),isMultiSortEvent:__name(e3=>e3.shiftKey,"isMultiSortEvent")}),"getDefaultOptions"),createColumn:__name((column,table2)=>{column.getAutoSortingFn=()=>{const firstRows=table2.getFilteredRowModel().flatRows.slice(10);let isString=!1;for(const row of firstRows){const value2=row?.getValue(column.id);if(Object.prototype.toString.call(value2)==="[object Date]")return sortingFns.datetime;if(typeof value2=="string"&&(isString=!0,value2.split(reSplitAlphaNumeric).length>1))return sortingFns.alphanumeric}return isString?sortingFns.text:sortingFns.basic},column.getAutoSortDir=()=>{const firstRow=table2.getFilteredRowModel().flatRows[0];return typeof firstRow?.getValue(column.id)=="string"?"asc":"desc"},column.getSortingFn=()=>{var _table$options$sortin,_table$options$sortin2;if(!column)throw new Error;return isFunction(column.columnDef.sortingFn)?column.columnDef.sortingFn:column.columnDef.sortingFn==="auto"?column.getAutoSortingFn():(_table$options$sortin=(_table$options$sortin2=table2.options.sortingFns)==null?void 0:_table$options$sortin2[column.columnDef.sortingFn])!=null?_table$options$sortin:sortingFns[column.columnDef.sortingFn]},column.toggleSorting=(desc,multi)=>{const nextSortingOrder=column.getNextSortingOrder(),hasManualValue=typeof desc<"u"&&desc!==null;table2.setSorting(old=>{const existingSorting=old?.find(d=>d.id===column.id),existingIndex=old?.findIndex(d=>d.id===column.id);let newSorting=[],sortAction,nextDesc=hasManualValue?desc:nextSortingOrder==="desc";if(old!=null&&old.length&&column.getCanMultiSort()&&multi?existingSorting?sortAction="toggle":sortAction="add":old!=null&&old.length&&existingIndex!==old.length-1?sortAction="replace":existingSorting?sortAction="toggle":sortAction="replace",sortAction==="toggle"&&(hasManualValue||nextSortingOrder||(sortAction="remove")),sortAction==="add"){var _table$options$maxMul;newSorting=[...old,{id:column.id,desc:nextDesc}],newSorting.splice(0,newSorting.length-((_table$options$maxMul=table2.options.maxMultiSortColCount)!=null?_table$options$maxMul:Number.MAX_SAFE_INTEGER))}else sortAction==="toggle"?newSorting=old.map(d=>d.id===column.id?{...d,desc:nextDesc}:d):sortAction==="remove"?newSorting=old.filter(d=>d.id!==column.id):newSorting=[{id:column.id,desc:nextDesc}];return newSorting})},column.getFirstSortDir=()=>{var _ref,_column$columnDef$sor;return((_ref=(_column$columnDef$sor=column.columnDef.sortDescFirst)!=null?_column$columnDef$sor:table2.options.sortDescFirst)!=null?_ref:column.getAutoSortDir()==="desc")?"desc":"asc"},column.getNextSortingOrder=multi=>{var _table$options$enable,_table$options$enable2;const firstSortDirection=column.getFirstSortDir(),isSorted=column.getIsSorted();return isSorted?isSorted!==firstSortDirection&&((_table$options$enable=table2.options.enableSortingRemoval)==null||_table$options$enable)&&(!(multi&&(_table$options$enable2=table2.options.enableMultiRemove)!=null)||_table$options$enable2)?!1:isSorted==="desc"?"asc":"desc":firstSortDirection},column.getCanSort=()=>{var _column$columnDef$ena,_table$options$enable3;return((_column$columnDef$ena=column.columnDef.enableSorting)!=null?_column$columnDef$ena:!0)&&((_table$options$enable3=table2.options.enableSorting)!=null?_table$options$enable3:!0)&&!!column.accessorFn},column.getCanMultiSort=()=>{var _ref2,_column$columnDef$ena2;return(_ref2=(_column$columnDef$ena2=column.columnDef.enableMultiSort)!=null?_column$columnDef$ena2:table2.options.enableMultiSort)!=null?_ref2:!!column.accessorFn},column.getIsSorted=()=>{var _table$getState$sorti;const columnSort=(_table$getState$sorti=table2.getState().sorting)==null?void 0:_table$getState$sorti.find(d=>d.id===column.id);return columnSort?columnSort.desc?"desc":"asc":!1},column.getSortIndex=()=>{var _table$getState$sorti2,_table$getState$sorti3;return(_table$getState$sorti2=(_table$getState$sorti3=table2.getState().sorting)==null?void 0:_table$getState$sorti3.findIndex(d=>d.id===column.id))!=null?_table$getState$sorti2:-1},column.clearSorting=()=>{table2.setSorting(old=>old!=null&&old.length?old.filter(d=>d.id!==column.id):[])},column.getToggleSortingHandler=()=>{const canSort=column.getCanSort();return e3=>{canSort&&(e3.persist==null||e3.persist(),column.toggleSorting==null||column.toggleSorting(void 0,column.getCanMultiSort()?table2.options.isMultiSortEvent==null?void 0:table2.options.isMultiSortEvent(e3):!1))}}},"createColumn"),createTable:__name(table2=>{table2.setSorting=updater=>table2.options.onSortingChange==null?void 0:table2.options.onSortingChange(updater),table2.resetSorting=defaultState=>{var _table$initialState$s,_table$initialState;table2.setSorting(defaultState?[]:(_table$initialState$s=(_table$initialState=table2.initialState)==null?void 0:_table$initialState.sorting)!=null?_table$initialState$s:[])},table2.getPreSortedRowModel=()=>table2.getGroupedRowModel(),table2.getSortedRowModel=()=>(!table2._getSortedRowModel&&table2.options.getSortedRowModel&&(table2._getSortedRowModel=table2.options.getSortedRowModel(table2)),table2.options.manualSorting||!table2._getSortedRowModel?table2.getPreSortedRowModel():table2._getSortedRowModel())},"createTable")},builtInFeatures=[Headers$1,ColumnVisibility,ColumnOrdering,ColumnPinning,ColumnFaceting,ColumnFiltering,GlobalFaceting,GlobalFiltering,RowSorting,ColumnGrouping,RowExpanding,RowPagination,RowPinning,RowSelection,ColumnSizing];function createTable(options){var _options$_features,_options$initialState;const _features=[...builtInFeatures,...(_options$_features=options._features)!=null?_options$_features:[]];let table2={_features};const defaultOptions=table2._features.reduce((obj,feature)=>Object.assign(obj,feature.getDefaultOptions==null?void 0:feature.getDefaultOptions(table2)),{}),mergeOptions=__name(options2=>table2.options.mergeOptions?table2.options.mergeOptions(defaultOptions,options2):{...defaultOptions,...options2},"mergeOptions");let initialState2={...{},...(_options$initialState=options.initialState)!=null?_options$initialState:{}};table2._features.forEach(feature=>{var _feature$getInitialSt;initialState2=(_feature$getInitialSt=feature.getInitialState==null?void 0:feature.getInitialState(initialState2))!=null?_feature$getInitialSt:initialState2});const queued=[];let queuedTimeout=!1;const coreInstance={_features,options:{...defaultOptions,...options},initialState:initialState2,_queue:__name(cb=>{queued.push(cb),queuedTimeout||(queuedTimeout=!0,Promise.resolve().then(()=>{for(;queued.length;)queued.shift()();queuedTimeout=!1}).catch(error=>setTimeout(()=>{throw error})))},"_queue"),reset:__name(()=>{table2.setState(table2.initialState)},"reset"),setOptions:__name(updater=>{const newOptions=functionalUpdate(updater,table2.options);table2.options=mergeOptions(newOptions)},"setOptions"),getState:__name(()=>table2.options.state,"getState"),setState:__name(updater=>{table2.options.onStateChange==null||table2.options.onStateChange(updater)},"setState"),_getRowId:__name((row,index2,parent)=>{var _table$options$getRow;return(_table$options$getRow=table2.options.getRowId==null?void 0:table2.options.getRowId(row,index2,parent))!=null?_table$options$getRow:`${parent?[parent.id,index2].join("."):index2}`},"_getRowId"),getCoreRowModel:__name(()=>(table2._getCoreRowModel||(table2._getCoreRowModel=table2.options.getCoreRowModel(table2)),table2._getCoreRowModel()),"getCoreRowModel"),getRowModel:__name(()=>table2.getPaginationRowModel(),"getRowModel"),getRow:__name((id,searchAll)=>{let row=(searchAll?table2.getPrePaginationRowModel():table2.getRowModel()).rowsById[id];if(!row&&(row=table2.getCoreRowModel().rowsById[id],!row))throw new Error;return row},"getRow"),_getDefaultColumnDef:memo(()=>[table2.options.defaultColumn],defaultColumn=>{var _defaultColumn;return defaultColumn=(_defaultColumn=defaultColumn)!=null?_defaultColumn:{},{header:__name(props=>{const resolvedColumnDef=props.header.column.columnDef;return resolvedColumnDef.accessorKey?resolvedColumnDef.accessorKey:resolvedColumnDef.accessorFn?resolvedColumnDef.id:null},"header"),cell:__name(props=>{var _props$renderValue$to,_props$renderValue;return(_props$renderValue$to=(_props$renderValue=props.renderValue())==null||_props$renderValue.toString==null?void 0:_props$renderValue.toString())!=null?_props$renderValue$to:null},"cell"),...table2._features.reduce((obj,feature)=>Object.assign(obj,feature.getDefaultColumnDef==null?void 0:feature.getDefaultColumnDef()),{}),...defaultColumn}},getMemoOptions(options,"debugColumns")),_getColumnDefs:__name(()=>table2.options.columns,"_getColumnDefs"),getAllColumns:memo(()=>[table2._getColumnDefs()],columnDefs=>{const recurseColumns=__name(function(columnDefs2,parent,depth){return depth===void 0&&(depth=0),columnDefs2.map(columnDef=>{const column=createColumn(table2,columnDef,depth,parent),groupingColumnDef=columnDef;return column.columns=groupingColumnDef.columns?recurseColumns(groupingColumnDef.columns,column,depth+1):[],column})},"recurseColumns");return recurseColumns(columnDefs)},getMemoOptions(options,"debugColumns")),getAllFlatColumns:memo(()=>[table2.getAllColumns()],allColumns=>allColumns.flatMap(column=>column.getFlatColumns()),getMemoOptions(options,"debugColumns")),_getAllFlatColumnsById:memo(()=>[table2.getAllFlatColumns()],flatColumns=>flatColumns.reduce((acc,column)=>(acc[column.id]=column,acc),{}),getMemoOptions(options,"debugColumns")),getAllLeafColumns:memo(()=>[table2.getAllColumns(),table2._getOrderColumnsFn()],(allColumns,orderColumns2)=>{let leafColumns=allColumns.flatMap(column=>column.getLeafColumns());return orderColumns2(leafColumns)},getMemoOptions(options,"debugColumns")),getColumn:__name(columnId=>table2._getAllFlatColumnsById()[columnId],"getColumn")};Object.assign(table2,coreInstance);for(let index2=0;index2memo(()=>[table2.options.data],data=>{const rowModel={rows:[],flatRows:[],rowsById:{}},accessRows=__name(function(originalRows,depth,parentRow){depth===void 0&&(depth=0);const rows=[];for(let i2=0;i2table2._autoResetPageIndex()))}__name(getCoreRowModel,"getCoreRowModel");function filterRows(rows,filterRowImpl,table2){return table2.options.filterFromLeafRows?filterRowModelFromLeafs(rows,filterRowImpl,table2):filterRowModelFromRoot(rows,filterRowImpl,table2)}__name(filterRows,"filterRows");function filterRowModelFromLeafs(rowsToFilter,filterRow,table2){var _table$options$maxLea;const newFilteredFlatRows=[],newFilteredRowsById={},maxDepth=(_table$options$maxLea=table2.options.maxLeafRowFilterDepth)!=null?_table$options$maxLea:100,recurseFilterRows=__name(function(rowsToFilter2,depth){depth===void 0&&(depth=0);const rows=[];for(let i2=0;i2memo(()=>[table2.getPreFilteredRowModel(),table2.getState().columnFilters,table2.getState().globalFilter],(rowModel,columnFilters,globalFilter)=>{if(!rowModel.rows.length||!(columnFilters!=null&&columnFilters.length)&&!globalFilter){for(let i2=0;i2{var _filterFn$resolveFilt;const column=table2.getColumn(d.id);if(!column)return;const filterFn=column.getFilterFn();filterFn&&resolvedColumnFilters.push({id:d.id,filterFn,resolvedValue:(_filterFn$resolveFilt=filterFn.resolveFilterValue==null?void 0:filterFn.resolveFilterValue(d.value))!=null?_filterFn$resolveFilt:d.value})});const filterableIds=(columnFilters??[]).map(d=>d.id),globalFilterFn=table2.getGlobalFilterFn(),globallyFilterableColumns=table2.getAllLeafColumns().filter(column=>column.getCanGlobalFilter());globalFilter&&globalFilterFn&&globallyFilterableColumns.length&&(filterableIds.push("__global__"),globallyFilterableColumns.forEach(column=>{var _globalFilterFn$resol;resolvedGlobalFilters.push({id:column.id,filterFn:globalFilterFn,resolvedValue:(_globalFilterFn$resol=globalFilterFn.resolveFilterValue==null?void 0:globalFilterFn.resolveFilterValue(globalFilter))!=null?_globalFilterFn$resol:globalFilter})}));let currentColumnFilter,currentGlobalFilter;for(let j2=0;j2{row.columnFiltersMeta[id]=filterMeta})}if(resolvedGlobalFilters.length){for(let i2=0;i2{row.columnFiltersMeta[id]=filterMeta})){row.columnFilters.__global__=!0;break}}row.columnFilters.__global__!==!0&&(row.columnFilters.__global__=!1)}}const filterRowsImpl=__name(row=>{for(let i2=0;i2table2._autoResetPageIndex()))}__name(getFilteredRowModel,"getFilteredRowModel");function getSortedRowModel(){return table2=>memo(()=>[table2.getState().sorting,table2.getPreSortedRowModel()],(sorting,rowModel)=>{if(!rowModel.rows.length||!(sorting!=null&&sorting.length))return rowModel;const sortingState=table2.getState().sorting,sortedFlatRows=[],availableSorting=sortingState.filter(sort=>{var _table$getColumn;return(_table$getColumn=table2.getColumn(sort.id))==null?void 0:_table$getColumn.getCanSort()}),columnInfoById={};availableSorting.forEach(sortEntry=>{const column=table2.getColumn(sortEntry.id);column&&(columnInfoById[sortEntry.id]={sortUndefined:column.columnDef.sortUndefined,invertSorting:column.columnDef.invertSorting,sortingFn:column.getSortingFn()})});const sortData=__name(rows=>{const sortedData=rows.map(row=>({...row}));return sortedData.sort((rowA,rowB)=>{for(let i2=0;i2{var _row$subRows;sortedFlatRows.push(row),(_row$subRows=row.subRows)!=null&&_row$subRows.length&&(row.subRows=sortData(row.subRows))}),sortedData},"sortData");return{rows:sortData(rowModel.rows),flatRows:sortedFlatRows,rowsById:rowModel.rowsById}},getMemoOptions(table2.options,"debugTable","getSortedRowModel",()=>table2._autoResetPageIndex()))}__name(getSortedRowModel,"getSortedRowModel");function flexRender(Comp,props){return Comp?isReactComponent(Comp)?reactExports.createElement(Comp,props):Comp:null}__name(flexRender,"flexRender");function isReactComponent(component){return isClassComponent(component)||typeof component=="function"||isExoticComponent(component)}__name(isReactComponent,"isReactComponent");function isClassComponent(component){return typeof component=="function"&&(()=>{const proto2=Object.getPrototypeOf(component);return proto2.prototype&&proto2.prototype.isReactComponent})()}__name(isClassComponent,"isClassComponent");function isExoticComponent(component){return typeof component=="object"&&typeof component.$$typeof=="symbol"&&["react.memo","react.forward_ref"].includes(component.$$typeof.description)}__name(isExoticComponent,"isExoticComponent");function useReactTable(options){const resolvedOptions={state:{},onStateChange:__name(()=>{},"onStateChange"),renderFallbackValue:null,...options},[tableRef]=reactExports.useState(()=>({current:createTable(resolvedOptions)})),[state,setState]=reactExports.useState(()=>tableRef.current.initialState);return tableRef.current.setOptions(prev=>({...prev,...options,state:{...state,...options.state},onStateChange:__name(updater=>{setState(updater),options.onStateChange==null||options.onStateChange(updater)},"onStateChange")})),tableRef.current}__name(useReactTable,"useReactTable");const Table=reactExports.forwardRef(({className,...props},ref)=>jsxRuntimeExports.jsx("div",{className:"relative w-full overflow-auto",children:jsxRuntimeExports.jsx("table",{ref,className:cn$2("w-full caption-bottom text-sm",className),...props})}));Table.displayName="Table";const TableHeader=reactExports.forwardRef(({className,...props},ref)=>jsxRuntimeExports.jsx("thead",{ref,className:cn$2("[&_tr]:border-b",className),...props}));TableHeader.displayName="TableHeader";const TableBody=reactExports.forwardRef(({className,...props},ref)=>jsxRuntimeExports.jsx("tbody",{ref,className:cn$2("[&_tr:last-child]:border-0",className),...props}));TableBody.displayName="TableBody";const TableFooter=reactExports.forwardRef(({className,...props},ref)=>jsxRuntimeExports.jsx("tfoot",{ref,className:cn$2("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",className),...props}));TableFooter.displayName="TableFooter";const TableRow=reactExports.forwardRef(({className,...props},ref)=>jsxRuntimeExports.jsx("tr",{ref,className:cn$2("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",className),...props}));TableRow.displayName="TableRow";const TableHead=reactExports.forwardRef(({className,...props},ref)=>jsxRuntimeExports.jsx("th",{ref,className:cn$2("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",className),...props}));TableHead.displayName="TableHead";const TableCell=reactExports.forwardRef(({className,...props},ref)=>jsxRuntimeExports.jsx("td",{ref,className:cn$2("p-4 align-middle [&:has([role=checkbox])]:pr-0",className),...props}));TableCell.displayName="TableCell";const TableCaption=reactExports.forwardRef(({className,...props},ref)=>jsxRuntimeExports.jsx("caption",{ref,className:cn$2("mt-4 text-sm text-muted-foreground",className),...props}));TableCaption.displayName="TableCaption";function parse$2(value2){const tokens=[],input=String(value2||"");let index2=input.indexOf(","),start2=0,end=!1;for(;!end;){index2===-1&&(index2=input.length,end=!0);const token=input.slice(start2,index2).trim();(token||!end)&&tokens.push(token),start2=index2+1,index2=input.indexOf(",",start2)}return tokens}__name(parse$2,"parse$2");function stringify$1(values,options){const settings={};return(values[values.length-1]===""?[...values,""]:values).join((settings.padRight?" ":"")+","+(settings.padLeft===!1?"":" ")).trim()}__name(stringify$1,"stringify$1");const nameRe=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,nameReJsx=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,emptyOptions$4={};function name(name2,options){return(emptyOptions$4.jsx?nameReJsx:nameRe).test(name2)}__name(name,"name");const re=/[ \t\n\f\r]/g;function whitespace(thing){return typeof thing=="object"?thing.type==="text"?empty$1(thing.value):!1:empty$1(thing)}__name(whitespace,"whitespace");function empty$1(value2){return value2.replace(re,"")===""}__name(empty$1,"empty$1");const _Schema=class _Schema{constructor(property,normal,space2){this.normal=normal,this.property=property,space2&&(this.space=space2)}};__name(_Schema,"Schema");let Schema=_Schema;Schema.prototype.normal={};Schema.prototype.property={};Schema.prototype.space=void 0;function merge(definitions,space2){const property={},normal={};for(const definition2 of definitions)Object.assign(property,definition2.property),Object.assign(normal,definition2.normal);return new Schema(property,normal,space2)}__name(merge,"merge");function normalize$1(value2){return value2.toLowerCase()}__name(normalize$1,"normalize$1");const _Info=class _Info{constructor(property,attribute){this.attribute=attribute,this.property=property}};__name(_Info,"Info");let Info=_Info;Info.prototype.attribute="";Info.prototype.booleanish=!1;Info.prototype.boolean=!1;Info.prototype.commaOrSpaceSeparated=!1;Info.prototype.commaSeparated=!1;Info.prototype.defined=!1;Info.prototype.mustUseProperty=!1;Info.prototype.number=!1;Info.prototype.overloadedBoolean=!1;Info.prototype.property="";Info.prototype.spaceSeparated=!1;Info.prototype.space=void 0;let powers=0;const boolean=increment(),booleanish=increment(),overloadedBoolean=increment(),number=increment(),spaceSeparated=increment(),commaSeparated=increment(),commaOrSpaceSeparated=increment();function increment(){return 2**++powers}__name(increment,"increment");const types=Object.freeze(Object.defineProperty({__proto__:null,boolean,booleanish,commaOrSpaceSeparated,commaSeparated,number,overloadedBoolean,spaceSeparated},Symbol.toStringTag,{value:"Module"})),checks=Object.keys(types),_DefinedInfo=class _DefinedInfo extends Info{constructor(property,attribute,mask,space2){let index2=-1;if(super(property,attribute),mark(this,"space",space2),typeof mask=="number")for(;++index24&&normal.slice(0,4)==="data"&&valid.test(value2)){if(value2.charAt(4)==="-"){const rest=value2.slice(5).replace(dash,camelcase);property="data"+rest.charAt(0).toUpperCase()+rest.slice(1)}else{const rest=value2.slice(4);if(!dash.test(rest)){let dashes=rest.replace(cap$1,kebab);dashes.charAt(0)!=="-"&&(dashes="-"+dashes),value2="data"+dashes}}Type=DefinedInfo}return new Type(property,value2)}__name(find,"find");function kebab($0){return"-"+$0.toLowerCase()}__name(kebab,"kebab");function camelcase($0){return $0.charAt(1).toUpperCase()}__name(camelcase,"camelcase");const html$2=merge([aria$1,html$3,xlink,xmlns,xml],"html"),svg=merge([aria$1,svg$1,xlink,xmlns,xml],"svg");function parse$1(value2){const input=String(value2||"").trim();return input?input.split(/[ \t\n\r\f]+/g):[]}__name(parse$1,"parse$1");function stringify(values){return values.join(" ").trim()}__name(stringify,"stringify");var cjs$2={},cjs$1,hasRequiredCjs$2;function requireCjs$2(){if(hasRequiredCjs$2)return cjs$1;hasRequiredCjs$2=1;var COMMENT_REGEX=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,NEWLINE_REGEX=/\n/g,WHITESPACE_REGEX=/^\s*/,PROPERTY_REGEX=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,COLON_REGEX=/^:\s*/,VALUE_REGEX=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,SEMICOLON_REGEX=/^[;\s]*/,TRIM_REGEX=/^\s+|\s+$/g,NEWLINE=` @@ -213,8 +219,8 @@ `,...tracker.current()});return/^[\t ]/.test(value2)&&(value2=encodeCharacterReference(value2.charCodeAt(0))+value2.slice(1)),value2=value2?sequence2+" "+value2:sequence2,state.options.closeAtx&&(value2+=" "+sequence2),subexit(),exit2(),value2}__name(heading,"heading");html.peek=htmlPeek;function html(node2){return node2.value||""}__name(html,"html");function htmlPeek(){return"<"}__name(htmlPeek,"htmlPeek");image.peek=imagePeek;function image(node2,_2,state,info){const quote=checkQuote(state),suffix=quote==='"'?"Quote":"Apostrophe",exit2=state.enter("image");let subexit=state.enter("label");const tracker=state.createTracker(info);let value2=tracker.move("![");return value2+=tracker.move(state.safe(node2.alt,{before:value2,after:"]",...tracker.current()})),value2+=tracker.move("]("),subexit(),!node2.url&&node2.title||/[\0- \u007F]/.test(node2.url)?(subexit=state.enter("destinationLiteral"),value2+=tracker.move("<"),value2+=tracker.move(state.safe(node2.url,{before:value2,after:">",...tracker.current()})),value2+=tracker.move(">")):(subexit=state.enter("destinationRaw"),value2+=tracker.move(state.safe(node2.url,{before:value2,after:node2.title?" ":")",...tracker.current()}))),subexit(),node2.title&&(subexit=state.enter(`title${suffix}`),value2+=tracker.move(" "+quote),value2+=tracker.move(state.safe(node2.title,{before:value2,after:quote,...tracker.current()})),value2+=tracker.move(quote),subexit()),value2+=tracker.move(")"),exit2(),value2}__name(image,"image");function imagePeek(){return"!"}__name(imagePeek,"imagePeek");imageReference.peek=imageReferencePeek;function imageReference(node2,_2,state,info){const type=node2.referenceType,exit2=state.enter("imageReference");let subexit=state.enter("label");const tracker=state.createTracker(info);let value2=tracker.move("![");const alt=state.safe(node2.alt,{before:value2,after:"]",...tracker.current()});value2+=tracker.move(alt+"]["),subexit();const stack=state.stack;state.stack=[],subexit=state.enter("reference");const reference=state.safe(state.associationId(node2),{before:value2,after:"]",...tracker.current()});return subexit(),state.stack=stack,exit2(),type==="full"||!alt||alt!==reference?value2+=tracker.move(reference+"]"):type==="shortcut"?value2=value2.slice(0,-1):value2+=tracker.move("]"),value2}__name(imageReference,"imageReference");function imageReferencePeek(){return"!"}__name(imageReferencePeek,"imageReferencePeek");inlineCode.peek=inlineCodePeek;function inlineCode(node2,_2,state){let value2=node2.value||"",sequence2="`",index2=-1;for(;new RegExp("(^|[^`])"+sequence2+"([^`]|$)").test(value2);)sequence2+="`";for(/[^ \r\n]/.test(value2)&&(/^[ \r\n]/.test(value2)&&/[ \r\n]$/.test(value2)||/^`|`$/.test(value2))&&(value2=" "+value2+" ");++index2\u007F]/.test(node2.url))}__name(formatLinkAsAutolink,"formatLinkAsAutolink");link.peek=linkPeek;function link(node2,_2,state,info){const quote=checkQuote(state),suffix=quote==='"'?"Quote":"Apostrophe",tracker=state.createTracker(info);let exit2,subexit;if(formatLinkAsAutolink(node2,state)){const stack=state.stack;state.stack=[],exit2=state.enter("autolink");let value3=tracker.move("<");return value3+=tracker.move(state.containerPhrasing(node2,{before:value3,after:">",...tracker.current()})),value3+=tracker.move(">"),exit2(),state.stack=stack,value3}exit2=state.enter("link"),subexit=state.enter("label");let value2=tracker.move("[");return value2+=tracker.move(state.containerPhrasing(node2,{before:value2,after:"](",...tracker.current()})),value2+=tracker.move("]("),subexit(),!node2.url&&node2.title||/[\0- \u007F]/.test(node2.url)?(subexit=state.enter("destinationLiteral"),value2+=tracker.move("<"),value2+=tracker.move(state.safe(node2.url,{before:value2,after:">",...tracker.current()})),value2+=tracker.move(">")):(subexit=state.enter("destinationRaw"),value2+=tracker.move(state.safe(node2.url,{before:value2,after:node2.title?" ":")",...tracker.current()}))),subexit(),node2.title&&(subexit=state.enter(`title${suffix}`),value2+=tracker.move(" "+quote),value2+=tracker.move(state.safe(node2.title,{before:value2,after:quote,...tracker.current()})),value2+=tracker.move(quote),subexit()),value2+=tracker.move(")"),exit2(),value2}__name(link,"link");function linkPeek(node2,_2,state){return formatLinkAsAutolink(node2,state)?"<":"["}__name(linkPeek,"linkPeek");linkReference.peek=linkReferencePeek;function linkReference(node2,_2,state,info){const type=node2.referenceType,exit2=state.enter("linkReference");let subexit=state.enter("label");const tracker=state.createTracker(info);let value2=tracker.move("[");const text2=state.containerPhrasing(node2,{before:value2,after:"]",...tracker.current()});value2+=tracker.move(text2+"]["),subexit();const stack=state.stack;state.stack=[],subexit=state.enter("reference");const reference=state.safe(state.associationId(node2),{before:value2,after:"]",...tracker.current()});return subexit(),state.stack=stack,exit2(),type==="full"||!text2||text2!==reference?value2+=tracker.move(reference+"]"):type==="shortcut"?value2=value2.slice(0,-1):value2+=tracker.move("]"),value2}__name(linkReference,"linkReference");function linkReferencePeek(){return"["}__name(linkReferencePeek,"linkReferencePeek");function checkBullet(state){const marker=state.options.bullet||"*";if(marker!=="*"&&marker!=="+"&&marker!=="-")throw new Error("Cannot serialize items with `"+marker+"` for `options.bullet`, expected `*`, `+`, or `-`");return marker}__name(checkBullet,"checkBullet");function checkBulletOther(state){const bullet=checkBullet(state),bulletOther=state.options.bulletOther;if(!bulletOther)return bullet==="*"?"-":"*";if(bulletOther!=="*"&&bulletOther!=="+"&&bulletOther!=="-")throw new Error("Cannot serialize items with `"+bulletOther+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(bulletOther===bullet)throw new Error("Expected `bullet` (`"+bullet+"`) and `bulletOther` (`"+bulletOther+"`) to be different");return bulletOther}__name(checkBulletOther,"checkBulletOther");function checkBulletOrdered(state){const marker=state.options.bulletOrdered||".";if(marker!=="."&&marker!==")")throw new Error("Cannot serialize items with `"+marker+"` for `options.bulletOrdered`, expected `.` or `)`");return marker}__name(checkBulletOrdered,"checkBulletOrdered");function checkRule(state){const marker=state.options.rule||"*";if(marker!=="*"&&marker!=="-"&&marker!=="_")throw new Error("Cannot serialize rules with `"+marker+"` for `options.rule`, expected `*`, `-`, or `_`");return marker}__name(checkRule,"checkRule");function list(node2,parent,state,info){const exit2=state.enter("list"),bulletCurrent=state.bulletCurrent;let bullet=node2.ordered?checkBulletOrdered(state):checkBullet(state);const bulletOther=node2.ordered?bullet==="."?")":".":checkBulletOther(state);let useDifferentMarker=parent&&state.bulletLastUsed?bullet===state.bulletLastUsed:!1;if(!node2.ordered){const firstListItem=node2.children?node2.children[0]:void 0;if((bullet==="*"||bullet==="-")&&firstListItem&&(!firstListItem.children||!firstListItem.children[0])&&state.stack[state.stack.length-1]==="list"&&state.stack[state.stack.length-2]==="listItem"&&state.stack[state.stack.length-3]==="list"&&state.stack[state.stack.length-4]==="listItem"&&state.indexStack[state.indexStack.length-1]===0&&state.indexStack[state.indexStack.length-2]===0&&state.indexStack[state.indexStack.length-3]===0&&(useDifferentMarker=!0),checkRule(state)===bullet&&firstListItem){let index2=-1;for(;++index2-1?parent.start:1)+(state.options.incrementListMarker===!1?0:parent.children.indexOf(node2))+bullet);let size2=bullet.length+1;(listItemIndent==="tab"||listItemIndent==="mixed"&&(parent&&parent.type==="list"&&parent.spread||node2.spread))&&(size2=Math.ceil(size2/4)*4);const tracker=state.createTracker(info);tracker.move(bullet+" ".repeat(size2-bullet.length)),tracker.shift(size2);const exit2=state.enter("listItem"),value2=state.indentLines(state.containerFlow(node2,tracker.current()),map2);return exit2(),value2;function map2(line,index2,blank){return index2?(blank?"":" ".repeat(size2))+line:(blank?bullet:bullet+" ".repeat(size2-bullet.length))+line}__name(map2,"map")}__name(listItem,"listItem");function paragraph(node2,_2,state,info){const exit2=state.enter("paragraph"),subexit=state.enter("phrasing"),value2=state.containerPhrasing(node2,info);return subexit(),exit2(),value2}__name(paragraph,"paragraph");const phrasing=convert(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function root$3(node2,_2,state,info){return(node2.children.some(function(d){return phrasing(d)})?state.containerPhrasing:state.containerFlow).call(state,node2,info)}__name(root$3,"root$3");function checkStrong(state){const marker=state.options.strong||"*";if(marker!=="*"&&marker!=="_")throw new Error("Cannot serialize strong with `"+marker+"` for `options.strong`, expected `*`, or `_`");return marker}__name(checkStrong,"checkStrong");strong.peek=strongPeek;function strong(node2,_2,state,info){const marker=checkStrong(state),exit2=state.enter("strong"),tracker=state.createTracker(info),before=tracker.move(marker+marker);let between=tracker.move(state.containerPhrasing(node2,{after:marker,before,...tracker.current()}));const betweenHead=between.charCodeAt(0),open=encodeInfo(info.before.charCodeAt(info.before.length-1),betweenHead,marker);open.inside&&(between=encodeCharacterReference(betweenHead)+between.slice(1));const betweenTail=between.charCodeAt(between.length-1),close=encodeInfo(info.after.charCodeAt(0),betweenTail,marker);close.inside&&(between=between.slice(0,-1)+encodeCharacterReference(betweenTail));const after=tracker.move(marker+marker);return exit2(),state.attentionEncodeSurroundingInfo={after:close.outside,before:open.outside},before+between+after}__name(strong,"strong");function strongPeek(_2,_1,state){return state.options.strong||"*"}__name(strongPeek,"strongPeek");function text$4(node2,_2,state,info){return state.safe(node2.value,info)}__name(text$4,"text$4");function checkRuleRepetition(state){const repetition=state.options.ruleRepetition||3;if(repetition<3)throw new Error("Cannot serialize rules with repetition `"+repetition+"` for `options.ruleRepetition`, expected `3` or more");return repetition}__name(checkRuleRepetition,"checkRuleRepetition");function thematicBreak(_2,_1,state){const value2=(checkRule(state)+(state.options.ruleSpaces?" ":"")).repeat(checkRuleRepetition(state));return state.options.ruleSpaces?value2.slice(0,-1):value2}__name(thematicBreak,"thematicBreak");const handle={blockquote,break:hardBreak,code:code$1,definition,emphasis,hardBreak,heading,html,image,imageReference,inlineCode,link,linkReference,list,listItem,paragraph,root:root$3,strong,text:text$4,thematicBreak};function gfmTableFromMarkdown(){return{enter:{table:enterTable,tableData:enterCell,tableHeader:enterCell,tableRow:enterRow},exit:{codeText:exitCodeText,table:exitTable,tableData:exit,tableHeader:exit,tableRow:exit}}}__name(gfmTableFromMarkdown,"gfmTableFromMarkdown");function enterTable(token){const align=token._align;this.enter({type:"table",align:align.map(function(d){return d==="none"?null:d}),children:[]},token),this.data.inTable=!0}__name(enterTable,"enterTable");function exitTable(token){this.exit(token),this.data.inTable=void 0}__name(exitTable,"exitTable");function enterRow(token){this.enter({type:"tableRow",children:[]},token)}__name(enterRow,"enterRow");function exit(token){this.exit(token)}__name(exit,"exit");function enterCell(token){this.enter({type:"tableCell",children:[]},token)}__name(enterCell,"enterCell");function exitCodeText(token){let value2=this.resume();this.data.inTable&&(value2=value2.replace(/\\([\\|])/g,replace));const node2=this.stack[this.stack.length-1];node2.type,node2.value=value2,this.exit(token)}__name(exitCodeText,"exitCodeText");function replace($0,$1){return $1==="|"?$1:$0}__name(replace,"replace");function gfmTableToMarkdown(options){const settings=options||{},padding=settings.tableCellPadding,alignDelimiters=settings.tablePipeAlign,stringLength=settings.stringLength,around=padding?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:inlineCodeWithTable,table:handleTable,tableCell:handleTableCell,tableRow:handleTableRow}};function handleTable(node2,_2,state,info){return serializeData(handleTableAsData(node2,state,info),node2.align)}function handleTableRow(node2,_2,state,info){const row=handleTableRowAsData(node2,state,info),value2=serializeData([row]);return value2.slice(0,value2.indexOf(` `))}function handleTableCell(node2,_2,state,info){const exit2=state.enter("tableCell"),subexit=state.enter("phrasing"),value2=state.containerPhrasing(node2,{...info,before:around,after:around});return subexit(),exit2(),value2}function serializeData(matrix,align){return markdownTable(matrix,{align,alignDelimiters,padding,stringLength})}function handleTableAsData(node2,state,info){const children2=node2.children;let index2=-1;const result=[],subexit=state.enter("table");for(;++index20&&!result&&(events[events.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),result}__name(previousUnbalanced,"previousUnbalanced");const indent={tokenize:tokenizeIndent,partial:!0};function gfmFootnote(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:tokenizeDefinitionStart,continuation:{tokenize:tokenizeDefinitionContinuation},exit:gfmFootnoteDefinitionEnd}},text:{91:{name:"gfmFootnoteCall",tokenize:tokenizeGfmFootnoteCall},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:tokenizePotentialGfmFootnoteCall,resolveTo:resolveToPotentialGfmFootnoteCall}}}}__name(gfmFootnote,"gfmFootnote");function tokenizePotentialGfmFootnoteCall(effects,ok2,nok){const self2=this;let index2=self2.events.length;const defined3=self2.parser.gfmFootnotes||(self2.parser.gfmFootnotes=[]);let labelStart;for(;index2--;){const token=self2.events[index2][1];if(token.type==="labelImage"){labelStart=token;break}if(token.type==="gfmFootnoteCall"||token.type==="labelLink"||token.type==="label"||token.type==="image"||token.type==="link")break}return start2;function start2(code2){if(!labelStart||!labelStart._balanced)return nok(code2);const id=normalizeIdentifier(self2.sliceSerialize({start:labelStart.end,end:self2.now()}));return id.codePointAt(0)!==94||!defined3.includes(id.slice(1))?nok(code2):(effects.enter("gfmFootnoteCallLabelMarker"),effects.consume(code2),effects.exit("gfmFootnoteCallLabelMarker"),ok2(code2))}}__name(tokenizePotentialGfmFootnoteCall,"tokenizePotentialGfmFootnoteCall");function resolveToPotentialGfmFootnoteCall(events,context){let index2=events.length;for(;index2--;)if(events[index2][1].type==="labelImage"&&events[index2][0]==="enter"){events[index2][1];break}events[index2+1][1].type="data",events[index2+3][1].type="gfmFootnoteCallLabelMarker";const call2={type:"gfmFootnoteCall",start:Object.assign({},events[index2+3][1].start),end:Object.assign({},events[events.length-1][1].end)},marker={type:"gfmFootnoteCallMarker",start:Object.assign({},events[index2+3][1].end),end:Object.assign({},events[index2+3][1].end)};marker.end.column++,marker.end.offset++,marker.end._bufferIndex++;const string2={type:"gfmFootnoteCallString",start:Object.assign({},marker.end),end:Object.assign({},events[events.length-1][1].start)},chunk={type:"chunkString",contentType:"string",start:Object.assign({},string2.start),end:Object.assign({},string2.end)},replacement=[events[index2+1],events[index2+2],["enter",call2,context],events[index2+3],events[index2+4],["enter",marker,context],["exit",marker,context],["enter",string2,context],["enter",chunk,context],["exit",chunk,context],["exit",string2,context],events[events.length-2],events[events.length-1],["exit",call2,context]];return events.splice(index2,events.length-index2+1,...replacement),events}__name(resolveToPotentialGfmFootnoteCall,"resolveToPotentialGfmFootnoteCall");function tokenizeGfmFootnoteCall(effects,ok2,nok){const self2=this,defined3=self2.parser.gfmFootnotes||(self2.parser.gfmFootnotes=[]);let size2=0,data;return start2;function start2(code2){return effects.enter("gfmFootnoteCall"),effects.enter("gfmFootnoteCallLabelMarker"),effects.consume(code2),effects.exit("gfmFootnoteCallLabelMarker"),callStart}function callStart(code2){return code2!==94?nok(code2):(effects.enter("gfmFootnoteCallMarker"),effects.consume(code2),effects.exit("gfmFootnoteCallMarker"),effects.enter("gfmFootnoteCallString"),effects.enter("chunkString").contentType="string",callData)}function callData(code2){if(size2>999||code2===93&&!data||code2===null||code2===91||markdownLineEndingOrSpace(code2))return nok(code2);if(code2===93){effects.exit("chunkString");const token=effects.exit("gfmFootnoteCallString");return defined3.includes(normalizeIdentifier(self2.sliceSerialize(token)))?(effects.enter("gfmFootnoteCallLabelMarker"),effects.consume(code2),effects.exit("gfmFootnoteCallLabelMarker"),effects.exit("gfmFootnoteCall"),ok2):nok(code2)}return markdownLineEndingOrSpace(code2)||(data=!0),size2++,effects.consume(code2),code2===92?callEscape:callData}function callEscape(code2){return code2===91||code2===92||code2===93?(effects.consume(code2),size2++,callData):callData(code2)}}__name(tokenizeGfmFootnoteCall,"tokenizeGfmFootnoteCall");function tokenizeDefinitionStart(effects,ok2,nok){const self2=this,defined3=self2.parser.gfmFootnotes||(self2.parser.gfmFootnotes=[]);let identifier,size2=0,data;return start2;function start2(code2){return effects.enter("gfmFootnoteDefinition")._container=!0,effects.enter("gfmFootnoteDefinitionLabel"),effects.enter("gfmFootnoteDefinitionLabelMarker"),effects.consume(code2),effects.exit("gfmFootnoteDefinitionLabelMarker"),labelAtMarker}function labelAtMarker(code2){return code2===94?(effects.enter("gfmFootnoteDefinitionMarker"),effects.consume(code2),effects.exit("gfmFootnoteDefinitionMarker"),effects.enter("gfmFootnoteDefinitionLabelString"),effects.enter("chunkString").contentType="string",labelInside):nok(code2)}function labelInside(code2){if(size2>999||code2===93&&!data||code2===null||code2===91||markdownLineEndingOrSpace(code2))return nok(code2);if(code2===93){effects.exit("chunkString");const token=effects.exit("gfmFootnoteDefinitionLabelString");return identifier=normalizeIdentifier(self2.sliceSerialize(token)),effects.enter("gfmFootnoteDefinitionLabelMarker"),effects.consume(code2),effects.exit("gfmFootnoteDefinitionLabelMarker"),effects.exit("gfmFootnoteDefinitionLabel"),labelAfter}return markdownLineEndingOrSpace(code2)||(data=!0),size2++,effects.consume(code2),code2===92?labelEscape:labelInside}function labelEscape(code2){return code2===91||code2===92||code2===93?(effects.consume(code2),size2++,labelInside):labelInside(code2)}function labelAfter(code2){return code2===58?(effects.enter("definitionMarker"),effects.consume(code2),effects.exit("definitionMarker"),defined3.includes(identifier)||defined3.push(identifier),factorySpace(effects,whitespaceAfter,"gfmFootnoteDefinitionWhitespace")):nok(code2)}function whitespaceAfter(code2){return ok2(code2)}}__name(tokenizeDefinitionStart,"tokenizeDefinitionStart");function tokenizeDefinitionContinuation(effects,ok2,nok){return effects.check(blankLine,ok2,effects.attempt(indent,ok2,nok))}__name(tokenizeDefinitionContinuation,"tokenizeDefinitionContinuation");function gfmFootnoteDefinitionEnd(effects){effects.exit("gfmFootnoteDefinition")}__name(gfmFootnoteDefinitionEnd,"gfmFootnoteDefinitionEnd");function tokenizeIndent(effects,ok2,nok){const self2=this;return factorySpace(effects,afterPrefix,"gfmFootnoteDefinitionIndent",5);function afterPrefix(code2){const tail=self2.events[self2.events.length-1];return tail&&tail[1].type==="gfmFootnoteDefinitionIndent"&&tail[2].sliceSerialize(tail[1],!0).length===4?ok2(code2):nok(code2)}}__name(tokenizeIndent,"tokenizeIndent");function gfmStrikethrough(options){let single=(options||{}).singleTilde;const tokenizer={name:"strikethrough",tokenize:tokenizeStrikethrough,resolveAll:resolveAllStrikethrough};return single==null&&(single=!0),{text:{126:tokenizer},insideSpan:{null:[tokenizer]},attentionMarkers:{null:[126]}};function resolveAllStrikethrough(events,context){let index2=-1;for(;++index21?nok(code2):(effects.consume(code2),size2++,more);if(size2<2&&!single)return nok(code2);const token=effects.exit("strikethroughSequenceTemporary"),after=classifyCharacter(code2);return token._open=!after||after===2&&!!before,token._close=!before||before===2&&!!after,ok2(code2)}}__name(tokenizeStrikethrough,"tokenizeStrikethrough")}__name(gfmStrikethrough,"gfmStrikethrough");const _EditMap=class _EditMap{constructor(){this.map=[]}add(index2,remove,add2){addImplementation(this,index2,remove,add2)}consume(events){if(this.map.sort(function(a2,b2){return a2[0]-b2[0]}),this.map.length===0)return;let index2=this.map.length;const vecs=[];for(;index2>0;)index2-=1,vecs.push(events.slice(this.map[index2][0]+this.map[index2][1]),this.map[index2][2]),events.length=this.map[index2][0];vecs.push(events.slice()),events.length=0;let slice=vecs.pop();for(;slice;){for(const element2 of slice)events.push(element2);slice=vecs.pop()}this.map.length=0}};__name(_EditMap,"EditMap");let EditMap=_EditMap;function addImplementation(editMap,at,remove,add2){let index2=0;if(!(remove===0&&add2.length===0)){for(;index2-1;){const type=self2.events[index2][1].type;if(type==="lineEnding"||type==="linePrefix")index2--;else break}const tail=index2>-1?self2.events[index2][1].type:null,next2=tail==="tableHead"||tail==="tableRow"?bodyRowStart:headRowBefore;return next2===bodyRowStart&&self2.parser.lazy[self2.now().line]?nok(code2):next2(code2)}function headRowBefore(code2){return effects.enter("tableHead"),effects.enter("tableRow"),headRowStart(code2)}function headRowStart(code2){return code2===124||(seen=!0,sizeB+=1),headRowBreak(code2)}function headRowBreak(code2){return code2===null?nok(code2):markdownLineEnding(code2)?sizeB>1?(sizeB=0,self2.interrupt=!0,effects.exit("tableRow"),effects.enter("lineEnding"),effects.consume(code2),effects.exit("lineEnding"),headDelimiterStart):nok(code2):markdownSpace(code2)?factorySpace(effects,headRowBreak,"whitespace")(code2):(sizeB+=1,seen&&(seen=!1,size2+=1),code2===124?(effects.enter("tableCellDivider"),effects.consume(code2),effects.exit("tableCellDivider"),seen=!0,headRowBreak):(effects.enter("data"),headRowData(code2)))}function headRowData(code2){return code2===null||code2===124||markdownLineEndingOrSpace(code2)?(effects.exit("data"),headRowBreak(code2)):(effects.consume(code2),code2===92?headRowEscape:headRowData)}function headRowEscape(code2){return code2===92||code2===124?(effects.consume(code2),headRowData):headRowData(code2)}function headDelimiterStart(code2){return self2.interrupt=!1,self2.parser.lazy[self2.now().line]?nok(code2):(effects.enter("tableDelimiterRow"),seen=!1,markdownSpace(code2)?factorySpace(effects,headDelimiterBefore,"linePrefix",self2.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(code2):headDelimiterBefore(code2))}function headDelimiterBefore(code2){return code2===45||code2===58?headDelimiterValueBefore(code2):code2===124?(seen=!0,effects.enter("tableCellDivider"),effects.consume(code2),effects.exit("tableCellDivider"),headDelimiterCellBefore):headDelimiterNok(code2)}function headDelimiterCellBefore(code2){return markdownSpace(code2)?factorySpace(effects,headDelimiterValueBefore,"whitespace")(code2):headDelimiterValueBefore(code2)}function headDelimiterValueBefore(code2){return code2===58?(sizeB+=1,seen=!0,effects.enter("tableDelimiterMarker"),effects.consume(code2),effects.exit("tableDelimiterMarker"),headDelimiterLeftAlignmentAfter):code2===45?(sizeB+=1,headDelimiterLeftAlignmentAfter(code2)):code2===null||markdownLineEnding(code2)?headDelimiterCellAfter(code2):headDelimiterNok(code2)}function headDelimiterLeftAlignmentAfter(code2){return code2===45?(effects.enter("tableDelimiterFiller"),headDelimiterFiller(code2)):headDelimiterNok(code2)}function headDelimiterFiller(code2){return code2===45?(effects.consume(code2),headDelimiterFiller):code2===58?(seen=!0,effects.exit("tableDelimiterFiller"),effects.enter("tableDelimiterMarker"),effects.consume(code2),effects.exit("tableDelimiterMarker"),headDelimiterRightAlignmentAfter):(effects.exit("tableDelimiterFiller"),headDelimiterRightAlignmentAfter(code2))}function headDelimiterRightAlignmentAfter(code2){return markdownSpace(code2)?factorySpace(effects,headDelimiterCellAfter,"whitespace")(code2):headDelimiterCellAfter(code2)}function headDelimiterCellAfter(code2){return code2===124?headDelimiterBefore(code2):code2===null||markdownLineEnding(code2)?!seen||size2!==sizeB?headDelimiterNok(code2):(effects.exit("tableDelimiterRow"),effects.exit("tableHead"),ok2(code2)):headDelimiterNok(code2)}function headDelimiterNok(code2){return nok(code2)}function bodyRowStart(code2){return effects.enter("tableRow"),bodyRowBreak(code2)}function bodyRowBreak(code2){return code2===124?(effects.enter("tableCellDivider"),effects.consume(code2),effects.exit("tableCellDivider"),bodyRowBreak):code2===null||markdownLineEnding(code2)?(effects.exit("tableRow"),ok2(code2)):markdownSpace(code2)?factorySpace(effects,bodyRowBreak,"whitespace")(code2):(effects.enter("data"),bodyRowData(code2))}function bodyRowData(code2){return code2===null||code2===124||markdownLineEndingOrSpace(code2)?(effects.exit("data"),bodyRowBreak(code2)):(effects.consume(code2),code2===92?bodyRowEscape:bodyRowData)}function bodyRowEscape(code2){return code2===92||code2===124?(effects.consume(code2),bodyRowData):bodyRowData(code2)}}__name(tokenizeTable,"tokenizeTable");function resolveTable(events,context){let index2=-1,inFirstCellAwaitingPipe=!0,rowKind=0,lastCell=[0,0,0,0],cell=[0,0,0,0],afterHeadAwaitingFirstBodyRow=!1,lastTableEnd=0,currentTable,currentBody,currentCell;const map2=new EditMap;for(;++index2range3[2]+1){const a2=range3[2]+1,b2=range3[3]-range3[2]-1;map2.add(a2,b2,[])}}map2.add(range3[3]+1,0,[["exit",valueToken,context]])}return rowEnd!==void 0&&(previousCell.end=Object.assign({},getPoint(context.events,rowEnd)),map2.add(rowEnd,0,[["exit",previousCell,context]]),previousCell=void 0),previousCell}__name(flushCell,"flushCell");function flushTableEnd(map2,context,index2,table2,tableBody){const exits=[],related=getPoint(context.events,index2);tableBody&&(tableBody.end=Object.assign({},related),exits.push(["exit",tableBody,context])),table2.end=Object.assign({},related),exits.push(["exit",table2,context]),map2.add(index2+1,0,exits)}__name(flushTableEnd,"flushTableEnd");function getPoint(events,index2){const event=events[index2],side=event[0]==="enter"?"start":"end";return event[1][side]}__name(getPoint,"getPoint");const tasklistCheck={name:"tasklistCheck",tokenize:tokenizeTasklistCheck};function gfmTaskListItem(){return{text:{91:tasklistCheck}}}__name(gfmTaskListItem,"gfmTaskListItem");function tokenizeTasklistCheck(effects,ok2,nok){const self2=this;return open;function open(code2){return self2.previous!==null||!self2._gfmTasklistFirstContentOfListItem?nok(code2):(effects.enter("taskListCheck"),effects.enter("taskListCheckMarker"),effects.consume(code2),effects.exit("taskListCheckMarker"),inside)}function inside(code2){return markdownLineEndingOrSpace(code2)?(effects.enter("taskListCheckValueUnchecked"),effects.consume(code2),effects.exit("taskListCheckValueUnchecked"),close):code2===88||code2===120?(effects.enter("taskListCheckValueChecked"),effects.consume(code2),effects.exit("taskListCheckValueChecked"),close):nok(code2)}function close(code2){return code2===93?(effects.enter("taskListCheckMarker"),effects.consume(code2),effects.exit("taskListCheckMarker"),effects.exit("taskListCheck"),after):nok(code2)}function after(code2){return markdownLineEnding(code2)?ok2(code2):markdownSpace(code2)?effects.check({tokenize:spaceThenNonSpace},ok2,nok)(code2):nok(code2)}}__name(tokenizeTasklistCheck,"tokenizeTasklistCheck");function spaceThenNonSpace(effects,ok2,nok){return factorySpace(effects,after,"whitespace");function after(code2){return code2===null?nok(code2):ok2(code2)}}__name(spaceThenNonSpace,"spaceThenNonSpace");function gfm(options){return combineExtensions([gfmAutolinkLiteral(),gfmFootnote(),gfmStrikethrough(options),gfmTable(),gfmTaskListItem()])}__name(gfm,"gfm");const emptyOptions$1={};function remarkGfm(options){const self2=this,settings=options||emptyOptions$1,data=self2.data(),micromarkExtensions=data.micromarkExtensions||(data.micromarkExtensions=[]),fromMarkdownExtensions=data.fromMarkdownExtensions||(data.fromMarkdownExtensions=[]),toMarkdownExtensions=data.toMarkdownExtensions||(data.toMarkdownExtensions=[]);micromarkExtensions.push(gfm(settings)),fromMarkdownExtensions.push(gfmFromMarkdown()),toMarkdownExtensions.push(gfmToMarkdown(settings))}__name(remarkGfm,"remarkGfm");const search=/[#.]/g;function parseSelector(selector,defaultTagName){const value2=selector||"",props={};let start2=0,previous2,tagName;for(;start2-1&&offset2<=value2.length){let index2=0;for(;;){let end=indices[index2];if(end===void 0){const eol=next(value2,indices[index2-1]);end=eol===-1?value2.length+1:eol+1,indices[index2]=end}if(end>offset2)return{line:index2+1,column:offset2-(index2>0?indices[index2-1]:0)+1,offset:offset2};index2++}}}function toOffset(point2){if(point2&&typeof point2.line=="number"&&typeof point2.column=="number"&&!Number.isNaN(point2.line)&&!Number.isNaN(point2.column)){for(;indices.length1?indices[point2.line-2]:0)+point2.column-1;if(offset2=55296&&cp<=57343}__name(isSurrogate,"isSurrogate");function isSurrogatePair(cp){return cp>=56320&&cp<=57343}__name(isSurrogatePair,"isSurrogatePair");function getSurrogatePairCodePoint(cp1,cp2){return(cp1-55296)*1024+9216+cp2}__name(getSurrogatePairCodePoint,"getSurrogatePairCodePoint");function isControlCodePoint(cp){return cp!==32&&cp!==10&&cp!==13&&cp!==9&&cp!==12&&cp>=1&&cp<=31||cp>=127&&cp<=159}__name(isControlCodePoint,"isControlCodePoint");function isUndefinedCodePoint(cp){return cp>=64976&&cp<=65007||UNDEFINED_CODE_POINTS.has(cp)}__name(isUndefinedCodePoint,"isUndefinedCodePoint");var ERR;(function(ERR2){ERR2.controlCharacterInInputStream="control-character-in-input-stream",ERR2.noncharacterInInputStream="noncharacter-in-input-stream",ERR2.surrogateInInputStream="surrogate-in-input-stream",ERR2.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",ERR2.endTagWithAttributes="end-tag-with-attributes",ERR2.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",ERR2.unexpectedSolidusInTag="unexpected-solidus-in-tag",ERR2.unexpectedNullCharacter="unexpected-null-character",ERR2.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",ERR2.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",ERR2.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",ERR2.missingEndTagName="missing-end-tag-name",ERR2.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",ERR2.unknownNamedCharacterReference="unknown-named-character-reference",ERR2.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",ERR2.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",ERR2.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",ERR2.eofBeforeTagName="eof-before-tag-name",ERR2.eofInTag="eof-in-tag",ERR2.missingAttributeValue="missing-attribute-value",ERR2.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",ERR2.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",ERR2.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",ERR2.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",ERR2.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",ERR2.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",ERR2.missingDoctypePublicIdentifier="missing-doctype-public-identifier",ERR2.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",ERR2.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",ERR2.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",ERR2.cdataInHtmlContent="cdata-in-html-content",ERR2.incorrectlyOpenedComment="incorrectly-opened-comment",ERR2.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",ERR2.eofInDoctype="eof-in-doctype",ERR2.nestedComment="nested-comment",ERR2.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",ERR2.eofInComment="eof-in-comment",ERR2.incorrectlyClosedComment="incorrectly-closed-comment",ERR2.eofInCdata="eof-in-cdata",ERR2.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",ERR2.nullCharacterReference="null-character-reference",ERR2.surrogateCharacterReference="surrogate-character-reference",ERR2.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",ERR2.controlCharacterReference="control-character-reference",ERR2.noncharacterCharacterReference="noncharacter-character-reference",ERR2.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",ERR2.missingDoctypeName="missing-doctype-name",ERR2.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",ERR2.duplicateAttribute="duplicate-attribute",ERR2.nonConformingDoctype="non-conforming-doctype",ERR2.missingDoctype="missing-doctype",ERR2.misplacedDoctype="misplaced-doctype",ERR2.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",ERR2.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",ERR2.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",ERR2.openElementsLeftAfterEof="open-elements-left-after-eof",ERR2.abandonedHeadElementChild="abandoned-head-element-child",ERR2.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",ERR2.nestedNoscriptInHead="nested-noscript-in-head",ERR2.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(ERR||(ERR={}));const DEFAULT_BUFFER_WATERLINE=65536,_Preprocessor=class _Preprocessor{constructor(handler){this.handler=handler,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=DEFAULT_BUFFER_WATERLINE,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(code2,cpOffset){const{line,col,offset:offset2}=this,startCol=col+cpOffset,startOffset=offset2+cpOffset;return{code:code2,startLine:line,endLine:line,startCol,endCol:startCol,startOffset,endOffset:startOffset}}_err(code2){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(code2,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(cp){if(this.pos!==this.html.length-1){const nextCp=this.html.charCodeAt(this.pos+1);if(isSurrogatePair(nextCp))return this.pos++,this._addGap(),getSurrogatePairCodePoint(cp,nextCp)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,CODE_POINTS.EOF;return this._err(ERR.surrogateInInputStream),cp}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(chunk,isLastChunk){this.html.length>0?this.html+=chunk:this.html=chunk,this.endOfChunkHit=!1,this.lastChunkWritten=isLastChunk}insertHtmlAtCurrentPos(chunk){this.html=this.html.substring(0,this.pos+1)+chunk+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(pattern,caseSensitive){if(this.pos+pattern.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(caseSensitive)return this.html.startsWith(pattern,this.pos);for(let i2=0;i2=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,CODE_POINTS.EOF;const code2=this.html.charCodeAt(pos);return code2===CODE_POINTS.CARRIAGE_RETURN?CODE_POINTS.LINE_FEED:code2}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,CODE_POINTS.EOF;let cp=this.html.charCodeAt(this.pos);return cp===CODE_POINTS.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,CODE_POINTS.LINE_FEED):cp===CODE_POINTS.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,isSurrogate(cp)&&(cp=this._processSurrogate(cp)),this.handler.onParseError===null||cp>31&&cp<127||cp===CODE_POINTS.LINE_FEED||cp===CODE_POINTS.CARRIAGE_RETURN||cp>159&&cp<64976||this._checkForProblematicCharacters(cp),cp)}_checkForProblematicCharacters(cp){isControlCodePoint(cp)?this._err(ERR.controlCharacterInInputStream):isUndefinedCodePoint(cp)&&this._err(ERR.noncharacterInInputStream)}retreat(count2){for(this.pos-=count2;this.pos=0;i2--)if(token.attrs[i2].name===attrName)return token.attrs[i2].value;return null}__name(getTokenAttr,"getTokenAttr");const htmlDecodeTree=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୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢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;怳Ādp໩໮uct;戏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ǣጓ\0጖y;䐎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Ā;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀ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Ā;e᜚᜜lƀ;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\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩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ↄⅪ←ٖ↛ǰ↉\0↎proø₞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;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\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\0⹻m;櫳;櫽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(c2=>c2.charCodeAt(0))),decodeMap=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]]);function replaceCodePoint(codePoint){var _a18;return codePoint>=55296&&codePoint<=57343||codePoint>1114111?65533:(_a18=decodeMap.get(codePoint))!==null&&_a18!==void 0?_a18:codePoint}__name(replaceCodePoint,"replaceCodePoint");var CharCodes;(function(CharCodes2){CharCodes2[CharCodes2.NUM=35]="NUM",CharCodes2[CharCodes2.SEMI=59]="SEMI",CharCodes2[CharCodes2.EQUALS=61]="EQUALS",CharCodes2[CharCodes2.ZERO=48]="ZERO",CharCodes2[CharCodes2.NINE=57]="NINE",CharCodes2[CharCodes2.LOWER_A=97]="LOWER_A",CharCodes2[CharCodes2.LOWER_F=102]="LOWER_F",CharCodes2[CharCodes2.LOWER_X=120]="LOWER_X",CharCodes2[CharCodes2.LOWER_Z=122]="LOWER_Z",CharCodes2[CharCodes2.UPPER_A=65]="UPPER_A",CharCodes2[CharCodes2.UPPER_F=70]="UPPER_F",CharCodes2[CharCodes2.UPPER_Z=90]="UPPER_Z"})(CharCodes||(CharCodes={}));const TO_LOWER_BIT=32;var BinTrieFlags;(function(BinTrieFlags2){BinTrieFlags2[BinTrieFlags2.VALUE_LENGTH=49152]="VALUE_LENGTH",BinTrieFlags2[BinTrieFlags2.BRANCH_LENGTH=16256]="BRANCH_LENGTH",BinTrieFlags2[BinTrieFlags2.JUMP_TABLE=127]="JUMP_TABLE"})(BinTrieFlags||(BinTrieFlags={}));function isNumber2(code2){return code2>=CharCodes.ZERO&&code2<=CharCodes.NINE}__name(isNumber2,"isNumber");function isHexadecimalCharacter(code2){return code2>=CharCodes.UPPER_A&&code2<=CharCodes.UPPER_F||code2>=CharCodes.LOWER_A&&code2<=CharCodes.LOWER_F}__name(isHexadecimalCharacter,"isHexadecimalCharacter");function isAsciiAlphaNumeric$1(code2){return code2>=CharCodes.UPPER_A&&code2<=CharCodes.UPPER_Z||code2>=CharCodes.LOWER_A&&code2<=CharCodes.LOWER_Z||isNumber2(code2)}__name(isAsciiAlphaNumeric$1,"isAsciiAlphaNumeric$1");function isEntityInAttributeInvalidEnd(code2){return code2===CharCodes.EQUALS||isAsciiAlphaNumeric$1(code2)}__name(isEntityInAttributeInvalidEnd,"isEntityInAttributeInvalidEnd");var EntityDecoderState;(function(EntityDecoderState2){EntityDecoderState2[EntityDecoderState2.EntityStart=0]="EntityStart",EntityDecoderState2[EntityDecoderState2.NumericStart=1]="NumericStart",EntityDecoderState2[EntityDecoderState2.NumericDecimal=2]="NumericDecimal",EntityDecoderState2[EntityDecoderState2.NumericHex=3]="NumericHex",EntityDecoderState2[EntityDecoderState2.NamedEntity=4]="NamedEntity"})(EntityDecoderState||(EntityDecoderState={}));var DecodingMode;(function(DecodingMode2){DecodingMode2[DecodingMode2.Legacy=0]="Legacy",DecodingMode2[DecodingMode2.Strict=1]="Strict",DecodingMode2[DecodingMode2.Attribute=2]="Attribute"})(DecodingMode||(DecodingMode={}));const _EntityDecoder=class _EntityDecoder{constructor(decodeTree,emitCodePoint,errors){this.decodeTree=decodeTree,this.emitCodePoint=emitCodePoint,this.errors=errors,this.state=EntityDecoderState.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=DecodingMode.Strict}startEntity(decodeMode){this.decodeMode=decodeMode,this.state=EntityDecoderState.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(input,offset2){switch(this.state){case EntityDecoderState.EntityStart:return input.charCodeAt(offset2)===CharCodes.NUM?(this.state=EntityDecoderState.NumericStart,this.consumed+=1,this.stateNumericStart(input,offset2+1)):(this.state=EntityDecoderState.NamedEntity,this.stateNamedEntity(input,offset2));case EntityDecoderState.NumericStart:return this.stateNumericStart(input,offset2);case EntityDecoderState.NumericDecimal:return this.stateNumericDecimal(input,offset2);case EntityDecoderState.NumericHex:return this.stateNumericHex(input,offset2);case EntityDecoderState.NamedEntity:return this.stateNamedEntity(input,offset2)}}stateNumericStart(input,offset2){return offset2>=input.length?-1:(input.charCodeAt(offset2)|TO_LOWER_BIT)===CharCodes.LOWER_X?(this.state=EntityDecoderState.NumericHex,this.consumed+=1,this.stateNumericHex(input,offset2+1)):(this.state=EntityDecoderState.NumericDecimal,this.stateNumericDecimal(input,offset2))}addToNumericResult(input,start2,end,base){if(start2!==end){const digitCount=end-start2;this.result=this.result*Math.pow(base,digitCount)+Number.parseInt(input.substr(start2,digitCount),base),this.consumed+=digitCount}}stateNumericHex(input,offset2){const startIndex=offset2;for(;offset2>14;for(;offset2>14,valueLength!==0){if(char===CharCodes.SEMI)return this.emitNamedEntityData(this.treeIndex,valueLength,this.consumed+this.excess);this.decodeMode!==DecodingMode.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var _a18;const{result,decodeTree}=this,valueLength=(decodeTree[result]&BinTrieFlags.VALUE_LENGTH)>>14;return this.emitNamedEntityData(result,valueLength,this.consumed),(_a18=this.errors)===null||_a18===void 0||_a18.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(result,valueLength,consumed){const{decodeTree}=this;return this.emitCodePoint(valueLength===1?decodeTree[result]&~BinTrieFlags.VALUE_LENGTH:decodeTree[result+1],consumed),valueLength===3&&this.emitCodePoint(decodeTree[result+2],consumed),consumed}end(){var _a18;switch(this.state){case EntityDecoderState.NamedEntity:return this.result!==0&&(this.decodeMode!==DecodingMode.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case EntityDecoderState.NumericDecimal:return this.emitNumericEntity(0,2);case EntityDecoderState.NumericHex:return this.emitNumericEntity(0,3);case EntityDecoderState.NumericStart:return(_a18=this.errors)===null||_a18===void 0||_a18.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case EntityDecoderState.EntityStart:return 0}}};__name(_EntityDecoder,"EntityDecoder");let EntityDecoder=_EntityDecoder;function determineBranch(decodeTree,current,nodeIndex,char){const branchCount=(current&BinTrieFlags.BRANCH_LENGTH)>>7,jumpOffset=current&BinTrieFlags.JUMP_TABLE;if(branchCount===0)return jumpOffset!==0&&char===jumpOffset?nodeIndex:-1;if(jumpOffset){const value2=char-jumpOffset;return value2<0||value2>=branchCount?-1:decodeTree[nodeIndex+value2]-1}let lo=nodeIndex,hi=lo+branchCount-1;for(;lo<=hi;){const mid=lo+hi>>>1,midValue=decodeTree[mid];if(midValuechar)hi=mid-1;else return decodeTree[mid+branchCount]}return-1}__name(determineBranch,"determineBranch");var NS;(function(NS2){NS2.HTML="http://www.w3.org/1999/xhtml",NS2.MATHML="http://www.w3.org/1998/Math/MathML",NS2.SVG="http://www.w3.org/2000/svg",NS2.XLINK="http://www.w3.org/1999/xlink",NS2.XML="http://www.w3.org/XML/1998/namespace",NS2.XMLNS="http://www.w3.org/2000/xmlns/"})(NS||(NS={}));var ATTRS;(function(ATTRS2){ATTRS2.TYPE="type",ATTRS2.ACTION="action",ATTRS2.ENCODING="encoding",ATTRS2.PROMPT="prompt",ATTRS2.NAME="name",ATTRS2.COLOR="color",ATTRS2.FACE="face",ATTRS2.SIZE="size"})(ATTRS||(ATTRS={}));var DOCUMENT_MODE;(function(DOCUMENT_MODE2){DOCUMENT_MODE2.NO_QUIRKS="no-quirks",DOCUMENT_MODE2.QUIRKS="quirks",DOCUMENT_MODE2.LIMITED_QUIRKS="limited-quirks"})(DOCUMENT_MODE||(DOCUMENT_MODE={}));var TAG_NAMES;(function(TAG_NAMES2){TAG_NAMES2.A="a",TAG_NAMES2.ADDRESS="address",TAG_NAMES2.ANNOTATION_XML="annotation-xml",TAG_NAMES2.APPLET="applet",TAG_NAMES2.AREA="area",TAG_NAMES2.ARTICLE="article",TAG_NAMES2.ASIDE="aside",TAG_NAMES2.B="b",TAG_NAMES2.BASE="base",TAG_NAMES2.BASEFONT="basefont",TAG_NAMES2.BGSOUND="bgsound",TAG_NAMES2.BIG="big",TAG_NAMES2.BLOCKQUOTE="blockquote",TAG_NAMES2.BODY="body",TAG_NAMES2.BR="br",TAG_NAMES2.BUTTON="button",TAG_NAMES2.CAPTION="caption",TAG_NAMES2.CENTER="center",TAG_NAMES2.CODE="code",TAG_NAMES2.COL="col",TAG_NAMES2.COLGROUP="colgroup",TAG_NAMES2.DD="dd",TAG_NAMES2.DESC="desc",TAG_NAMES2.DETAILS="details",TAG_NAMES2.DIALOG="dialog",TAG_NAMES2.DIR="dir",TAG_NAMES2.DIV="div",TAG_NAMES2.DL="dl",TAG_NAMES2.DT="dt",TAG_NAMES2.EM="em",TAG_NAMES2.EMBED="embed",TAG_NAMES2.FIELDSET="fieldset",TAG_NAMES2.FIGCAPTION="figcaption",TAG_NAMES2.FIGURE="figure",TAG_NAMES2.FONT="font",TAG_NAMES2.FOOTER="footer",TAG_NAMES2.FOREIGN_OBJECT="foreignObject",TAG_NAMES2.FORM="form",TAG_NAMES2.FRAME="frame",TAG_NAMES2.FRAMESET="frameset",TAG_NAMES2.H1="h1",TAG_NAMES2.H2="h2",TAG_NAMES2.H3="h3",TAG_NAMES2.H4="h4",TAG_NAMES2.H5="h5",TAG_NAMES2.H6="h6",TAG_NAMES2.HEAD="head",TAG_NAMES2.HEADER="header",TAG_NAMES2.HGROUP="hgroup",TAG_NAMES2.HR="hr",TAG_NAMES2.HTML="html",TAG_NAMES2.I="i",TAG_NAMES2.IMG="img",TAG_NAMES2.IMAGE="image",TAG_NAMES2.INPUT="input",TAG_NAMES2.IFRAME="iframe",TAG_NAMES2.KEYGEN="keygen",TAG_NAMES2.LABEL="label",TAG_NAMES2.LI="li",TAG_NAMES2.LINK="link",TAG_NAMES2.LISTING="listing",TAG_NAMES2.MAIN="main",TAG_NAMES2.MALIGNMARK="malignmark",TAG_NAMES2.MARQUEE="marquee",TAG_NAMES2.MATH="math",TAG_NAMES2.MENU="menu",TAG_NAMES2.META="meta",TAG_NAMES2.MGLYPH="mglyph",TAG_NAMES2.MI="mi",TAG_NAMES2.MO="mo",TAG_NAMES2.MN="mn",TAG_NAMES2.MS="ms",TAG_NAMES2.MTEXT="mtext",TAG_NAMES2.NAV="nav",TAG_NAMES2.NOBR="nobr",TAG_NAMES2.NOFRAMES="noframes",TAG_NAMES2.NOEMBED="noembed",TAG_NAMES2.NOSCRIPT="noscript",TAG_NAMES2.OBJECT="object",TAG_NAMES2.OL="ol",TAG_NAMES2.OPTGROUP="optgroup",TAG_NAMES2.OPTION="option",TAG_NAMES2.P="p",TAG_NAMES2.PARAM="param",TAG_NAMES2.PLAINTEXT="plaintext",TAG_NAMES2.PRE="pre",TAG_NAMES2.RB="rb",TAG_NAMES2.RP="rp",TAG_NAMES2.RT="rt",TAG_NAMES2.RTC="rtc",TAG_NAMES2.RUBY="ruby",TAG_NAMES2.S="s",TAG_NAMES2.SCRIPT="script",TAG_NAMES2.SEARCH="search",TAG_NAMES2.SECTION="section",TAG_NAMES2.SELECT="select",TAG_NAMES2.SOURCE="source",TAG_NAMES2.SMALL="small",TAG_NAMES2.SPAN="span",TAG_NAMES2.STRIKE="strike",TAG_NAMES2.STRONG="strong",TAG_NAMES2.STYLE="style",TAG_NAMES2.SUB="sub",TAG_NAMES2.SUMMARY="summary",TAG_NAMES2.SUP="sup",TAG_NAMES2.TABLE="table",TAG_NAMES2.TBODY="tbody",TAG_NAMES2.TEMPLATE="template",TAG_NAMES2.TEXTAREA="textarea",TAG_NAMES2.TFOOT="tfoot",TAG_NAMES2.TD="td",TAG_NAMES2.TH="th",TAG_NAMES2.THEAD="thead",TAG_NAMES2.TITLE="title",TAG_NAMES2.TR="tr",TAG_NAMES2.TRACK="track",TAG_NAMES2.TT="tt",TAG_NAMES2.U="u",TAG_NAMES2.UL="ul",TAG_NAMES2.SVG="svg",TAG_NAMES2.VAR="var",TAG_NAMES2.WBR="wbr",TAG_NAMES2.XMP="xmp"})(TAG_NAMES||(TAG_NAMES={}));var TAG_ID;(function(TAG_ID2){TAG_ID2[TAG_ID2.UNKNOWN=0]="UNKNOWN",TAG_ID2[TAG_ID2.A=1]="A",TAG_ID2[TAG_ID2.ADDRESS=2]="ADDRESS",TAG_ID2[TAG_ID2.ANNOTATION_XML=3]="ANNOTATION_XML",TAG_ID2[TAG_ID2.APPLET=4]="APPLET",TAG_ID2[TAG_ID2.AREA=5]="AREA",TAG_ID2[TAG_ID2.ARTICLE=6]="ARTICLE",TAG_ID2[TAG_ID2.ASIDE=7]="ASIDE",TAG_ID2[TAG_ID2.B=8]="B",TAG_ID2[TAG_ID2.BASE=9]="BASE",TAG_ID2[TAG_ID2.BASEFONT=10]="BASEFONT",TAG_ID2[TAG_ID2.BGSOUND=11]="BGSOUND",TAG_ID2[TAG_ID2.BIG=12]="BIG",TAG_ID2[TAG_ID2.BLOCKQUOTE=13]="BLOCKQUOTE",TAG_ID2[TAG_ID2.BODY=14]="BODY",TAG_ID2[TAG_ID2.BR=15]="BR",TAG_ID2[TAG_ID2.BUTTON=16]="BUTTON",TAG_ID2[TAG_ID2.CAPTION=17]="CAPTION",TAG_ID2[TAG_ID2.CENTER=18]="CENTER",TAG_ID2[TAG_ID2.CODE=19]="CODE",TAG_ID2[TAG_ID2.COL=20]="COL",TAG_ID2[TAG_ID2.COLGROUP=21]="COLGROUP",TAG_ID2[TAG_ID2.DD=22]="DD",TAG_ID2[TAG_ID2.DESC=23]="DESC",TAG_ID2[TAG_ID2.DETAILS=24]="DETAILS",TAG_ID2[TAG_ID2.DIALOG=25]="DIALOG",TAG_ID2[TAG_ID2.DIR=26]="DIR",TAG_ID2[TAG_ID2.DIV=27]="DIV",TAG_ID2[TAG_ID2.DL=28]="DL",TAG_ID2[TAG_ID2.DT=29]="DT",TAG_ID2[TAG_ID2.EM=30]="EM",TAG_ID2[TAG_ID2.EMBED=31]="EMBED",TAG_ID2[TAG_ID2.FIELDSET=32]="FIELDSET",TAG_ID2[TAG_ID2.FIGCAPTION=33]="FIGCAPTION",TAG_ID2[TAG_ID2.FIGURE=34]="FIGURE",TAG_ID2[TAG_ID2.FONT=35]="FONT",TAG_ID2[TAG_ID2.FOOTER=36]="FOOTER",TAG_ID2[TAG_ID2.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",TAG_ID2[TAG_ID2.FORM=38]="FORM",TAG_ID2[TAG_ID2.FRAME=39]="FRAME",TAG_ID2[TAG_ID2.FRAMESET=40]="FRAMESET",TAG_ID2[TAG_ID2.H1=41]="H1",TAG_ID2[TAG_ID2.H2=42]="H2",TAG_ID2[TAG_ID2.H3=43]="H3",TAG_ID2[TAG_ID2.H4=44]="H4",TAG_ID2[TAG_ID2.H5=45]="H5",TAG_ID2[TAG_ID2.H6=46]="H6",TAG_ID2[TAG_ID2.HEAD=47]="HEAD",TAG_ID2[TAG_ID2.HEADER=48]="HEADER",TAG_ID2[TAG_ID2.HGROUP=49]="HGROUP",TAG_ID2[TAG_ID2.HR=50]="HR",TAG_ID2[TAG_ID2.HTML=51]="HTML",TAG_ID2[TAG_ID2.I=52]="I",TAG_ID2[TAG_ID2.IMG=53]="IMG",TAG_ID2[TAG_ID2.IMAGE=54]="IMAGE",TAG_ID2[TAG_ID2.INPUT=55]="INPUT",TAG_ID2[TAG_ID2.IFRAME=56]="IFRAME",TAG_ID2[TAG_ID2.KEYGEN=57]="KEYGEN",TAG_ID2[TAG_ID2.LABEL=58]="LABEL",TAG_ID2[TAG_ID2.LI=59]="LI",TAG_ID2[TAG_ID2.LINK=60]="LINK",TAG_ID2[TAG_ID2.LISTING=61]="LISTING",TAG_ID2[TAG_ID2.MAIN=62]="MAIN",TAG_ID2[TAG_ID2.MALIGNMARK=63]="MALIGNMARK",TAG_ID2[TAG_ID2.MARQUEE=64]="MARQUEE",TAG_ID2[TAG_ID2.MATH=65]="MATH",TAG_ID2[TAG_ID2.MENU=66]="MENU",TAG_ID2[TAG_ID2.META=67]="META",TAG_ID2[TAG_ID2.MGLYPH=68]="MGLYPH",TAG_ID2[TAG_ID2.MI=69]="MI",TAG_ID2[TAG_ID2.MO=70]="MO",TAG_ID2[TAG_ID2.MN=71]="MN",TAG_ID2[TAG_ID2.MS=72]="MS",TAG_ID2[TAG_ID2.MTEXT=73]="MTEXT",TAG_ID2[TAG_ID2.NAV=74]="NAV",TAG_ID2[TAG_ID2.NOBR=75]="NOBR",TAG_ID2[TAG_ID2.NOFRAMES=76]="NOFRAMES",TAG_ID2[TAG_ID2.NOEMBED=77]="NOEMBED",TAG_ID2[TAG_ID2.NOSCRIPT=78]="NOSCRIPT",TAG_ID2[TAG_ID2.OBJECT=79]="OBJECT",TAG_ID2[TAG_ID2.OL=80]="OL",TAG_ID2[TAG_ID2.OPTGROUP=81]="OPTGROUP",TAG_ID2[TAG_ID2.OPTION=82]="OPTION",TAG_ID2[TAG_ID2.P=83]="P",TAG_ID2[TAG_ID2.PARAM=84]="PARAM",TAG_ID2[TAG_ID2.PLAINTEXT=85]="PLAINTEXT",TAG_ID2[TAG_ID2.PRE=86]="PRE",TAG_ID2[TAG_ID2.RB=87]="RB",TAG_ID2[TAG_ID2.RP=88]="RP",TAG_ID2[TAG_ID2.RT=89]="RT",TAG_ID2[TAG_ID2.RTC=90]="RTC",TAG_ID2[TAG_ID2.RUBY=91]="RUBY",TAG_ID2[TAG_ID2.S=92]="S",TAG_ID2[TAG_ID2.SCRIPT=93]="SCRIPT",TAG_ID2[TAG_ID2.SEARCH=94]="SEARCH",TAG_ID2[TAG_ID2.SECTION=95]="SECTION",TAG_ID2[TAG_ID2.SELECT=96]="SELECT",TAG_ID2[TAG_ID2.SOURCE=97]="SOURCE",TAG_ID2[TAG_ID2.SMALL=98]="SMALL",TAG_ID2[TAG_ID2.SPAN=99]="SPAN",TAG_ID2[TAG_ID2.STRIKE=100]="STRIKE",TAG_ID2[TAG_ID2.STRONG=101]="STRONG",TAG_ID2[TAG_ID2.STYLE=102]="STYLE",TAG_ID2[TAG_ID2.SUB=103]="SUB",TAG_ID2[TAG_ID2.SUMMARY=104]="SUMMARY",TAG_ID2[TAG_ID2.SUP=105]="SUP",TAG_ID2[TAG_ID2.TABLE=106]="TABLE",TAG_ID2[TAG_ID2.TBODY=107]="TBODY",TAG_ID2[TAG_ID2.TEMPLATE=108]="TEMPLATE",TAG_ID2[TAG_ID2.TEXTAREA=109]="TEXTAREA",TAG_ID2[TAG_ID2.TFOOT=110]="TFOOT",TAG_ID2[TAG_ID2.TD=111]="TD",TAG_ID2[TAG_ID2.TH=112]="TH",TAG_ID2[TAG_ID2.THEAD=113]="THEAD",TAG_ID2[TAG_ID2.TITLE=114]="TITLE",TAG_ID2[TAG_ID2.TR=115]="TR",TAG_ID2[TAG_ID2.TRACK=116]="TRACK",TAG_ID2[TAG_ID2.TT=117]="TT",TAG_ID2[TAG_ID2.U=118]="U",TAG_ID2[TAG_ID2.UL=119]="UL",TAG_ID2[TAG_ID2.SVG=120]="SVG",TAG_ID2[TAG_ID2.VAR=121]="VAR",TAG_ID2[TAG_ID2.WBR=122]="WBR",TAG_ID2[TAG_ID2.XMP=123]="XMP"})(TAG_ID||(TAG_ID={}));const TAG_NAME_TO_ID=new Map([[TAG_NAMES.A,TAG_ID.A],[TAG_NAMES.ADDRESS,TAG_ID.ADDRESS],[TAG_NAMES.ANNOTATION_XML,TAG_ID.ANNOTATION_XML],[TAG_NAMES.APPLET,TAG_ID.APPLET],[TAG_NAMES.AREA,TAG_ID.AREA],[TAG_NAMES.ARTICLE,TAG_ID.ARTICLE],[TAG_NAMES.ASIDE,TAG_ID.ASIDE],[TAG_NAMES.B,TAG_ID.B],[TAG_NAMES.BASE,TAG_ID.BASE],[TAG_NAMES.BASEFONT,TAG_ID.BASEFONT],[TAG_NAMES.BGSOUND,TAG_ID.BGSOUND],[TAG_NAMES.BIG,TAG_ID.BIG],[TAG_NAMES.BLOCKQUOTE,TAG_ID.BLOCKQUOTE],[TAG_NAMES.BODY,TAG_ID.BODY],[TAG_NAMES.BR,TAG_ID.BR],[TAG_NAMES.BUTTON,TAG_ID.BUTTON],[TAG_NAMES.CAPTION,TAG_ID.CAPTION],[TAG_NAMES.CENTER,TAG_ID.CENTER],[TAG_NAMES.CODE,TAG_ID.CODE],[TAG_NAMES.COL,TAG_ID.COL],[TAG_NAMES.COLGROUP,TAG_ID.COLGROUP],[TAG_NAMES.DD,TAG_ID.DD],[TAG_NAMES.DESC,TAG_ID.DESC],[TAG_NAMES.DETAILS,TAG_ID.DETAILS],[TAG_NAMES.DIALOG,TAG_ID.DIALOG],[TAG_NAMES.DIR,TAG_ID.DIR],[TAG_NAMES.DIV,TAG_ID.DIV],[TAG_NAMES.DL,TAG_ID.DL],[TAG_NAMES.DT,TAG_ID.DT],[TAG_NAMES.EM,TAG_ID.EM],[TAG_NAMES.EMBED,TAG_ID.EMBED],[TAG_NAMES.FIELDSET,TAG_ID.FIELDSET],[TAG_NAMES.FIGCAPTION,TAG_ID.FIGCAPTION],[TAG_NAMES.FIGURE,TAG_ID.FIGURE],[TAG_NAMES.FONT,TAG_ID.FONT],[TAG_NAMES.FOOTER,TAG_ID.FOOTER],[TAG_NAMES.FOREIGN_OBJECT,TAG_ID.FOREIGN_OBJECT],[TAG_NAMES.FORM,TAG_ID.FORM],[TAG_NAMES.FRAME,TAG_ID.FRAME],[TAG_NAMES.FRAMESET,TAG_ID.FRAMESET],[TAG_NAMES.H1,TAG_ID.H1],[TAG_NAMES.H2,TAG_ID.H2],[TAG_NAMES.H3,TAG_ID.H3],[TAG_NAMES.H4,TAG_ID.H4],[TAG_NAMES.H5,TAG_ID.H5],[TAG_NAMES.H6,TAG_ID.H6],[TAG_NAMES.HEAD,TAG_ID.HEAD],[TAG_NAMES.HEADER,TAG_ID.HEADER],[TAG_NAMES.HGROUP,TAG_ID.HGROUP],[TAG_NAMES.HR,TAG_ID.HR],[TAG_NAMES.HTML,TAG_ID.HTML],[TAG_NAMES.I,TAG_ID.I],[TAG_NAMES.IMG,TAG_ID.IMG],[TAG_NAMES.IMAGE,TAG_ID.IMAGE],[TAG_NAMES.INPUT,TAG_ID.INPUT],[TAG_NAMES.IFRAME,TAG_ID.IFRAME],[TAG_NAMES.KEYGEN,TAG_ID.KEYGEN],[TAG_NAMES.LABEL,TAG_ID.LABEL],[TAG_NAMES.LI,TAG_ID.LI],[TAG_NAMES.LINK,TAG_ID.LINK],[TAG_NAMES.LISTING,TAG_ID.LISTING],[TAG_NAMES.MAIN,TAG_ID.MAIN],[TAG_NAMES.MALIGNMARK,TAG_ID.MALIGNMARK],[TAG_NAMES.MARQUEE,TAG_ID.MARQUEE],[TAG_NAMES.MATH,TAG_ID.MATH],[TAG_NAMES.MENU,TAG_ID.MENU],[TAG_NAMES.META,TAG_ID.META],[TAG_NAMES.MGLYPH,TAG_ID.MGLYPH],[TAG_NAMES.MI,TAG_ID.MI],[TAG_NAMES.MO,TAG_ID.MO],[TAG_NAMES.MN,TAG_ID.MN],[TAG_NAMES.MS,TAG_ID.MS],[TAG_NAMES.MTEXT,TAG_ID.MTEXT],[TAG_NAMES.NAV,TAG_ID.NAV],[TAG_NAMES.NOBR,TAG_ID.NOBR],[TAG_NAMES.NOFRAMES,TAG_ID.NOFRAMES],[TAG_NAMES.NOEMBED,TAG_ID.NOEMBED],[TAG_NAMES.NOSCRIPT,TAG_ID.NOSCRIPT],[TAG_NAMES.OBJECT,TAG_ID.OBJECT],[TAG_NAMES.OL,TAG_ID.OL],[TAG_NAMES.OPTGROUP,TAG_ID.OPTGROUP],[TAG_NAMES.OPTION,TAG_ID.OPTION],[TAG_NAMES.P,TAG_ID.P],[TAG_NAMES.PARAM,TAG_ID.PARAM],[TAG_NAMES.PLAINTEXT,TAG_ID.PLAINTEXT],[TAG_NAMES.PRE,TAG_ID.PRE],[TAG_NAMES.RB,TAG_ID.RB],[TAG_NAMES.RP,TAG_ID.RP],[TAG_NAMES.RT,TAG_ID.RT],[TAG_NAMES.RTC,TAG_ID.RTC],[TAG_NAMES.RUBY,TAG_ID.RUBY],[TAG_NAMES.S,TAG_ID.S],[TAG_NAMES.SCRIPT,TAG_ID.SCRIPT],[TAG_NAMES.SEARCH,TAG_ID.SEARCH],[TAG_NAMES.SECTION,TAG_ID.SECTION],[TAG_NAMES.SELECT,TAG_ID.SELECT],[TAG_NAMES.SOURCE,TAG_ID.SOURCE],[TAG_NAMES.SMALL,TAG_ID.SMALL],[TAG_NAMES.SPAN,TAG_ID.SPAN],[TAG_NAMES.STRIKE,TAG_ID.STRIKE],[TAG_NAMES.STRONG,TAG_ID.STRONG],[TAG_NAMES.STYLE,TAG_ID.STYLE],[TAG_NAMES.SUB,TAG_ID.SUB],[TAG_NAMES.SUMMARY,TAG_ID.SUMMARY],[TAG_NAMES.SUP,TAG_ID.SUP],[TAG_NAMES.TABLE,TAG_ID.TABLE],[TAG_NAMES.TBODY,TAG_ID.TBODY],[TAG_NAMES.TEMPLATE,TAG_ID.TEMPLATE],[TAG_NAMES.TEXTAREA,TAG_ID.TEXTAREA],[TAG_NAMES.TFOOT,TAG_ID.TFOOT],[TAG_NAMES.TD,TAG_ID.TD],[TAG_NAMES.TH,TAG_ID.TH],[TAG_NAMES.THEAD,TAG_ID.THEAD],[TAG_NAMES.TITLE,TAG_ID.TITLE],[TAG_NAMES.TR,TAG_ID.TR],[TAG_NAMES.TRACK,TAG_ID.TRACK],[TAG_NAMES.TT,TAG_ID.TT],[TAG_NAMES.U,TAG_ID.U],[TAG_NAMES.UL,TAG_ID.UL],[TAG_NAMES.SVG,TAG_ID.SVG],[TAG_NAMES.VAR,TAG_ID.VAR],[TAG_NAMES.WBR,TAG_ID.WBR],[TAG_NAMES.XMP,TAG_ID.XMP]]);function getTagID(tagName){var _a18;return(_a18=TAG_NAME_TO_ID.get(tagName))!==null&&_a18!==void 0?_a18:TAG_ID.UNKNOWN}__name(getTagID,"getTagID");const $=TAG_ID,SPECIAL_ELEMENTS={[NS.HTML]:new Set([$.ADDRESS,$.APPLET,$.AREA,$.ARTICLE,$.ASIDE,$.BASE,$.BASEFONT,$.BGSOUND,$.BLOCKQUOTE,$.BODY,$.BR,$.BUTTON,$.CAPTION,$.CENTER,$.COL,$.COLGROUP,$.DD,$.DETAILS,$.DIR,$.DIV,$.DL,$.DT,$.EMBED,$.FIELDSET,$.FIGCAPTION,$.FIGURE,$.FOOTER,$.FORM,$.FRAME,$.FRAMESET,$.H1,$.H2,$.H3,$.H4,$.H5,$.H6,$.HEAD,$.HEADER,$.HGROUP,$.HR,$.HTML,$.IFRAME,$.IMG,$.INPUT,$.LI,$.LINK,$.LISTING,$.MAIN,$.MARQUEE,$.MENU,$.META,$.NAV,$.NOEMBED,$.NOFRAMES,$.NOSCRIPT,$.OBJECT,$.OL,$.P,$.PARAM,$.PLAINTEXT,$.PRE,$.SCRIPT,$.SECTION,$.SELECT,$.SOURCE,$.STYLE,$.SUMMARY,$.TABLE,$.TBODY,$.TD,$.TEMPLATE,$.TEXTAREA,$.TFOOT,$.TH,$.THEAD,$.TITLE,$.TR,$.TRACK,$.UL,$.WBR,$.XMP]),[NS.MATHML]:new Set([$.MI,$.MO,$.MN,$.MS,$.MTEXT,$.ANNOTATION_XML]),[NS.SVG]:new Set([$.TITLE,$.FOREIGN_OBJECT,$.DESC]),[NS.XLINK]:new Set,[NS.XML]:new Set,[NS.XMLNS]:new Set},NUMBERED_HEADERS=new Set([$.H1,$.H2,$.H3,$.H4,$.H5,$.H6]);TAG_NAMES.STYLE,TAG_NAMES.SCRIPT,TAG_NAMES.XMP,TAG_NAMES.IFRAME,TAG_NAMES.NOEMBED,TAG_NAMES.NOFRAMES,TAG_NAMES.PLAINTEXT;var State;(function(State2){State2[State2.DATA=0]="DATA",State2[State2.RCDATA=1]="RCDATA",State2[State2.RAWTEXT=2]="RAWTEXT",State2[State2.SCRIPT_DATA=3]="SCRIPT_DATA",State2[State2.PLAINTEXT=4]="PLAINTEXT",State2[State2.TAG_OPEN=5]="TAG_OPEN",State2[State2.END_TAG_OPEN=6]="END_TAG_OPEN",State2[State2.TAG_NAME=7]="TAG_NAME",State2[State2.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",State2[State2.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",State2[State2.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",State2[State2.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",State2[State2.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",State2[State2.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",State2[State2.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",State2[State2.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",State2[State2.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",State2[State2.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",State2[State2.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",State2[State2.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",State2[State2.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",State2[State2.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",State2[State2.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",State2[State2.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",State2[State2.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",State2[State2.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",State2[State2.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",State2[State2.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",State2[State2.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",State2[State2.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",State2[State2.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",State2[State2.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",State2[State2.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",State2[State2.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",State2[State2.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",State2[State2.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",State2[State2.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",State2[State2.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",State2[State2.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",State2[State2.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",State2[State2.BOGUS_COMMENT=40]="BOGUS_COMMENT",State2[State2.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",State2[State2.COMMENT_START=42]="COMMENT_START",State2[State2.COMMENT_START_DASH=43]="COMMENT_START_DASH",State2[State2.COMMENT=44]="COMMENT",State2[State2.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",State2[State2.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",State2[State2.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",State2[State2.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",State2[State2.COMMENT_END_DASH=49]="COMMENT_END_DASH",State2[State2.COMMENT_END=50]="COMMENT_END",State2[State2.COMMENT_END_BANG=51]="COMMENT_END_BANG",State2[State2.DOCTYPE=52]="DOCTYPE",State2[State2.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",State2[State2.DOCTYPE_NAME=54]="DOCTYPE_NAME",State2[State2.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",State2[State2.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",State2[State2.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",State2[State2.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",State2[State2.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",State2[State2.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",State2[State2.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",State2[State2.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",State2[State2.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",State2[State2.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",State2[State2.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",State2[State2.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",State2[State2.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",State2[State2.CDATA_SECTION=68]="CDATA_SECTION",State2[State2.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",State2[State2.CDATA_SECTION_END=70]="CDATA_SECTION_END",State2[State2.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",State2[State2.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(State||(State={}));const TokenizerMode={DATA:State.DATA,RCDATA:State.RCDATA,RAWTEXT:State.RAWTEXT,SCRIPT_DATA:State.SCRIPT_DATA,PLAINTEXT:State.PLAINTEXT,CDATA_SECTION:State.CDATA_SECTION};function isAsciiDigit(cp){return cp>=CODE_POINTS.DIGIT_0&&cp<=CODE_POINTS.DIGIT_9}__name(isAsciiDigit,"isAsciiDigit");function isAsciiUpper(cp){return cp>=CODE_POINTS.LATIN_CAPITAL_A&&cp<=CODE_POINTS.LATIN_CAPITAL_Z}__name(isAsciiUpper,"isAsciiUpper");function isAsciiLower(cp){return cp>=CODE_POINTS.LATIN_SMALL_A&&cp<=CODE_POINTS.LATIN_SMALL_Z}__name(isAsciiLower,"isAsciiLower");function isAsciiLetter(cp){return isAsciiLower(cp)||isAsciiUpper(cp)}__name(isAsciiLetter,"isAsciiLetter");function isAsciiAlphaNumeric(cp){return isAsciiLetter(cp)||isAsciiDigit(cp)}__name(isAsciiAlphaNumeric,"isAsciiAlphaNumeric");function toAsciiLower(cp){return cp+32}__name(toAsciiLower,"toAsciiLower");function isWhitespace(cp){return cp===CODE_POINTS.SPACE||cp===CODE_POINTS.LINE_FEED||cp===CODE_POINTS.TABULATION||cp===CODE_POINTS.FORM_FEED}__name(isWhitespace,"isWhitespace");function isScriptDataDoubleEscapeSequenceEnd(cp){return isWhitespace(cp)||cp===CODE_POINTS.SOLIDUS||cp===CODE_POINTS.GREATER_THAN_SIGN}__name(isScriptDataDoubleEscapeSequenceEnd,"isScriptDataDoubleEscapeSequenceEnd");function getErrorForNumericCharacterReference(code2){return code2===CODE_POINTS.NULL?ERR.nullCharacterReference:code2>1114111?ERR.characterReferenceOutsideUnicodeRange:isSurrogate(code2)?ERR.surrogateCharacterReference:isUndefinedCodePoint(code2)?ERR.noncharacterCharacterReference:isControlCodePoint(code2)||code2===CODE_POINTS.CARRIAGE_RETURN?ERR.controlCharacterReference:null}__name(getErrorForNumericCharacterReference,"getErrorForNumericCharacterReference");const _Tokenizer=class _Tokenizer{constructor(options,handler){this.options=options,this.handler=handler,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=State.DATA,this.returnState=State.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Preprocessor(handler),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new EntityDecoder(htmlDecodeTree,(cp,consumed)=>{this.preprocessor.pos=this.entityStartPos+consumed-1,this._flushCodePointConsumedAsCharacterReference(cp)},handler.onParseError?{missingSemicolonAfterCharacterReference:__name(()=>{this._err(ERR.missingSemicolonAfterCharacterReference,1)},"missingSemicolonAfterCharacterReference"),absenceOfDigitsInNumericCharacterReference:__name(consumed=>{this._err(ERR.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+consumed)},"absenceOfDigitsInNumericCharacterReference"),validateNumericCharacterReference:__name(code2=>{const error=getErrorForNumericCharacterReference(code2);error&&this._err(error,1)},"validateNumericCharacterReference")}:void 0)}_err(code2,cpOffset=0){var _a18,_b;(_b=(_a18=this.handler).onParseError)===null||_b===void 0||_b.call(_a18,this.preprocessor.getError(code2,cpOffset))}getCurrentLocation(offset2){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-offset2,startOffset:this.preprocessor.offset-offset2,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const cp=this._consume();this._ensureHibernation()||this._callState(cp)}this.inLoop=!1}}pause(){this.paused=!0}resume(writeCallback){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||writeCallback?.())}write(chunk,isLastChunk,writeCallback){this.active=!0,this.preprocessor.write(chunk,isLastChunk),this._runParsingLoop(),this.paused||writeCallback?.()}insertHtmlAtCurrentPos(chunk){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(chunk),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(count2){this.consumedAfterSnapshot+=count2;for(let i2=0;i20&&this._err(ERR.endTagWithAttributes),ct.selfClosing&&this._err(ERR.endTagWithTrailingSolidus),this.handler.onEndTag(ct)),this.preprocessor.dropParsedChunk()}emitCurrentComment(ct){this.prepareToken(ct),this.handler.onComment(ct),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(ct){this.prepareToken(ct),this.handler.onDoctype(ct),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(nextLocation){if(this.currentCharacterToken){switch(nextLocation&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=nextLocation.startLine,this.currentCharacterToken.location.endCol=nextLocation.startCol,this.currentCharacterToken.location.endOffset=nextLocation.startOffset),this.currentCharacterToken.type){case TokenType.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case TokenType.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case TokenType.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const location2=this.getCurrentLocation(0);location2&&(location2.endLine=location2.startLine,location2.endCol=location2.startCol,location2.endOffset=location2.startOffset),this._emitCurrentCharacterToken(location2),this.handler.onEof({type:TokenType.EOF,location:location2}),this.active=!1}_appendCharToCurrentCharacterToken(type,ch){if(this.currentCharacterToken)if(this.currentCharacterToken.type===type){this.currentCharacterToken.chars+=ch;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(type,ch)}_emitCodePoint(cp){const type=isWhitespace(cp)?TokenType.WHITESPACE_CHARACTER:cp===CODE_POINTS.NULL?TokenType.NULL_CHARACTER:TokenType.CHARACTER;this._appendCharToCurrentCharacterToken(type,String.fromCodePoint(cp))}_emitChars(ch){this._appendCharToCurrentCharacterToken(TokenType.CHARACTER,ch)}_startCharacterReference(){this.returnState=this.state,this.state=State.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?DecodingMode.Attribute:DecodingMode.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===State.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===State.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===State.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(cp){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(cp):this._emitCodePoint(cp)}_callState(cp){switch(this.state){case State.DATA:{this._stateData(cp);break}case State.RCDATA:{this._stateRcdata(cp);break}case State.RAWTEXT:{this._stateRawtext(cp);break}case State.SCRIPT_DATA:{this._stateScriptData(cp);break}case State.PLAINTEXT:{this._statePlaintext(cp);break}case State.TAG_OPEN:{this._stateTagOpen(cp);break}case State.END_TAG_OPEN:{this._stateEndTagOpen(cp);break}case State.TAG_NAME:{this._stateTagName(cp);break}case State.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(cp);break}case State.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(cp);break}case State.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(cp);break}case State.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(cp);break}case State.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(cp);break}case State.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(cp);break}case State.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(cp);break}case State.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(cp);break}case State.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(cp);break}case State.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(cp);break}case State.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(cp);break}case State.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(cp);break}case State.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(cp);break}case State.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(cp);break}case State.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(cp);break}case State.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(cp);break}case State.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(cp);break}case State.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(cp);break}case State.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(cp);break}case State.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(cp);break}case State.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(cp);break}case State.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(cp);break}case State.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(cp);break}case State.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(cp);break}case State.ATTRIBUTE_NAME:{this._stateAttributeName(cp);break}case State.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(cp);break}case State.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(cp);break}case State.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(cp);break}case State.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(cp);break}case State.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(cp);break}case State.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(cp);break}case State.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(cp);break}case State.BOGUS_COMMENT:{this._stateBogusComment(cp);break}case State.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(cp);break}case State.COMMENT_START:{this._stateCommentStart(cp);break}case State.COMMENT_START_DASH:{this._stateCommentStartDash(cp);break}case State.COMMENT:{this._stateComment(cp);break}case State.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(cp);break}case State.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(cp);break}case State.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(cp);break}case State.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(cp);break}case State.COMMENT_END_DASH:{this._stateCommentEndDash(cp);break}case State.COMMENT_END:{this._stateCommentEnd(cp);break}case State.COMMENT_END_BANG:{this._stateCommentEndBang(cp);break}case State.DOCTYPE:{this._stateDoctype(cp);break}case State.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(cp);break}case State.DOCTYPE_NAME:{this._stateDoctypeName(cp);break}case State.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(cp);break}case State.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(cp);break}case State.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(cp);break}case State.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(cp);break}case State.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(cp);break}case State.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(cp);break}case State.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(cp);break}case State.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(cp);break}case State.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(cp);break}case State.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(cp);break}case State.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(cp);break}case State.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(cp);break}case State.BOGUS_DOCTYPE:{this._stateBogusDoctype(cp);break}case State.CDATA_SECTION:{this._stateCdataSection(cp);break}case State.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(cp);break}case State.CDATA_SECTION_END:{this._stateCdataSectionEnd(cp);break}case State.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case State.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(cp);break}default:throw new Error("Unknown state")}}_stateData(cp){switch(cp){case CODE_POINTS.LESS_THAN_SIGN:{this.state=State.TAG_OPEN;break}case CODE_POINTS.AMPERSAND:{this._startCharacterReference();break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitCodePoint(cp);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(cp)}}_stateRcdata(cp){switch(cp){case CODE_POINTS.AMPERSAND:{this._startCharacterReference();break}case CODE_POINTS.LESS_THAN_SIGN:{this.state=State.RCDATA_LESS_THAN_SIGN;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(cp)}}_stateRawtext(cp){switch(cp){case CODE_POINTS.LESS_THAN_SIGN:{this.state=State.RAWTEXT_LESS_THAN_SIGN;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(cp)}}_stateScriptData(cp){switch(cp){case CODE_POINTS.LESS_THAN_SIGN:{this.state=State.SCRIPT_DATA_LESS_THAN_SIGN;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(cp)}}_statePlaintext(cp){switch(cp){case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(cp)}}_stateTagOpen(cp){if(isAsciiLetter(cp))this._createStartTagToken(),this.state=State.TAG_NAME,this._stateTagName(cp);else switch(cp){case CODE_POINTS.EXCLAMATION_MARK:{this.state=State.MARKUP_DECLARATION_OPEN;break}case CODE_POINTS.SOLIDUS:{this.state=State.END_TAG_OPEN;break}case CODE_POINTS.QUESTION_MARK:{this._err(ERR.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=State.BOGUS_COMMENT,this._stateBogusComment(cp);break}case CODE_POINTS.EOF:{this._err(ERR.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(ERR.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=State.DATA,this._stateData(cp)}}_stateEndTagOpen(cp){if(isAsciiLetter(cp))this._createEndTagToken(),this.state=State.TAG_NAME,this._stateTagName(cp);else switch(cp){case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.missingEndTagName),this.state=State.DATA;break}case CODE_POINTS.EOF:{this._err(ERR.eofBeforeTagName),this._emitChars("");break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this.state=State.SCRIPT_DATA_ESCAPED,this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=State.SCRIPT_DATA_ESCAPED,this._emitCodePoint(cp)}}_stateScriptDataEscapedLessThanSign(cp){cp===CODE_POINTS.SOLIDUS?this.state=State.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:isAsciiLetter(cp)?(this._emitChars("<"),this.state=State.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(cp)):(this._emitChars("<"),this.state=State.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(cp))}_stateScriptDataEscapedEndTagOpen(cp){isAsciiLetter(cp)?(this.state=State.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(cp)):(this._emitChars("");break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this.state=State.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=State.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(cp)}}_stateScriptDataDoubleEscapedLessThanSign(cp){cp===CODE_POINTS.SOLIDUS?(this.state=State.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=State.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(cp))}_stateScriptDataDoubleEscapeEnd(cp){if(this.preprocessor.startsWith(SEQUENCES.SCRIPT,!1)&&isScriptDataDoubleEscapeSequenceEnd(this.preprocessor.peek(SEQUENCES.SCRIPT.length))){this._emitCodePoint(cp);for(let i2=0;i20&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(popped,!0)}replace(oldElement,newElement){const idx=this._indexOf(oldElement);this.items[idx]=newElement,idx===this.stackTop&&(this.current=newElement)}insertAfter(referenceElement,newElement,newElementID){const insertionIdx=this._indexOf(referenceElement)+1;this.items.splice(insertionIdx,0,newElement),this.tagIDs.splice(insertionIdx,0,newElementID),this.stackTop++,insertionIdx===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,insertionIdx===this.stackTop)}popUntilTagNamePopped(tagName){let targetIdx=this.stackTop+1;do targetIdx=this.tagIDs.lastIndexOf(tagName,targetIdx-1);while(targetIdx>0&&this.treeAdapter.getNamespaceURI(this.items[targetIdx])!==NS.HTML);this.shortenToLength(Math.max(targetIdx,0))}shortenToLength(idx){for(;this.stackTop>=idx;){const popped=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(popped,this.stackTop=0;i2--)if(tagNames.has(this.tagIDs[i2])&&this.treeAdapter.getNamespaceURI(this.items[i2])===namespace)return i2;return-1}clearBackTo(tagNames,targetNS){const idx=this._indexOfTagNames(tagNames,targetNS);this.shortenToLength(idx+1)}clearBackToTableContext(){this.clearBackTo(TABLE_CONTEXT,NS.HTML)}clearBackToTableBodyContext(){this.clearBackTo(TABLE_BODY_CONTEXT,NS.HTML)}clearBackToTableRowContext(){this.clearBackTo(TABLE_ROW_CONTEXT,NS.HTML)}remove(element2){const idx=this._indexOf(element2);idx>=0&&(idx===this.stackTop?this.pop():(this.items.splice(idx,1),this.tagIDs.splice(idx,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(element2,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===TAG_ID.BODY?this.items[1]:null}contains(element2){return this._indexOf(element2)>-1}getCommonAncestor(element2){const elementIdx=this._indexOf(element2)-1;return elementIdx>=0?this.items[elementIdx]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===TAG_ID.HTML}hasInDynamicScope(tagName,htmlScope){for(let i2=this.stackTop;i2>=0;i2--){const tn=this.tagIDs[i2];switch(this.treeAdapter.getNamespaceURI(this.items[i2])){case NS.HTML:{if(tn===tagName)return!0;if(htmlScope.has(tn))return!1;break}case NS.SVG:{if(SCOPING_ELEMENTS_SVG.has(tn))return!1;break}case NS.MATHML:{if(SCOPING_ELEMENTS_MATHML.has(tn))return!1;break}}}return!0}hasInScope(tagName){return this.hasInDynamicScope(tagName,SCOPING_ELEMENTS_HTML)}hasInListItemScope(tagName){return this.hasInDynamicScope(tagName,SCOPING_ELEMENTS_HTML_LIST)}hasInButtonScope(tagName){return this.hasInDynamicScope(tagName,SCOPING_ELEMENTS_HTML_BUTTON)}hasNumberedHeaderInScope(){for(let i2=this.stackTop;i2>=0;i2--){const tn=this.tagIDs[i2];switch(this.treeAdapter.getNamespaceURI(this.items[i2])){case NS.HTML:{if(NUMBERED_HEADERS.has(tn))return!0;if(SCOPING_ELEMENTS_HTML.has(tn))return!1;break}case NS.SVG:{if(SCOPING_ELEMENTS_SVG.has(tn))return!1;break}case NS.MATHML:{if(SCOPING_ELEMENTS_MATHML.has(tn))return!1;break}}}return!0}hasInTableScope(tagName){for(let i2=this.stackTop;i2>=0;i2--)if(this.treeAdapter.getNamespaceURI(this.items[i2])===NS.HTML)switch(this.tagIDs[i2]){case tagName:return!0;case TAG_ID.TABLE:case TAG_ID.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let i2=this.stackTop;i2>=0;i2--)if(this.treeAdapter.getNamespaceURI(this.items[i2])===NS.HTML)switch(this.tagIDs[i2]){case TAG_ID.TBODY:case TAG_ID.THEAD:case TAG_ID.TFOOT:return!0;case TAG_ID.TABLE:case TAG_ID.HTML:return!1}return!0}hasInSelectScope(tagName){for(let i2=this.stackTop;i2>=0;i2--)if(this.treeAdapter.getNamespaceURI(this.items[i2])===NS.HTML)switch(this.tagIDs[i2]){case tagName:return!0;case TAG_ID.OPTION:case TAG_ID.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&IMPLICIT_END_TAG_REQUIRED.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&IMPLICIT_END_TAG_REQUIRED_THOROUGHLY.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(exclusionId){for(;this.currentTagId!==void 0&&this.currentTagId!==exclusionId&&IMPLICIT_END_TAG_REQUIRED_THOROUGHLY.has(this.currentTagId);)this.pop()}};__name(_OpenElementStack,"OpenElementStack");let OpenElementStack=_OpenElementStack;const NOAH_ARK_CAPACITY=3;var EntryType;(function(EntryType2){EntryType2[EntryType2.Marker=0]="Marker",EntryType2[EntryType2.Element=1]="Element"})(EntryType||(EntryType={}));const MARKER={type:EntryType.Marker},_FormattingElementList=class _FormattingElementList{constructor(treeAdapter){this.treeAdapter=treeAdapter,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(newElement,neAttrs){const candidates=[],neAttrsLength=neAttrs.length,neTagName=this.treeAdapter.getTagName(newElement),neNamespaceURI=this.treeAdapter.getNamespaceURI(newElement);for(let i2=0;i2[neAttr.name,neAttr.value]));let validCandidates=0;for(let i2=0;i2neAttrsMap.get(cAttr.name)===cAttr.value)&&(validCandidates+=1,validCandidates>=NOAH_ARK_CAPACITY&&this.entries.splice(candidate.idx,1))}}insertMarker(){this.entries.unshift(MARKER)}pushElement(element2,token){this._ensureNoahArkCondition(element2),this.entries.unshift({type:EntryType.Element,element:element2,token})}insertElementAfterBookmark(element2,token){const bookmarkIdx=this.entries.indexOf(this.bookmark);this.entries.splice(bookmarkIdx,0,{type:EntryType.Element,element:element2,token})}removeEntry(entry){const entryIndex=this.entries.indexOf(entry);entryIndex!==-1&&this.entries.splice(entryIndex,1)}clearToLastMarker(){const markerIdx=this.entries.indexOf(MARKER);markerIdx===-1?this.entries.length=0:this.entries.splice(0,markerIdx+1)}getElementEntryInScopeWithTagName(tagName){const entry=this.entries.find(entry2=>entry2.type===EntryType.Marker||this.treeAdapter.getTagName(entry2.element)===tagName);return entry&&entry.type===EntryType.Element?entry:null}getElementEntry(element2){return this.entries.find(entry=>entry.type===EntryType.Element&&entry.element===element2)}};__name(_FormattingElementList,"FormattingElementList");let FormattingElementList=_FormattingElementList;const defaultTreeAdapter={createDocument(){return{nodeName:"#document",mode:DOCUMENT_MODE.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(tagName,namespaceURI,attrs){return{nodeName:tagName,tagName,attrs,namespaceURI,childNodes:[],parentNode:null}},createCommentNode(data){return{nodeName:"#comment",data,parentNode:null}},createTextNode(value2){return{nodeName:"#text",value:value2,parentNode:null}},appendChild(parentNode,newNode){parentNode.childNodes.push(newNode),newNode.parentNode=parentNode},insertBefore(parentNode,newNode,referenceNode){const insertionIdx=parentNode.childNodes.indexOf(referenceNode);parentNode.childNodes.splice(insertionIdx,0,newNode),newNode.parentNode=parentNode},setTemplateContent(templateElement,contentElement){templateElement.content=contentElement},getTemplateContent(templateElement){return templateElement.content},setDocumentType(document2,name2,publicId,systemId){const doctypeNode=document2.childNodes.find(node2=>node2.nodeName==="#documentType");if(doctypeNode)doctypeNode.name=name2,doctypeNode.publicId=publicId,doctypeNode.systemId=systemId;else{const node2={nodeName:"#documentType",name:name2,publicId,systemId,parentNode:null};defaultTreeAdapter.appendChild(document2,node2)}},setDocumentMode(document2,mode){document2.mode=mode},getDocumentMode(document2){return document2.mode},detachNode(node2){if(node2.parentNode){const idx=node2.parentNode.childNodes.indexOf(node2);node2.parentNode.childNodes.splice(idx,1),node2.parentNode=null}},insertText(parentNode,text2){if(parentNode.childNodes.length>0){const prevNode=parentNode.childNodes[parentNode.childNodes.length-1];if(defaultTreeAdapter.isTextNode(prevNode)){prevNode.value+=text2;return}}defaultTreeAdapter.appendChild(parentNode,defaultTreeAdapter.createTextNode(text2))},insertTextBefore(parentNode,text2,referenceNode){const prevNode=parentNode.childNodes[parentNode.childNodes.indexOf(referenceNode)-1];prevNode&&defaultTreeAdapter.isTextNode(prevNode)?prevNode.value+=text2:defaultTreeAdapter.insertBefore(parentNode,defaultTreeAdapter.createTextNode(text2),referenceNode)},adoptAttributes(recipient,attrs){const recipientAttrsMap=new Set(recipient.attrs.map(attr=>attr.name));for(let j2=0;j2publicId.startsWith(prefix2))}__name(hasPrefix,"hasPrefix");function isConforming(token){return token.name===VALID_DOCTYPE_NAME&&token.publicId===null&&(token.systemId===null||token.systemId===VALID_SYSTEM_ID)}__name(isConforming,"isConforming");function getDocumentMode(token){if(token.name!==VALID_DOCTYPE_NAME)return DOCUMENT_MODE.QUIRKS;const{systemId}=token;if(systemId&&systemId.toLowerCase()===QUIRKS_MODE_SYSTEM_ID)return DOCUMENT_MODE.QUIRKS;let{publicId}=token;if(publicId!==null){if(publicId=publicId.toLowerCase(),QUIRKS_MODE_PUBLIC_IDS.has(publicId))return DOCUMENT_MODE.QUIRKS;let prefixes2=systemId===null?QUIRKS_MODE_NO_SYSTEM_ID_PUBLIC_ID_PREFIXES:QUIRKS_MODE_PUBLIC_ID_PREFIXES;if(hasPrefix(publicId,prefixes2))return DOCUMENT_MODE.QUIRKS;if(prefixes2=systemId===null?LIMITED_QUIRKS_PUBLIC_ID_PREFIXES:LIMITED_QUIRKS_WITH_SYSTEM_ID_PUBLIC_ID_PREFIXES,hasPrefix(publicId,prefixes2))return DOCUMENT_MODE.LIMITED_QUIRKS}return DOCUMENT_MODE.NO_QUIRKS}__name(getDocumentMode,"getDocumentMode");const MIME_TYPES={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},DEFINITION_URL_ATTR="definitionurl",ADJUSTED_DEFINITION_URL_ATTR="definitionURL",SVG_ATTRS_ADJUSTMENT_MAP=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(attr=>[attr.toLowerCase(),attr])),XML_ATTRS_ADJUSTMENT_MAP=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:NS.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:NS.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:NS.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:NS.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:NS.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:NS.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:NS.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:NS.XML}],["xml:space",{prefix:"xml",name:"space",namespace:NS.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:NS.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:NS.XMLNS}]]),SVG_TAG_NAMES_ADJUSTMENT_MAP=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(tn=>[tn.toLowerCase(),tn])),EXITS_FOREIGN_CONTENT=new Set([TAG_ID.B,TAG_ID.BIG,TAG_ID.BLOCKQUOTE,TAG_ID.BODY,TAG_ID.BR,TAG_ID.CENTER,TAG_ID.CODE,TAG_ID.DD,TAG_ID.DIV,TAG_ID.DL,TAG_ID.DT,TAG_ID.EM,TAG_ID.EMBED,TAG_ID.H1,TAG_ID.H2,TAG_ID.H3,TAG_ID.H4,TAG_ID.H5,TAG_ID.H6,TAG_ID.HEAD,TAG_ID.HR,TAG_ID.I,TAG_ID.IMG,TAG_ID.LI,TAG_ID.LISTING,TAG_ID.MENU,TAG_ID.META,TAG_ID.NOBR,TAG_ID.OL,TAG_ID.P,TAG_ID.PRE,TAG_ID.RUBY,TAG_ID.S,TAG_ID.SMALL,TAG_ID.SPAN,TAG_ID.STRONG,TAG_ID.STRIKE,TAG_ID.SUB,TAG_ID.SUP,TAG_ID.TABLE,TAG_ID.TT,TAG_ID.U,TAG_ID.UL,TAG_ID.VAR]);function causesExit(startTagToken){const tn=startTagToken.tagID;return tn===TAG_ID.FONT&&startTagToken.attrs.some(({name:name2})=>name2===ATTRS.COLOR||name2===ATTRS.SIZE||name2===ATTRS.FACE)||EXITS_FOREIGN_CONTENT.has(tn)}__name(causesExit,"causesExit");function adjustTokenMathMLAttrs(token){for(let i2=0;i20&&this._setContextModes(node2,tid)}onItemPop(node2,isTop){var _a18,_b;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(node2,this.currentToken),(_b=(_a18=this.treeAdapter).onItemPop)===null||_b===void 0||_b.call(_a18,node2,this.openElements.current),isTop){let current,currentTagId;this.openElements.stackTop===0&&this.fragmentContext?(current=this.fragmentContext,currentTagId=this.fragmentContextID):{current,currentTagId}=this.openElements,this._setContextModes(current,currentTagId)}}_setContextModes(current,tid){const isHTML=current===this.document||current&&this.treeAdapter.getNamespaceURI(current)===NS.HTML;this.currentNotInHTML=!isHTML,this.tokenizer.inForeignNode=!isHTML&¤t!==void 0&&tid!==void 0&&!this._isIntegrationPoint(tid,current)}_switchToTextParsing(currentToken,nextTokenizerState){this._insertElement(currentToken,NS.HTML),this.tokenizer.state=nextTokenizerState,this.originalInsertionMode=this.insertionMode,this.insertionMode=InsertionMode.TEXT}switchToPlaintextParsing(){this.insertionMode=InsertionMode.TEXT,this.originalInsertionMode=InsertionMode.IN_BODY,this.tokenizer.state=TokenizerMode.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let node2=this.fragmentContext;for(;node2;){if(this.treeAdapter.getTagName(node2)===TAG_NAMES.FORM){this.formElement=node2;break}node2=this.treeAdapter.getParentNode(node2)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==NS.HTML))switch(this.fragmentContextID){case TAG_ID.TITLE:case TAG_ID.TEXTAREA:{this.tokenizer.state=TokenizerMode.RCDATA;break}case TAG_ID.STYLE:case TAG_ID.XMP:case TAG_ID.IFRAME:case TAG_ID.NOEMBED:case TAG_ID.NOFRAMES:case TAG_ID.NOSCRIPT:{this.tokenizer.state=TokenizerMode.RAWTEXT;break}case TAG_ID.SCRIPT:{this.tokenizer.state=TokenizerMode.SCRIPT_DATA;break}case TAG_ID.PLAINTEXT:{this.tokenizer.state=TokenizerMode.PLAINTEXT;break}}}_setDocumentType(token){const name2=token.name||"",publicId=token.publicId||"",systemId=token.systemId||"";if(this.treeAdapter.setDocumentType(this.document,name2,publicId,systemId),token.location){const docTypeNode=this.treeAdapter.getChildNodes(this.document).find(node2=>this.treeAdapter.isDocumentTypeNode(node2));docTypeNode&&this.treeAdapter.setNodeSourceCodeLocation(docTypeNode,token.location)}}_attachElementToTree(element2,location2){if(this.options.sourceCodeLocationInfo){const loc=location2&&{...location2,startTag:location2};this.treeAdapter.setNodeSourceCodeLocation(element2,loc)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(element2);else{const parent=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(parent??this.document,element2)}}_appendElement(token,namespaceURI){const element2=this.treeAdapter.createElement(token.tagName,namespaceURI,token.attrs);this._attachElementToTree(element2,token.location)}_insertElement(token,namespaceURI){const element2=this.treeAdapter.createElement(token.tagName,namespaceURI,token.attrs);this._attachElementToTree(element2,token.location),this.openElements.push(element2,token.tagID)}_insertFakeElement(tagName,tagID){const element2=this.treeAdapter.createElement(tagName,NS.HTML,[]);this._attachElementToTree(element2,null),this.openElements.push(element2,tagID)}_insertTemplate(token){const tmpl=this.treeAdapter.createElement(token.tagName,NS.HTML,token.attrs),content2=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(tmpl,content2),this._attachElementToTree(tmpl,token.location),this.openElements.push(tmpl,token.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(content2,null)}_insertFakeRootElement(){const element2=this.treeAdapter.createElement(TAG_NAMES.HTML,NS.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(element2,null),this.treeAdapter.appendChild(this.openElements.current,element2),this.openElements.push(element2,TAG_ID.HTML)}_appendCommentNode(token,parent){const commentNode=this.treeAdapter.createCommentNode(token.data);this.treeAdapter.appendChild(parent,commentNode),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(commentNode,token.location)}_insertCharacters(token){let parent,beforeElement;if(this._shouldFosterParentOnInsertion()?({parent,beforeElement}=this._findFosterParentingLocation(),beforeElement?this.treeAdapter.insertTextBefore(parent,token.chars,beforeElement):this.treeAdapter.insertText(parent,token.chars)):(parent=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(parent,token.chars)),!token.location)return;const siblings=this.treeAdapter.getChildNodes(parent),textNodeIdx=beforeElement?siblings.lastIndexOf(beforeElement):siblings.length,textNode=siblings[textNodeIdx-1];if(this.treeAdapter.getNodeSourceCodeLocation(textNode)){const{endLine,endCol,endOffset}=token.location;this.treeAdapter.updateNodeSourceCodeLocation(textNode,{endLine,endCol,endOffset})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(textNode,token.location)}_adoptNodes(donor,recipient){for(let child=this.treeAdapter.getFirstChild(donor);child;child=this.treeAdapter.getFirstChild(donor))this.treeAdapter.detachNode(child),this.treeAdapter.appendChild(recipient,child)}_setEndLocation(element2,closingToken){if(this.treeAdapter.getNodeSourceCodeLocation(element2)&&closingToken.location){const ctLoc=closingToken.location,tn=this.treeAdapter.getTagName(element2),endLoc=closingToken.type===TokenType.END_TAG&&tn===closingToken.tagName?{endTag:{...ctLoc},endLine:ctLoc.endLine,endCol:ctLoc.endCol,endOffset:ctLoc.endOffset}:{endLine:ctLoc.startLine,endCol:ctLoc.startCol,endOffset:ctLoc.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(element2,endLoc)}}shouldProcessStartTagTokenInForeignContent(token){if(!this.currentNotInHTML)return!1;let current,currentTagId;return this.openElements.stackTop===0&&this.fragmentContext?(current=this.fragmentContext,currentTagId=this.fragmentContextID):{current,currentTagId}=this.openElements,token.tagID===TAG_ID.SVG&&this.treeAdapter.getTagName(current)===TAG_NAMES.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(current)===NS.MATHML?!1:this.tokenizer.inForeignNode||(token.tagID===TAG_ID.MGLYPH||token.tagID===TAG_ID.MALIGNMARK)&¤tTagId!==void 0&&!this._isIntegrationPoint(currentTagId,current,NS.HTML)}_processToken(token){switch(token.type){case TokenType.CHARACTER:{this.onCharacter(token);break}case TokenType.NULL_CHARACTER:{this.onNullCharacter(token);break}case TokenType.COMMENT:{this.onComment(token);break}case TokenType.DOCTYPE:{this.onDoctype(token);break}case TokenType.START_TAG:{this._processStartTag(token);break}case TokenType.END_TAG:{this.onEndTag(token);break}case TokenType.EOF:{this.onEof(token);break}case TokenType.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(token);break}}}_isIntegrationPoint(tid,element2,foreignNS){const ns=this.treeAdapter.getNamespaceURI(element2),attrs=this.treeAdapter.getAttrList(element2);return isIntegrationPoint(tid,ns,attrs,foreignNS)}_reconstructActiveFormattingElements(){const listLength=this.activeFormattingElements.entries.length;if(listLength){const endIndex=this.activeFormattingElements.entries.findIndex(entry=>entry.type===EntryType.Marker||this.openElements.contains(entry.element)),unopenIdx=endIndex===-1?listLength-1:endIndex-1;for(let i2=unopenIdx;i2>=0;i2--){const entry=this.activeFormattingElements.entries[i2];this._insertElement(entry.token,this.treeAdapter.getNamespaceURI(entry.element)),entry.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=InsertionMode.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(TAG_ID.P),this.openElements.popUntilTagNamePopped(TAG_ID.P)}_resetInsertionMode(){for(let i2=this.openElements.stackTop;i2>=0;i2--)switch(i2===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[i2]){case TAG_ID.TR:{this.insertionMode=InsertionMode.IN_ROW;return}case TAG_ID.TBODY:case TAG_ID.THEAD:case TAG_ID.TFOOT:{this.insertionMode=InsertionMode.IN_TABLE_BODY;return}case TAG_ID.CAPTION:{this.insertionMode=InsertionMode.IN_CAPTION;return}case TAG_ID.COLGROUP:{this.insertionMode=InsertionMode.IN_COLUMN_GROUP;return}case TAG_ID.TABLE:{this.insertionMode=InsertionMode.IN_TABLE;return}case TAG_ID.BODY:{this.insertionMode=InsertionMode.IN_BODY;return}case TAG_ID.FRAMESET:{this.insertionMode=InsertionMode.IN_FRAMESET;return}case TAG_ID.SELECT:{this._resetInsertionModeForSelect(i2);return}case TAG_ID.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case TAG_ID.HTML:{this.insertionMode=this.headElement?InsertionMode.AFTER_HEAD:InsertionMode.BEFORE_HEAD;return}case TAG_ID.TD:case TAG_ID.TH:{if(i2>0){this.insertionMode=InsertionMode.IN_CELL;return}break}case TAG_ID.HEAD:{if(i2>0){this.insertionMode=InsertionMode.IN_HEAD;return}break}}this.insertionMode=InsertionMode.IN_BODY}_resetInsertionModeForSelect(selectIdx){if(selectIdx>0)for(let i2=selectIdx-1;i2>0;i2--){const tn=this.openElements.tagIDs[i2];if(tn===TAG_ID.TEMPLATE)break;if(tn===TAG_ID.TABLE){this.insertionMode=InsertionMode.IN_SELECT_IN_TABLE;return}}this.insertionMode=InsertionMode.IN_SELECT}_isElementCausesFosterParenting(tn){return TABLE_STRUCTURE_TAGS.has(tn)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let i2=this.openElements.stackTop;i2>=0;i2--){const openElement=this.openElements.items[i2];switch(this.openElements.tagIDs[i2]){case TAG_ID.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(openElement)===NS.HTML)return{parent:this.treeAdapter.getTemplateContent(openElement),beforeElement:null};break}case TAG_ID.TABLE:{const parent=this.treeAdapter.getParentNode(openElement);return parent?{parent,beforeElement:openElement}:{parent:this.openElements.items[i2-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(element2){const location2=this._findFosterParentingLocation();location2.beforeElement?this.treeAdapter.insertBefore(location2.parent,element2,location2.beforeElement):this.treeAdapter.appendChild(location2.parent,element2)}_isSpecialElement(element2,id){const ns=this.treeAdapter.getNamespaceURI(element2);return SPECIAL_ELEMENTS[ns].has(id)}onCharacter(token){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){characterInForeignContent(this,token);return}switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,token);break}case InsertionMode.BEFORE_HTML:{tokenBeforeHtml(this,token);break}case InsertionMode.BEFORE_HEAD:{tokenBeforeHead(this,token);break}case InsertionMode.IN_HEAD:{tokenInHead(this,token);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{tokenInHeadNoScript(this,token);break}case InsertionMode.AFTER_HEAD:{tokenAfterHead(this,token);break}case InsertionMode.IN_BODY:case InsertionMode.IN_CAPTION:case InsertionMode.IN_CELL:case InsertionMode.IN_TEMPLATE:{characterInBody(this,token);break}case InsertionMode.TEXT:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:{this._insertCharacters(token);break}case InsertionMode.IN_TABLE:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:{characterInTable(this,token);break}case InsertionMode.IN_TABLE_TEXT:{characterInTableText(this,token);break}case InsertionMode.IN_COLUMN_GROUP:{tokenInColumnGroup(this,token);break}case InsertionMode.AFTER_BODY:{tokenAfterBody(this,token);break}case InsertionMode.AFTER_AFTER_BODY:{tokenAfterAfterBody(this,token);break}}}onNullCharacter(token){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){nullCharacterInForeignContent(this,token);return}switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,token);break}case InsertionMode.BEFORE_HTML:{tokenBeforeHtml(this,token);break}case InsertionMode.BEFORE_HEAD:{tokenBeforeHead(this,token);break}case InsertionMode.IN_HEAD:{tokenInHead(this,token);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{tokenInHeadNoScript(this,token);break}case InsertionMode.AFTER_HEAD:{tokenAfterHead(this,token);break}case InsertionMode.TEXT:{this._insertCharacters(token);break}case InsertionMode.IN_TABLE:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:{characterInTable(this,token);break}case InsertionMode.IN_COLUMN_GROUP:{tokenInColumnGroup(this,token);break}case InsertionMode.AFTER_BODY:{tokenAfterBody(this,token);break}case InsertionMode.AFTER_AFTER_BODY:{tokenAfterAfterBody(this,token);break}}}onComment(token){if(this.skipNextNewLine=!1,this.currentNotInHTML){appendComment(this,token);return}switch(this.insertionMode){case InsertionMode.INITIAL:case InsertionMode.BEFORE_HTML:case InsertionMode.BEFORE_HEAD:case InsertionMode.IN_HEAD:case InsertionMode.IN_HEAD_NO_SCRIPT:case InsertionMode.AFTER_HEAD:case InsertionMode.IN_BODY:case InsertionMode.IN_TABLE:case InsertionMode.IN_CAPTION:case InsertionMode.IN_COLUMN_GROUP:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:case InsertionMode.IN_CELL:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:case InsertionMode.IN_TEMPLATE:case InsertionMode.IN_FRAMESET:case InsertionMode.AFTER_FRAMESET:{appendComment(this,token);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,token);break}case InsertionMode.AFTER_BODY:{appendCommentToRootHtmlElement(this,token);break}case InsertionMode.AFTER_AFTER_BODY:case InsertionMode.AFTER_AFTER_FRAMESET:{appendCommentToDocument(this,token);break}}}onDoctype(token){switch(this.skipNextNewLine=!1,this.insertionMode){case InsertionMode.INITIAL:{doctypeInInitialMode(this,token);break}case InsertionMode.BEFORE_HEAD:case InsertionMode.IN_HEAD:case InsertionMode.IN_HEAD_NO_SCRIPT:case InsertionMode.AFTER_HEAD:{this._err(token,ERR.misplacedDoctype);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,token);break}}}onStartTag(token){this.skipNextNewLine=!1,this.currentToken=token,this._processStartTag(token),token.selfClosing&&!token.ackSelfClosing&&this._err(token,ERR.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(token){this.shouldProcessStartTagTokenInForeignContent(token)?startTagInForeignContent(this,token):this._startTagOutsideForeignContent(token)}_startTagOutsideForeignContent(token){switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,token);break}case InsertionMode.BEFORE_HTML:{startTagBeforeHtml(this,token);break}case InsertionMode.BEFORE_HEAD:{startTagBeforeHead(this,token);break}case InsertionMode.IN_HEAD:{startTagInHead(this,token);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{startTagInHeadNoScript(this,token);break}case InsertionMode.AFTER_HEAD:{startTagAfterHead(this,token);break}case InsertionMode.IN_BODY:{startTagInBody(this,token);break}case InsertionMode.IN_TABLE:{startTagInTable(this,token);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,token);break}case InsertionMode.IN_CAPTION:{startTagInCaption(this,token);break}case InsertionMode.IN_COLUMN_GROUP:{startTagInColumnGroup(this,token);break}case InsertionMode.IN_TABLE_BODY:{startTagInTableBody(this,token);break}case InsertionMode.IN_ROW:{startTagInRow(this,token);break}case InsertionMode.IN_CELL:{startTagInCell(this,token);break}case InsertionMode.IN_SELECT:{startTagInSelect(this,token);break}case InsertionMode.IN_SELECT_IN_TABLE:{startTagInSelectInTable(this,token);break}case InsertionMode.IN_TEMPLATE:{startTagInTemplate(this,token);break}case InsertionMode.AFTER_BODY:{startTagAfterBody(this,token);break}case InsertionMode.IN_FRAMESET:{startTagInFrameset(this,token);break}case InsertionMode.AFTER_FRAMESET:{startTagAfterFrameset(this,token);break}case InsertionMode.AFTER_AFTER_BODY:{startTagAfterAfterBody(this,token);break}case InsertionMode.AFTER_AFTER_FRAMESET:{startTagAfterAfterFrameset(this,token);break}}}onEndTag(token){this.skipNextNewLine=!1,this.currentToken=token,this.currentNotInHTML?endTagInForeignContent(this,token):this._endTagOutsideForeignContent(token)}_endTagOutsideForeignContent(token){switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,token);break}case InsertionMode.BEFORE_HTML:{endTagBeforeHtml(this,token);break}case InsertionMode.BEFORE_HEAD:{endTagBeforeHead(this,token);break}case InsertionMode.IN_HEAD:{endTagInHead(this,token);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{endTagInHeadNoScript(this,token);break}case InsertionMode.AFTER_HEAD:{endTagAfterHead(this,token);break}case InsertionMode.IN_BODY:{endTagInBody(this,token);break}case InsertionMode.TEXT:{endTagInText(this,token);break}case InsertionMode.IN_TABLE:{endTagInTable(this,token);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,token);break}case InsertionMode.IN_CAPTION:{endTagInCaption(this,token);break}case InsertionMode.IN_COLUMN_GROUP:{endTagInColumnGroup(this,token);break}case InsertionMode.IN_TABLE_BODY:{endTagInTableBody(this,token);break}case InsertionMode.IN_ROW:{endTagInRow(this,token);break}case InsertionMode.IN_CELL:{endTagInCell(this,token);break}case InsertionMode.IN_SELECT:{endTagInSelect(this,token);break}case InsertionMode.IN_SELECT_IN_TABLE:{endTagInSelectInTable(this,token);break}case InsertionMode.IN_TEMPLATE:{endTagInTemplate(this,token);break}case InsertionMode.AFTER_BODY:{endTagAfterBody(this,token);break}case InsertionMode.IN_FRAMESET:{endTagInFrameset(this,token);break}case InsertionMode.AFTER_FRAMESET:{endTagAfterFrameset(this,token);break}case InsertionMode.AFTER_AFTER_BODY:{tokenAfterAfterBody(this,token);break}}}onEof(token){switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,token);break}case InsertionMode.BEFORE_HTML:{tokenBeforeHtml(this,token);break}case InsertionMode.BEFORE_HEAD:{tokenBeforeHead(this,token);break}case InsertionMode.IN_HEAD:{tokenInHead(this,token);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{tokenInHeadNoScript(this,token);break}case InsertionMode.AFTER_HEAD:{tokenAfterHead(this,token);break}case InsertionMode.IN_BODY:case InsertionMode.IN_TABLE:case InsertionMode.IN_CAPTION:case InsertionMode.IN_COLUMN_GROUP:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:case InsertionMode.IN_CELL:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:{eofInBody(this,token);break}case InsertionMode.TEXT:{eofInText(this,token);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,token);break}case InsertionMode.IN_TEMPLATE:{eofInTemplate(this,token);break}case InsertionMode.AFTER_BODY:case InsertionMode.IN_FRAMESET:case InsertionMode.AFTER_FRAMESET:case InsertionMode.AFTER_AFTER_BODY:case InsertionMode.AFTER_AFTER_FRAMESET:{stopParsing(this,token);break}}}onWhitespaceCharacter(token){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,token.chars.charCodeAt(0)===CODE_POINTS.LINE_FEED)){if(token.chars.length===1)return;token.chars=token.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(token);return}switch(this.insertionMode){case InsertionMode.IN_HEAD:case InsertionMode.IN_HEAD_NO_SCRIPT:case InsertionMode.AFTER_HEAD:case InsertionMode.TEXT:case InsertionMode.IN_COLUMN_GROUP:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:case InsertionMode.IN_FRAMESET:case InsertionMode.AFTER_FRAMESET:{this._insertCharacters(token);break}case InsertionMode.IN_BODY:case InsertionMode.IN_CAPTION:case InsertionMode.IN_CELL:case InsertionMode.IN_TEMPLATE:case InsertionMode.AFTER_BODY:case InsertionMode.AFTER_AFTER_BODY:case InsertionMode.AFTER_AFTER_FRAMESET:{whitespaceCharacterInBody(this,token);break}case InsertionMode.IN_TABLE:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:{characterInTable(this,token);break}case InsertionMode.IN_TABLE_TEXT:{whitespaceCharacterInTableText(this,token);break}}}};__name(_Parser,"Parser");let Parser=_Parser;function aaObtainFormattingElementEntry(p2,token){let formattingElementEntry=p2.activeFormattingElements.getElementEntryInScopeWithTagName(token.tagName);return formattingElementEntry?p2.openElements.contains(formattingElementEntry.element)?p2.openElements.hasInScope(token.tagID)||(formattingElementEntry=null):(p2.activeFormattingElements.removeEntry(formattingElementEntry),formattingElementEntry=null):genericEndTagInBody(p2,token),formattingElementEntry}__name(aaObtainFormattingElementEntry,"aaObtainFormattingElementEntry");function aaObtainFurthestBlock(p2,formattingElementEntry){let furthestBlock=null,idx=p2.openElements.stackTop;for(;idx>=0;idx--){const element2=p2.openElements.items[idx];if(element2===formattingElementEntry.element)break;p2._isSpecialElement(element2,p2.openElements.tagIDs[idx])&&(furthestBlock=element2)}return furthestBlock||(p2.openElements.shortenToLength(Math.max(idx,0)),p2.activeFormattingElements.removeEntry(formattingElementEntry)),furthestBlock}__name(aaObtainFurthestBlock,"aaObtainFurthestBlock");function aaInnerLoop(p2,furthestBlock,formattingElement){let lastElement=furthestBlock,nextElement=p2.openElements.getCommonAncestor(furthestBlock);for(let i2=0,element2=nextElement;element2!==formattingElement;i2++,element2=nextElement){nextElement=p2.openElements.getCommonAncestor(element2);const elementEntry=p2.activeFormattingElements.getElementEntry(element2),counterOverflow=elementEntry&&i2>=AA_INNER_LOOP_ITER;!elementEntry||counterOverflow?(counterOverflow&&p2.activeFormattingElements.removeEntry(elementEntry),p2.openElements.remove(element2)):(element2=aaRecreateElementFromEntry(p2,elementEntry),lastElement===furthestBlock&&(p2.activeFormattingElements.bookmark=elementEntry),p2.treeAdapter.detachNode(lastElement),p2.treeAdapter.appendChild(element2,lastElement),lastElement=element2)}return lastElement}__name(aaInnerLoop,"aaInnerLoop");function aaRecreateElementFromEntry(p2,elementEntry){const ns=p2.treeAdapter.getNamespaceURI(elementEntry.element),newElement=p2.treeAdapter.createElement(elementEntry.token.tagName,ns,elementEntry.token.attrs);return p2.openElements.replace(elementEntry.element,newElement),elementEntry.element=newElement,newElement}__name(aaRecreateElementFromEntry,"aaRecreateElementFromEntry");function aaInsertLastNodeInCommonAncestor(p2,commonAncestor,lastElement){const tn=p2.treeAdapter.getTagName(commonAncestor),tid=getTagID(tn);if(p2._isElementCausesFosterParenting(tid))p2._fosterParentElement(lastElement);else{const ns=p2.treeAdapter.getNamespaceURI(commonAncestor);tid===TAG_ID.TEMPLATE&&ns===NS.HTML&&(commonAncestor=p2.treeAdapter.getTemplateContent(commonAncestor)),p2.treeAdapter.appendChild(commonAncestor,lastElement)}}__name(aaInsertLastNodeInCommonAncestor,"aaInsertLastNodeInCommonAncestor");function aaReplaceFormattingElement(p2,furthestBlock,formattingElementEntry){const ns=p2.treeAdapter.getNamespaceURI(formattingElementEntry.element),{token}=formattingElementEntry,newElement=p2.treeAdapter.createElement(token.tagName,ns,token.attrs);p2._adoptNodes(furthestBlock,newElement),p2.treeAdapter.appendChild(furthestBlock,newElement),p2.activeFormattingElements.insertElementAfterBookmark(newElement,token),p2.activeFormattingElements.removeEntry(formattingElementEntry),p2.openElements.remove(formattingElementEntry.element),p2.openElements.insertAfter(furthestBlock,newElement,token.tagID)}__name(aaReplaceFormattingElement,"aaReplaceFormattingElement");function callAdoptionAgency(p2,token){for(let i2=0;i2=target;i2--)p2._setEndLocation(p2.openElements.items[i2],token);if(!p2.fragmentContext&&p2.openElements.stackTop>=0){const htmlElement=p2.openElements.items[0],htmlLocation=p2.treeAdapter.getNodeSourceCodeLocation(htmlElement);if(htmlLocation&&!htmlLocation.endTag&&(p2._setEndLocation(htmlElement,token),p2.openElements.stackTop>=1)){const bodyElement=p2.openElements.items[1],bodyLocation=p2.treeAdapter.getNodeSourceCodeLocation(bodyElement);bodyLocation&&!bodyLocation.endTag&&p2._setEndLocation(bodyElement,token)}}}}__name(stopParsing,"stopParsing");function doctypeInInitialMode(p2,token){p2._setDocumentType(token);const mode=token.forceQuirks?DOCUMENT_MODE.QUIRKS:getDocumentMode(token);isConforming(token)||p2._err(token,ERR.nonConformingDoctype),p2.treeAdapter.setDocumentMode(p2.document,mode),p2.insertionMode=InsertionMode.BEFORE_HTML}__name(doctypeInInitialMode,"doctypeInInitialMode");function tokenInInitialMode(p2,token){p2._err(token,ERR.missingDoctype,!0),p2.treeAdapter.setDocumentMode(p2.document,DOCUMENT_MODE.QUIRKS),p2.insertionMode=InsertionMode.BEFORE_HTML,p2._processToken(token)}__name(tokenInInitialMode,"tokenInInitialMode");function startTagBeforeHtml(p2,token){token.tagID===TAG_ID.HTML?(p2._insertElement(token,NS.HTML),p2.insertionMode=InsertionMode.BEFORE_HEAD):tokenBeforeHtml(p2,token)}__name(startTagBeforeHtml,"startTagBeforeHtml");function endTagBeforeHtml(p2,token){const tn=token.tagID;(tn===TAG_ID.HTML||tn===TAG_ID.HEAD||tn===TAG_ID.BODY||tn===TAG_ID.BR)&&tokenBeforeHtml(p2,token)}__name(endTagBeforeHtml,"endTagBeforeHtml");function tokenBeforeHtml(p2,token){p2._insertFakeRootElement(),p2.insertionMode=InsertionMode.BEFORE_HEAD,p2._processToken(token)}__name(tokenBeforeHtml,"tokenBeforeHtml");function startTagBeforeHead(p2,token){switch(token.tagID){case TAG_ID.HTML:{startTagInBody(p2,token);break}case TAG_ID.HEAD:{p2._insertElement(token,NS.HTML),p2.headElement=p2.openElements.current,p2.insertionMode=InsertionMode.IN_HEAD;break}default:tokenBeforeHead(p2,token)}}__name(startTagBeforeHead,"startTagBeforeHead");function endTagBeforeHead(p2,token){const tn=token.tagID;tn===TAG_ID.HEAD||tn===TAG_ID.BODY||tn===TAG_ID.HTML||tn===TAG_ID.BR?tokenBeforeHead(p2,token):p2._err(token,ERR.endTagWithoutMatchingOpenElement)}__name(endTagBeforeHead,"endTagBeforeHead");function tokenBeforeHead(p2,token){p2._insertFakeElement(TAG_NAMES.HEAD,TAG_ID.HEAD),p2.headElement=p2.openElements.current,p2.insertionMode=InsertionMode.IN_HEAD,p2._processToken(token)}__name(tokenBeforeHead,"tokenBeforeHead");function startTagInHead(p2,token){switch(token.tagID){case TAG_ID.HTML:{startTagInBody(p2,token);break}case TAG_ID.BASE:case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.LINK:case TAG_ID.META:{p2._appendElement(token,NS.HTML),token.ackSelfClosing=!0;break}case TAG_ID.TITLE:{p2._switchToTextParsing(token,TokenizerMode.RCDATA);break}case TAG_ID.NOSCRIPT:{p2.options.scriptingEnabled?p2._switchToTextParsing(token,TokenizerMode.RAWTEXT):(p2._insertElement(token,NS.HTML),p2.insertionMode=InsertionMode.IN_HEAD_NO_SCRIPT);break}case TAG_ID.NOFRAMES:case TAG_ID.STYLE:{p2._switchToTextParsing(token,TokenizerMode.RAWTEXT);break}case TAG_ID.SCRIPT:{p2._switchToTextParsing(token,TokenizerMode.SCRIPT_DATA);break}case TAG_ID.TEMPLATE:{p2._insertTemplate(token),p2.activeFormattingElements.insertMarker(),p2.framesetOk=!1,p2.insertionMode=InsertionMode.IN_TEMPLATE,p2.tmplInsertionModeStack.unshift(InsertionMode.IN_TEMPLATE);break}case TAG_ID.HEAD:{p2._err(token,ERR.misplacedStartTagForHeadElement);break}default:tokenInHead(p2,token)}}__name(startTagInHead,"startTagInHead");function endTagInHead(p2,token){switch(token.tagID){case TAG_ID.HEAD:{p2.openElements.pop(),p2.insertionMode=InsertionMode.AFTER_HEAD;break}case TAG_ID.BODY:case TAG_ID.BR:case TAG_ID.HTML:{tokenInHead(p2,token);break}case TAG_ID.TEMPLATE:{templateEndTagInHead(p2,token);break}default:p2._err(token,ERR.endTagWithoutMatchingOpenElement)}}__name(endTagInHead,"endTagInHead");function templateEndTagInHead(p2,token){p2.openElements.tmplCount>0?(p2.openElements.generateImpliedEndTagsThoroughly(),p2.openElements.currentTagId!==TAG_ID.TEMPLATE&&p2._err(token,ERR.closingOfElementWithOpenChildElements),p2.openElements.popUntilTagNamePopped(TAG_ID.TEMPLATE),p2.activeFormattingElements.clearToLastMarker(),p2.tmplInsertionModeStack.shift(),p2._resetInsertionMode()):p2._err(token,ERR.endTagWithoutMatchingOpenElement)}__name(templateEndTagInHead,"templateEndTagInHead");function tokenInHead(p2,token){p2.openElements.pop(),p2.insertionMode=InsertionMode.AFTER_HEAD,p2._processToken(token)}__name(tokenInHead,"tokenInHead");function startTagInHeadNoScript(p2,token){switch(token.tagID){case TAG_ID.HTML:{startTagInBody(p2,token);break}case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.HEAD:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.NOFRAMES:case TAG_ID.STYLE:{startTagInHead(p2,token);break}case TAG_ID.NOSCRIPT:{p2._err(token,ERR.nestedNoscriptInHead);break}default:tokenInHeadNoScript(p2,token)}}__name(startTagInHeadNoScript,"startTagInHeadNoScript");function endTagInHeadNoScript(p2,token){switch(token.tagID){case TAG_ID.NOSCRIPT:{p2.openElements.pop(),p2.insertionMode=InsertionMode.IN_HEAD;break}case TAG_ID.BR:{tokenInHeadNoScript(p2,token);break}default:p2._err(token,ERR.endTagWithoutMatchingOpenElement)}}__name(endTagInHeadNoScript,"endTagInHeadNoScript");function tokenInHeadNoScript(p2,token){const errCode=token.type===TokenType.EOF?ERR.openElementsLeftAfterEof:ERR.disallowedContentInNoscriptInHead;p2._err(token,errCode),p2.openElements.pop(),p2.insertionMode=InsertionMode.IN_HEAD,p2._processToken(token)}__name(tokenInHeadNoScript,"tokenInHeadNoScript");function startTagAfterHead(p2,token){switch(token.tagID){case TAG_ID.HTML:{startTagInBody(p2,token);break}case TAG_ID.BODY:{p2._insertElement(token,NS.HTML),p2.framesetOk=!1,p2.insertionMode=InsertionMode.IN_BODY;break}case TAG_ID.FRAMESET:{p2._insertElement(token,NS.HTML),p2.insertionMode=InsertionMode.IN_FRAMESET;break}case TAG_ID.BASE:case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.NOFRAMES:case TAG_ID.SCRIPT:case TAG_ID.STYLE:case TAG_ID.TEMPLATE:case TAG_ID.TITLE:{p2._err(token,ERR.abandonedHeadElementChild),p2.openElements.push(p2.headElement,TAG_ID.HEAD),startTagInHead(p2,token),p2.openElements.remove(p2.headElement);break}case TAG_ID.HEAD:{p2._err(token,ERR.misplacedStartTagForHeadElement);break}default:tokenAfterHead(p2,token)}}__name(startTagAfterHead,"startTagAfterHead");function endTagAfterHead(p2,token){switch(token.tagID){case TAG_ID.BODY:case TAG_ID.HTML:case TAG_ID.BR:{tokenAfterHead(p2,token);break}case TAG_ID.TEMPLATE:{templateEndTagInHead(p2,token);break}default:p2._err(token,ERR.endTagWithoutMatchingOpenElement)}}__name(endTagAfterHead,"endTagAfterHead");function tokenAfterHead(p2,token){p2._insertFakeElement(TAG_NAMES.BODY,TAG_ID.BODY),p2.insertionMode=InsertionMode.IN_BODY,modeInBody(p2,token)}__name(tokenAfterHead,"tokenAfterHead");function modeInBody(p2,token){switch(token.type){case TokenType.CHARACTER:{characterInBody(p2,token);break}case TokenType.WHITESPACE_CHARACTER:{whitespaceCharacterInBody(p2,token);break}case TokenType.COMMENT:{appendComment(p2,token);break}case TokenType.START_TAG:{startTagInBody(p2,token);break}case TokenType.END_TAG:{endTagInBody(p2,token);break}case TokenType.EOF:{eofInBody(p2,token);break}}}__name(modeInBody,"modeInBody");function whitespaceCharacterInBody(p2,token){p2._reconstructActiveFormattingElements(),p2._insertCharacters(token)}__name(whitespaceCharacterInBody,"whitespaceCharacterInBody");function characterInBody(p2,token){p2._reconstructActiveFormattingElements(),p2._insertCharacters(token),p2.framesetOk=!1}__name(characterInBody,"characterInBody");function htmlStartTagInBody(p2,token){p2.openElements.tmplCount===0&&p2.treeAdapter.adoptAttributes(p2.openElements.items[0],token.attrs)}__name(htmlStartTagInBody,"htmlStartTagInBody");function bodyStartTagInBody(p2,token){const bodyElement=p2.openElements.tryPeekProperlyNestedBodyElement();bodyElement&&p2.openElements.tmplCount===0&&(p2.framesetOk=!1,p2.treeAdapter.adoptAttributes(bodyElement,token.attrs))}__name(bodyStartTagInBody,"bodyStartTagInBody");function framesetStartTagInBody(p2,token){const bodyElement=p2.openElements.tryPeekProperlyNestedBodyElement();p2.framesetOk&&bodyElement&&(p2.treeAdapter.detachNode(bodyElement),p2.openElements.popAllUpToHtmlElement(),p2._insertElement(token,NS.HTML),p2.insertionMode=InsertionMode.IN_FRAMESET)}__name(framesetStartTagInBody,"framesetStartTagInBody");function addressStartTagInBody(p2,token){p2.openElements.hasInButtonScope(TAG_ID.P)&&p2._closePElement(),p2._insertElement(token,NS.HTML)}__name(addressStartTagInBody,"addressStartTagInBody");function numberedHeaderStartTagInBody(p2,token){p2.openElements.hasInButtonScope(TAG_ID.P)&&p2._closePElement(),p2.openElements.currentTagId!==void 0&&NUMBERED_HEADERS.has(p2.openElements.currentTagId)&&p2.openElements.pop(),p2._insertElement(token,NS.HTML)}__name(numberedHeaderStartTagInBody,"numberedHeaderStartTagInBody");function preStartTagInBody(p2,token){p2.openElements.hasInButtonScope(TAG_ID.P)&&p2._closePElement(),p2._insertElement(token,NS.HTML),p2.skipNextNewLine=!0,p2.framesetOk=!1}__name(preStartTagInBody,"preStartTagInBody");function formStartTagInBody(p2,token){const inTemplate=p2.openElements.tmplCount>0;(!p2.formElement||inTemplate)&&(p2.openElements.hasInButtonScope(TAG_ID.P)&&p2._closePElement(),p2._insertElement(token,NS.HTML),inTemplate||(p2.formElement=p2.openElements.current))}__name(formStartTagInBody,"formStartTagInBody");function listItemStartTagInBody(p2,token){p2.framesetOk=!1;const tn=token.tagID;for(let i2=p2.openElements.stackTop;i2>=0;i2--){const elementId=p2.openElements.tagIDs[i2];if(tn===TAG_ID.LI&&elementId===TAG_ID.LI||(tn===TAG_ID.DD||tn===TAG_ID.DT)&&(elementId===TAG_ID.DD||elementId===TAG_ID.DT)){p2.openElements.generateImpliedEndTagsWithExclusion(elementId),p2.openElements.popUntilTagNamePopped(elementId);break}if(elementId!==TAG_ID.ADDRESS&&elementId!==TAG_ID.DIV&&elementId!==TAG_ID.P&&p2._isSpecialElement(p2.openElements.items[i2],elementId))break}p2.openElements.hasInButtonScope(TAG_ID.P)&&p2._closePElement(),p2._insertElement(token,NS.HTML)}__name(listItemStartTagInBody,"listItemStartTagInBody");function plaintextStartTagInBody(p2,token){p2.openElements.hasInButtonScope(TAG_ID.P)&&p2._closePElement(),p2._insertElement(token,NS.HTML),p2.tokenizer.state=TokenizerMode.PLAINTEXT}__name(plaintextStartTagInBody,"plaintextStartTagInBody");function buttonStartTagInBody(p2,token){p2.openElements.hasInScope(TAG_ID.BUTTON)&&(p2.openElements.generateImpliedEndTags(),p2.openElements.popUntilTagNamePopped(TAG_ID.BUTTON)),p2._reconstructActiveFormattingElements(),p2._insertElement(token,NS.HTML),p2.framesetOk=!1}__name(buttonStartTagInBody,"buttonStartTagInBody");function aStartTagInBody(p2,token){const activeElementEntry=p2.activeFormattingElements.getElementEntryInScopeWithTagName(TAG_NAMES.A);activeElementEntry&&(callAdoptionAgency(p2,token),p2.openElements.remove(activeElementEntry.element),p2.activeFormattingElements.removeEntry(activeElementEntry)),p2._reconstructActiveFormattingElements(),p2._insertElement(token,NS.HTML),p2.activeFormattingElements.pushElement(p2.openElements.current,token)}__name(aStartTagInBody,"aStartTagInBody");function bStartTagInBody(p2,token){p2._reconstructActiveFormattingElements(),p2._insertElement(token,NS.HTML),p2.activeFormattingElements.pushElement(p2.openElements.current,token)}__name(bStartTagInBody,"bStartTagInBody");function nobrStartTagInBody(p2,token){p2._reconstructActiveFormattingElements(),p2.openElements.hasInScope(TAG_ID.NOBR)&&(callAdoptionAgency(p2,token),p2._reconstructActiveFormattingElements()),p2._insertElement(token,NS.HTML),p2.activeFormattingElements.pushElement(p2.openElements.current,token)}__name(nobrStartTagInBody,"nobrStartTagInBody");function appletStartTagInBody(p2,token){p2._reconstructActiveFormattingElements(),p2._insertElement(token,NS.HTML),p2.activeFormattingElements.insertMarker(),p2.framesetOk=!1}__name(appletStartTagInBody,"appletStartTagInBody");function tableStartTagInBody(p2,token){p2.treeAdapter.getDocumentMode(p2.document)!==DOCUMENT_MODE.QUIRKS&&p2.openElements.hasInButtonScope(TAG_ID.P)&&p2._closePElement(),p2._insertElement(token,NS.HTML),p2.framesetOk=!1,p2.insertionMode=InsertionMode.IN_TABLE}__name(tableStartTagInBody,"tableStartTagInBody");function areaStartTagInBody(p2,token){p2._reconstructActiveFormattingElements(),p2._appendElement(token,NS.HTML),p2.framesetOk=!1,token.ackSelfClosing=!0}__name(areaStartTagInBody,"areaStartTagInBody");function isHiddenInput(token){const inputType=getTokenAttr(token,ATTRS.TYPE);return inputType!=null&&inputType.toLowerCase()===HIDDEN_INPUT_TYPE}__name(isHiddenInput,"isHiddenInput");function inputStartTagInBody(p2,token){p2._reconstructActiveFormattingElements(),p2._appendElement(token,NS.HTML),isHiddenInput(token)||(p2.framesetOk=!1),token.ackSelfClosing=!0}__name(inputStartTagInBody,"inputStartTagInBody");function paramStartTagInBody(p2,token){p2._appendElement(token,NS.HTML),token.ackSelfClosing=!0}__name(paramStartTagInBody,"paramStartTagInBody");function hrStartTagInBody(p2,token){p2.openElements.hasInButtonScope(TAG_ID.P)&&p2._closePElement(),p2._appendElement(token,NS.HTML),p2.framesetOk=!1,token.ackSelfClosing=!0}__name(hrStartTagInBody,"hrStartTagInBody");function imageStartTagInBody(p2,token){token.tagName=TAG_NAMES.IMG,token.tagID=TAG_ID.IMG,areaStartTagInBody(p2,token)}__name(imageStartTagInBody,"imageStartTagInBody");function textareaStartTagInBody(p2,token){p2._insertElement(token,NS.HTML),p2.skipNextNewLine=!0,p2.tokenizer.state=TokenizerMode.RCDATA,p2.originalInsertionMode=p2.insertionMode,p2.framesetOk=!1,p2.insertionMode=InsertionMode.TEXT}__name(textareaStartTagInBody,"textareaStartTagInBody");function xmpStartTagInBody(p2,token){p2.openElements.hasInButtonScope(TAG_ID.P)&&p2._closePElement(),p2._reconstructActiveFormattingElements(),p2.framesetOk=!1,p2._switchToTextParsing(token,TokenizerMode.RAWTEXT)}__name(xmpStartTagInBody,"xmpStartTagInBody");function iframeStartTagInBody(p2,token){p2.framesetOk=!1,p2._switchToTextParsing(token,TokenizerMode.RAWTEXT)}__name(iframeStartTagInBody,"iframeStartTagInBody");function rawTextStartTagInBody(p2,token){p2._switchToTextParsing(token,TokenizerMode.RAWTEXT)}__name(rawTextStartTagInBody,"rawTextStartTagInBody");function selectStartTagInBody(p2,token){p2._reconstructActiveFormattingElements(),p2._insertElement(token,NS.HTML),p2.framesetOk=!1,p2.insertionMode=p2.insertionMode===InsertionMode.IN_TABLE||p2.insertionMode===InsertionMode.IN_CAPTION||p2.insertionMode===InsertionMode.IN_TABLE_BODY||p2.insertionMode===InsertionMode.IN_ROW||p2.insertionMode===InsertionMode.IN_CELL?InsertionMode.IN_SELECT_IN_TABLE:InsertionMode.IN_SELECT}__name(selectStartTagInBody,"selectStartTagInBody");function optgroupStartTagInBody(p2,token){p2.openElements.currentTagId===TAG_ID.OPTION&&p2.openElements.pop(),p2._reconstructActiveFormattingElements(),p2._insertElement(token,NS.HTML)}__name(optgroupStartTagInBody,"optgroupStartTagInBody");function rbStartTagInBody(p2,token){p2.openElements.hasInScope(TAG_ID.RUBY)&&p2.openElements.generateImpliedEndTags(),p2._insertElement(token,NS.HTML)}__name(rbStartTagInBody,"rbStartTagInBody");function rtStartTagInBody(p2,token){p2.openElements.hasInScope(TAG_ID.RUBY)&&p2.openElements.generateImpliedEndTagsWithExclusion(TAG_ID.RTC),p2._insertElement(token,NS.HTML)}__name(rtStartTagInBody,"rtStartTagInBody");function mathStartTagInBody(p2,token){p2._reconstructActiveFormattingElements(),adjustTokenMathMLAttrs(token),adjustTokenXMLAttrs(token),token.selfClosing?p2._appendElement(token,NS.MATHML):p2._insertElement(token,NS.MATHML),token.ackSelfClosing=!0}__name(mathStartTagInBody,"mathStartTagInBody");function svgStartTagInBody(p2,token){p2._reconstructActiveFormattingElements(),adjustTokenSVGAttrs(token),adjustTokenXMLAttrs(token),token.selfClosing?p2._appendElement(token,NS.SVG):p2._insertElement(token,NS.SVG),token.ackSelfClosing=!0}__name(svgStartTagInBody,"svgStartTagInBody");function genericStartTagInBody(p2,token){p2._reconstructActiveFormattingElements(),p2._insertElement(token,NS.HTML)}__name(genericStartTagInBody,"genericStartTagInBody");function startTagInBody(p2,token){switch(token.tagID){case TAG_ID.I:case TAG_ID.S:case TAG_ID.B:case TAG_ID.U:case TAG_ID.EM:case TAG_ID.TT:case TAG_ID.BIG:case TAG_ID.CODE:case TAG_ID.FONT:case TAG_ID.SMALL:case TAG_ID.STRIKE:case TAG_ID.STRONG:{bStartTagInBody(p2,token);break}case TAG_ID.A:{aStartTagInBody(p2,token);break}case TAG_ID.H1:case TAG_ID.H2:case TAG_ID.H3:case TAG_ID.H4:case TAG_ID.H5:case TAG_ID.H6:{numberedHeaderStartTagInBody(p2,token);break}case TAG_ID.P:case TAG_ID.DL:case TAG_ID.OL:case TAG_ID.UL:case TAG_ID.DIV:case TAG_ID.DIR:case TAG_ID.NAV:case TAG_ID.MAIN:case TAG_ID.MENU:case TAG_ID.ASIDE:case TAG_ID.CENTER:case TAG_ID.FIGURE:case TAG_ID.FOOTER:case TAG_ID.HEADER:case TAG_ID.HGROUP:case TAG_ID.DIALOG:case TAG_ID.DETAILS:case TAG_ID.ADDRESS:case TAG_ID.ARTICLE:case TAG_ID.SEARCH:case TAG_ID.SECTION:case TAG_ID.SUMMARY:case TAG_ID.FIELDSET:case TAG_ID.BLOCKQUOTE:case TAG_ID.FIGCAPTION:{addressStartTagInBody(p2,token);break}case TAG_ID.LI:case TAG_ID.DD:case TAG_ID.DT:{listItemStartTagInBody(p2,token);break}case TAG_ID.BR:case TAG_ID.IMG:case TAG_ID.WBR:case TAG_ID.AREA:case TAG_ID.EMBED:case TAG_ID.KEYGEN:{areaStartTagInBody(p2,token);break}case TAG_ID.HR:{hrStartTagInBody(p2,token);break}case TAG_ID.RB:case TAG_ID.RTC:{rbStartTagInBody(p2,token);break}case TAG_ID.RT:case TAG_ID.RP:{rtStartTagInBody(p2,token);break}case TAG_ID.PRE:case TAG_ID.LISTING:{preStartTagInBody(p2,token);break}case TAG_ID.XMP:{xmpStartTagInBody(p2,token);break}case TAG_ID.SVG:{svgStartTagInBody(p2,token);break}case TAG_ID.HTML:{htmlStartTagInBody(p2,token);break}case TAG_ID.BASE:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.STYLE:case TAG_ID.TITLE:case TAG_ID.SCRIPT:case TAG_ID.BGSOUND:case TAG_ID.BASEFONT:case TAG_ID.TEMPLATE:{startTagInHead(p2,token);break}case TAG_ID.BODY:{bodyStartTagInBody(p2,token);break}case TAG_ID.FORM:{formStartTagInBody(p2,token);break}case TAG_ID.NOBR:{nobrStartTagInBody(p2,token);break}case TAG_ID.MATH:{mathStartTagInBody(p2,token);break}case TAG_ID.TABLE:{tableStartTagInBody(p2,token);break}case TAG_ID.INPUT:{inputStartTagInBody(p2,token);break}case TAG_ID.PARAM:case TAG_ID.TRACK:case TAG_ID.SOURCE:{paramStartTagInBody(p2,token);break}case TAG_ID.IMAGE:{imageStartTagInBody(p2,token);break}case TAG_ID.BUTTON:{buttonStartTagInBody(p2,token);break}case TAG_ID.APPLET:case TAG_ID.OBJECT:case TAG_ID.MARQUEE:{appletStartTagInBody(p2,token);break}case TAG_ID.IFRAME:{iframeStartTagInBody(p2,token);break}case TAG_ID.SELECT:{selectStartTagInBody(p2,token);break}case TAG_ID.OPTION:case TAG_ID.OPTGROUP:{optgroupStartTagInBody(p2,token);break}case TAG_ID.NOEMBED:case TAG_ID.NOFRAMES:{rawTextStartTagInBody(p2,token);break}case TAG_ID.FRAMESET:{framesetStartTagInBody(p2,token);break}case TAG_ID.TEXTAREA:{textareaStartTagInBody(p2,token);break}case TAG_ID.NOSCRIPT:{p2.options.scriptingEnabled?rawTextStartTagInBody(p2,token):genericStartTagInBody(p2,token);break}case TAG_ID.PLAINTEXT:{plaintextStartTagInBody(p2,token);break}case TAG_ID.COL:case TAG_ID.TH:case TAG_ID.TD:case TAG_ID.TR:case TAG_ID.HEAD:case TAG_ID.FRAME:case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:case TAG_ID.CAPTION:case TAG_ID.COLGROUP:break;default:genericStartTagInBody(p2,token)}}__name(startTagInBody,"startTagInBody");function bodyEndTagInBody(p2,token){if(p2.openElements.hasInScope(TAG_ID.BODY)&&(p2.insertionMode=InsertionMode.AFTER_BODY,p2.options.sourceCodeLocationInfo)){const bodyElement=p2.openElements.tryPeekProperlyNestedBodyElement();bodyElement&&p2._setEndLocation(bodyElement,token)}}__name(bodyEndTagInBody,"bodyEndTagInBody");function htmlEndTagInBody(p2,token){p2.openElements.hasInScope(TAG_ID.BODY)&&(p2.insertionMode=InsertionMode.AFTER_BODY,endTagAfterBody(p2,token))}__name(htmlEndTagInBody,"htmlEndTagInBody");function addressEndTagInBody(p2,token){const tn=token.tagID;p2.openElements.hasInScope(tn)&&(p2.openElements.generateImpliedEndTags(),p2.openElements.popUntilTagNamePopped(tn))}__name(addressEndTagInBody,"addressEndTagInBody");function formEndTagInBody(p2){const inTemplate=p2.openElements.tmplCount>0,{formElement}=p2;inTemplate||(p2.formElement=null),(formElement||inTemplate)&&p2.openElements.hasInScope(TAG_ID.FORM)&&(p2.openElements.generateImpliedEndTags(),inTemplate?p2.openElements.popUntilTagNamePopped(TAG_ID.FORM):formElement&&p2.openElements.remove(formElement))}__name(formEndTagInBody,"formEndTagInBody");function pEndTagInBody(p2){p2.openElements.hasInButtonScope(TAG_ID.P)||p2._insertFakeElement(TAG_NAMES.P,TAG_ID.P),p2._closePElement()}__name(pEndTagInBody,"pEndTagInBody");function liEndTagInBody(p2){p2.openElements.hasInListItemScope(TAG_ID.LI)&&(p2.openElements.generateImpliedEndTagsWithExclusion(TAG_ID.LI),p2.openElements.popUntilTagNamePopped(TAG_ID.LI))}__name(liEndTagInBody,"liEndTagInBody");function ddEndTagInBody(p2,token){const tn=token.tagID;p2.openElements.hasInScope(tn)&&(p2.openElements.generateImpliedEndTagsWithExclusion(tn),p2.openElements.popUntilTagNamePopped(tn))}__name(ddEndTagInBody,"ddEndTagInBody");function numberedHeaderEndTagInBody(p2){p2.openElements.hasNumberedHeaderInScope()&&(p2.openElements.generateImpliedEndTags(),p2.openElements.popUntilNumberedHeaderPopped())}__name(numberedHeaderEndTagInBody,"numberedHeaderEndTagInBody");function appletEndTagInBody(p2,token){const tn=token.tagID;p2.openElements.hasInScope(tn)&&(p2.openElements.generateImpliedEndTags(),p2.openElements.popUntilTagNamePopped(tn),p2.activeFormattingElements.clearToLastMarker())}__name(appletEndTagInBody,"appletEndTagInBody");function brEndTagInBody(p2){p2._reconstructActiveFormattingElements(),p2._insertFakeElement(TAG_NAMES.BR,TAG_ID.BR),p2.openElements.pop(),p2.framesetOk=!1}__name(brEndTagInBody,"brEndTagInBody");function genericEndTagInBody(p2,token){const tn=token.tagName,tid=token.tagID;for(let i2=p2.openElements.stackTop;i2>0;i2--){const element2=p2.openElements.items[i2],elementId=p2.openElements.tagIDs[i2];if(tid===elementId&&(tid!==TAG_ID.UNKNOWN||p2.treeAdapter.getTagName(element2)===tn)){p2.openElements.generateImpliedEndTagsWithExclusion(tid),p2.openElements.stackTop>=i2&&p2.openElements.shortenToLength(i2);break}if(p2._isSpecialElement(element2,elementId))break}}__name(genericEndTagInBody,"genericEndTagInBody");function endTagInBody(p2,token){switch(token.tagID){case TAG_ID.A:case TAG_ID.B:case TAG_ID.I:case TAG_ID.S:case TAG_ID.U:case TAG_ID.EM:case TAG_ID.TT:case TAG_ID.BIG:case TAG_ID.CODE:case TAG_ID.FONT:case TAG_ID.NOBR:case TAG_ID.SMALL:case TAG_ID.STRIKE:case TAG_ID.STRONG:{callAdoptionAgency(p2,token);break}case TAG_ID.P:{pEndTagInBody(p2);break}case TAG_ID.DL:case TAG_ID.UL:case TAG_ID.OL:case TAG_ID.DIR:case TAG_ID.DIV:case TAG_ID.NAV:case TAG_ID.PRE:case TAG_ID.MAIN:case TAG_ID.MENU:case TAG_ID.ASIDE:case TAG_ID.BUTTON:case TAG_ID.CENTER:case TAG_ID.FIGURE:case TAG_ID.FOOTER:case TAG_ID.HEADER:case TAG_ID.HGROUP:case TAG_ID.DIALOG:case TAG_ID.ADDRESS:case TAG_ID.ARTICLE:case TAG_ID.DETAILS:case TAG_ID.SEARCH:case TAG_ID.SECTION:case TAG_ID.SUMMARY:case TAG_ID.LISTING:case TAG_ID.FIELDSET:case TAG_ID.BLOCKQUOTE:case TAG_ID.FIGCAPTION:{addressEndTagInBody(p2,token);break}case TAG_ID.LI:{liEndTagInBody(p2);break}case TAG_ID.DD:case TAG_ID.DT:{ddEndTagInBody(p2,token);break}case TAG_ID.H1:case TAG_ID.H2:case TAG_ID.H3:case TAG_ID.H4:case TAG_ID.H5:case TAG_ID.H6:{numberedHeaderEndTagInBody(p2);break}case TAG_ID.BR:{brEndTagInBody(p2);break}case TAG_ID.BODY:{bodyEndTagInBody(p2,token);break}case TAG_ID.HTML:{htmlEndTagInBody(p2,token);break}case TAG_ID.FORM:{formEndTagInBody(p2);break}case TAG_ID.APPLET:case TAG_ID.OBJECT:case TAG_ID.MARQUEE:{appletEndTagInBody(p2,token);break}case TAG_ID.TEMPLATE:{templateEndTagInHead(p2,token);break}default:genericEndTagInBody(p2,token)}}__name(endTagInBody,"endTagInBody");function eofInBody(p2,token){p2.tmplInsertionModeStack.length>0?eofInTemplate(p2,token):stopParsing(p2,token)}__name(eofInBody,"eofInBody");function endTagInText(p2,token){var _a18;token.tagID===TAG_ID.SCRIPT&&((_a18=p2.scriptHandler)===null||_a18===void 0||_a18.call(p2,p2.openElements.current)),p2.openElements.pop(),p2.insertionMode=p2.originalInsertionMode}__name(endTagInText,"endTagInText");function eofInText(p2,token){p2._err(token,ERR.eofInElementThatCanContainOnlyText),p2.openElements.pop(),p2.insertionMode=p2.originalInsertionMode,p2.onEof(token)}__name(eofInText,"eofInText");function characterInTable(p2,token){if(p2.openElements.currentTagId!==void 0&&TABLE_STRUCTURE_TAGS.has(p2.openElements.currentTagId))switch(p2.pendingCharacterTokens.length=0,p2.hasNonWhitespacePendingCharacterToken=!1,p2.originalInsertionMode=p2.insertionMode,p2.insertionMode=InsertionMode.IN_TABLE_TEXT,token.type){case TokenType.CHARACTER:{characterInTableText(p2,token);break}case TokenType.WHITESPACE_CHARACTER:{whitespaceCharacterInTableText(p2,token);break}}else tokenInTable(p2,token)}__name(characterInTable,"characterInTable");function captionStartTagInTable(p2,token){p2.openElements.clearBackToTableContext(),p2.activeFormattingElements.insertMarker(),p2._insertElement(token,NS.HTML),p2.insertionMode=InsertionMode.IN_CAPTION}__name(captionStartTagInTable,"captionStartTagInTable");function colgroupStartTagInTable(p2,token){p2.openElements.clearBackToTableContext(),p2._insertElement(token,NS.HTML),p2.insertionMode=InsertionMode.IN_COLUMN_GROUP}__name(colgroupStartTagInTable,"colgroupStartTagInTable");function colStartTagInTable(p2,token){p2.openElements.clearBackToTableContext(),p2._insertFakeElement(TAG_NAMES.COLGROUP,TAG_ID.COLGROUP),p2.insertionMode=InsertionMode.IN_COLUMN_GROUP,startTagInColumnGroup(p2,token)}__name(colStartTagInTable,"colStartTagInTable");function tbodyStartTagInTable(p2,token){p2.openElements.clearBackToTableContext(),p2._insertElement(token,NS.HTML),p2.insertionMode=InsertionMode.IN_TABLE_BODY}__name(tbodyStartTagInTable,"tbodyStartTagInTable");function tdStartTagInTable(p2,token){p2.openElements.clearBackToTableContext(),p2._insertFakeElement(TAG_NAMES.TBODY,TAG_ID.TBODY),p2.insertionMode=InsertionMode.IN_TABLE_BODY,startTagInTableBody(p2,token)}__name(tdStartTagInTable,"tdStartTagInTable");function tableStartTagInTable(p2,token){p2.openElements.hasInTableScope(TAG_ID.TABLE)&&(p2.openElements.popUntilTagNamePopped(TAG_ID.TABLE),p2._resetInsertionMode(),p2._processStartTag(token))}__name(tableStartTagInTable,"tableStartTagInTable");function inputStartTagInTable(p2,token){isHiddenInput(token)?p2._appendElement(token,NS.HTML):tokenInTable(p2,token),token.ackSelfClosing=!0}__name(inputStartTagInTable,"inputStartTagInTable");function formStartTagInTable(p2,token){!p2.formElement&&p2.openElements.tmplCount===0&&(p2._insertElement(token,NS.HTML),p2.formElement=p2.openElements.current,p2.openElements.pop())}__name(formStartTagInTable,"formStartTagInTable");function startTagInTable(p2,token){switch(token.tagID){case TAG_ID.TD:case TAG_ID.TH:case TAG_ID.TR:{tdStartTagInTable(p2,token);break}case TAG_ID.STYLE:case TAG_ID.SCRIPT:case TAG_ID.TEMPLATE:{startTagInHead(p2,token);break}case TAG_ID.COL:{colStartTagInTable(p2,token);break}case TAG_ID.FORM:{formStartTagInTable(p2,token);break}case TAG_ID.TABLE:{tableStartTagInTable(p2,token);break}case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:{tbodyStartTagInTable(p2,token);break}case TAG_ID.INPUT:{inputStartTagInTable(p2,token);break}case TAG_ID.CAPTION:{captionStartTagInTable(p2,token);break}case TAG_ID.COLGROUP:{colgroupStartTagInTable(p2,token);break}default:tokenInTable(p2,token)}}__name(startTagInTable,"startTagInTable");function endTagInTable(p2,token){switch(token.tagID){case TAG_ID.TABLE:{p2.openElements.hasInTableScope(TAG_ID.TABLE)&&(p2.openElements.popUntilTagNamePopped(TAG_ID.TABLE),p2._resetInsertionMode());break}case TAG_ID.TEMPLATE:{templateEndTagInHead(p2,token);break}case TAG_ID.BODY:case TAG_ID.CAPTION:case TAG_ID.COL:case TAG_ID.COLGROUP:case TAG_ID.HTML:case TAG_ID.TBODY:case TAG_ID.TD:case TAG_ID.TFOOT:case TAG_ID.TH:case TAG_ID.THEAD:case TAG_ID.TR:break;default:tokenInTable(p2,token)}}__name(endTagInTable,"endTagInTable");function tokenInTable(p2,token){const savedFosterParentingState=p2.fosterParentingEnabled;p2.fosterParentingEnabled=!0,modeInBody(p2,token),p2.fosterParentingEnabled=savedFosterParentingState}__name(tokenInTable,"tokenInTable");function whitespaceCharacterInTableText(p2,token){p2.pendingCharacterTokens.push(token)}__name(whitespaceCharacterInTableText,"whitespaceCharacterInTableText");function characterInTableText(p2,token){p2.pendingCharacterTokens.push(token),p2.hasNonWhitespacePendingCharacterToken=!0}__name(characterInTableText,"characterInTableText");function tokenInTableText(p2,token){let i2=0;if(p2.hasNonWhitespacePendingCharacterToken)for(;i20&&p2.openElements.currentTagId===TAG_ID.OPTION&&p2.openElements.tagIDs[p2.openElements.stackTop-1]===TAG_ID.OPTGROUP&&p2.openElements.pop(),p2.openElements.currentTagId===TAG_ID.OPTGROUP&&p2.openElements.pop();break}case TAG_ID.OPTION:{p2.openElements.currentTagId===TAG_ID.OPTION&&p2.openElements.pop();break}case TAG_ID.SELECT:{p2.openElements.hasInSelectScope(TAG_ID.SELECT)&&(p2.openElements.popUntilTagNamePopped(TAG_ID.SELECT),p2._resetInsertionMode());break}case TAG_ID.TEMPLATE:{templateEndTagInHead(p2,token);break}}}__name(endTagInSelect,"endTagInSelect");function startTagInSelectInTable(p2,token){const tn=token.tagID;tn===TAG_ID.CAPTION||tn===TAG_ID.TABLE||tn===TAG_ID.TBODY||tn===TAG_ID.TFOOT||tn===TAG_ID.THEAD||tn===TAG_ID.TR||tn===TAG_ID.TD||tn===TAG_ID.TH?(p2.openElements.popUntilTagNamePopped(TAG_ID.SELECT),p2._resetInsertionMode(),p2._processStartTag(token)):startTagInSelect(p2,token)}__name(startTagInSelectInTable,"startTagInSelectInTable");function endTagInSelectInTable(p2,token){const tn=token.tagID;tn===TAG_ID.CAPTION||tn===TAG_ID.TABLE||tn===TAG_ID.TBODY||tn===TAG_ID.TFOOT||tn===TAG_ID.THEAD||tn===TAG_ID.TR||tn===TAG_ID.TD||tn===TAG_ID.TH?p2.openElements.hasInTableScope(tn)&&(p2.openElements.popUntilTagNamePopped(TAG_ID.SELECT),p2._resetInsertionMode(),p2.onEndTag(token)):endTagInSelect(p2,token)}__name(endTagInSelectInTable,"endTagInSelectInTable");function startTagInTemplate(p2,token){switch(token.tagID){case TAG_ID.BASE:case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.NOFRAMES:case TAG_ID.SCRIPT:case TAG_ID.STYLE:case TAG_ID.TEMPLATE:case TAG_ID.TITLE:{startTagInHead(p2,token);break}case TAG_ID.CAPTION:case TAG_ID.COLGROUP:case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:{p2.tmplInsertionModeStack[0]=InsertionMode.IN_TABLE,p2.insertionMode=InsertionMode.IN_TABLE,startTagInTable(p2,token);break}case TAG_ID.COL:{p2.tmplInsertionModeStack[0]=InsertionMode.IN_COLUMN_GROUP,p2.insertionMode=InsertionMode.IN_COLUMN_GROUP,startTagInColumnGroup(p2,token);break}case TAG_ID.TR:{p2.tmplInsertionModeStack[0]=InsertionMode.IN_TABLE_BODY,p2.insertionMode=InsertionMode.IN_TABLE_BODY,startTagInTableBody(p2,token);break}case TAG_ID.TD:case TAG_ID.TH:{p2.tmplInsertionModeStack[0]=InsertionMode.IN_ROW,p2.insertionMode=InsertionMode.IN_ROW,startTagInRow(p2,token);break}default:p2.tmplInsertionModeStack[0]=InsertionMode.IN_BODY,p2.insertionMode=InsertionMode.IN_BODY,startTagInBody(p2,token)}}__name(startTagInTemplate,"startTagInTemplate");function endTagInTemplate(p2,token){token.tagID===TAG_ID.TEMPLATE&&templateEndTagInHead(p2,token)}__name(endTagInTemplate,"endTagInTemplate");function eofInTemplate(p2,token){p2.openElements.tmplCount>0?(p2.openElements.popUntilTagNamePopped(TAG_ID.TEMPLATE),p2.activeFormattingElements.clearToLastMarker(),p2.tmplInsertionModeStack.shift(),p2._resetInsertionMode(),p2.onEof(token)):stopParsing(p2,token)}__name(eofInTemplate,"eofInTemplate");function startTagAfterBody(p2,token){token.tagID===TAG_ID.HTML?startTagInBody(p2,token):tokenAfterBody(p2,token)}__name(startTagAfterBody,"startTagAfterBody");function endTagAfterBody(p2,token){var _a18;if(token.tagID===TAG_ID.HTML){if(p2.fragmentContext||(p2.insertionMode=InsertionMode.AFTER_AFTER_BODY),p2.options.sourceCodeLocationInfo&&p2.openElements.tagIDs[0]===TAG_ID.HTML){p2._setEndLocation(p2.openElements.items[0],token);const bodyElement=p2.openElements.items[1];bodyElement&&!(!((_a18=p2.treeAdapter.getNodeSourceCodeLocation(bodyElement))===null||_a18===void 0)&&_a18.endTag)&&p2._setEndLocation(bodyElement,token)}}else tokenAfterBody(p2,token)}__name(endTagAfterBody,"endTagAfterBody");function tokenAfterBody(p2,token){p2.insertionMode=InsertionMode.IN_BODY,modeInBody(p2,token)}__name(tokenAfterBody,"tokenAfterBody");function startTagInFrameset(p2,token){switch(token.tagID){case TAG_ID.HTML:{startTagInBody(p2,token);break}case TAG_ID.FRAMESET:{p2._insertElement(token,NS.HTML);break}case TAG_ID.FRAME:{p2._appendElement(token,NS.HTML),token.ackSelfClosing=!0;break}case TAG_ID.NOFRAMES:{startTagInHead(p2,token);break}}}__name(startTagInFrameset,"startTagInFrameset");function endTagInFrameset(p2,token){token.tagID===TAG_ID.FRAMESET&&!p2.openElements.isRootHtmlElementCurrent()&&(p2.openElements.pop(),!p2.fragmentContext&&p2.openElements.currentTagId!==TAG_ID.FRAMESET&&(p2.insertionMode=InsertionMode.AFTER_FRAMESET))}__name(endTagInFrameset,"endTagInFrameset");function startTagAfterFrameset(p2,token){switch(token.tagID){case TAG_ID.HTML:{startTagInBody(p2,token);break}case TAG_ID.NOFRAMES:{startTagInHead(p2,token);break}}}__name(startTagAfterFrameset,"startTagAfterFrameset");function endTagAfterFrameset(p2,token){token.tagID===TAG_ID.HTML&&(p2.insertionMode=InsertionMode.AFTER_AFTER_FRAMESET)}__name(endTagAfterFrameset,"endTagAfterFrameset");function startTagAfterAfterBody(p2,token){token.tagID===TAG_ID.HTML?startTagInBody(p2,token):tokenAfterAfterBody(p2,token)}__name(startTagAfterAfterBody,"startTagAfterAfterBody");function tokenAfterAfterBody(p2,token){p2.insertionMode=InsertionMode.IN_BODY,modeInBody(p2,token)}__name(tokenAfterAfterBody,"tokenAfterAfterBody");function startTagAfterAfterFrameset(p2,token){switch(token.tagID){case TAG_ID.HTML:{startTagInBody(p2,token);break}case TAG_ID.NOFRAMES:{startTagInHead(p2,token);break}}}__name(startTagAfterAfterFrameset,"startTagAfterAfterFrameset");function nullCharacterInForeignContent(p2,token){token.chars=REPLACEMENT_CHARACTER,p2._insertCharacters(token)}__name(nullCharacterInForeignContent,"nullCharacterInForeignContent");function characterInForeignContent(p2,token){p2._insertCharacters(token),p2.framesetOk=!1}__name(characterInForeignContent,"characterInForeignContent");function popUntilHtmlOrIntegrationPoint(p2){for(;p2.treeAdapter.getNamespaceURI(p2.openElements.current)!==NS.HTML&&p2.openElements.currentTagId!==void 0&&!p2._isIntegrationPoint(p2.openElements.currentTagId,p2.openElements.current);)p2.openElements.pop()}__name(popUntilHtmlOrIntegrationPoint,"popUntilHtmlOrIntegrationPoint");function startTagInForeignContent(p2,token){if(causesExit(token))popUntilHtmlOrIntegrationPoint(p2),p2._startTagOutsideForeignContent(token);else{const current=p2._getAdjustedCurrentElement(),currentNs=p2.treeAdapter.getNamespaceURI(current);currentNs===NS.MATHML?adjustTokenMathMLAttrs(token):currentNs===NS.SVG&&(adjustTokenSVGTagName(token),adjustTokenSVGAttrs(token)),adjustTokenXMLAttrs(token),token.selfClosing?p2._appendElement(token,currentNs):p2._insertElement(token,currentNs),token.ackSelfClosing=!0}}__name(startTagInForeignContent,"startTagInForeignContent");function endTagInForeignContent(p2,token){if(token.tagID===TAG_ID.P||token.tagID===TAG_ID.BR){popUntilHtmlOrIntegrationPoint(p2),p2._endTagOutsideForeignContent(token);return}for(let i2=p2.openElements.stackTop;i2>0;i2--){const element2=p2.openElements.items[i2];if(p2.treeAdapter.getNamespaceURI(element2)===NS.HTML){p2._endTagOutsideForeignContent(token);break}const tagName=p2.treeAdapter.getTagName(element2);if(tagName.toLowerCase()===token.tagName){token.tagName=tagName,p2.openElements.shortenToLength(i2);break}}}__name(endTagInForeignContent,"endTagInForeignContent");TAG_NAMES.AREA,TAG_NAMES.BASE,TAG_NAMES.BASEFONT,TAG_NAMES.BGSOUND,TAG_NAMES.BR,TAG_NAMES.COL,TAG_NAMES.EMBED,TAG_NAMES.FRAME,TAG_NAMES.HR,TAG_NAMES.IMG,TAG_NAMES.INPUT,TAG_NAMES.KEYGEN,TAG_NAMES.LINK,TAG_NAMES.META,TAG_NAMES.PARAM,TAG_NAMES.SOURCE,TAG_NAMES.TRACK,TAG_NAMES.WBR;const gfmTagfilterExpression=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,knownMdxNames=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),parseOptions={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function raw(tree,options){const document2=documentMode(tree),one2=zwitch("type",{handlers:{root:root$1,element:element$1,text:text$1,comment:comment$1,doctype:doctype$1,raw:handleRaw},unknown}),state={parser:document2?new Parser(parseOptions):Parser.getFragmentParser(void 0,parseOptions),handle(node2){one2(node2,state)},stitches:!1,options:options||{}};one2(tree,state),resetTokenizer(state,pointStart());const p5=document2?state.parser.document:state.parser.getFragment(),result=fromParse5(p5,{file:state.options.file});return state.stitches&&visit(result,"comment",function(node2,index2,parent){const stitch2=node2;if(stitch2.value.stitch&&parent&&index2!==void 0){const siblings=parent.children;return siblings[index2]=stitch2.value.stitch,index2}}),result.type==="root"&&result.children.length===1&&result.children[0].type===tree.type?result.children[0]:result}__name(raw,"raw");function all(nodes,state){let index2=-1;if(nodes)for(;++index24&&(state.parser.tokenizer.state=0);const token={type:TokenType.CHARACTER,chars:node2.value,location:createParse5Location(node2)};resetTokenizer(state,pointStart(node2)),state.parser.currentToken=token,state.parser._processToken(state.parser.currentToken)}__name(text$1,"text$1");function doctype$1(node2,state){const token={type:TokenType.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:createParse5Location(node2)};resetTokenizer(state,pointStart(node2)),state.parser.currentToken=token,state.parser._processToken(state.parser.currentToken)}__name(doctype$1,"doctype$1");function stitch(node2,state){state.stitches=!0;const clone2=cloneWithoutChildren(node2);if("children"in node2&&"children"in clone2){const fakeRoot=raw({type:"root",children:node2.children},state.options);clone2.children=fakeRoot.children}comment$1({type:"comment",value:{stitch:clone2}},state)}__name(stitch,"stitch");function comment$1(node2,state){const data=node2.value,token={type:TokenType.COMMENT,data,location:createParse5Location(node2)};resetTokenizer(state,pointStart(node2)),state.parser.currentToken=token,state.parser._processToken(state.parser.currentToken)}__name(comment$1,"comment$1");function handleRaw(node2,state){if(state.parser.tokenizer.preprocessor.html="",state.parser.tokenizer.preprocessor.pos=-1,state.parser.tokenizer.preprocessor.lastGapPos=-2,state.parser.tokenizer.preprocessor.gapStack=[],state.parser.tokenizer.preprocessor.skipNextNewLine=!1,state.parser.tokenizer.preprocessor.lastChunkWritten=!1,state.parser.tokenizer.preprocessor.endOfChunkHit=!1,state.parser.tokenizer.preprocessor.isEol=!1,setPoint(state,pointStart(node2)),state.parser.tokenizer.write(state.options.tagfilter?node2.value.replace(gfmTagfilterExpression,"<$1$2"):node2.value,!1),state.parser.tokenizer._runParsingLoop(),state.parser.tokenizer.state===72||state.parser.tokenizer.state===78){state.parser.tokenizer.preprocessor.lastChunkWritten=!0;const cp=state.parser.tokenizer._consume();state.parser.tokenizer._callState(cp)}}__name(handleRaw,"handleRaw");function unknown(node_,state){const node2=node_;if(state.options.passThrough&&state.options.passThrough.includes(node2.type))stitch(node2,state);else{let extra="";throw knownMdxNames.has(node2.type)&&(extra=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+node2.type+"` node"+extra)}}__name(unknown,"unknown");function resetTokenizer(state,point2){setPoint(state,point2);const token=state.parser.tokenizer.currentCharacterToken;token&&token.location&&(token.location.endLine=state.parser.tokenizer.preprocessor.line,token.location.endCol=state.parser.tokenizer.preprocessor.col+1,token.location.endOffset=state.parser.tokenizer.preprocessor.offset+1,state.parser.currentToken=token,state.parser._processToken(state.parser.currentToken)),state.parser.tokenizer.paused=!1,state.parser.tokenizer.inLoop=!1,state.parser.tokenizer.active=!1,state.parser.tokenizer.returnState=TokenizerMode.DATA,state.parser.tokenizer.charRefCode=-1,state.parser.tokenizer.consumedAfterSnapshot=-1,state.parser.tokenizer.currentLocation=null,state.parser.tokenizer.currentCharacterToken=null,state.parser.tokenizer.currentToken=null,state.parser.tokenizer.currentAttr={name:"",value:""}}__name(resetTokenizer,"resetTokenizer");function setPoint(state,point2){if(point2&&point2.offset!==void 0){const location2={startLine:point2.line,startCol:point2.column,startOffset:point2.offset,endLine:-1,endCol:-1,endOffset:-1};state.parser.tokenizer.preprocessor.lineStartPos=-point2.column+1,state.parser.tokenizer.preprocessor.droppedBufferSize=point2.offset,state.parser.tokenizer.preprocessor.line=point2.line,state.parser.tokenizer.currentLocation=location2}}__name(setPoint,"setPoint");function startTag(node2,state){const tagName=node2.tagName.toLowerCase();if(state.parser.tokenizer.state===TokenizerMode.PLAINTEXT)return;resetTokenizer(state,pointStart(node2));const current=state.parser.openElements.current;let ns="namespaceURI"in current?current.namespaceURI:webNamespaces.html;ns===webNamespaces.html&&tagName==="svg"&&(ns=webNamespaces.svg);const result=toParse5({...node2,children:[]},{space:ns===webNamespaces.svg?"svg":"html"}),tag={type:TokenType.START_TAG,tagName,tagID:getTagID(tagName),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in result?result.attrs:[],location:createParse5Location(node2)};state.parser.currentToken=tag,state.parser._processToken(state.parser.currentToken),state.parser.tokenizer.lastStartTagName=tagName}__name(startTag,"startTag");function endTag(node2,state){const tagName=node2.tagName.toLowerCase();if(!state.parser.tokenizer.inForeignNode&&htmlVoidElements.includes(tagName)||state.parser.tokenizer.state===TokenizerMode.PLAINTEXT)return;resetTokenizer(state,pointEnd(node2));const tag={type:TokenType.END_TAG,tagName,tagID:getTagID(tagName),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:createParse5Location(node2)};state.parser.currentToken=tag,state.parser._processToken(state.parser.currentToken),tagName===state.parser.tokenizer.lastStartTagName&&(state.parser.tokenizer.state===TokenizerMode.RCDATA||state.parser.tokenizer.state===TokenizerMode.RAWTEXT||state.parser.tokenizer.state===TokenizerMode.SCRIPT_DATA)&&(state.parser.tokenizer.state=TokenizerMode.DATA)}__name(endTag,"endTag");function documentMode(node2){const head=node2.type==="root"?node2.children[0]:node2;return!!(head&&(head.type==="doctype"||head.type==="element"&&head.tagName.toLowerCase()==="html"))}__name(documentMode,"documentMode");function createParse5Location(node2){const start2=pointStart(node2)||{line:void 0,column:void 0,offset:void 0},end=pointEnd(node2)||{line:void 0,column:void 0,offset:void 0};return{startLine:start2.line,startCol:start2.column,startOffset:start2.offset,endLine:end.line,endCol:end.column,endOffset:end.offset}}__name(createParse5Location,"createParse5Location");function cloneWithoutChildren(node2){return"children"in node2?structuredClone$1({...node2,children:[]}):structuredClone$1(node2)}__name(cloneWithoutChildren,"cloneWithoutChildren");function rehypeRaw(options){return function(tree,file){return raw(tree,{...options,file})}}__name(rehypeRaw,"rehypeRaw");const aria=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],defaultSchema={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...aria,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...aria],h2:[["className","sr-only"]],img:[...aria,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...aria,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...aria],table:[...aria],ul:[...aria,["className","contains-task-list"]],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","colSpan","color","cols","compact","coords","dateTime","dir","encType","frame","hSpace","headers","height","hrefLang","htmlFor","id","isMap","itemProp","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rev","rowSpan","rows","rules","scope","selected","shape","size","span","start","summary","tabIndex","title","useMap","vAlign","value","width"]},clobber:["ariaDescribedBy","ariaLabelledBy","id","name"],clobberPrefix:"user-content-",protocols:{cite:["http","https"],href:["http","https","irc","ircs","mailto","xmpp"],longDesc:["http","https"],src:["http","https"]},required:{input:{disabled:!0,type:"checkbox"}},strip:["script"],tagNames:["a","b","blockquote","br","code","dd","del","details","div","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","li","ol","p","picture","pre","q","rp","rt","ruby","s","samp","section","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","tr","tt","ul","var"]},own={}.hasOwnProperty;function sanitize(node2,options){let result={type:"root",children:[]};const state={schema:options?{...defaultSchema,...options}:defaultSchema,stack:[]},replace2=transform(state,node2);return replace2&&(Array.isArray(replace2)?replace2.length===1?result=replace2[0]:result.children=replace2:result=replace2),result}__name(sanitize,"sanitize");function transform(state,node2){if(node2&&typeof node2=="object"){const unsafe=node2;switch(typeof unsafe.type=="string"?unsafe.type:""){case"comment":return comment(state,unsafe);case"doctype":return doctype(state,unsafe);case"element":return element(state,unsafe);case"root":return root(state,unsafe);case"text":return text(state,unsafe)}}}__name(transform,"transform");function comment(state,unsafe){if(state.schema.allowComments){const result=typeof unsafe.value=="string"?unsafe.value:"",index2=result.indexOf("-->"),node2={type:"comment",value:index2<0?result:result.slice(0,index2)};return patch(node2,unsafe),node2}}__name(comment,"comment");function doctype(state,unsafe){if(state.schema.allowDoctypes){const node2={type:"doctype"};return patch(node2,unsafe),node2}}__name(doctype,"doctype");function element(state,unsafe){const name2=typeof unsafe.tagName=="string"?unsafe.tagName:"";state.stack.push(name2);const content2=children(state,unsafe.children),properties_=properties(state,unsafe.properties);state.stack.pop();let safeElement=!1;if(name2&&name2!=="*"&&(!state.schema.tagNames||state.schema.tagNames.includes(name2))&&(safeElement=!0,state.schema.ancestors&&own.call(state.schema.ancestors,name2))){const ancestors=state.schema.ancestors[name2];let index2=-1;for(safeElement=!1;++index21){let ok2=!1,index2=0;for(;++index2-1&&colon>slash||questionMark>-1&&colon>questionMark||numberSign>-1&&colon>numberSign)return!0;let index2=-1;for(;++index24&&key.slice(0,4).toLowerCase()==="data")return dataDefault}__name(findDefinition,"findDefinition");function rehypeSanitize(options){return function(tree){return sanitize(tree,options)}}__name(rehypeSanitize,"rehypeSanitize");const Input=reactExports.forwardRef(({className,type,...props},ref)=>jsxRuntimeExports.jsx("input",{type,className:cn$2("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",className),ref,...props}));Input.displayName="Input";const statuses=[{value:"Passed",label:"Passed",icon:CheckCircledIcon,variant:"success"},{value:"Failed",label:"Failed",icon:CrossCircledIcon,variant:"destructive"},{value:"Error",label:"Error",icon:CrossCircledIcon,variant:"destructive"},{value:"Investigate",label:"Investigate",icon:QuestionMarkCircledIcon,variant:"warning"},{value:"Skipped",label:"Skipped",icon:StopwatchIcon,variant:"secondary"},{value:"Planned",label:"Planned",icon:StopwatchIcon,variant:"secondary"}],impacts=[{label:"Critical",value:"Critical",icon:ExclamationTriangleIcon},{label:"High",value:"High",icon:ArrowUpIcon},{label:"Medium",value:"Medium",icon:ArrowRightIcon},{label:"Low",value:"Low",icon:ArrowDownIcon},{label:"Unranked",value:"Unranked",icon:MinusIcon}],badgeVariants=cva("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground",warning:"border-transparent bg-amber-100 text-amber-800 hover:bg-amber-200 dark:bg-amber-900 dark:text-amber-200",success:"border-transparent bg-green-600 text-white hover:bg-green-700 dark:bg-green-700 dark:text-green-100"}},defaultVariants:{variant:"default"}});function Badge({className,variant,...props}){return jsxRuntimeExports.jsx("div",{className:cn$2(badgeVariants({variant}),className),...props})}__name(Badge,"Badge");function StatusIcon({Item:Item3}){const status=statuses.find(status2=>status2.value===Item3.TestStatus);return status?jsxRuntimeExports.jsx("div",{className:"flex items-center",children:jsxRuntimeExports.jsx(Badge,{variant:status.variant,children:jsxRuntimeExports.jsx("span",{children:status.label})})}):null}__name(StatusIcon,"StatusIcon");function DataTable({columns:columns2,data,pillar}){const[sorting,setSorting]=reactExports.useState([{id:"TestRisk",desc:!1},{id:"TestStatus",desc:!1}]),[columnFilters,setColumnFilters]=reactExports.useState([]),[globalFilter,setGlobalFilter]=reactExports.useState(""),[selectedSfiPillars,setSelectedSfiPillars]=reactExports.useState([]),[selectedRisks,setSelectedRisks]=reactExports.useState([]),[selectedStatuses,setSelectedStatuses]=reactExports.useState([]),[columnVisibility,setColumnVisibility]=reactExports.useState({TestImpact:!1,TestImplementationCost:!1,TestId:!1,TestSfiPillar:!1,TestMinimumLicense:!1,TestCategory:pillar==="Devices"}),[rowSelection,setRowSelection]=reactExports.useState({}),pillarFilteredData=reactExports.useMemo(()=>pillar?data.filter(item=>item.TestPillar===pillar):data,[data,pillar]);reactExports.useEffect(()=>{setSelectedRisks(pillar==="Infrastructure"?["High"]:[])},[pillar]);const filteredData=reactExports.useMemo(()=>{let result=pillarFilteredData;return selectedSfiPillars.length>0&&(result=result.filter(item=>item.TestSfiPillar&&selectedSfiPillars.includes(item.TestSfiPillar))),selectedRisks.length>0&&(result=result.filter(item=>item.TestRisk&&selectedRisks.includes(item.TestRisk))),selectedStatuses.length>0?result=result.filter(item=>item.TestStatus&&selectedStatuses.includes(item.TestStatus)):result=result.filter(item=>item.TestStatus!=="Planned"),result},[pillarFilteredData,selectedSfiPillars,selectedRisks,selectedStatuses]),uniqueSfiPillars=reactExports.useMemo(()=>{const pillars=pillarFilteredData.map(item=>item.TestSfiPillar).filter(pillar2=>pillar2!=null);return Array.from(new Set(pillars)).sort()},[pillarFilteredData]),uniqueRisks=reactExports.useMemo(()=>{const risks=pillarFilteredData.map(item=>item.TestRisk).filter(risk=>risk!=null),uniqueRiskSet=Array.from(new Set(risks)),riskOrder=["Critical","High","Medium","Low","Unranked"];return uniqueRiskSet.sort((a2,b2)=>{const indexA=riskOrder.indexOf(a2),indexB=riskOrder.indexOf(b2);return indexA!==-1&&indexB!==-1?indexA-indexB:indexA!==-1?-1:indexB!==-1?1:a2.localeCompare(b2)})},[pillarFilteredData]),uniqueStatuses=reactExports.useMemo(()=>{const statuses2=pillarFilteredData.map(item=>item.TestStatus).filter(status=>status!=null),uniqueStatusSet=Array.from(new Set(statuses2)),statusOrder=["Passed","Failed","Planned"];return uniqueStatusSet.sort((a2,b2)=>{const indexA=statusOrder.indexOf(a2),indexB=statusOrder.indexOf(b2);return indexA!==-1&&indexB!==-1?indexA-indexB:indexA!==-1?-1:indexB!==-1?1:a2.localeCompare(b2)})},[pillarFilteredData]),getSfiPillarIcon=__name(pillar2=>pillar2.includes("Monitor and detect")?Eye:pillar2.includes("Protect engineering")?Wrench:pillar2.includes("Protect identities")?Lock:pillar2.includes("Protect tenants")?Building:pillar2.includes("Accelerate response")?Zap:Shield,"getSfiPillarIcon"),table2=useReactTable({data:filteredData,columns:columns2,enableRowSelection:!0,getCoreRowModel:getCoreRowModel(),onSortingChange:setSorting,getSortedRowModel:getSortedRowModel(),onGlobalFilterChange:setGlobalFilter,onColumnFiltersChange:setColumnFilters,getFilteredRowModel:getFilteredRowModel(),onColumnVisibilityChange:setColumnVisibility,onRowSelectionChange:__name(stateUpdater=>{setRowSelection({}),setRowSelection(stateUpdater)},"onRowSelectionChange"),state:{sorting,columnFilters,globalFilter,columnVisibility,rowSelection}}),[sheetOpen,setSheetOpen]=reactExports.useState(!1),[selectedRow,setSelectedRow]=reactExports.useState(null),mdRehypePlugins=selectedRow?.TestPillar==="Infrastructure"?[rehypeRaw,rehypeSanitize]:[];return jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center py-4 justify-between",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-4",children:[jsxRuntimeExports.jsx(Input,{placeholder:"Search by name...",value:globalFilter??"",onChange:__name(e3=>table2.setGlobalFilter(String(e3.target.value)),"onChange"),className:"max-w-sm"}),jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-1",children:[jsxRuntimeExports.jsx("span",{className:"text-xs font-medium text-muted-foreground mr-1",children:"Risk:"}),uniqueRisks.map(risk=>{const isSelected=selectedRisks.includes(risk),riskCount=data.filter(item=>item.TestRisk===risk).length;return jsxRuntimeExports.jsx(Button,{variant:isSelected?"default":"outline",size:"sm",onClick:__name(()=>{setSelectedRisks(isSelected?prev=>prev.filter(r2=>r2!==risk):prev=>[...prev,risk])},"onClick"),className:`text-xs h-6 px-3 py-1 rounded-full ${isSelected?"bg-purple-600 hover:bg-purple-700 text-white":"hover:bg-purple-50 hover:text-purple-700 hover:border-purple-300 dark:hover:bg-purple-950 dark:hover:text-purple-300"}`,title:`${risk} (${riskCount} tests)`,children:risk},risk)})]}),jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-1",children:[jsxRuntimeExports.jsx("span",{className:"text-xs font-medium text-muted-foreground mr-1",children:"Status:"}),uniqueStatuses.map(status=>{const isSelected=selectedStatuses.includes(status),statusCount=data.filter(item=>item.TestStatus===status).length,getStatusColors=__name((status2,isSelected2)=>status2==="Passed"?isSelected2?"bg-green-600 hover:bg-green-700 text-white":"hover:bg-green-50 hover:text-green-700 hover:border-green-300 dark:hover:bg-green-950 dark:hover:text-green-300":status2==="Failed"?isSelected2?"bg-red-600 hover:bg-red-700 text-white":"hover:bg-red-50 hover:text-red-700 hover:border-red-300 dark:hover:bg-red-950 dark:hover:text-red-300":isSelected2?"bg-gray-600 hover:bg-gray-700 text-white":"hover:bg-gray-50 hover:text-gray-700 hover:border-gray-300 dark:hover:bg-gray-950 dark:hover:text-gray-300","getStatusColors");return jsxRuntimeExports.jsx(Button,{variant:isSelected?"default":"outline",size:"sm",onClick:__name(()=>{setSelectedStatuses(isSelected?prev=>prev.filter(s2=>s2!==status):prev=>[...prev,status])},"onClick"),className:`text-xs h-6 px-3 py-1 rounded-full ${getStatusColors(status,isSelected)}`,title:`${status} (${statusCount} tests)`,children:status},status)})]})]}),jsxRuntimeExports.jsx("div",{className:"flex items-center gap-4",children:jsxRuntimeExports.jsxs(DropdownMenu,{children:[jsxRuntimeExports.jsx(DropdownMenuTrigger,{asChild:!0,children:jsxRuntimeExports.jsx(Button,{variant:"outline",size:"sm",children:jsxRuntimeExports.jsx(Columns2,{className:"h-4 w-4"})})}),jsxRuntimeExports.jsx(DropdownMenuContent,{align:"end",children:table2.getAllColumns().filter(column=>column.getCanHide()).filter(column=>pillar==="Infrastructure"?!["TestImpact","TestImplementationCost","TestMinimumLicense"].includes(column.id):!0).map(column=>jsxRuntimeExports.jsx(DropdownMenuCheckboxItem,{className:"capitalize",checked:column.getIsVisible(),onCheckedChange:__name(value2=>column.toggleVisibility(!!value2),"onCheckedChange"),children:column.columnDef.meta?.label??column.id},column.id))})]})})]}),jsxRuntimeExports.jsxs("div",{className:"mb-4",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between mb-3",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx("span",{className:"text-sm font-medium",children:"Filter by SFI Pillar:"}),selectedSfiPillars.length>0&&jsxRuntimeExports.jsxs(Button,{variant:"ghost",size:"sm",onClick:__name(()=>setSelectedSfiPillars([]),"onClick"),className:"h-6 px-2 text-xs text-muted-foreground hover:text-foreground",children:["Clear All (",selectedSfiPillars.length,")"]})]}),jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-4",children:[(selectedSfiPillars.length>0||selectedRisks.length>0||selectedStatuses.length>0)&&jsxRuntimeExports.jsx(Button,{variant:"ghost",size:"sm",onClick:__name(()=>{setSelectedSfiPillars([]),setSelectedRisks([]),setSelectedStatuses([])},"onClick"),className:"h-6 px-2 text-xs text-muted-foreground hover:text-foreground",children:"Clear All Filters"}),jsxRuntimeExports.jsxs("div",{className:"text-xs text-muted-foreground",children:["Showing ",filteredData.length," of ",pillarFilteredData.length," tests"]})]})]}),jsxRuntimeExports.jsx("div",{className:"flex flex-wrap gap-2",children:uniqueSfiPillars.map(pillar2=>{const isSelected=selectedSfiPillars.includes(pillar2),pillarCount=data.filter(item=>item.TestSfiPillar===pillar2).length,PillarIcon=getSfiPillarIcon(pillar2);return jsxRuntimeExports.jsxs(Button,{variant:isSelected?"default":"outline",size:"sm",onClick:__name(()=>{setSelectedSfiPillars(isSelected?prev=>prev.filter(p2=>p2!==pillar2):prev=>[...prev,pillar2])},"onClick"),className:`text-xs max-w-96 h-auto py-1 px-4 rounded-full ${isSelected?"bg-blue-600 hover:bg-blue-700 text-white":"hover:bg-blue-50 hover:text-blue-700 hover:border-blue-300 dark:hover:bg-blue-950 dark:hover:text-blue-300"}`,title:`${pillar2} (${pillarCount} tests)`,children:[jsxRuntimeExports.jsx(PillarIcon,{className:"mr-2 h-3 w-3 flex-shrink-0"}),jsxRuntimeExports.jsx("span",{className:"whitespace-normal text-left leading-tight",children:pillar2})]},pillar2)})})]}),jsxRuntimeExports.jsx("div",{className:"rounded-md border",children:jsxRuntimeExports.jsxs(Table,{children:[jsxRuntimeExports.jsx(TableHeader,{children:table2.getHeaderGroups().map(headerGroup=>jsxRuntimeExports.jsx(TableRow,{children:headerGroup.headers.map(header=>jsxRuntimeExports.jsx(TableHead,{children:header.isPlaceholder?null:flexRender(header.column.columnDef.header,header.getContext())},header.id))},headerGroup.id))}),jsxRuntimeExports.jsx(TableBody,{children:table2.getRowModel().rows?.length?table2.getRowModel().rows.map(row=>jsxRuntimeExports.jsx(TableRow,{className:"cursor-pointer","data-state":row.getIsSelected()&&"selected",onClick:__name(()=>{setSelectedRow(row.original),setSheetOpen(!0)},"onClick"),children:row.getVisibleCells().map(cell=>jsxRuntimeExports.jsx(TableCell,{children:flexRender(cell.column.columnDef.cell,cell.getContext())},cell.id))},row.id)):jsxRuntimeExports.jsx(TableRow,{children:jsxRuntimeExports.jsx(TableCell,{colSpan:columns2.length,className:"h-24 text-center",children:"No results."})})})]})}),jsxRuntimeExports.jsx(Sheet,{open:sheetOpen,onOpenChange:setSheetOpen,children:jsxRuntimeExports.jsxs(SheetContent,{side:"right",className:"md:min-w-[700px] lg:min-w-[900px] overflow-y-auto",allowMaximize:!0,children:[jsxRuntimeExports.jsx(SheetHeader,{children:jsxRuntimeExports.jsx(SheetTitle,{className:"text-2xl text-left",children:selectedRow?.TestTitle})}),jsxRuntimeExports.jsx("div",{className:"grid pt-10 gap-6",children:jsxRuntimeExports.jsx(Card,{children:jsxRuntimeExports.jsx(CardHeader,{children:jsxRuntimeExports.jsxs("div",{className:`mt-2 text-sm ${selectedRow?.TestPillar==="Infrastructure"?"flex flex-col gap-y-2":"grid grid-cols-3 gap-y-2"}`,children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx(TriangleAlert,{className:"h-4 w-4 text-foreground"}),jsxRuntimeExports.jsx("span",{className:"font-semibold",children:"Risk:"}),jsxRuntimeExports.jsx("span",{children:selectedRow?.TestRisk??"N/A"})]}),selectedRow?.TestPillar!=="Infrastructure"&&jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx(Users,{className:"h-4 w-4 text-foreground"}),jsxRuntimeExports.jsx("span",{className:"font-semibold",children:"User Impact:"}),jsxRuntimeExports.jsx("span",{children:selectedRow?.TestImpact??"N/A"})]}),selectedRow?.TestPillar!=="Infrastructure"&&jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx(Settings,{className:"h-4 w-4 text-foreground"}),jsxRuntimeExports.jsx("span",{className:"font-semibold",children:"Implementation Effort:"}),jsxRuntimeExports.jsx("span",{children:selectedRow?.TestImplementationCost??"N/A"})]}),jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx(Hash,{className:"h-4 w-4 text-foreground"}),jsxRuntimeExports.jsx("span",{className:"font-semibold",children:"Test ID:"}),jsxRuntimeExports.jsx("span",{children:selectedRow?.TestId??"N/A"})]}),selectedRow?.TestPillar!=="Infrastructure"&&jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx(BadgeCheck,{className:"h-4 w-4 text-foreground"}),jsxRuntimeExports.jsx("span",{className:"font-semibold",children:"License:"}),jsxRuntimeExports.jsx("div",{className:"flex items-center gap-1 flex-wrap",children:selectedRow?.TestMinimumLicense&&Array.isArray(selectedRow.TestMinimumLicense)?selectedRow.TestMinimumLicense.map((license,index2)=>jsxRuntimeExports.jsx("span",{className:"px-2 py-0.5 text-xs font-medium bg-purple-100 text-purple-800 dark:bg-purple-900 dark:text-purple-200 rounded-md",children:license},index2)):jsxRuntimeExports.jsx("span",{children:selectedRow?.TestMinimumLicense??"N/A"})})]})]})})})}),jsxRuntimeExports.jsxs("div",{className:"grid pt-10 gap-6",children:[jsxRuntimeExports.jsxs(Card,{children:[jsxRuntimeExports.jsx(CardHeader,{children:jsxRuntimeExports.jsx(CardTitle,{children:jsxRuntimeExports.jsxs("div",{className:"flex",children:[jsxRuntimeExports.jsx("span",{className:"pr-3",children:" Test result → "}),jsxRuntimeExports.jsx(StatusIcon,{Item:selectedRow})]})})}),jsxRuntimeExports.jsx(CardContent,{children:jsxRuntimeExports.jsx(Markdown,{className:"prose max-w-fit dark:prose-invert",remarkPlugins:[remarkGfm],rehypePlugins:mdRehypePlugins,children:selectedRow?.TestResult})})]}),jsxRuntimeExports.jsxs(Card,{children:[jsxRuntimeExports.jsx(CardHeader,{children:jsxRuntimeExports.jsx(CardTitle,{children:"What was checked"})}),jsxRuntimeExports.jsx(CardContent,{children:jsxRuntimeExports.jsx(Markdown,{className:"prose max-w-fit dark:prose-invert",remarkPlugins:[remarkGfm],rehypePlugins:mdRehypePlugins,children:selectedRow?.TestDescription})})]})]})]})})]})}__name(DataTable,"DataTable");const RISK_ORDER={Critical:0,High:1,Medium:2,Low:3,Unranked:4},STATUS_ORDER={Failed:0,Passed:1,Skipped:2,Planned:3},columns=[{accessorKey:"TestId",header:__name(({column})=>jsxRuntimeExports.jsxs(Button,{variant:"ghost",onClick:__name(()=>column.toggleSorting(column.getIsSorted()==="asc"),"onClick"),children:["ID",jsxRuntimeExports.jsx(ArrowUpDown,{className:"ml-2 h-4 w-4"})]}),"header"),cell:__name(({row})=>{const id=row.getValue("TestId"),display=id&&id.length>5?id.slice(-5):id;return jsxRuntimeExports.jsx("span",{title:id,children:display})},"cell"),meta:{label:"ID"}},{accessorKey:"TestTitle",meta:{label:"Name"},header:__name(({column})=>jsxRuntimeExports.jsxs(Button,{variant:"ghost",onClick:__name(()=>column.toggleSorting(column.getIsSorted()==="asc"),"onClick"),children:["Name",jsxRuntimeExports.jsx(ArrowUpDown,{className:"ml-2 h-4 w-4"})]}),"header")},{accessorKey:"TestCategory",meta:{label:"Category"},header:__name(({column})=>jsxRuntimeExports.jsxs(Button,{variant:"ghost",onClick:__name(()=>column.toggleSorting(column.getIsSorted()==="asc"),"onClick"),children:["Category",jsxRuntimeExports.jsx(ArrowUpDown,{className:"ml-2 h-4 w-4"})]}),"header"),cell:__name(({row})=>{const category=row.getValue("TestCategory");return category?jsxRuntimeExports.jsx("div",{className:"flex items-center",children:jsxRuntimeExports.jsx("span",{children:category})}):jsxRuntimeExports.jsx("div",{className:"flex items-center",children:jsxRuntimeExports.jsx("span",{className:"text-muted-foreground",children:"N/A"})})},"cell")},{accessorKey:"TestSfiPillar",meta:{label:"SFI Pillar"},header:__name(({column})=>jsxRuntimeExports.jsxs(Button,{variant:"ghost",onClick:__name(()=>column.toggleSorting(column.getIsSorted()==="asc"),"onClick"),children:["SFI Pillar",jsxRuntimeExports.jsx(ArrowUpDown,{className:"ml-2 h-4 w-4"})]}),"header"),cell:__name(({row})=>{const sfiPillar=row.getValue("TestSfiPillar");return sfiPillar?jsxRuntimeExports.jsx("div",{className:"flex items-center",children:jsxRuntimeExports.jsx("span",{className:"px-2 py-1 text-xs font-medium bg-blue-100 text-blue-800 rounded-md",children:sfiPillar})}):jsxRuntimeExports.jsx("div",{className:"flex items-center",children:jsxRuntimeExports.jsx("span",{className:"text-muted-foreground",children:"N/A"})})},"cell")},{accessorKey:"TestMinimumLicense",meta:{label:"Minimum License"},header:__name(({column})=>jsxRuntimeExports.jsxs(Button,{variant:"ghost",onClick:__name(()=>column.toggleSorting(column.getIsSorted()==="asc"),"onClick"),children:["Min. License",jsxRuntimeExports.jsx(ArrowUpDown,{className:"ml-2 h-4 w-4"})]}),"header"),cell:__name(({row})=>{const licensesValue=row.getValue("TestMinimumLicense");if(!licensesValue)return jsxRuntimeExports.jsx("div",{className:"flex items-center",children:jsxRuntimeExports.jsx("span",{className:"text-muted-foreground",children:"N/A"})});const licenses=Array.isArray(licensesValue)?licensesValue:[licensesValue];return licenses.length===0?jsxRuntimeExports.jsx("div",{className:"flex items-center",children:jsxRuntimeExports.jsx("span",{className:"text-muted-foreground",children:"N/A"})}):jsxRuntimeExports.jsx("div",{className:"flex items-center gap-1 flex-wrap",children:licenses.map((license,index2)=>jsxRuntimeExports.jsx("span",{className:"px-2 py-1 text-xs font-medium bg-purple-100 text-purple-800 rounded-md",children:license},index2))})},"cell")},{accessorKey:"TestImpact",meta:{label:"User Impact"},header:__name(({column})=>jsxRuntimeExports.jsxs(Button,{variant:"ghost",onClick:__name(()=>column.toggleSorting(column.getIsSorted()==="asc"),"onClick"),children:["User Impact",jsxRuntimeExports.jsx(ArrowUpDown,{className:"ml-2 h-4 w-4"})]}),"header"),cell:__name(({row})=>{const impact=impacts.find(impact2=>impact2.value===row.getValue("TestImpact"));return impact?jsxRuntimeExports.jsx("div",{className:"flex items-center",children:jsxRuntimeExports.jsx("span",{children:impact.label})}):null},"cell")},{accessorKey:"TestImplementationCost",meta:{label:"Implementation Effort"},header:__name(({column})=>jsxRuntimeExports.jsxs(Button,{variant:"ghost",onClick:__name(()=>column.toggleSorting(column.getIsSorted()==="asc"),"onClick"),children:["Imp. Effort",jsxRuntimeExports.jsx(ArrowUpDown,{className:"ml-2 h-4 w-4"})]}),"header"),cell:__name(({row})=>{const impact=impacts.find(impact2=>impact2.value===row.getValue("TestImplementationCost"));return impact?jsxRuntimeExports.jsx("div",{className:"flex items-center",children:jsxRuntimeExports.jsx("span",{children:impact.label})}):null},"cell")},{accessorKey:"TestRisk",meta:{label:"Risk"},sortingFn:__name((rowA,rowB,columnId)=>{const a2=RISK_ORDER[rowA.getValue(columnId)]??Number.POSITIVE_INFINITY,b2=RISK_ORDER[rowB.getValue(columnId)]??Number.POSITIVE_INFINITY;return a2-b2},"sortingFn"),header:__name(({column})=>jsxRuntimeExports.jsxs(Button,{variant:"ghost",onClick:__name(()=>column.toggleSorting(column.getIsSorted()==="asc"),"onClick"),children:["Risk",jsxRuntimeExports.jsx(ArrowUpDown,{className:"ml-2 h-4 w-4"})]}),"header"),cell:__name(({row})=>{const impact=impacts.find(impact2=>impact2.value===row.getValue("TestRisk"));return impact?jsxRuntimeExports.jsxs("div",{className:"flex items-center",children:[impact.icon&&jsxRuntimeExports.jsx(impact.icon,{className:"mr-2 h-4 w-4 text-muted-foreground"}),jsxRuntimeExports.jsx("span",{children:impact.label})]}):null},"cell")},{accessorKey:"TestStatus",meta:{label:"Status"},sortingFn:__name((rowA,rowB,columnId)=>{const a2=STATUS_ORDER[rowA.getValue(columnId)]??3,b2=STATUS_ORDER[rowB.getValue(columnId)]??3;return a2-b2},"sortingFn"),header:__name(({column})=>jsxRuntimeExports.jsxs(Button,{variant:"ghost",onClick:__name(()=>column.toggleSorting(column.getIsSorted()==="asc"),"onClick"),children:["Status",jsxRuntimeExports.jsx(ArrowUpDown,{className:"ml-2 h-4 w-4"})]}),"header"),cell:__name(({row})=>jsxRuntimeExports.jsx(StatusIcon,{Item:row.original}),"cell")}];function Identity(){return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(PageHeader,{children:jsxRuntimeExports.jsx(PageHeaderHeading,{children:"Identity"})}),jsxRuntimeExports.jsxs(Card,{children:[jsxRuntimeExports.jsxs(CardHeader,{children:[jsxRuntimeExports.jsx(CardTitle,{className:"mb-3",children:"Assessment results"}),jsxRuntimeExports.jsxs(CardDescription,{children:["The results presented below are based on the security principles detailed in the"," ",jsxRuntimeExports.jsx("a",{href:"https://learn.microsoft.com/en-us/entra/fundamentals/configure-security",target:"_blank",rel:"noopener noreferrer",className:"text-primary font-medium underline underline-offset-4 hover:underline",children:"Configuring Microsoft Entra for increased security"})," ","guide."]})]}),jsxRuntimeExports.jsx(CardContent,{className:"gap-4 px-4 pb-4 pt-1",children:jsxRuntimeExports.jsx(DataTable,{columns,data:reportData.Tests,pillar:"Identity"})})]})]})}__name(Identity,"Identity");var TABS_NAME="Tabs",[createTabsContext]=createContextScope$1(TABS_NAME,[createRovingFocusGroupScope]),useRovingFocusGroupScope=createRovingFocusGroupScope(),[TabsProvider,useTabsContext]=createTabsContext(TABS_NAME),Tabs$1=reactExports.forwardRef((props,forwardedRef)=>{const{__scopeTabs,value:valueProp,onValueChange,defaultValue,orientation="horizontal",dir,activationMode="automatic",...tabsProps}=props,direction=useDirection(dir),[value2,setValue]=useControllableState({prop:valueProp,onChange:onValueChange,defaultProp:defaultValue??"",caller:TABS_NAME});return jsxRuntimeExports.jsx(TabsProvider,{scope:__scopeTabs,baseId:useId(),value:value2,onValueChange:setValue,orientation,dir:direction,activationMode,children:jsxRuntimeExports.jsx(Primitive$2.div,{dir:direction,"data-orientation":orientation,...tabsProps,ref:forwardedRef})})});Tabs$1.displayName=TABS_NAME;var TAB_LIST_NAME="TabsList",TabsList$1=reactExports.forwardRef((props,forwardedRef)=>{const{__scopeTabs,loop:loop2=!0,...listProps}=props,context=useTabsContext(TAB_LIST_NAME,__scopeTabs),rovingFocusGroupScope=useRovingFocusGroupScope(__scopeTabs);return jsxRuntimeExports.jsx(Root$4,{asChild:!0,...rovingFocusGroupScope,orientation:context.orientation,dir:context.dir,loop:loop2,children:jsxRuntimeExports.jsx(Primitive$2.div,{role:"tablist","aria-orientation":context.orientation,...listProps,ref:forwardedRef})})});TabsList$1.displayName=TAB_LIST_NAME;var TRIGGER_NAME="TabsTrigger",TabsTrigger$1=reactExports.forwardRef((props,forwardedRef)=>{const{__scopeTabs,value:value2,disabled=!1,...triggerProps}=props,context=useTabsContext(TRIGGER_NAME,__scopeTabs),rovingFocusGroupScope=useRovingFocusGroupScope(__scopeTabs),triggerId=makeTriggerId(context.baseId,value2),contentId=makeContentId(context.baseId,value2),isSelected=value2===context.value;return jsxRuntimeExports.jsx(Item$1,{asChild:!0,...rovingFocusGroupScope,focusable:!disabled,active:isSelected,children:jsxRuntimeExports.jsx(Primitive$2.button,{type:"button",role:"tab","aria-selected":isSelected,"aria-controls":contentId,"data-state":isSelected?"active":"inactive","data-disabled":disabled?"":void 0,disabled,id:triggerId,...triggerProps,ref:forwardedRef,onMouseDown:composeEventHandlers(props.onMouseDown,event=>{!disabled&&event.button===0&&event.ctrlKey===!1?context.onValueChange(value2):event.preventDefault()}),onKeyDown:composeEventHandlers(props.onKeyDown,event=>{[" ","Enter"].includes(event.key)&&context.onValueChange(value2)}),onFocus:composeEventHandlers(props.onFocus,()=>{const isAutomaticActivation=context.activationMode!=="manual";!isSelected&&!disabled&&isAutomaticActivation&&context.onValueChange(value2)})})})});TabsTrigger$1.displayName=TRIGGER_NAME;var CONTENT_NAME="TabsContent",TabsContent$1=reactExports.forwardRef((props,forwardedRef)=>{const{__scopeTabs,value:value2,forceMount,children:children2,...contentProps}=props,context=useTabsContext(CONTENT_NAME,__scopeTabs),triggerId=makeTriggerId(context.baseId,value2),contentId=makeContentId(context.baseId,value2),isSelected=value2===context.value,isMountAnimationPreventedRef=reactExports.useRef(isSelected);return reactExports.useEffect(()=>{const rAF=requestAnimationFrame(()=>isMountAnimationPreventedRef.current=!1);return()=>cancelAnimationFrame(rAF)},[]),jsxRuntimeExports.jsx(Presence,{present:forceMount||isSelected,children:__name(({present})=>jsxRuntimeExports.jsx(Primitive$2.div,{"data-state":isSelected?"active":"inactive","data-orientation":context.orientation,role:"tabpanel","aria-labelledby":triggerId,hidden:!present,id:contentId,tabIndex:0,...contentProps,ref:forwardedRef,style:{...props.style,animationDuration:isMountAnimationPreventedRef.current?"0s":void 0},children:present&&children2}),"children")})});TabsContent$1.displayName=CONTENT_NAME;function makeTriggerId(baseId,value2){return`${baseId}-trigger-${value2}`}__name(makeTriggerId,"makeTriggerId");function makeContentId(baseId,value2){return`${baseId}-content-${value2}`}__name(makeContentId,"makeContentId");var Root2=Tabs$1,List=TabsList$1,Trigger=TabsTrigger$1,Content=TabsContent$1;const Tabs=Root2,TabsList=reactExports.forwardRef(({className,...props},ref)=>jsxRuntimeExports.jsx(List,{ref,className:cn$2("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",className),...props}));TabsList.displayName=List.displayName;const TabsTrigger=reactExports.forwardRef(({className,...props},ref)=>jsxRuntimeExports.jsx(Trigger,{ref,className:cn$2("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",className),...props}));TabsTrigger.displayName=Trigger.displayName;const TabsContent=reactExports.forwardRef(({className,...props},ref)=>jsxRuntimeExports.jsx(Content,{ref,className:cn$2("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",className),...props}));TabsContent.displayName=Content.displayName;function DevicesConfig(){const enrollment=reportData.TenantInfo?.ConfigWindowsEnrollment,enrollmentRestrictions=reportData.TenantInfo?.ConfigDeviceEnrollmentRestriction,compliancePolicies=reportData.TenantInfo?.ConfigDeviceCompliancePolicies,appProtectionPolicies=reportData.TenantInfo?.ConfigDeviceAppProtectionPolicies;return jsxRuntimeExports.jsxs("div",{className:"p-4",children:[jsxRuntimeExports.jsx("h2",{className:"text-lg font-semibold mb-4",children:"Windows automatic enrollment"}),jsxRuntimeExports.jsx("p",{className:"text-sm text-gray-600 mb-4",children:"Configure Windows devices to enroll when they join or register with Azure Active Directory. We recommend setting this to all instead of selected groups and using enrollment restrictions to configure the intake of users."}),enrollment&&enrollment.length>0?jsxRuntimeExports.jsxs(Table,{children:[jsxRuntimeExports.jsx(TableHeader,{children:jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableHead,{children:"Type"}),jsxRuntimeExports.jsx(TableHead,{children:"Policy Name"}),jsxRuntimeExports.jsx(TableHead,{children:"Applies To"}),jsxRuntimeExports.jsx(TableHead,{children:"Groups"})]})}),jsxRuntimeExports.jsx(TableBody,{children:enrollment.map((row,idx)=>jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{children:row.Type}),jsxRuntimeExports.jsx(TableCell,{children:row.PolicyName}),jsxRuntimeExports.jsx(TableCell,{children:row.AppliesTo}),jsxRuntimeExports.jsx(TableCell,{children:row.Groups})]},idx))})]}):jsxRuntimeExports.jsx("p",{children:"No Windows enrollment configuration found."}),jsxRuntimeExports.jsx("h2",{className:"text-lg font-semibold mb-4 mt-8",children:"Enrollment device platform restrictions"}),jsxRuntimeExports.jsx("p",{className:"text-sm text-gray-600 mb-4",children:"Device enrollment restrictions let you restrict devices from enrolling in Intune based on certain device attributes. Device platform restrictions restrict devices based on device platform, version, manufacturer, or ownership type."}),enrollmentRestrictions&&enrollmentRestrictions.length>0?jsxRuntimeExports.jsxs(Table,{children:[jsxRuntimeExports.jsx(TableHeader,{children:jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableHead,{children:"Platform"}),jsxRuntimeExports.jsx(TableHead,{children:"Priority"}),jsxRuntimeExports.jsx(TableHead,{children:"Name"}),jsxRuntimeExports.jsx(TableHead,{children:"MDM"}),jsxRuntimeExports.jsx(TableHead,{children:"Min Ver"}),jsxRuntimeExports.jsx(TableHead,{children:"Max Ver"}),jsxRuntimeExports.jsx(TableHead,{children:"Personally owned"}),jsxRuntimeExports.jsx(TableHead,{children:"Blocked manuf."}),jsxRuntimeExports.jsx(TableHead,{children:"Scope"}),jsxRuntimeExports.jsx(TableHead,{children:"Assigned to"})]})}),jsxRuntimeExports.jsx(TableBody,{children:enrollmentRestrictions.map((row,idx)=>jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{children:row.Platform}),jsxRuntimeExports.jsx(TableCell,{children:row.Priority}),jsxRuntimeExports.jsx(TableCell,{children:row.Name}),jsxRuntimeExports.jsx(TableCell,{children:row.MDM}),jsxRuntimeExports.jsx(TableCell,{children:row.MinVer}),jsxRuntimeExports.jsx(TableCell,{children:row.MaxVer}),jsxRuntimeExports.jsx(TableCell,{children:row.PersonallyOwned}),jsxRuntimeExports.jsx(TableCell,{children:row.BlockedManufacturers}),jsxRuntimeExports.jsx(TableCell,{children:row.Scope}),jsxRuntimeExports.jsx(TableCell,{children:row.AssignedTo})]},idx))})]}):jsxRuntimeExports.jsx("p",{children:"No device enrollment restrictions found."}),jsxRuntimeExports.jsx("h2",{className:"text-lg font-semibold mb-4 mt-8",children:"Compliance policies"}),jsxRuntimeExports.jsx("p",{className:"text-sm text-gray-600 mb-4",children:"Device compliance policies define the rules and settings that devices must meet to be considered compliant. These policies help ensure that devices accessing organizational resources meet minimum security requirements."}),compliancePolicies&&compliancePolicies.length>0?jsxRuntimeExports.jsx("div",{className:"overflow-x-auto",children:jsxRuntimeExports.jsxs(Table,{children:[jsxRuntimeExports.jsx(TableHeader,{children:jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableHead,{className:"font-semibold",children:"Setting"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableHead,{className:"min-w-[150px]",children:policy.PolicyName},idx))]})}),jsxRuntimeExports.jsxs(TableBody,{children:[jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Platform"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.Platform},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Defender ATP"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.DefenderForEndPoint},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Min OS Version"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.MinOsVersion},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Max OS Version"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.MaxOsVersion},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Require Password"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.RequirePswd},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Min Password Length"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.MinPswdLength},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Password Type"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.PasswordType},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Password Expiry Days"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.PswdExpiryDays},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Previous Passwords Blocked"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.CountOfPreviousPswdToBlock},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Max Inactivity Min"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.MaxInactivityMin},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Require Encryption"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.RequireEncryption},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Rooted/Jailbroken"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.RootedJailbrokenDevices},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Max Threat Level"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.MaxDeviceThreatLevel},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Require Firewall"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.RequireFirewall},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Push Notification Days"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.ActionForNoncomplianceDaysPushNotification},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Send Email Days"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.ActionForNoncomplianceDaysSendEmail},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Remote Lock Days"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.ActionForNoncomplianceDaysRemoteLock},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Block Days"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.ActionForNoncomplianceDaysBlock},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Retire Days"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.ActionForNoncomplianceDaysRetire},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Scope"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.Scope},idx))]})]})]})}):jsxRuntimeExports.jsx("p",{children:"No device compliance policies found."}),jsxRuntimeExports.jsx("h2",{className:"text-lg font-semibold mb-4 mt-8",children:"App protection policies"}),jsxRuntimeExports.jsx("p",{className:"text-sm text-gray-600 mb-4",children:`App protection policies (APP) are rules that ensure an organization's data remains safe or contained in a managed app. A policy can be a rule that is enforced when the user attempts to access or move "corporate" data, or a set of actions that are prohibited or monitored when the user is inside the app. A managed app is an app that has app protection policies applied to it, and can be managed by Intune.`}),appProtectionPolicies&&appProtectionPolicies.length>0?jsxRuntimeExports.jsx("div",{className:"overflow-x-auto",children:jsxRuntimeExports.jsxs(Table,{children:[jsxRuntimeExports.jsx(TableHeader,{children:jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableHead,{className:"font-semibold",children:"Setting"}),appProtectionPolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableHead,{className:"min-w-[150px]",children:policy.Name},idx))]})}),jsxRuntimeExports.jsxs(TableBody,{children:[jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Platform"}),appProtectionPolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.Platform},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Public Apps"}),appProtectionPolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.AppsPublic},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Custom Apps"}),appProtectionPolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.AppsCustom},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Backup to Cloud"}),appProtectionPolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.BackupOrgDataToICloudOrGoogle},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Send Data to Other Apps"}),appProtectionPolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.SendOrgDataToOtherApps},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Apps to Exempt"}),appProtectionPolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.AppsToExempt},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Save Copies"}),appProtectionPolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.SaveCopiesOfOrgData},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Allow Save to Selected Services"}),appProtectionPolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.AllowUserToSaveCopiesToSelectedServices},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Transfer Telecom Data To"}),appProtectionPolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.DataProtectionTransferTelecommunicationDataTo},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Receive Data From Other Apps"}),appProtectionPolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.DataProtectionReceiveDataFromOtherApps},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Rooted/Jailbroken Devices"}),appProtectionPolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.ConditionalLaunchDeviceRootedJailbrokenDevices},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Scope"}),appProtectionPolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.Scope},idx))]})]})]})}):jsxRuntimeExports.jsx("p",{children:"No app protection policies found."})]})}__name(DevicesConfig,"DevicesConfig");function Devices(){return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(PageHeader,{children:jsxRuntimeExports.jsx(PageHeaderHeading,{children:"Devices"})}),jsxRuntimeExports.jsxs(Tabs,{defaultValue:"assessment",className:"w-full",children:[jsxRuntimeExports.jsxs(TabsList,{className:"grid w-full grid-cols-2",children:[jsxRuntimeExports.jsxs(TabsTrigger,{value:"assessment",className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx(ChartColumn,{className:"h-4 w-4"}),"Assessment results"]}),jsxRuntimeExports.jsxs(TabsTrigger,{value:"config",className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx(Settings,{className:"h-4 w-4"}),"Config"]})]}),jsxRuntimeExports.jsx(TabsContent,{value:"assessment",className:"space-y-4",children:jsxRuntimeExports.jsxs(Card,{children:[jsxRuntimeExports.jsxs(CardHeader,{children:[jsxRuntimeExports.jsx(CardTitle,{className:"mb-3",children:"Assessment results"}),jsxRuntimeExports.jsxs(CardDescription,{children:["The results presented below are based on the security principles detailed in the"," ",jsxRuntimeExports.jsx("a",{href:"https://learn.microsoft.com/intune/intune-service/protect/zero-trust-configure-security",target:"_blank",rel:"noopener noreferrer",className:"text-primary font-medium underline underline-offset-4 hover:underline",children:"Configuring Microsoft Intune for increased security"})," ","guide."]})]}),jsxRuntimeExports.jsx(CardContent,{className:"gap-4 px-4 pb-4 pt-1",children:jsxRuntimeExports.jsx(DataTable,{columns,data:reportData.Tests,pillar:"Devices"})})]})}),jsxRuntimeExports.jsx(TabsContent,{value:"config",className:"space-y-4",children:jsxRuntimeExports.jsxs(Card,{children:[jsxRuntimeExports.jsxs(CardHeader,{children:[jsxRuntimeExports.jsx(CardTitle,{className:"mb-3",children:"Device Configuration"}),jsxRuntimeExports.jsx(CardDescription,{children:"Device configuration settings and options."})]}),jsxRuntimeExports.jsx(CardContent,{className:"gap-4 px-4 pb-4 pt-1",children:jsxRuntimeExports.jsx(DevicesConfig,{})})]})})]})]})}__name(Devices,"Devices");function Apps(){return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(PageHeader,{children:jsxRuntimeExports.jsx(PageHeaderHeading,{children:"Apps"})}),jsxRuntimeExports.jsx(Card,{children:jsxRuntimeExports.jsxs(CardHeader,{children:[jsxRuntimeExports.jsx(CardTitle,{children:"Coming soon"}),jsxRuntimeExports.jsx(CardDescription,{children:"He that can have patience can have what he will. - Benjamin Franklin"})]})})]})}__name(Apps,"Apps");function Network(){return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(PageHeader,{children:jsxRuntimeExports.jsx(PageHeaderHeading,{children:"Network"})}),jsxRuntimeExports.jsxs(Card,{children:[jsxRuntimeExports.jsxs(CardHeader,{children:[jsxRuntimeExports.jsx(CardTitle,{className:"mb-3",children:"Assessment results"}),jsxRuntimeExports.jsxs(CardDescription,{children:["The results presented below are based on the security principles detailed in the"," ",jsxRuntimeExports.jsx("a",{href:"https://learn.microsoft.com/en-us/entra/fundamentals/configure-security",target:"_blank",rel:"noopener noreferrer",className:"text-primary font-medium underline underline-offset-4 hover:underline",children:"Configuring Microsoft Entra and Azure for increased security"})," ","guide."]})]}),jsxRuntimeExports.jsx(CardContent,{className:"gap-4 px-4 pb-4 pt-1",children:jsxRuntimeExports.jsx(DataTable,{columns,data:reportData.Tests,pillar:"Network"})})]})]})}__name(Network,"Network");function Infrastructure(){return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(PageHeader,{children:jsxRuntimeExports.jsx(PageHeaderHeading,{children:"Infrastructure"})}),jsxRuntimeExports.jsxs(Card,{children:[jsxRuntimeExports.jsxs(CardHeader,{children:[jsxRuntimeExports.jsx(CardTitle,{className:"mb-3",children:"Assessment results"}),jsxRuntimeExports.jsx(CardDescription,{children:"The results presented below are based on Zero Trust security principles for infrastructure."})]}),jsxRuntimeExports.jsx(CardContent,{className:"gap-4 px-4 pb-4 pt-1",children:jsxRuntimeExports.jsx(DataTable,{columns,data:reportData.Tests,pillar:"Infrastructure"})})]})]})}__name(Infrastructure,"Infrastructure");function Data(){return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(PageHeader,{children:jsxRuntimeExports.jsx(PageHeaderHeading,{children:"Data"})}),jsxRuntimeExports.jsxs(Card,{children:[jsxRuntimeExports.jsxs(CardHeader,{children:[jsxRuntimeExports.jsx(CardTitle,{className:"mb-3",children:"Assessment results"}),jsxRuntimeExports.jsxs(CardDescription,{children:["The results presented below are based on the security principles detailed in the"," ",jsxRuntimeExports.jsx("a",{href:"https://learn.microsoft.com/en-us/purview/configure-security",target:"_blank",rel:"noopener noreferrer",className:"text-primary font-medium underline underline-offset-4 hover:underline",children:"Configuring Microsoft Purview for increased security"})," ","guide."]})]}),jsxRuntimeExports.jsx(CardContent,{className:"gap-4 px-4 pb-4 pt-1",children:jsxRuntimeExports.jsx(DataTable,{columns,data:reportData.Tests,pillar:"Data"})})]})]})}__name(Data,"Data");function SecOps(){return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(PageHeader,{children:jsxRuntimeExports.jsx(PageHeaderHeading,{children:"Security Operations"})}),jsxRuntimeExports.jsxs(Card,{children:[jsxRuntimeExports.jsxs(CardHeader,{children:[jsxRuntimeExports.jsx(CardTitle,{className:"mb-3",children:"Assessment results"}),jsxRuntimeExports.jsx(CardDescription,{children:"The results presented below are based on Zero Trust security principles for security operations."})]}),jsxRuntimeExports.jsx(CardContent,{className:"gap-4 px-4 pb-4 pt-1",children:jsxRuntimeExports.jsx(DataTable,{columns,data:reportData.Tests,pillar:"SecOps"})})]})]})}__name(SecOps,"SecOps");function AI(){return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(PageHeader,{children:jsxRuntimeExports.jsx(PageHeaderHeading,{children:"AI"})}),jsxRuntimeExports.jsxs(Card,{children:[jsxRuntimeExports.jsxs(CardHeader,{children:[jsxRuntimeExports.jsx(CardTitle,{className:"mb-3",children:"Assessment results"}),jsxRuntimeExports.jsx(CardDescription,{children:"The results presented below are based on Zero Trust security principles for AI workloads."})]}),jsxRuntimeExports.jsx(CardContent,{className:"gap-4 px-4 pb-4 pt-1",children:jsxRuntimeExports.jsx(DataTable,{columns,data:reportData.Tests,pillar:"AI"})})]})]})}__name(AI,"AI");var define_global_default={basename:""};const router=createHashRouter([{path:"/",element:jsxRuntimeExports.jsx(Applayout,{}),children:[{path:"",element:jsxRuntimeExports.jsx(Dashboard,{})},{path:"identity",element:jsxRuntimeExports.jsx(Identity,{})},{path:"devices",element:jsxRuntimeExports.jsx(Devices,{})},{path:"apps",element:jsxRuntimeExports.jsx(Apps,{})},{path:"network",element:jsxRuntimeExports.jsx(Network,{})},{path:"infrastructure",element:jsxRuntimeExports.jsx(Infrastructure,{})},{path:"data",element:jsxRuntimeExports.jsx(Data,{})},{path:"secops",element:jsxRuntimeExports.jsx(SecOps,{})},{path:"ai",element:jsxRuntimeExports.jsx(AI,{})}]},{path:"*",element:jsxRuntimeExports.jsx(NoMatch,{})}],{basename:define_global_default.basename});function __insertCSS(code2){if(typeof document>"u")return;let head=document.head||document.getElementsByTagName("head")[0],style2=document.createElement("style");style2.type="text/css",head.appendChild(style2),style2.styleSheet?style2.styleSheet.cssText=code2:style2.appendChild(document.createTextNode(code2))}__name(__insertCSS,"__insertCSS");const getAsset=__name(type=>{switch(type){case"success":return SuccessIcon;case"info":return InfoIcon;case"warning":return WarningIcon;case"error":return ErrorIcon;default:return null}},"getAsset"),bars=Array(12).fill(0),Loader=__name(({visible,className})=>React.createElement("div",{className:["sonner-loading-wrapper",className].filter(Boolean).join(" "),"data-visible":visible},React.createElement("div",{className:"sonner-spinner"},bars.map((_2,i2)=>React.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${i2}`})))),"Loader"),SuccessIcon=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},React.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),WarningIcon=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},React.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),InfoIcon=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},React.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),ErrorIcon=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},React.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),CloseIcon=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},React.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),React.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),useIsDocumentHidden=__name(()=>{const[isDocumentHidden,setIsDocumentHidden]=React.useState(document.hidden);return React.useEffect(()=>{const callback=__name(()=>{setIsDocumentHidden(document.hidden)},"callback");return document.addEventListener("visibilitychange",callback),()=>window.removeEventListener("visibilitychange",callback)},[]),isDocumentHidden},"useIsDocumentHidden");let toastsCounter=1;const _Observer=class _Observer{constructor(){this.subscribe=subscriber=>(this.subscribers.push(subscriber),()=>{const index2=this.subscribers.indexOf(subscriber);this.subscribers.splice(index2,1)}),this.publish=data=>{this.subscribers.forEach(subscriber=>subscriber(data))},this.addToast=data=>{this.publish(data),this.toasts=[...this.toasts,data]},this.create=data=>{var _data_id;const{message,...rest}=data,id=typeof data?.id=="number"||((_data_id=data.id)==null?void 0:_data_id.length)>0?data.id:toastsCounter++,alreadyExists=this.toasts.find(toast2=>toast2.id===id),dismissible=data.dismissible===void 0?!0:data.dismissible;return this.dismissedToasts.has(id)&&this.dismissedToasts.delete(id),alreadyExists?this.toasts=this.toasts.map(toast2=>toast2.id===id?(this.publish({...toast2,...data,id,title:message}),{...toast2,...data,id,dismissible,title:message}):toast2):this.addToast({title:message,...rest,dismissible,id}),id},this.dismiss=id=>(id?(this.dismissedToasts.add(id),requestAnimationFrame(()=>this.subscribers.forEach(subscriber=>subscriber({id,dismiss:!0})))):this.toasts.forEach(toast2=>{this.subscribers.forEach(subscriber=>subscriber({id:toast2.id,dismiss:!0}))}),id),this.message=(message,data)=>this.create({...data,message}),this.error=(message,data)=>this.create({...data,message,type:"error"}),this.success=(message,data)=>this.create({...data,type:"success",message}),this.info=(message,data)=>this.create({...data,type:"info",message}),this.warning=(message,data)=>this.create({...data,type:"warning",message}),this.loading=(message,data)=>this.create({...data,type:"loading",message}),this.promise=(promise,data)=>{if(!data)return;let id;data.loading!==void 0&&(id=this.create({...data,promise,type:"loading",message:data.loading,description:typeof data.description!="function"?data.description:void 0}));const p2=Promise.resolve(promise instanceof Function?promise():promise);let shouldDismiss=id!==void 0,result;const originalPromise=p2.then(async response=>{if(result=["resolve",response],React.isValidElement(response))shouldDismiss=!1,this.create({id,type:"default",message:response});else if(isHttpResponse(response)&&!response.ok){shouldDismiss=!1;const promiseData=typeof data.error=="function"?await data.error(`HTTP error! status: ${response.status}`):data.error,description=typeof data.description=="function"?await data.description(`HTTP error! status: ${response.status}`):data.description,toastSettings=typeof promiseData=="object"&&!React.isValidElement(promiseData)?promiseData:{message:promiseData};this.create({id,type:"error",description,...toastSettings})}else if(response instanceof Error){shouldDismiss=!1;const promiseData=typeof data.error=="function"?await data.error(response):data.error,description=typeof data.description=="function"?await data.description(response):data.description,toastSettings=typeof promiseData=="object"&&!React.isValidElement(promiseData)?promiseData:{message:promiseData};this.create({id,type:"error",description,...toastSettings})}else if(data.success!==void 0){shouldDismiss=!1;const promiseData=typeof data.success=="function"?await data.success(response):data.success,description=typeof data.description=="function"?await data.description(response):data.description,toastSettings=typeof promiseData=="object"&&!React.isValidElement(promiseData)?promiseData:{message:promiseData};this.create({id,type:"success",description,...toastSettings})}}).catch(async error=>{if(result=["reject",error],data.error!==void 0){shouldDismiss=!1;const promiseData=typeof data.error=="function"?await data.error(error):data.error,description=typeof data.description=="function"?await data.description(error):data.description,toastSettings=typeof promiseData=="object"&&!React.isValidElement(promiseData)?promiseData:{message:promiseData};this.create({id,type:"error",description,...toastSettings})}}).finally(()=>{shouldDismiss&&(this.dismiss(id),id=void 0),data.finally==null||data.finally.call(data)}),unwrap=__name(()=>new Promise((resolve,reject)=>originalPromise.then(()=>result[0]==="reject"?reject(result[1]):resolve(result[1])).catch(reject)),"unwrap");return typeof id!="string"&&typeof id!="number"?{unwrap}:Object.assign(id,{unwrap})},this.custom=(jsx,data)=>{const id=data?.id||toastsCounter++;return this.create({jsx:jsx(id),id,...data}),id},this.getActiveToasts=()=>this.toasts.filter(toast2=>!this.dismissedToasts.has(toast2.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}};__name(_Observer,"Observer");let Observer=_Observer;const ToastState=new Observer,toastFunction=__name((message,data)=>{const id=data?.id||toastsCounter++;return ToastState.addToast({title:message,...data,id}),id},"toastFunction"),isHttpResponse=__name(data=>data&&typeof data=="object"&&"ok"in data&&typeof data.ok=="boolean"&&"status"in data&&typeof data.status=="number","isHttpResponse"),basicToast=toastFunction,getHistory=__name(()=>ToastState.toasts,"getHistory"),getToasts=__name(()=>ToastState.getActiveToasts(),"getToasts"),toast=Object.assign(basicToast,{success:ToastState.success,info:ToastState.info,warning:ToastState.warning,error:ToastState.error,custom:ToastState.custom,message:ToastState.message,promise:ToastState.promise,dismiss:ToastState.dismiss,loading:ToastState.loading},{getHistory,getToasts});__insertCSS("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function isAction(action){return action.label!==void 0}__name(isAction,"isAction");const VISIBLE_TOASTS_AMOUNT=3,VIEWPORT_OFFSET="24px",MOBILE_VIEWPORT_OFFSET="16px",TOAST_LIFETIME=4e3,TOAST_WIDTH=356,GAP=14,SWIPE_THRESHOLD=45,TIME_BEFORE_UNMOUNT=200;function cn(...classes){return classes.filter(Boolean).join(" ")}__name(cn,"cn");function getDefaultSwipeDirections(position2){const[y2,x2]=position2.split("-"),directions=[];return y2&&directions.push(y2),x2&&directions.push(x2),directions}__name(getDefaultSwipeDirections,"getDefaultSwipeDirections");const Toast=__name(props=>{var _toast_classNames,_toast_classNames1,_toast_classNames2,_toast_classNames3,_toast_classNames4,_toast_classNames5,_toast_classNames6,_toast_classNames7,_toast_classNames8;const{invert:ToasterInvert,toast:toast2,unstyled,interacting,setHeights,visibleToasts,heights,index:index2,toasts,expanded,removeToast,defaultRichColors,closeButton:closeButtonFromToaster,style:style2,cancelButtonStyle,actionButtonStyle,className="",descriptionClassName="",duration:durationFromToaster,position:position2,gap,expandByDefault,classNames,icons,closeButtonAriaLabel="Close toast"}=props,[swipeDirection,setSwipeDirection]=React.useState(null),[swipeOutDirection,setSwipeOutDirection]=React.useState(null),[mounted,setMounted]=React.useState(!1),[removed,setRemoved]=React.useState(!1),[swiping,setSwiping]=React.useState(!1),[swipeOut,setSwipeOut]=React.useState(!1),[isSwiped,setIsSwiped]=React.useState(!1),[offsetBeforeRemove,setOffsetBeforeRemove]=React.useState(0),[initialHeight,setInitialHeight]=React.useState(0),remainingTime=React.useRef(toast2.duration||durationFromToaster||TOAST_LIFETIME),dragStartTime=React.useRef(null),toastRef=React.useRef(null),isFront=index2===0,isVisible2=index2+1<=visibleToasts,toastType=toast2.type,dismissible=toast2.dismissible!==!1,toastClassname=toast2.className||"",toastDescriptionClassname=toast2.descriptionClassName||"",heightIndex=React.useMemo(()=>heights.findIndex(height=>height.toastId===toast2.id)||0,[heights,toast2.id]),closeButton=React.useMemo(()=>{var _toast_closeButton;return(_toast_closeButton=toast2.closeButton)!=null?_toast_closeButton:closeButtonFromToaster},[toast2.closeButton,closeButtonFromToaster]),duration=React.useMemo(()=>toast2.duration||durationFromToaster||TOAST_LIFETIME,[toast2.duration,durationFromToaster]),closeTimerStartTimeRef=React.useRef(0),offset2=React.useRef(0),lastCloseTimerStartTimeRef=React.useRef(0),pointerStartRef=React.useRef(null),[y2,x2]=position2.split("-"),toastsHeightBefore=React.useMemo(()=>heights.reduce((prev,curr,reducerIndex)=>reducerIndex>=heightIndex?prev:prev+curr.height,0),[heights,heightIndex]),isDocumentHidden=useIsDocumentHidden(),invert=toast2.invert||ToasterInvert,disabled=toastType==="loading";offset2.current=React.useMemo(()=>heightIndex*gap+toastsHeightBefore,[heightIndex,toastsHeightBefore]),React.useEffect(()=>{remainingTime.current=duration},[duration]),React.useEffect(()=>{setMounted(!0)},[]),React.useEffect(()=>{const toastNode=toastRef.current;if(toastNode){const height=toastNode.getBoundingClientRect().height;return setInitialHeight(height),setHeights(h2=>[{toastId:toast2.id,height,position:toast2.position},...h2]),()=>setHeights(h2=>h2.filter(height2=>height2.toastId!==toast2.id))}},[setHeights,toast2.id]),React.useLayoutEffect(()=>{if(!mounted)return;const toastNode=toastRef.current,originalHeight=toastNode.style.height;toastNode.style.height="auto";const newHeight=toastNode.getBoundingClientRect().height;toastNode.style.height=originalHeight,setInitialHeight(newHeight),setHeights(heights2=>heights2.find(height=>height.toastId===toast2.id)?heights2.map(height=>height.toastId===toast2.id?{...height,height:newHeight}:height):[{toastId:toast2.id,height:newHeight,position:toast2.position},...heights2])},[mounted,toast2.title,toast2.description,setHeights,toast2.id,toast2.jsx,toast2.action,toast2.cancel]);const deleteToast=React.useCallback(()=>{setRemoved(!0),setOffsetBeforeRemove(offset2.current),setHeights(h2=>h2.filter(height=>height.toastId!==toast2.id)),setTimeout(()=>{removeToast(toast2)},TIME_BEFORE_UNMOUNT)},[toast2,removeToast,setHeights,offset2]);React.useEffect(()=>{if(toast2.promise&&toastType==="loading"||toast2.duration===1/0||toast2.type==="loading")return;let timeoutId;return expanded||interacting||isDocumentHidden?__name(()=>{if(lastCloseTimerStartTimeRef.current{remainingTime.current!==1/0&&(closeTimerStartTimeRef.current=new Date().getTime(),timeoutId=setTimeout(()=>{toast2.onAutoClose==null||toast2.onAutoClose.call(toast2,toast2),deleteToast()},remainingTime.current))},"startTimer")(),()=>clearTimeout(timeoutId)},[expanded,interacting,toast2,toastType,isDocumentHidden,deleteToast]),React.useEffect(()=>{toast2.delete&&(deleteToast(),toast2.onDismiss==null||toast2.onDismiss.call(toast2,toast2))},[deleteToast,toast2.delete]);function getLoadingIcon(){var _toast_classNames9;if(icons?.loading){var _toast_classNames12;return React.createElement("div",{className:cn(classNames?.loader,toast2==null||(_toast_classNames12=toast2.classNames)==null?void 0:_toast_classNames12.loader,"sonner-loader"),"data-visible":toastType==="loading"},icons.loading)}return React.createElement(Loader,{className:cn(classNames?.loader,toast2==null||(_toast_classNames9=toast2.classNames)==null?void 0:_toast_classNames9.loader),visible:toastType==="loading"})}__name(getLoadingIcon,"getLoadingIcon");const icon=toast2.icon||icons?.[toastType]||getAsset(toastType);var _toast_richColors,_icons_close;return React.createElement("li",{tabIndex:0,ref:toastRef,className:cn(className,toastClassname,classNames?.toast,toast2==null||(_toast_classNames=toast2.classNames)==null?void 0:_toast_classNames.toast,classNames?.default,classNames?.[toastType],toast2==null||(_toast_classNames1=toast2.classNames)==null?void 0:_toast_classNames1[toastType]),"data-sonner-toast":"","data-rich-colors":(_toast_richColors=toast2.richColors)!=null?_toast_richColors:defaultRichColors,"data-styled":!(toast2.jsx||toast2.unstyled||unstyled),"data-mounted":mounted,"data-promise":!!toast2.promise,"data-swiped":isSwiped,"data-removed":removed,"data-visible":isVisible2,"data-y-position":y2,"data-x-position":x2,"data-index":index2,"data-front":isFront,"data-swiping":swiping,"data-dismissible":dismissible,"data-type":toastType,"data-invert":invert,"data-swipe-out":swipeOut,"data-swipe-direction":swipeOutDirection,"data-expanded":!!(expanded||expandByDefault&&mounted),"data-testid":toast2.testId,style:{"--index":index2,"--toasts-before":index2,"--z-index":toasts.length-index2,"--offset":`${removed?offsetBeforeRemove:offset2.current}px`,"--initial-height":expandByDefault?"auto":`${initialHeight}px`,...style2,...toast2.style},onDragEnd:__name(()=>{setSwiping(!1),setSwipeDirection(null),pointerStartRef.current=null},"onDragEnd"),onPointerDown:__name(event=>{event.button!==2&&(disabled||!dismissible||(dragStartTime.current=new Date,setOffsetBeforeRemove(offset2.current),event.target.setPointerCapture(event.pointerId),event.target.tagName!=="BUTTON"&&(setSwiping(!0),pointerStartRef.current={x:event.clientX,y:event.clientY})))},"onPointerDown"),onPointerUp:__name(()=>{var _toastRef_current,_toastRef_current1,_dragStartTime_current;if(swipeOut||!dismissible)return;pointerStartRef.current=null;const swipeAmountX=Number(((_toastRef_current=toastRef.current)==null?void 0:_toastRef_current.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),swipeAmountY=Number(((_toastRef_current1=toastRef.current)==null?void 0:_toastRef_current1.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),timeTaken=new Date().getTime()-((_dragStartTime_current=dragStartTime.current)==null?void 0:_dragStartTime_current.getTime()),swipeAmount=swipeDirection==="x"?swipeAmountX:swipeAmountY,velocity=Math.abs(swipeAmount)/timeTaken;if(Math.abs(swipeAmount)>=SWIPE_THRESHOLD||velocity>.11){setOffsetBeforeRemove(offset2.current),toast2.onDismiss==null||toast2.onDismiss.call(toast2,toast2),setSwipeOutDirection(swipeDirection==="x"?swipeAmountX>0?"right":"left":swipeAmountY>0?"down":"up"),deleteToast(),setSwipeOut(!0);return}else{var _toastRef_current2,_toastRef_current3;(_toastRef_current2=toastRef.current)==null||_toastRef_current2.style.setProperty("--swipe-amount-x","0px"),(_toastRef_current3=toastRef.current)==null||_toastRef_current3.style.setProperty("--swipe-amount-y","0px")}setIsSwiped(!1),setSwiping(!1),setSwipeDirection(null)},"onPointerUp"),onPointerMove:__name(event=>{var _window_getSelection,_toastRef_current,_toastRef_current1;if(!pointerStartRef.current||!dismissible||((_window_getSelection=window.getSelection())==null?void 0:_window_getSelection.toString().length)>0)return;const yDelta=event.clientY-pointerStartRef.current.y,xDelta=event.clientX-pointerStartRef.current.x;var _props_swipeDirections;const swipeDirections=(_props_swipeDirections=props.swipeDirections)!=null?_props_swipeDirections:getDefaultSwipeDirections(position2);!swipeDirection&&(Math.abs(xDelta)>1||Math.abs(yDelta)>1)&&setSwipeDirection(Math.abs(xDelta)>Math.abs(yDelta)?"x":"y");let swipeAmount={x:0,y:0};const getDampening=__name(delta=>1/(1.5+Math.abs(delta)/20),"getDampening");if(swipeDirection==="y"){if(swipeDirections.includes("top")||swipeDirections.includes("bottom"))if(swipeDirections.includes("top")&&yDelta<0||swipeDirections.includes("bottom")&&yDelta>0)swipeAmount.y=yDelta;else{const dampenedDelta=yDelta*getDampening(yDelta);swipeAmount.y=Math.abs(dampenedDelta)0)swipeAmount.x=xDelta;else{const dampenedDelta=xDelta*getDampening(xDelta);swipeAmount.x=Math.abs(dampenedDelta)0||Math.abs(swipeAmount.y)>0)&&setIsSwiped(!0),(_toastRef_current=toastRef.current)==null||_toastRef_current.style.setProperty("--swipe-amount-x",`${swipeAmount.x}px`),(_toastRef_current1=toastRef.current)==null||_toastRef_current1.style.setProperty("--swipe-amount-y",`${swipeAmount.y}px`)},"onPointerMove")},closeButton&&!toast2.jsx&&toastType!=="loading"?React.createElement("button",{"aria-label":closeButtonAriaLabel,"data-disabled":disabled,"data-close-button":!0,onClick:disabled||!dismissible?()=>{}:()=>{deleteToast(),toast2.onDismiss==null||toast2.onDismiss.call(toast2,toast2)},className:cn(classNames?.closeButton,toast2==null||(_toast_classNames2=toast2.classNames)==null?void 0:_toast_classNames2.closeButton)},(_icons_close=icons?.close)!=null?_icons_close:CloseIcon):null,(toastType||toast2.icon||toast2.promise)&&toast2.icon!==null&&(icons?.[toastType]!==null||toast2.icon)?React.createElement("div",{"data-icon":"",className:cn(classNames?.icon,toast2==null||(_toast_classNames3=toast2.classNames)==null?void 0:_toast_classNames3.icon)},toast2.promise||toast2.type==="loading"&&!toast2.icon?toast2.icon||getLoadingIcon():null,toast2.type!=="loading"?icon:null):null,React.createElement("div",{"data-content":"",className:cn(classNames?.content,toast2==null||(_toast_classNames4=toast2.classNames)==null?void 0:_toast_classNames4.content)},React.createElement("div",{"data-title":"",className:cn(classNames?.title,toast2==null||(_toast_classNames5=toast2.classNames)==null?void 0:_toast_classNames5.title)},toast2.jsx?toast2.jsx:typeof toast2.title=="function"?toast2.title():toast2.title),toast2.description?React.createElement("div",{"data-description":"",className:cn(descriptionClassName,toastDescriptionClassname,classNames?.description,toast2==null||(_toast_classNames6=toast2.classNames)==null?void 0:_toast_classNames6.description)},typeof toast2.description=="function"?toast2.description():toast2.description):null),React.isValidElement(toast2.cancel)?toast2.cancel:toast2.cancel&&isAction(toast2.cancel)?React.createElement("button",{"data-button":!0,"data-cancel":!0,style:toast2.cancelButtonStyle||cancelButtonStyle,onClick:__name(event=>{isAction(toast2.cancel)&&dismissible&&(toast2.cancel.onClick==null||toast2.cancel.onClick.call(toast2.cancel,event),deleteToast())},"onClick"),className:cn(classNames?.cancelButton,toast2==null||(_toast_classNames7=toast2.classNames)==null?void 0:_toast_classNames7.cancelButton)},toast2.cancel.label):null,React.isValidElement(toast2.action)?toast2.action:toast2.action&&isAction(toast2.action)?React.createElement("button",{"data-button":!0,"data-action":!0,style:toast2.actionButtonStyle||actionButtonStyle,onClick:__name(event=>{isAction(toast2.action)&&(toast2.action.onClick==null||toast2.action.onClick.call(toast2.action,event),!event.defaultPrevented&&deleteToast())},"onClick"),className:cn(classNames?.actionButton,toast2==null||(_toast_classNames8=toast2.classNames)==null?void 0:_toast_classNames8.actionButton)},toast2.action.label):null)},"Toast");function getDocumentDirection(){if(typeof window>"u"||typeof document>"u")return"ltr";const dirAttribute=document.documentElement.getAttribute("dir");return dirAttribute==="auto"||!dirAttribute?window.getComputedStyle(document.documentElement).direction:dirAttribute}__name(getDocumentDirection,"getDocumentDirection");function assignOffset(defaultOffset,mobileOffset){const styles={};return[defaultOffset,mobileOffset].forEach((offset2,index2)=>{const isMobile=index2===1,prefix2=isMobile?"--mobile-offset":"--offset",defaultValue=isMobile?MOBILE_VIEWPORT_OFFSET:VIEWPORT_OFFSET;function assignAll(offset3){["top","right","bottom","left"].forEach(key=>{styles[`${prefix2}-${key}`]=typeof offset3=="number"?`${offset3}px`:offset3})}__name(assignAll,"assignAll"),typeof offset2=="number"||typeof offset2=="string"?assignAll(offset2):typeof offset2=="object"?["top","right","bottom","left"].forEach(key=>{offset2[key]===void 0?styles[`${prefix2}-${key}`]=defaultValue:styles[`${prefix2}-${key}`]=typeof offset2[key]=="number"?`${offset2[key]}px`:offset2[key]}):assignAll(defaultValue)}),styles}__name(assignOffset,"assignOffset");const Toaster$1=React.forwardRef(__name(function(props,ref){const{id,invert,position:position2="bottom-right",hotkey=["altKey","KeyT"],expand,closeButton,className,offset:offset2,mobileOffset,theme="light",richColors,duration,style:style2,visibleToasts=VISIBLE_TOASTS_AMOUNT,toastOptions,dir=getDocumentDirection(),gap=GAP,icons,containerAriaLabel="Notifications"}=props,[toasts,setToasts]=React.useState([]),filteredToasts=React.useMemo(()=>id?toasts.filter(toast2=>toast2.toasterId===id):toasts.filter(toast2=>!toast2.toasterId),[toasts,id]),possiblePositions=React.useMemo(()=>Array.from(new Set([position2].concat(filteredToasts.filter(toast2=>toast2.position).map(toast2=>toast2.position)))),[filteredToasts,position2]),[heights,setHeights]=React.useState([]),[expanded,setExpanded]=React.useState(!1),[interacting,setInteracting]=React.useState(!1),[actualTheme,setActualTheme]=React.useState(theme!=="system"?theme:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),listRef=React.useRef(null),hotkeyLabel=hotkey.join("+").replace(/Key/g,"").replace(/Digit/g,""),lastFocusedElementRef=React.useRef(null),isFocusWithinRef=React.useRef(!1),removeToast=React.useCallback(toastToRemove=>{setToasts(toasts2=>{var _toasts_find;return(_toasts_find=toasts2.find(toast2=>toast2.id===toastToRemove.id))!=null&&_toasts_find.delete||ToastState.dismiss(toastToRemove.id),toasts2.filter(({id:id2})=>id2!==toastToRemove.id)})},[]);return React.useEffect(()=>ToastState.subscribe(toast2=>{if(toast2.dismiss){requestAnimationFrame(()=>{setToasts(toasts2=>toasts2.map(t2=>t2.id===toast2.id?{...t2,delete:!0}:t2))});return}setTimeout(()=>{ReactDOM.flushSync(()=>{setToasts(toasts2=>{const indexOfExistingToast=toasts2.findIndex(t2=>t2.id===toast2.id);return indexOfExistingToast!==-1?[...toasts2.slice(0,indexOfExistingToast),{...toasts2[indexOfExistingToast],...toast2},...toasts2.slice(indexOfExistingToast+1)]:[toast2,...toasts2]})})})}),[toasts]),React.useEffect(()=>{if(theme!=="system"){setActualTheme(theme);return}if(theme==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?setActualTheme("dark"):setActualTheme("light")),typeof window>"u")return;const darkMediaQuery=window.matchMedia("(prefers-color-scheme: dark)");try{darkMediaQuery.addEventListener("change",({matches})=>{setActualTheme(matches?"dark":"light")})}catch{darkMediaQuery.addListener(({matches})=>{try{setActualTheme(matches?"dark":"light")}catch(e3){console.error(e3)}})}},[theme]),React.useEffect(()=>{toasts.length<=1&&setExpanded(!1)},[toasts]),React.useEffect(()=>{const handleKeyDown=__name(event=>{var _listRef_current;if(hotkey.every(key=>event[key]||event.code===key)){var _listRef_current1;setExpanded(!0),(_listRef_current1=listRef.current)==null||_listRef_current1.focus()}event.code==="Escape"&&(document.activeElement===listRef.current||(_listRef_current=listRef.current)!=null&&_listRef_current.contains(document.activeElement))&&setExpanded(!1)},"handleKeyDown");return document.addEventListener("keydown",handleKeyDown),()=>document.removeEventListener("keydown",handleKeyDown)},[hotkey]),React.useEffect(()=>{if(listRef.current)return()=>{lastFocusedElementRef.current&&(lastFocusedElementRef.current.focus({preventScroll:!0}),lastFocusedElementRef.current=null,isFocusWithinRef.current=!1)}},[listRef.current]),React.createElement("section",{ref,"aria-label":`${containerAriaLabel} ${hotkeyLabel}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},possiblePositions.map((position3,index2)=>{var _heights_;const[y2,x2]=position3.split("-");return filteredToasts.length?React.createElement("ol",{key:position3,dir:dir==="auto"?getDocumentDirection():dir,tabIndex:-1,ref:listRef,className,"data-sonner-toaster":!0,"data-sonner-theme":actualTheme,"data-y-position":y2,"data-x-position":x2,style:{"--front-toast-height":`${((_heights_=heights[0])==null?void 0:_heights_.height)||0}px`,"--width":`${TOAST_WIDTH}px`,"--gap":`${gap}px`,...style2,...assignOffset(offset2,mobileOffset)},onBlur:__name(event=>{isFocusWithinRef.current&&!event.currentTarget.contains(event.relatedTarget)&&(isFocusWithinRef.current=!1,lastFocusedElementRef.current&&(lastFocusedElementRef.current.focus({preventScroll:!0}),lastFocusedElementRef.current=null))},"onBlur"),onFocus:__name(event=>{event.target instanceof HTMLElement&&event.target.dataset.dismissible==="false"||isFocusWithinRef.current||(isFocusWithinRef.current=!0,lastFocusedElementRef.current=event.relatedTarget)},"onFocus"),onMouseEnter:__name(()=>setExpanded(!0),"onMouseEnter"),onMouseMove:__name(()=>setExpanded(!0),"onMouseMove"),onMouseLeave:__name(()=>{interacting||setExpanded(!1)},"onMouseLeave"),onDragEnd:__name(()=>setExpanded(!1),"onDragEnd"),onPointerDown:__name(event=>{event.target instanceof HTMLElement&&event.target.dataset.dismissible==="false"||setInteracting(!0)},"onPointerDown"),onPointerUp:__name(()=>setInteracting(!1),"onPointerUp")},filteredToasts.filter(toast2=>!toast2.position&&index2===0||toast2.position===position3).map((toast2,index3)=>{var _toastOptions_duration,_toastOptions_closeButton;return React.createElement(Toast,{key:toast2.id,icons,index:index3,toast:toast2,defaultRichColors:richColors,duration:(_toastOptions_duration=toastOptions?.duration)!=null?_toastOptions_duration:duration,className:toastOptions?.className,descriptionClassName:toastOptions?.descriptionClassName,invert,visibleToasts,closeButton:(_toastOptions_closeButton=toastOptions?.closeButton)!=null?_toastOptions_closeButton:closeButton,interacting,position:position3,style:toastOptions?.style,unstyled:toastOptions?.unstyled,classNames:toastOptions?.classNames,cancelButtonStyle:toastOptions?.cancelButtonStyle,actionButtonStyle:toastOptions?.actionButtonStyle,closeButtonAriaLabel:toastOptions?.closeButtonAriaLabel,removeToast,toasts:filteredToasts.filter(t2=>t2.position==toast2.position),heights:heights.filter(h2=>h2.position==toast2.position),setHeights,expandByDefault:expand,gap,expanded,swipeDirections:props.swipeDirections})})):null}))},"Toaster")),Toaster2=__name(({...props})=>{const{theme="system"}=reactExports.useContext(ThemeProviderContext);return jsxRuntimeExports.jsx(Toaster$1,{theme,className:"toaster group",icons:{success:jsxRuntimeExports.jsx(CircleCheck,{className:"size-4"}),info:jsxRuntimeExports.jsx(Info$1,{className:"size-4"}),warning:jsxRuntimeExports.jsx(TriangleAlert,{className:"size-4"}),error:jsxRuntimeExports.jsx(OctagonX,{className:"size-4"}),loading:jsxRuntimeExports.jsx(LoaderCircle,{className:"size-4 animate-spin"})},toastOptions:{classNames:{toast:"bg-background text-foreground border-border"}},style:{"--normal-bg":"hsl(var(--background))","--normal-text":"hsl(var(--foreground))","--normal-border":"hsl(var(--border))","--border-radius":"var(--radius)","--toast-icon-margin-start":"0","--toast-icon-margin-end":"12px"},...props})},"Toaster");function useDemoToast(){reactExports.useEffect(()=>{if(reportData.IsDemo){let toastId;const timer=setTimeout(()=>{toastId=toast.warning(jsxRuntimeExports.jsxs("div",{className:"flex flex-col gap-2 w-full",children:[jsxRuntimeExports.jsx("div",{className:"font-semibold break-words",children:"Microsoft Zero Trust Assessment Demo Report"}),jsxRuntimeExports.jsxs("div",{className:"text-sm text-muted-foreground flex flex-col gap-1 break-words",children:[jsxRuntimeExports.jsxs("div",{className:"break-words",children:["This is a demo of the report generated by the"," ",jsxRuntimeExports.jsx("a",{href:"https://aka.ms/ZeroTrust/Assessment",target:"_blank",rel:"noopener noreferrer",className:"underline hover:text-primary break-all",onClick:__name(e3=>e3.stopPropagation(),"onClick"),children:"Zero Trust Assessment"})," ","tool."]}),jsxRuntimeExports.jsxs("div",{className:"break-words",children:["The latest version of this demo report is available at"," ",jsxRuntimeExports.jsx("a",{href:"https://aka.ms/ZeroTrust/Demo",target:"_blank",rel:"noopener noreferrer",className:"underline hover:text-primary break-all",onClick:__name(e3=>e3.stopPropagation(),"onClick"),children:"aka.ms/ZeroTrust/Demo"}),"."]})]})]}),{duration:1/0,closeButton:!0,style:{minWidth:"min(600px, calc(100vw - 32px))",maxWidth:"calc(100vw - 32px)"},className:"break-words"});const handleClick=__name(e3=>{const target=e3.target;target.tagName==="A"&&target.closest("[data-sonner-toast]")||(toast.dismiss(toastId),document.removeEventListener("click",handleClick))},"handleClick");setTimeout(()=>{document.addEventListener("click",handleClick)},100)},500);return()=>{clearTimeout(timer),toastId&&toast.dismiss(toastId)}}},[])}__name(useDemoToast,"useDemoToast");function App(){return useDemoToast(),jsxRuntimeExports.jsxs(ThemeProvider,{defaultTheme:"system",children:[jsxRuntimeExports.jsx(RouterProvider,{router}),jsxRuntimeExports.jsx(Toaster2,{position:"top-center",richColors:!0})]})}__name(App,"App");ReactDOM$2.createRoot(document.getElementById("root")).render(jsxRuntimeExports.jsx(React.StrictMode,{children:jsxRuntimeExports.jsx(App,{})})); - +`,from);return lf===-1?cr:cr===-1||cr+1===lf?lf:cr=55296&&cp<=57343}__name(isSurrogate,"isSurrogate");function isSurrogatePair(cp){return cp>=56320&&cp<=57343}__name(isSurrogatePair,"isSurrogatePair");function getSurrogatePairCodePoint(cp1,cp2){return(cp1-55296)*1024+9216+cp2}__name(getSurrogatePairCodePoint,"getSurrogatePairCodePoint");function isControlCodePoint(cp){return cp!==32&&cp!==10&&cp!==13&&cp!==9&&cp!==12&&cp>=1&&cp<=31||cp>=127&&cp<=159}__name(isControlCodePoint,"isControlCodePoint");function isUndefinedCodePoint(cp){return cp>=64976&&cp<=65007||UNDEFINED_CODE_POINTS.has(cp)}__name(isUndefinedCodePoint,"isUndefinedCodePoint");var ERR;(function(ERR2){ERR2.controlCharacterInInputStream="control-character-in-input-stream",ERR2.noncharacterInInputStream="noncharacter-in-input-stream",ERR2.surrogateInInputStream="surrogate-in-input-stream",ERR2.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",ERR2.endTagWithAttributes="end-tag-with-attributes",ERR2.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",ERR2.unexpectedSolidusInTag="unexpected-solidus-in-tag",ERR2.unexpectedNullCharacter="unexpected-null-character",ERR2.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",ERR2.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",ERR2.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",ERR2.missingEndTagName="missing-end-tag-name",ERR2.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",ERR2.unknownNamedCharacterReference="unknown-named-character-reference",ERR2.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",ERR2.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",ERR2.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",ERR2.eofBeforeTagName="eof-before-tag-name",ERR2.eofInTag="eof-in-tag",ERR2.missingAttributeValue="missing-attribute-value",ERR2.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",ERR2.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",ERR2.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",ERR2.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",ERR2.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",ERR2.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",ERR2.missingDoctypePublicIdentifier="missing-doctype-public-identifier",ERR2.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",ERR2.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",ERR2.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",ERR2.cdataInHtmlContent="cdata-in-html-content",ERR2.incorrectlyOpenedComment="incorrectly-opened-comment",ERR2.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",ERR2.eofInDoctype="eof-in-doctype",ERR2.nestedComment="nested-comment",ERR2.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",ERR2.eofInComment="eof-in-comment",ERR2.incorrectlyClosedComment="incorrectly-closed-comment",ERR2.eofInCdata="eof-in-cdata",ERR2.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",ERR2.nullCharacterReference="null-character-reference",ERR2.surrogateCharacterReference="surrogate-character-reference",ERR2.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",ERR2.controlCharacterReference="control-character-reference",ERR2.noncharacterCharacterReference="noncharacter-character-reference",ERR2.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",ERR2.missingDoctypeName="missing-doctype-name",ERR2.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",ERR2.duplicateAttribute="duplicate-attribute",ERR2.nonConformingDoctype="non-conforming-doctype",ERR2.missingDoctype="missing-doctype",ERR2.misplacedDoctype="misplaced-doctype",ERR2.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",ERR2.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",ERR2.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",ERR2.openElementsLeftAfterEof="open-elements-left-after-eof",ERR2.abandonedHeadElementChild="abandoned-head-element-child",ERR2.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",ERR2.nestedNoscriptInHead="nested-noscript-in-head",ERR2.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(ERR||(ERR={}));const DEFAULT_BUFFER_WATERLINE=65536,_Preprocessor=class _Preprocessor{constructor(handler){this.handler=handler,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=DEFAULT_BUFFER_WATERLINE,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(code2,cpOffset){const{line,col,offset:offset2}=this,startCol=col+cpOffset,startOffset=offset2+cpOffset;return{code:code2,startLine:line,endLine:line,startCol,endCol:startCol,startOffset,endOffset:startOffset}}_err(code2){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(code2,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(cp){if(this.pos!==this.html.length-1){const nextCp=this.html.charCodeAt(this.pos+1);if(isSurrogatePair(nextCp))return this.pos++,this._addGap(),getSurrogatePairCodePoint(cp,nextCp)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,CODE_POINTS.EOF;return this._err(ERR.surrogateInInputStream),cp}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(chunk,isLastChunk){this.html.length>0?this.html+=chunk:this.html=chunk,this.endOfChunkHit=!1,this.lastChunkWritten=isLastChunk}insertHtmlAtCurrentPos(chunk){this.html=this.html.substring(0,this.pos+1)+chunk+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(pattern,caseSensitive){if(this.pos+pattern.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(caseSensitive)return this.html.startsWith(pattern,this.pos);for(let i2=0;i2=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,CODE_POINTS.EOF;const code2=this.html.charCodeAt(pos);return code2===CODE_POINTS.CARRIAGE_RETURN?CODE_POINTS.LINE_FEED:code2}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,CODE_POINTS.EOF;let cp=this.html.charCodeAt(this.pos);return cp===CODE_POINTS.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,CODE_POINTS.LINE_FEED):cp===CODE_POINTS.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,isSurrogate(cp)&&(cp=this._processSurrogate(cp)),this.handler.onParseError===null||cp>31&&cp<127||cp===CODE_POINTS.LINE_FEED||cp===CODE_POINTS.CARRIAGE_RETURN||cp>159&&cp<64976||this._checkForProblematicCharacters(cp),cp)}_checkForProblematicCharacters(cp){isControlCodePoint(cp)?this._err(ERR.controlCharacterInInputStream):isUndefinedCodePoint(cp)&&this._err(ERR.noncharacterInInputStream)}retreat(count2){for(this.pos-=count2;this.pos=0;i2--)if(token.attrs[i2].name===attrName)return token.attrs[i2].value;return null}__name(getTokenAttr,"getTokenAttr");const htmlDecodeTree=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୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢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;怳Ādp໩໮uct;戏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ǣጓ\0጖y;䐎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Ā;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀ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Ā;e᜚᜜lƀ;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\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩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ↄⅪ←ٖ↛ǰ↉\0↎proø₞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;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\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\0⹻m;櫳;櫽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(c2=>c2.charCodeAt(0))),decodeMap=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]]);function replaceCodePoint(codePoint){var _a18;return codePoint>=55296&&codePoint<=57343||codePoint>1114111?65533:(_a18=decodeMap.get(codePoint))!==null&&_a18!==void 0?_a18:codePoint}__name(replaceCodePoint,"replaceCodePoint");var CharCodes;(function(CharCodes2){CharCodes2[CharCodes2.NUM=35]="NUM",CharCodes2[CharCodes2.SEMI=59]="SEMI",CharCodes2[CharCodes2.EQUALS=61]="EQUALS",CharCodes2[CharCodes2.ZERO=48]="ZERO",CharCodes2[CharCodes2.NINE=57]="NINE",CharCodes2[CharCodes2.LOWER_A=97]="LOWER_A",CharCodes2[CharCodes2.LOWER_F=102]="LOWER_F",CharCodes2[CharCodes2.LOWER_X=120]="LOWER_X",CharCodes2[CharCodes2.LOWER_Z=122]="LOWER_Z",CharCodes2[CharCodes2.UPPER_A=65]="UPPER_A",CharCodes2[CharCodes2.UPPER_F=70]="UPPER_F",CharCodes2[CharCodes2.UPPER_Z=90]="UPPER_Z"})(CharCodes||(CharCodes={}));const TO_LOWER_BIT=32;var BinTrieFlags;(function(BinTrieFlags2){BinTrieFlags2[BinTrieFlags2.VALUE_LENGTH=49152]="VALUE_LENGTH",BinTrieFlags2[BinTrieFlags2.BRANCH_LENGTH=16256]="BRANCH_LENGTH",BinTrieFlags2[BinTrieFlags2.JUMP_TABLE=127]="JUMP_TABLE"})(BinTrieFlags||(BinTrieFlags={}));function isNumber2(code2){return code2>=CharCodes.ZERO&&code2<=CharCodes.NINE}__name(isNumber2,"isNumber");function isHexadecimalCharacter(code2){return code2>=CharCodes.UPPER_A&&code2<=CharCodes.UPPER_F||code2>=CharCodes.LOWER_A&&code2<=CharCodes.LOWER_F}__name(isHexadecimalCharacter,"isHexadecimalCharacter");function isAsciiAlphaNumeric$1(code2){return code2>=CharCodes.UPPER_A&&code2<=CharCodes.UPPER_Z||code2>=CharCodes.LOWER_A&&code2<=CharCodes.LOWER_Z||isNumber2(code2)}__name(isAsciiAlphaNumeric$1,"isAsciiAlphaNumeric$1");function isEntityInAttributeInvalidEnd(code2){return code2===CharCodes.EQUALS||isAsciiAlphaNumeric$1(code2)}__name(isEntityInAttributeInvalidEnd,"isEntityInAttributeInvalidEnd");var EntityDecoderState;(function(EntityDecoderState2){EntityDecoderState2[EntityDecoderState2.EntityStart=0]="EntityStart",EntityDecoderState2[EntityDecoderState2.NumericStart=1]="NumericStart",EntityDecoderState2[EntityDecoderState2.NumericDecimal=2]="NumericDecimal",EntityDecoderState2[EntityDecoderState2.NumericHex=3]="NumericHex",EntityDecoderState2[EntityDecoderState2.NamedEntity=4]="NamedEntity"})(EntityDecoderState||(EntityDecoderState={}));var DecodingMode;(function(DecodingMode2){DecodingMode2[DecodingMode2.Legacy=0]="Legacy",DecodingMode2[DecodingMode2.Strict=1]="Strict",DecodingMode2[DecodingMode2.Attribute=2]="Attribute"})(DecodingMode||(DecodingMode={}));const _EntityDecoder=class _EntityDecoder{constructor(decodeTree,emitCodePoint,errors){this.decodeTree=decodeTree,this.emitCodePoint=emitCodePoint,this.errors=errors,this.state=EntityDecoderState.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=DecodingMode.Strict}startEntity(decodeMode){this.decodeMode=decodeMode,this.state=EntityDecoderState.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(input,offset2){switch(this.state){case EntityDecoderState.EntityStart:return input.charCodeAt(offset2)===CharCodes.NUM?(this.state=EntityDecoderState.NumericStart,this.consumed+=1,this.stateNumericStart(input,offset2+1)):(this.state=EntityDecoderState.NamedEntity,this.stateNamedEntity(input,offset2));case EntityDecoderState.NumericStart:return this.stateNumericStart(input,offset2);case EntityDecoderState.NumericDecimal:return this.stateNumericDecimal(input,offset2);case EntityDecoderState.NumericHex:return this.stateNumericHex(input,offset2);case EntityDecoderState.NamedEntity:return this.stateNamedEntity(input,offset2)}}stateNumericStart(input,offset2){return offset2>=input.length?-1:(input.charCodeAt(offset2)|TO_LOWER_BIT)===CharCodes.LOWER_X?(this.state=EntityDecoderState.NumericHex,this.consumed+=1,this.stateNumericHex(input,offset2+1)):(this.state=EntityDecoderState.NumericDecimal,this.stateNumericDecimal(input,offset2))}addToNumericResult(input,start2,end,base){if(start2!==end){const digitCount=end-start2;this.result=this.result*Math.pow(base,digitCount)+Number.parseInt(input.substr(start2,digitCount),base),this.consumed+=digitCount}}stateNumericHex(input,offset2){const startIndex=offset2;for(;offset2>14;for(;offset2>14,valueLength!==0){if(char===CharCodes.SEMI)return this.emitNamedEntityData(this.treeIndex,valueLength,this.consumed+this.excess);this.decodeMode!==DecodingMode.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var _a18;const{result,decodeTree}=this,valueLength=(decodeTree[result]&BinTrieFlags.VALUE_LENGTH)>>14;return this.emitNamedEntityData(result,valueLength,this.consumed),(_a18=this.errors)===null||_a18===void 0||_a18.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(result,valueLength,consumed){const{decodeTree}=this;return this.emitCodePoint(valueLength===1?decodeTree[result]&~BinTrieFlags.VALUE_LENGTH:decodeTree[result+1],consumed),valueLength===3&&this.emitCodePoint(decodeTree[result+2],consumed),consumed}end(){var _a18;switch(this.state){case EntityDecoderState.NamedEntity:return this.result!==0&&(this.decodeMode!==DecodingMode.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case EntityDecoderState.NumericDecimal:return this.emitNumericEntity(0,2);case EntityDecoderState.NumericHex:return this.emitNumericEntity(0,3);case EntityDecoderState.NumericStart:return(_a18=this.errors)===null||_a18===void 0||_a18.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case EntityDecoderState.EntityStart:return 0}}};__name(_EntityDecoder,"EntityDecoder");let EntityDecoder=_EntityDecoder;function determineBranch(decodeTree,current,nodeIndex,char){const branchCount=(current&BinTrieFlags.BRANCH_LENGTH)>>7,jumpOffset=current&BinTrieFlags.JUMP_TABLE;if(branchCount===0)return jumpOffset!==0&&char===jumpOffset?nodeIndex:-1;if(jumpOffset){const value2=char-jumpOffset;return value2<0||value2>=branchCount?-1:decodeTree[nodeIndex+value2]-1}let lo=nodeIndex,hi=lo+branchCount-1;for(;lo<=hi;){const mid=lo+hi>>>1,midValue=decodeTree[mid];if(midValuechar)hi=mid-1;else return decodeTree[mid+branchCount]}return-1}__name(determineBranch,"determineBranch");var NS;(function(NS2){NS2.HTML="http://www.w3.org/1999/xhtml",NS2.MATHML="http://www.w3.org/1998/Math/MathML",NS2.SVG="http://www.w3.org/2000/svg",NS2.XLINK="http://www.w3.org/1999/xlink",NS2.XML="http://www.w3.org/XML/1998/namespace",NS2.XMLNS="http://www.w3.org/2000/xmlns/"})(NS||(NS={}));var ATTRS;(function(ATTRS2){ATTRS2.TYPE="type",ATTRS2.ACTION="action",ATTRS2.ENCODING="encoding",ATTRS2.PROMPT="prompt",ATTRS2.NAME="name",ATTRS2.COLOR="color",ATTRS2.FACE="face",ATTRS2.SIZE="size"})(ATTRS||(ATTRS={}));var DOCUMENT_MODE;(function(DOCUMENT_MODE2){DOCUMENT_MODE2.NO_QUIRKS="no-quirks",DOCUMENT_MODE2.QUIRKS="quirks",DOCUMENT_MODE2.LIMITED_QUIRKS="limited-quirks"})(DOCUMENT_MODE||(DOCUMENT_MODE={}));var TAG_NAMES;(function(TAG_NAMES2){TAG_NAMES2.A="a",TAG_NAMES2.ADDRESS="address",TAG_NAMES2.ANNOTATION_XML="annotation-xml",TAG_NAMES2.APPLET="applet",TAG_NAMES2.AREA="area",TAG_NAMES2.ARTICLE="article",TAG_NAMES2.ASIDE="aside",TAG_NAMES2.B="b",TAG_NAMES2.BASE="base",TAG_NAMES2.BASEFONT="basefont",TAG_NAMES2.BGSOUND="bgsound",TAG_NAMES2.BIG="big",TAG_NAMES2.BLOCKQUOTE="blockquote",TAG_NAMES2.BODY="body",TAG_NAMES2.BR="br",TAG_NAMES2.BUTTON="button",TAG_NAMES2.CAPTION="caption",TAG_NAMES2.CENTER="center",TAG_NAMES2.CODE="code",TAG_NAMES2.COL="col",TAG_NAMES2.COLGROUP="colgroup",TAG_NAMES2.DD="dd",TAG_NAMES2.DESC="desc",TAG_NAMES2.DETAILS="details",TAG_NAMES2.DIALOG="dialog",TAG_NAMES2.DIR="dir",TAG_NAMES2.DIV="div",TAG_NAMES2.DL="dl",TAG_NAMES2.DT="dt",TAG_NAMES2.EM="em",TAG_NAMES2.EMBED="embed",TAG_NAMES2.FIELDSET="fieldset",TAG_NAMES2.FIGCAPTION="figcaption",TAG_NAMES2.FIGURE="figure",TAG_NAMES2.FONT="font",TAG_NAMES2.FOOTER="footer",TAG_NAMES2.FOREIGN_OBJECT="foreignObject",TAG_NAMES2.FORM="form",TAG_NAMES2.FRAME="frame",TAG_NAMES2.FRAMESET="frameset",TAG_NAMES2.H1="h1",TAG_NAMES2.H2="h2",TAG_NAMES2.H3="h3",TAG_NAMES2.H4="h4",TAG_NAMES2.H5="h5",TAG_NAMES2.H6="h6",TAG_NAMES2.HEAD="head",TAG_NAMES2.HEADER="header",TAG_NAMES2.HGROUP="hgroup",TAG_NAMES2.HR="hr",TAG_NAMES2.HTML="html",TAG_NAMES2.I="i",TAG_NAMES2.IMG="img",TAG_NAMES2.IMAGE="image",TAG_NAMES2.INPUT="input",TAG_NAMES2.IFRAME="iframe",TAG_NAMES2.KEYGEN="keygen",TAG_NAMES2.LABEL="label",TAG_NAMES2.LI="li",TAG_NAMES2.LINK="link",TAG_NAMES2.LISTING="listing",TAG_NAMES2.MAIN="main",TAG_NAMES2.MALIGNMARK="malignmark",TAG_NAMES2.MARQUEE="marquee",TAG_NAMES2.MATH="math",TAG_NAMES2.MENU="menu",TAG_NAMES2.META="meta",TAG_NAMES2.MGLYPH="mglyph",TAG_NAMES2.MI="mi",TAG_NAMES2.MO="mo",TAG_NAMES2.MN="mn",TAG_NAMES2.MS="ms",TAG_NAMES2.MTEXT="mtext",TAG_NAMES2.NAV="nav",TAG_NAMES2.NOBR="nobr",TAG_NAMES2.NOFRAMES="noframes",TAG_NAMES2.NOEMBED="noembed",TAG_NAMES2.NOSCRIPT="noscript",TAG_NAMES2.OBJECT="object",TAG_NAMES2.OL="ol",TAG_NAMES2.OPTGROUP="optgroup",TAG_NAMES2.OPTION="option",TAG_NAMES2.P="p",TAG_NAMES2.PARAM="param",TAG_NAMES2.PLAINTEXT="plaintext",TAG_NAMES2.PRE="pre",TAG_NAMES2.RB="rb",TAG_NAMES2.RP="rp",TAG_NAMES2.RT="rt",TAG_NAMES2.RTC="rtc",TAG_NAMES2.RUBY="ruby",TAG_NAMES2.S="s",TAG_NAMES2.SCRIPT="script",TAG_NAMES2.SEARCH="search",TAG_NAMES2.SECTION="section",TAG_NAMES2.SELECT="select",TAG_NAMES2.SOURCE="source",TAG_NAMES2.SMALL="small",TAG_NAMES2.SPAN="span",TAG_NAMES2.STRIKE="strike",TAG_NAMES2.STRONG="strong",TAG_NAMES2.STYLE="style",TAG_NAMES2.SUB="sub",TAG_NAMES2.SUMMARY="summary",TAG_NAMES2.SUP="sup",TAG_NAMES2.TABLE="table",TAG_NAMES2.TBODY="tbody",TAG_NAMES2.TEMPLATE="template",TAG_NAMES2.TEXTAREA="textarea",TAG_NAMES2.TFOOT="tfoot",TAG_NAMES2.TD="td",TAG_NAMES2.TH="th",TAG_NAMES2.THEAD="thead",TAG_NAMES2.TITLE="title",TAG_NAMES2.TR="tr",TAG_NAMES2.TRACK="track",TAG_NAMES2.TT="tt",TAG_NAMES2.U="u",TAG_NAMES2.UL="ul",TAG_NAMES2.SVG="svg",TAG_NAMES2.VAR="var",TAG_NAMES2.WBR="wbr",TAG_NAMES2.XMP="xmp"})(TAG_NAMES||(TAG_NAMES={}));var TAG_ID;(function(TAG_ID2){TAG_ID2[TAG_ID2.UNKNOWN=0]="UNKNOWN",TAG_ID2[TAG_ID2.A=1]="A",TAG_ID2[TAG_ID2.ADDRESS=2]="ADDRESS",TAG_ID2[TAG_ID2.ANNOTATION_XML=3]="ANNOTATION_XML",TAG_ID2[TAG_ID2.APPLET=4]="APPLET",TAG_ID2[TAG_ID2.AREA=5]="AREA",TAG_ID2[TAG_ID2.ARTICLE=6]="ARTICLE",TAG_ID2[TAG_ID2.ASIDE=7]="ASIDE",TAG_ID2[TAG_ID2.B=8]="B",TAG_ID2[TAG_ID2.BASE=9]="BASE",TAG_ID2[TAG_ID2.BASEFONT=10]="BASEFONT",TAG_ID2[TAG_ID2.BGSOUND=11]="BGSOUND",TAG_ID2[TAG_ID2.BIG=12]="BIG",TAG_ID2[TAG_ID2.BLOCKQUOTE=13]="BLOCKQUOTE",TAG_ID2[TAG_ID2.BODY=14]="BODY",TAG_ID2[TAG_ID2.BR=15]="BR",TAG_ID2[TAG_ID2.BUTTON=16]="BUTTON",TAG_ID2[TAG_ID2.CAPTION=17]="CAPTION",TAG_ID2[TAG_ID2.CENTER=18]="CENTER",TAG_ID2[TAG_ID2.CODE=19]="CODE",TAG_ID2[TAG_ID2.COL=20]="COL",TAG_ID2[TAG_ID2.COLGROUP=21]="COLGROUP",TAG_ID2[TAG_ID2.DD=22]="DD",TAG_ID2[TAG_ID2.DESC=23]="DESC",TAG_ID2[TAG_ID2.DETAILS=24]="DETAILS",TAG_ID2[TAG_ID2.DIALOG=25]="DIALOG",TAG_ID2[TAG_ID2.DIR=26]="DIR",TAG_ID2[TAG_ID2.DIV=27]="DIV",TAG_ID2[TAG_ID2.DL=28]="DL",TAG_ID2[TAG_ID2.DT=29]="DT",TAG_ID2[TAG_ID2.EM=30]="EM",TAG_ID2[TAG_ID2.EMBED=31]="EMBED",TAG_ID2[TAG_ID2.FIELDSET=32]="FIELDSET",TAG_ID2[TAG_ID2.FIGCAPTION=33]="FIGCAPTION",TAG_ID2[TAG_ID2.FIGURE=34]="FIGURE",TAG_ID2[TAG_ID2.FONT=35]="FONT",TAG_ID2[TAG_ID2.FOOTER=36]="FOOTER",TAG_ID2[TAG_ID2.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",TAG_ID2[TAG_ID2.FORM=38]="FORM",TAG_ID2[TAG_ID2.FRAME=39]="FRAME",TAG_ID2[TAG_ID2.FRAMESET=40]="FRAMESET",TAG_ID2[TAG_ID2.H1=41]="H1",TAG_ID2[TAG_ID2.H2=42]="H2",TAG_ID2[TAG_ID2.H3=43]="H3",TAG_ID2[TAG_ID2.H4=44]="H4",TAG_ID2[TAG_ID2.H5=45]="H5",TAG_ID2[TAG_ID2.H6=46]="H6",TAG_ID2[TAG_ID2.HEAD=47]="HEAD",TAG_ID2[TAG_ID2.HEADER=48]="HEADER",TAG_ID2[TAG_ID2.HGROUP=49]="HGROUP",TAG_ID2[TAG_ID2.HR=50]="HR",TAG_ID2[TAG_ID2.HTML=51]="HTML",TAG_ID2[TAG_ID2.I=52]="I",TAG_ID2[TAG_ID2.IMG=53]="IMG",TAG_ID2[TAG_ID2.IMAGE=54]="IMAGE",TAG_ID2[TAG_ID2.INPUT=55]="INPUT",TAG_ID2[TAG_ID2.IFRAME=56]="IFRAME",TAG_ID2[TAG_ID2.KEYGEN=57]="KEYGEN",TAG_ID2[TAG_ID2.LABEL=58]="LABEL",TAG_ID2[TAG_ID2.LI=59]="LI",TAG_ID2[TAG_ID2.LINK=60]="LINK",TAG_ID2[TAG_ID2.LISTING=61]="LISTING",TAG_ID2[TAG_ID2.MAIN=62]="MAIN",TAG_ID2[TAG_ID2.MALIGNMARK=63]="MALIGNMARK",TAG_ID2[TAG_ID2.MARQUEE=64]="MARQUEE",TAG_ID2[TAG_ID2.MATH=65]="MATH",TAG_ID2[TAG_ID2.MENU=66]="MENU",TAG_ID2[TAG_ID2.META=67]="META",TAG_ID2[TAG_ID2.MGLYPH=68]="MGLYPH",TAG_ID2[TAG_ID2.MI=69]="MI",TAG_ID2[TAG_ID2.MO=70]="MO",TAG_ID2[TAG_ID2.MN=71]="MN",TAG_ID2[TAG_ID2.MS=72]="MS",TAG_ID2[TAG_ID2.MTEXT=73]="MTEXT",TAG_ID2[TAG_ID2.NAV=74]="NAV",TAG_ID2[TAG_ID2.NOBR=75]="NOBR",TAG_ID2[TAG_ID2.NOFRAMES=76]="NOFRAMES",TAG_ID2[TAG_ID2.NOEMBED=77]="NOEMBED",TAG_ID2[TAG_ID2.NOSCRIPT=78]="NOSCRIPT",TAG_ID2[TAG_ID2.OBJECT=79]="OBJECT",TAG_ID2[TAG_ID2.OL=80]="OL",TAG_ID2[TAG_ID2.OPTGROUP=81]="OPTGROUP",TAG_ID2[TAG_ID2.OPTION=82]="OPTION",TAG_ID2[TAG_ID2.P=83]="P",TAG_ID2[TAG_ID2.PARAM=84]="PARAM",TAG_ID2[TAG_ID2.PLAINTEXT=85]="PLAINTEXT",TAG_ID2[TAG_ID2.PRE=86]="PRE",TAG_ID2[TAG_ID2.RB=87]="RB",TAG_ID2[TAG_ID2.RP=88]="RP",TAG_ID2[TAG_ID2.RT=89]="RT",TAG_ID2[TAG_ID2.RTC=90]="RTC",TAG_ID2[TAG_ID2.RUBY=91]="RUBY",TAG_ID2[TAG_ID2.S=92]="S",TAG_ID2[TAG_ID2.SCRIPT=93]="SCRIPT",TAG_ID2[TAG_ID2.SEARCH=94]="SEARCH",TAG_ID2[TAG_ID2.SECTION=95]="SECTION",TAG_ID2[TAG_ID2.SELECT=96]="SELECT",TAG_ID2[TAG_ID2.SOURCE=97]="SOURCE",TAG_ID2[TAG_ID2.SMALL=98]="SMALL",TAG_ID2[TAG_ID2.SPAN=99]="SPAN",TAG_ID2[TAG_ID2.STRIKE=100]="STRIKE",TAG_ID2[TAG_ID2.STRONG=101]="STRONG",TAG_ID2[TAG_ID2.STYLE=102]="STYLE",TAG_ID2[TAG_ID2.SUB=103]="SUB",TAG_ID2[TAG_ID2.SUMMARY=104]="SUMMARY",TAG_ID2[TAG_ID2.SUP=105]="SUP",TAG_ID2[TAG_ID2.TABLE=106]="TABLE",TAG_ID2[TAG_ID2.TBODY=107]="TBODY",TAG_ID2[TAG_ID2.TEMPLATE=108]="TEMPLATE",TAG_ID2[TAG_ID2.TEXTAREA=109]="TEXTAREA",TAG_ID2[TAG_ID2.TFOOT=110]="TFOOT",TAG_ID2[TAG_ID2.TD=111]="TD",TAG_ID2[TAG_ID2.TH=112]="TH",TAG_ID2[TAG_ID2.THEAD=113]="THEAD",TAG_ID2[TAG_ID2.TITLE=114]="TITLE",TAG_ID2[TAG_ID2.TR=115]="TR",TAG_ID2[TAG_ID2.TRACK=116]="TRACK",TAG_ID2[TAG_ID2.TT=117]="TT",TAG_ID2[TAG_ID2.U=118]="U",TAG_ID2[TAG_ID2.UL=119]="UL",TAG_ID2[TAG_ID2.SVG=120]="SVG",TAG_ID2[TAG_ID2.VAR=121]="VAR",TAG_ID2[TAG_ID2.WBR=122]="WBR",TAG_ID2[TAG_ID2.XMP=123]="XMP"})(TAG_ID||(TAG_ID={}));const TAG_NAME_TO_ID=new Map([[TAG_NAMES.A,TAG_ID.A],[TAG_NAMES.ADDRESS,TAG_ID.ADDRESS],[TAG_NAMES.ANNOTATION_XML,TAG_ID.ANNOTATION_XML],[TAG_NAMES.APPLET,TAG_ID.APPLET],[TAG_NAMES.AREA,TAG_ID.AREA],[TAG_NAMES.ARTICLE,TAG_ID.ARTICLE],[TAG_NAMES.ASIDE,TAG_ID.ASIDE],[TAG_NAMES.B,TAG_ID.B],[TAG_NAMES.BASE,TAG_ID.BASE],[TAG_NAMES.BASEFONT,TAG_ID.BASEFONT],[TAG_NAMES.BGSOUND,TAG_ID.BGSOUND],[TAG_NAMES.BIG,TAG_ID.BIG],[TAG_NAMES.BLOCKQUOTE,TAG_ID.BLOCKQUOTE],[TAG_NAMES.BODY,TAG_ID.BODY],[TAG_NAMES.BR,TAG_ID.BR],[TAG_NAMES.BUTTON,TAG_ID.BUTTON],[TAG_NAMES.CAPTION,TAG_ID.CAPTION],[TAG_NAMES.CENTER,TAG_ID.CENTER],[TAG_NAMES.CODE,TAG_ID.CODE],[TAG_NAMES.COL,TAG_ID.COL],[TAG_NAMES.COLGROUP,TAG_ID.COLGROUP],[TAG_NAMES.DD,TAG_ID.DD],[TAG_NAMES.DESC,TAG_ID.DESC],[TAG_NAMES.DETAILS,TAG_ID.DETAILS],[TAG_NAMES.DIALOG,TAG_ID.DIALOG],[TAG_NAMES.DIR,TAG_ID.DIR],[TAG_NAMES.DIV,TAG_ID.DIV],[TAG_NAMES.DL,TAG_ID.DL],[TAG_NAMES.DT,TAG_ID.DT],[TAG_NAMES.EM,TAG_ID.EM],[TAG_NAMES.EMBED,TAG_ID.EMBED],[TAG_NAMES.FIELDSET,TAG_ID.FIELDSET],[TAG_NAMES.FIGCAPTION,TAG_ID.FIGCAPTION],[TAG_NAMES.FIGURE,TAG_ID.FIGURE],[TAG_NAMES.FONT,TAG_ID.FONT],[TAG_NAMES.FOOTER,TAG_ID.FOOTER],[TAG_NAMES.FOREIGN_OBJECT,TAG_ID.FOREIGN_OBJECT],[TAG_NAMES.FORM,TAG_ID.FORM],[TAG_NAMES.FRAME,TAG_ID.FRAME],[TAG_NAMES.FRAMESET,TAG_ID.FRAMESET],[TAG_NAMES.H1,TAG_ID.H1],[TAG_NAMES.H2,TAG_ID.H2],[TAG_NAMES.H3,TAG_ID.H3],[TAG_NAMES.H4,TAG_ID.H4],[TAG_NAMES.H5,TAG_ID.H5],[TAG_NAMES.H6,TAG_ID.H6],[TAG_NAMES.HEAD,TAG_ID.HEAD],[TAG_NAMES.HEADER,TAG_ID.HEADER],[TAG_NAMES.HGROUP,TAG_ID.HGROUP],[TAG_NAMES.HR,TAG_ID.HR],[TAG_NAMES.HTML,TAG_ID.HTML],[TAG_NAMES.I,TAG_ID.I],[TAG_NAMES.IMG,TAG_ID.IMG],[TAG_NAMES.IMAGE,TAG_ID.IMAGE],[TAG_NAMES.INPUT,TAG_ID.INPUT],[TAG_NAMES.IFRAME,TAG_ID.IFRAME],[TAG_NAMES.KEYGEN,TAG_ID.KEYGEN],[TAG_NAMES.LABEL,TAG_ID.LABEL],[TAG_NAMES.LI,TAG_ID.LI],[TAG_NAMES.LINK,TAG_ID.LINK],[TAG_NAMES.LISTING,TAG_ID.LISTING],[TAG_NAMES.MAIN,TAG_ID.MAIN],[TAG_NAMES.MALIGNMARK,TAG_ID.MALIGNMARK],[TAG_NAMES.MARQUEE,TAG_ID.MARQUEE],[TAG_NAMES.MATH,TAG_ID.MATH],[TAG_NAMES.MENU,TAG_ID.MENU],[TAG_NAMES.META,TAG_ID.META],[TAG_NAMES.MGLYPH,TAG_ID.MGLYPH],[TAG_NAMES.MI,TAG_ID.MI],[TAG_NAMES.MO,TAG_ID.MO],[TAG_NAMES.MN,TAG_ID.MN],[TAG_NAMES.MS,TAG_ID.MS],[TAG_NAMES.MTEXT,TAG_ID.MTEXT],[TAG_NAMES.NAV,TAG_ID.NAV],[TAG_NAMES.NOBR,TAG_ID.NOBR],[TAG_NAMES.NOFRAMES,TAG_ID.NOFRAMES],[TAG_NAMES.NOEMBED,TAG_ID.NOEMBED],[TAG_NAMES.NOSCRIPT,TAG_ID.NOSCRIPT],[TAG_NAMES.OBJECT,TAG_ID.OBJECT],[TAG_NAMES.OL,TAG_ID.OL],[TAG_NAMES.OPTGROUP,TAG_ID.OPTGROUP],[TAG_NAMES.OPTION,TAG_ID.OPTION],[TAG_NAMES.P,TAG_ID.P],[TAG_NAMES.PARAM,TAG_ID.PARAM],[TAG_NAMES.PLAINTEXT,TAG_ID.PLAINTEXT],[TAG_NAMES.PRE,TAG_ID.PRE],[TAG_NAMES.RB,TAG_ID.RB],[TAG_NAMES.RP,TAG_ID.RP],[TAG_NAMES.RT,TAG_ID.RT],[TAG_NAMES.RTC,TAG_ID.RTC],[TAG_NAMES.RUBY,TAG_ID.RUBY],[TAG_NAMES.S,TAG_ID.S],[TAG_NAMES.SCRIPT,TAG_ID.SCRIPT],[TAG_NAMES.SEARCH,TAG_ID.SEARCH],[TAG_NAMES.SECTION,TAG_ID.SECTION],[TAG_NAMES.SELECT,TAG_ID.SELECT],[TAG_NAMES.SOURCE,TAG_ID.SOURCE],[TAG_NAMES.SMALL,TAG_ID.SMALL],[TAG_NAMES.SPAN,TAG_ID.SPAN],[TAG_NAMES.STRIKE,TAG_ID.STRIKE],[TAG_NAMES.STRONG,TAG_ID.STRONG],[TAG_NAMES.STYLE,TAG_ID.STYLE],[TAG_NAMES.SUB,TAG_ID.SUB],[TAG_NAMES.SUMMARY,TAG_ID.SUMMARY],[TAG_NAMES.SUP,TAG_ID.SUP],[TAG_NAMES.TABLE,TAG_ID.TABLE],[TAG_NAMES.TBODY,TAG_ID.TBODY],[TAG_NAMES.TEMPLATE,TAG_ID.TEMPLATE],[TAG_NAMES.TEXTAREA,TAG_ID.TEXTAREA],[TAG_NAMES.TFOOT,TAG_ID.TFOOT],[TAG_NAMES.TD,TAG_ID.TD],[TAG_NAMES.TH,TAG_ID.TH],[TAG_NAMES.THEAD,TAG_ID.THEAD],[TAG_NAMES.TITLE,TAG_ID.TITLE],[TAG_NAMES.TR,TAG_ID.TR],[TAG_NAMES.TRACK,TAG_ID.TRACK],[TAG_NAMES.TT,TAG_ID.TT],[TAG_NAMES.U,TAG_ID.U],[TAG_NAMES.UL,TAG_ID.UL],[TAG_NAMES.SVG,TAG_ID.SVG],[TAG_NAMES.VAR,TAG_ID.VAR],[TAG_NAMES.WBR,TAG_ID.WBR],[TAG_NAMES.XMP,TAG_ID.XMP]]);function getTagID(tagName){var _a18;return(_a18=TAG_NAME_TO_ID.get(tagName))!==null&&_a18!==void 0?_a18:TAG_ID.UNKNOWN}__name(getTagID,"getTagID");const $=TAG_ID,SPECIAL_ELEMENTS={[NS.HTML]:new Set([$.ADDRESS,$.APPLET,$.AREA,$.ARTICLE,$.ASIDE,$.BASE,$.BASEFONT,$.BGSOUND,$.BLOCKQUOTE,$.BODY,$.BR,$.BUTTON,$.CAPTION,$.CENTER,$.COL,$.COLGROUP,$.DD,$.DETAILS,$.DIR,$.DIV,$.DL,$.DT,$.EMBED,$.FIELDSET,$.FIGCAPTION,$.FIGURE,$.FOOTER,$.FORM,$.FRAME,$.FRAMESET,$.H1,$.H2,$.H3,$.H4,$.H5,$.H6,$.HEAD,$.HEADER,$.HGROUP,$.HR,$.HTML,$.IFRAME,$.IMG,$.INPUT,$.LI,$.LINK,$.LISTING,$.MAIN,$.MARQUEE,$.MENU,$.META,$.NAV,$.NOEMBED,$.NOFRAMES,$.NOSCRIPT,$.OBJECT,$.OL,$.P,$.PARAM,$.PLAINTEXT,$.PRE,$.SCRIPT,$.SECTION,$.SELECT,$.SOURCE,$.STYLE,$.SUMMARY,$.TABLE,$.TBODY,$.TD,$.TEMPLATE,$.TEXTAREA,$.TFOOT,$.TH,$.THEAD,$.TITLE,$.TR,$.TRACK,$.UL,$.WBR,$.XMP]),[NS.MATHML]:new Set([$.MI,$.MO,$.MN,$.MS,$.MTEXT,$.ANNOTATION_XML]),[NS.SVG]:new Set([$.TITLE,$.FOREIGN_OBJECT,$.DESC]),[NS.XLINK]:new Set,[NS.XML]:new Set,[NS.XMLNS]:new Set},NUMBERED_HEADERS=new Set([$.H1,$.H2,$.H3,$.H4,$.H5,$.H6]);TAG_NAMES.STYLE,TAG_NAMES.SCRIPT,TAG_NAMES.XMP,TAG_NAMES.IFRAME,TAG_NAMES.NOEMBED,TAG_NAMES.NOFRAMES,TAG_NAMES.PLAINTEXT;var State;(function(State2){State2[State2.DATA=0]="DATA",State2[State2.RCDATA=1]="RCDATA",State2[State2.RAWTEXT=2]="RAWTEXT",State2[State2.SCRIPT_DATA=3]="SCRIPT_DATA",State2[State2.PLAINTEXT=4]="PLAINTEXT",State2[State2.TAG_OPEN=5]="TAG_OPEN",State2[State2.END_TAG_OPEN=6]="END_TAG_OPEN",State2[State2.TAG_NAME=7]="TAG_NAME",State2[State2.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",State2[State2.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",State2[State2.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",State2[State2.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",State2[State2.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",State2[State2.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",State2[State2.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",State2[State2.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",State2[State2.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",State2[State2.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",State2[State2.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",State2[State2.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",State2[State2.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",State2[State2.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",State2[State2.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",State2[State2.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",State2[State2.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",State2[State2.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",State2[State2.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",State2[State2.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",State2[State2.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",State2[State2.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",State2[State2.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",State2[State2.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",State2[State2.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",State2[State2.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",State2[State2.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",State2[State2.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",State2[State2.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",State2[State2.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",State2[State2.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",State2[State2.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",State2[State2.BOGUS_COMMENT=40]="BOGUS_COMMENT",State2[State2.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",State2[State2.COMMENT_START=42]="COMMENT_START",State2[State2.COMMENT_START_DASH=43]="COMMENT_START_DASH",State2[State2.COMMENT=44]="COMMENT",State2[State2.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",State2[State2.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",State2[State2.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",State2[State2.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",State2[State2.COMMENT_END_DASH=49]="COMMENT_END_DASH",State2[State2.COMMENT_END=50]="COMMENT_END",State2[State2.COMMENT_END_BANG=51]="COMMENT_END_BANG",State2[State2.DOCTYPE=52]="DOCTYPE",State2[State2.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",State2[State2.DOCTYPE_NAME=54]="DOCTYPE_NAME",State2[State2.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",State2[State2.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",State2[State2.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",State2[State2.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",State2[State2.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",State2[State2.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",State2[State2.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",State2[State2.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",State2[State2.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",State2[State2.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",State2[State2.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",State2[State2.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",State2[State2.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",State2[State2.CDATA_SECTION=68]="CDATA_SECTION",State2[State2.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",State2[State2.CDATA_SECTION_END=70]="CDATA_SECTION_END",State2[State2.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",State2[State2.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(State||(State={}));const TokenizerMode={DATA:State.DATA,RCDATA:State.RCDATA,RAWTEXT:State.RAWTEXT,SCRIPT_DATA:State.SCRIPT_DATA,PLAINTEXT:State.PLAINTEXT,CDATA_SECTION:State.CDATA_SECTION};function isAsciiDigit(cp){return cp>=CODE_POINTS.DIGIT_0&&cp<=CODE_POINTS.DIGIT_9}__name(isAsciiDigit,"isAsciiDigit");function isAsciiUpper(cp){return cp>=CODE_POINTS.LATIN_CAPITAL_A&&cp<=CODE_POINTS.LATIN_CAPITAL_Z}__name(isAsciiUpper,"isAsciiUpper");function isAsciiLower(cp){return cp>=CODE_POINTS.LATIN_SMALL_A&&cp<=CODE_POINTS.LATIN_SMALL_Z}__name(isAsciiLower,"isAsciiLower");function isAsciiLetter(cp){return isAsciiLower(cp)||isAsciiUpper(cp)}__name(isAsciiLetter,"isAsciiLetter");function isAsciiAlphaNumeric(cp){return isAsciiLetter(cp)||isAsciiDigit(cp)}__name(isAsciiAlphaNumeric,"isAsciiAlphaNumeric");function toAsciiLower(cp){return cp+32}__name(toAsciiLower,"toAsciiLower");function isWhitespace(cp){return cp===CODE_POINTS.SPACE||cp===CODE_POINTS.LINE_FEED||cp===CODE_POINTS.TABULATION||cp===CODE_POINTS.FORM_FEED}__name(isWhitespace,"isWhitespace");function isScriptDataDoubleEscapeSequenceEnd(cp){return isWhitespace(cp)||cp===CODE_POINTS.SOLIDUS||cp===CODE_POINTS.GREATER_THAN_SIGN}__name(isScriptDataDoubleEscapeSequenceEnd,"isScriptDataDoubleEscapeSequenceEnd");function getErrorForNumericCharacterReference(code2){return code2===CODE_POINTS.NULL?ERR.nullCharacterReference:code2>1114111?ERR.characterReferenceOutsideUnicodeRange:isSurrogate(code2)?ERR.surrogateCharacterReference:isUndefinedCodePoint(code2)?ERR.noncharacterCharacterReference:isControlCodePoint(code2)||code2===CODE_POINTS.CARRIAGE_RETURN?ERR.controlCharacterReference:null}__name(getErrorForNumericCharacterReference,"getErrorForNumericCharacterReference");const _Tokenizer=class _Tokenizer{constructor(options,handler){this.options=options,this.handler=handler,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=State.DATA,this.returnState=State.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Preprocessor(handler),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new EntityDecoder(htmlDecodeTree,(cp,consumed)=>{this.preprocessor.pos=this.entityStartPos+consumed-1,this._flushCodePointConsumedAsCharacterReference(cp)},handler.onParseError?{missingSemicolonAfterCharacterReference:__name(()=>{this._err(ERR.missingSemicolonAfterCharacterReference,1)},"missingSemicolonAfterCharacterReference"),absenceOfDigitsInNumericCharacterReference:__name(consumed=>{this._err(ERR.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+consumed)},"absenceOfDigitsInNumericCharacterReference"),validateNumericCharacterReference:__name(code2=>{const error=getErrorForNumericCharacterReference(code2);error&&this._err(error,1)},"validateNumericCharacterReference")}:void 0)}_err(code2,cpOffset=0){var _a18,_b;(_b=(_a18=this.handler).onParseError)===null||_b===void 0||_b.call(_a18,this.preprocessor.getError(code2,cpOffset))}getCurrentLocation(offset2){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-offset2,startOffset:this.preprocessor.offset-offset2,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const cp=this._consume();this._ensureHibernation()||this._callState(cp)}this.inLoop=!1}}pause(){this.paused=!0}resume(writeCallback){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||writeCallback?.())}write(chunk,isLastChunk,writeCallback){this.active=!0,this.preprocessor.write(chunk,isLastChunk),this._runParsingLoop(),this.paused||writeCallback?.()}insertHtmlAtCurrentPos(chunk){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(chunk),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(count2){this.consumedAfterSnapshot+=count2;for(let i2=0;i20&&this._err(ERR.endTagWithAttributes),ct.selfClosing&&this._err(ERR.endTagWithTrailingSolidus),this.handler.onEndTag(ct)),this.preprocessor.dropParsedChunk()}emitCurrentComment(ct){this.prepareToken(ct),this.handler.onComment(ct),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(ct){this.prepareToken(ct),this.handler.onDoctype(ct),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(nextLocation){if(this.currentCharacterToken){switch(nextLocation&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=nextLocation.startLine,this.currentCharacterToken.location.endCol=nextLocation.startCol,this.currentCharacterToken.location.endOffset=nextLocation.startOffset),this.currentCharacterToken.type){case TokenType.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case TokenType.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case TokenType.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const location2=this.getCurrentLocation(0);location2&&(location2.endLine=location2.startLine,location2.endCol=location2.startCol,location2.endOffset=location2.startOffset),this._emitCurrentCharacterToken(location2),this.handler.onEof({type:TokenType.EOF,location:location2}),this.active=!1}_appendCharToCurrentCharacterToken(type,ch){if(this.currentCharacterToken)if(this.currentCharacterToken.type===type){this.currentCharacterToken.chars+=ch;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(type,ch)}_emitCodePoint(cp){const type=isWhitespace(cp)?TokenType.WHITESPACE_CHARACTER:cp===CODE_POINTS.NULL?TokenType.NULL_CHARACTER:TokenType.CHARACTER;this._appendCharToCurrentCharacterToken(type,String.fromCodePoint(cp))}_emitChars(ch){this._appendCharToCurrentCharacterToken(TokenType.CHARACTER,ch)}_startCharacterReference(){this.returnState=this.state,this.state=State.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?DecodingMode.Attribute:DecodingMode.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===State.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===State.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===State.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(cp){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(cp):this._emitCodePoint(cp)}_callState(cp){switch(this.state){case State.DATA:{this._stateData(cp);break}case State.RCDATA:{this._stateRcdata(cp);break}case State.RAWTEXT:{this._stateRawtext(cp);break}case State.SCRIPT_DATA:{this._stateScriptData(cp);break}case State.PLAINTEXT:{this._statePlaintext(cp);break}case State.TAG_OPEN:{this._stateTagOpen(cp);break}case State.END_TAG_OPEN:{this._stateEndTagOpen(cp);break}case State.TAG_NAME:{this._stateTagName(cp);break}case State.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(cp);break}case State.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(cp);break}case State.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(cp);break}case State.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(cp);break}case State.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(cp);break}case State.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(cp);break}case State.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(cp);break}case State.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(cp);break}case State.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(cp);break}case State.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(cp);break}case State.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(cp);break}case State.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(cp);break}case State.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(cp);break}case State.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(cp);break}case State.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(cp);break}case State.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(cp);break}case State.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(cp);break}case State.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(cp);break}case State.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(cp);break}case State.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(cp);break}case State.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(cp);break}case State.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(cp);break}case State.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(cp);break}case State.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(cp);break}case State.ATTRIBUTE_NAME:{this._stateAttributeName(cp);break}case State.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(cp);break}case State.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(cp);break}case State.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(cp);break}case State.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(cp);break}case State.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(cp);break}case State.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(cp);break}case State.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(cp);break}case State.BOGUS_COMMENT:{this._stateBogusComment(cp);break}case State.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(cp);break}case State.COMMENT_START:{this._stateCommentStart(cp);break}case State.COMMENT_START_DASH:{this._stateCommentStartDash(cp);break}case State.COMMENT:{this._stateComment(cp);break}case State.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(cp);break}case State.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(cp);break}case State.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(cp);break}case State.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(cp);break}case State.COMMENT_END_DASH:{this._stateCommentEndDash(cp);break}case State.COMMENT_END:{this._stateCommentEnd(cp);break}case State.COMMENT_END_BANG:{this._stateCommentEndBang(cp);break}case State.DOCTYPE:{this._stateDoctype(cp);break}case State.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(cp);break}case State.DOCTYPE_NAME:{this._stateDoctypeName(cp);break}case State.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(cp);break}case State.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(cp);break}case State.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(cp);break}case State.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(cp);break}case State.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(cp);break}case State.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(cp);break}case State.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(cp);break}case State.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(cp);break}case State.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(cp);break}case State.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(cp);break}case State.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(cp);break}case State.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(cp);break}case State.BOGUS_DOCTYPE:{this._stateBogusDoctype(cp);break}case State.CDATA_SECTION:{this._stateCdataSection(cp);break}case State.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(cp);break}case State.CDATA_SECTION_END:{this._stateCdataSectionEnd(cp);break}case State.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case State.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(cp);break}default:throw new Error("Unknown state")}}_stateData(cp){switch(cp){case CODE_POINTS.LESS_THAN_SIGN:{this.state=State.TAG_OPEN;break}case CODE_POINTS.AMPERSAND:{this._startCharacterReference();break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitCodePoint(cp);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(cp)}}_stateRcdata(cp){switch(cp){case CODE_POINTS.AMPERSAND:{this._startCharacterReference();break}case CODE_POINTS.LESS_THAN_SIGN:{this.state=State.RCDATA_LESS_THAN_SIGN;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(cp)}}_stateRawtext(cp){switch(cp){case CODE_POINTS.LESS_THAN_SIGN:{this.state=State.RAWTEXT_LESS_THAN_SIGN;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(cp)}}_stateScriptData(cp){switch(cp){case CODE_POINTS.LESS_THAN_SIGN:{this.state=State.SCRIPT_DATA_LESS_THAN_SIGN;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(cp)}}_statePlaintext(cp){switch(cp){case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(cp)}}_stateTagOpen(cp){if(isAsciiLetter(cp))this._createStartTagToken(),this.state=State.TAG_NAME,this._stateTagName(cp);else switch(cp){case CODE_POINTS.EXCLAMATION_MARK:{this.state=State.MARKUP_DECLARATION_OPEN;break}case CODE_POINTS.SOLIDUS:{this.state=State.END_TAG_OPEN;break}case CODE_POINTS.QUESTION_MARK:{this._err(ERR.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=State.BOGUS_COMMENT,this._stateBogusComment(cp);break}case CODE_POINTS.EOF:{this._err(ERR.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(ERR.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=State.DATA,this._stateData(cp)}}_stateEndTagOpen(cp){if(isAsciiLetter(cp))this._createEndTagToken(),this.state=State.TAG_NAME,this._stateTagName(cp);else switch(cp){case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.missingEndTagName),this.state=State.DATA;break}case CODE_POINTS.EOF:{this._err(ERR.eofBeforeTagName),this._emitChars("");break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this.state=State.SCRIPT_DATA_ESCAPED,this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=State.SCRIPT_DATA_ESCAPED,this._emitCodePoint(cp)}}_stateScriptDataEscapedLessThanSign(cp){cp===CODE_POINTS.SOLIDUS?this.state=State.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:isAsciiLetter(cp)?(this._emitChars("<"),this.state=State.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(cp)):(this._emitChars("<"),this.state=State.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(cp))}_stateScriptDataEscapedEndTagOpen(cp){isAsciiLetter(cp)?(this.state=State.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(cp)):(this._emitChars("");break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this.state=State.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=State.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(cp)}}_stateScriptDataDoubleEscapedLessThanSign(cp){cp===CODE_POINTS.SOLIDUS?(this.state=State.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=State.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(cp))}_stateScriptDataDoubleEscapeEnd(cp){if(this.preprocessor.startsWith(SEQUENCES.SCRIPT,!1)&&isScriptDataDoubleEscapeSequenceEnd(this.preprocessor.peek(SEQUENCES.SCRIPT.length))){this._emitCodePoint(cp);for(let i2=0;i20&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(popped,!0)}replace(oldElement,newElement){const idx=this._indexOf(oldElement);this.items[idx]=newElement,idx===this.stackTop&&(this.current=newElement)}insertAfter(referenceElement,newElement,newElementID){const insertionIdx=this._indexOf(referenceElement)+1;this.items.splice(insertionIdx,0,newElement),this.tagIDs.splice(insertionIdx,0,newElementID),this.stackTop++,insertionIdx===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,insertionIdx===this.stackTop)}popUntilTagNamePopped(tagName){let targetIdx=this.stackTop+1;do targetIdx=this.tagIDs.lastIndexOf(tagName,targetIdx-1);while(targetIdx>0&&this.treeAdapter.getNamespaceURI(this.items[targetIdx])!==NS.HTML);this.shortenToLength(Math.max(targetIdx,0))}shortenToLength(idx){for(;this.stackTop>=idx;){const popped=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(popped,this.stackTop=0;i2--)if(tagNames.has(this.tagIDs[i2])&&this.treeAdapter.getNamespaceURI(this.items[i2])===namespace)return i2;return-1}clearBackTo(tagNames,targetNS){const idx=this._indexOfTagNames(tagNames,targetNS);this.shortenToLength(idx+1)}clearBackToTableContext(){this.clearBackTo(TABLE_CONTEXT,NS.HTML)}clearBackToTableBodyContext(){this.clearBackTo(TABLE_BODY_CONTEXT,NS.HTML)}clearBackToTableRowContext(){this.clearBackTo(TABLE_ROW_CONTEXT,NS.HTML)}remove(element2){const idx=this._indexOf(element2);idx>=0&&(idx===this.stackTop?this.pop():(this.items.splice(idx,1),this.tagIDs.splice(idx,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(element2,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===TAG_ID.BODY?this.items[1]:null}contains(element2){return this._indexOf(element2)>-1}getCommonAncestor(element2){const elementIdx=this._indexOf(element2)-1;return elementIdx>=0?this.items[elementIdx]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===TAG_ID.HTML}hasInDynamicScope(tagName,htmlScope){for(let i2=this.stackTop;i2>=0;i2--){const tn=this.tagIDs[i2];switch(this.treeAdapter.getNamespaceURI(this.items[i2])){case NS.HTML:{if(tn===tagName)return!0;if(htmlScope.has(tn))return!1;break}case NS.SVG:{if(SCOPING_ELEMENTS_SVG.has(tn))return!1;break}case NS.MATHML:{if(SCOPING_ELEMENTS_MATHML.has(tn))return!1;break}}}return!0}hasInScope(tagName){return this.hasInDynamicScope(tagName,SCOPING_ELEMENTS_HTML)}hasInListItemScope(tagName){return this.hasInDynamicScope(tagName,SCOPING_ELEMENTS_HTML_LIST)}hasInButtonScope(tagName){return this.hasInDynamicScope(tagName,SCOPING_ELEMENTS_HTML_BUTTON)}hasNumberedHeaderInScope(){for(let i2=this.stackTop;i2>=0;i2--){const tn=this.tagIDs[i2];switch(this.treeAdapter.getNamespaceURI(this.items[i2])){case NS.HTML:{if(NUMBERED_HEADERS.has(tn))return!0;if(SCOPING_ELEMENTS_HTML.has(tn))return!1;break}case NS.SVG:{if(SCOPING_ELEMENTS_SVG.has(tn))return!1;break}case NS.MATHML:{if(SCOPING_ELEMENTS_MATHML.has(tn))return!1;break}}}return!0}hasInTableScope(tagName){for(let i2=this.stackTop;i2>=0;i2--)if(this.treeAdapter.getNamespaceURI(this.items[i2])===NS.HTML)switch(this.tagIDs[i2]){case tagName:return!0;case TAG_ID.TABLE:case TAG_ID.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let i2=this.stackTop;i2>=0;i2--)if(this.treeAdapter.getNamespaceURI(this.items[i2])===NS.HTML)switch(this.tagIDs[i2]){case TAG_ID.TBODY:case TAG_ID.THEAD:case TAG_ID.TFOOT:return!0;case TAG_ID.TABLE:case TAG_ID.HTML:return!1}return!0}hasInSelectScope(tagName){for(let i2=this.stackTop;i2>=0;i2--)if(this.treeAdapter.getNamespaceURI(this.items[i2])===NS.HTML)switch(this.tagIDs[i2]){case tagName:return!0;case TAG_ID.OPTION:case TAG_ID.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&IMPLICIT_END_TAG_REQUIRED.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&IMPLICIT_END_TAG_REQUIRED_THOROUGHLY.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(exclusionId){for(;this.currentTagId!==void 0&&this.currentTagId!==exclusionId&&IMPLICIT_END_TAG_REQUIRED_THOROUGHLY.has(this.currentTagId);)this.pop()}};__name(_OpenElementStack,"OpenElementStack");let OpenElementStack=_OpenElementStack;const NOAH_ARK_CAPACITY=3;var EntryType;(function(EntryType2){EntryType2[EntryType2.Marker=0]="Marker",EntryType2[EntryType2.Element=1]="Element"})(EntryType||(EntryType={}));const MARKER={type:EntryType.Marker},_FormattingElementList=class _FormattingElementList{constructor(treeAdapter){this.treeAdapter=treeAdapter,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(newElement,neAttrs){const candidates=[],neAttrsLength=neAttrs.length,neTagName=this.treeAdapter.getTagName(newElement),neNamespaceURI=this.treeAdapter.getNamespaceURI(newElement);for(let i2=0;i2[neAttr.name,neAttr.value]));let validCandidates=0;for(let i2=0;i2neAttrsMap.get(cAttr.name)===cAttr.value)&&(validCandidates+=1,validCandidates>=NOAH_ARK_CAPACITY&&this.entries.splice(candidate.idx,1))}}insertMarker(){this.entries.unshift(MARKER)}pushElement(element2,token){this._ensureNoahArkCondition(element2),this.entries.unshift({type:EntryType.Element,element:element2,token})}insertElementAfterBookmark(element2,token){const bookmarkIdx=this.entries.indexOf(this.bookmark);this.entries.splice(bookmarkIdx,0,{type:EntryType.Element,element:element2,token})}removeEntry(entry){const entryIndex=this.entries.indexOf(entry);entryIndex!==-1&&this.entries.splice(entryIndex,1)}clearToLastMarker(){const markerIdx=this.entries.indexOf(MARKER);markerIdx===-1?this.entries.length=0:this.entries.splice(0,markerIdx+1)}getElementEntryInScopeWithTagName(tagName){const entry=this.entries.find(entry2=>entry2.type===EntryType.Marker||this.treeAdapter.getTagName(entry2.element)===tagName);return entry&&entry.type===EntryType.Element?entry:null}getElementEntry(element2){return this.entries.find(entry=>entry.type===EntryType.Element&&entry.element===element2)}};__name(_FormattingElementList,"FormattingElementList");let FormattingElementList=_FormattingElementList;const defaultTreeAdapter={createDocument(){return{nodeName:"#document",mode:DOCUMENT_MODE.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(tagName,namespaceURI,attrs){return{nodeName:tagName,tagName,attrs,namespaceURI,childNodes:[],parentNode:null}},createCommentNode(data){return{nodeName:"#comment",data,parentNode:null}},createTextNode(value2){return{nodeName:"#text",value:value2,parentNode:null}},appendChild(parentNode,newNode){parentNode.childNodes.push(newNode),newNode.parentNode=parentNode},insertBefore(parentNode,newNode,referenceNode){const insertionIdx=parentNode.childNodes.indexOf(referenceNode);parentNode.childNodes.splice(insertionIdx,0,newNode),newNode.parentNode=parentNode},setTemplateContent(templateElement,contentElement){templateElement.content=contentElement},getTemplateContent(templateElement){return templateElement.content},setDocumentType(document2,name2,publicId,systemId){const doctypeNode=document2.childNodes.find(node2=>node2.nodeName==="#documentType");if(doctypeNode)doctypeNode.name=name2,doctypeNode.publicId=publicId,doctypeNode.systemId=systemId;else{const node2={nodeName:"#documentType",name:name2,publicId,systemId,parentNode:null};defaultTreeAdapter.appendChild(document2,node2)}},setDocumentMode(document2,mode){document2.mode=mode},getDocumentMode(document2){return document2.mode},detachNode(node2){if(node2.parentNode){const idx=node2.parentNode.childNodes.indexOf(node2);node2.parentNode.childNodes.splice(idx,1),node2.parentNode=null}},insertText(parentNode,text2){if(parentNode.childNodes.length>0){const prevNode=parentNode.childNodes[parentNode.childNodes.length-1];if(defaultTreeAdapter.isTextNode(prevNode)){prevNode.value+=text2;return}}defaultTreeAdapter.appendChild(parentNode,defaultTreeAdapter.createTextNode(text2))},insertTextBefore(parentNode,text2,referenceNode){const prevNode=parentNode.childNodes[parentNode.childNodes.indexOf(referenceNode)-1];prevNode&&defaultTreeAdapter.isTextNode(prevNode)?prevNode.value+=text2:defaultTreeAdapter.insertBefore(parentNode,defaultTreeAdapter.createTextNode(text2),referenceNode)},adoptAttributes(recipient,attrs){const recipientAttrsMap=new Set(recipient.attrs.map(attr=>attr.name));for(let j2=0;j2publicId.startsWith(prefix2))}__name(hasPrefix,"hasPrefix");function isConforming(token){return token.name===VALID_DOCTYPE_NAME&&token.publicId===null&&(token.systemId===null||token.systemId===VALID_SYSTEM_ID)}__name(isConforming,"isConforming");function getDocumentMode(token){if(token.name!==VALID_DOCTYPE_NAME)return DOCUMENT_MODE.QUIRKS;const{systemId}=token;if(systemId&&systemId.toLowerCase()===QUIRKS_MODE_SYSTEM_ID)return DOCUMENT_MODE.QUIRKS;let{publicId}=token;if(publicId!==null){if(publicId=publicId.toLowerCase(),QUIRKS_MODE_PUBLIC_IDS.has(publicId))return DOCUMENT_MODE.QUIRKS;let prefixes2=systemId===null?QUIRKS_MODE_NO_SYSTEM_ID_PUBLIC_ID_PREFIXES:QUIRKS_MODE_PUBLIC_ID_PREFIXES;if(hasPrefix(publicId,prefixes2))return DOCUMENT_MODE.QUIRKS;if(prefixes2=systemId===null?LIMITED_QUIRKS_PUBLIC_ID_PREFIXES:LIMITED_QUIRKS_WITH_SYSTEM_ID_PUBLIC_ID_PREFIXES,hasPrefix(publicId,prefixes2))return DOCUMENT_MODE.LIMITED_QUIRKS}return DOCUMENT_MODE.NO_QUIRKS}__name(getDocumentMode,"getDocumentMode");const MIME_TYPES={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},DEFINITION_URL_ATTR="definitionurl",ADJUSTED_DEFINITION_URL_ATTR="definitionURL",SVG_ATTRS_ADJUSTMENT_MAP=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(attr=>[attr.toLowerCase(),attr])),XML_ATTRS_ADJUSTMENT_MAP=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:NS.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:NS.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:NS.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:NS.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:NS.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:NS.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:NS.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:NS.XML}],["xml:space",{prefix:"xml",name:"space",namespace:NS.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:NS.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:NS.XMLNS}]]),SVG_TAG_NAMES_ADJUSTMENT_MAP=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(tn=>[tn.toLowerCase(),tn])),EXITS_FOREIGN_CONTENT=new Set([TAG_ID.B,TAG_ID.BIG,TAG_ID.BLOCKQUOTE,TAG_ID.BODY,TAG_ID.BR,TAG_ID.CENTER,TAG_ID.CODE,TAG_ID.DD,TAG_ID.DIV,TAG_ID.DL,TAG_ID.DT,TAG_ID.EM,TAG_ID.EMBED,TAG_ID.H1,TAG_ID.H2,TAG_ID.H3,TAG_ID.H4,TAG_ID.H5,TAG_ID.H6,TAG_ID.HEAD,TAG_ID.HR,TAG_ID.I,TAG_ID.IMG,TAG_ID.LI,TAG_ID.LISTING,TAG_ID.MENU,TAG_ID.META,TAG_ID.NOBR,TAG_ID.OL,TAG_ID.P,TAG_ID.PRE,TAG_ID.RUBY,TAG_ID.S,TAG_ID.SMALL,TAG_ID.SPAN,TAG_ID.STRONG,TAG_ID.STRIKE,TAG_ID.SUB,TAG_ID.SUP,TAG_ID.TABLE,TAG_ID.TT,TAG_ID.U,TAG_ID.UL,TAG_ID.VAR]);function causesExit(startTagToken){const tn=startTagToken.tagID;return tn===TAG_ID.FONT&&startTagToken.attrs.some(({name:name2})=>name2===ATTRS.COLOR||name2===ATTRS.SIZE||name2===ATTRS.FACE)||EXITS_FOREIGN_CONTENT.has(tn)}__name(causesExit,"causesExit");function adjustTokenMathMLAttrs(token){for(let i2=0;i20&&this._setContextModes(node2,tid)}onItemPop(node2,isTop){var _a18,_b;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(node2,this.currentToken),(_b=(_a18=this.treeAdapter).onItemPop)===null||_b===void 0||_b.call(_a18,node2,this.openElements.current),isTop){let current,currentTagId;this.openElements.stackTop===0&&this.fragmentContext?(current=this.fragmentContext,currentTagId=this.fragmentContextID):{current,currentTagId}=this.openElements,this._setContextModes(current,currentTagId)}}_setContextModes(current,tid){const isHTML=current===this.document||current&&this.treeAdapter.getNamespaceURI(current)===NS.HTML;this.currentNotInHTML=!isHTML,this.tokenizer.inForeignNode=!isHTML&¤t!==void 0&&tid!==void 0&&!this._isIntegrationPoint(tid,current)}_switchToTextParsing(currentToken,nextTokenizerState){this._insertElement(currentToken,NS.HTML),this.tokenizer.state=nextTokenizerState,this.originalInsertionMode=this.insertionMode,this.insertionMode=InsertionMode.TEXT}switchToPlaintextParsing(){this.insertionMode=InsertionMode.TEXT,this.originalInsertionMode=InsertionMode.IN_BODY,this.tokenizer.state=TokenizerMode.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let node2=this.fragmentContext;for(;node2;){if(this.treeAdapter.getTagName(node2)===TAG_NAMES.FORM){this.formElement=node2;break}node2=this.treeAdapter.getParentNode(node2)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==NS.HTML))switch(this.fragmentContextID){case TAG_ID.TITLE:case TAG_ID.TEXTAREA:{this.tokenizer.state=TokenizerMode.RCDATA;break}case TAG_ID.STYLE:case TAG_ID.XMP:case TAG_ID.IFRAME:case TAG_ID.NOEMBED:case TAG_ID.NOFRAMES:case TAG_ID.NOSCRIPT:{this.tokenizer.state=TokenizerMode.RAWTEXT;break}case TAG_ID.SCRIPT:{this.tokenizer.state=TokenizerMode.SCRIPT_DATA;break}case TAG_ID.PLAINTEXT:{this.tokenizer.state=TokenizerMode.PLAINTEXT;break}}}_setDocumentType(token){const name2=token.name||"",publicId=token.publicId||"",systemId=token.systemId||"";if(this.treeAdapter.setDocumentType(this.document,name2,publicId,systemId),token.location){const docTypeNode=this.treeAdapter.getChildNodes(this.document).find(node2=>this.treeAdapter.isDocumentTypeNode(node2));docTypeNode&&this.treeAdapter.setNodeSourceCodeLocation(docTypeNode,token.location)}}_attachElementToTree(element2,location2){if(this.options.sourceCodeLocationInfo){const loc=location2&&{...location2,startTag:location2};this.treeAdapter.setNodeSourceCodeLocation(element2,loc)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(element2);else{const parent=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(parent??this.document,element2)}}_appendElement(token,namespaceURI){const element2=this.treeAdapter.createElement(token.tagName,namespaceURI,token.attrs);this._attachElementToTree(element2,token.location)}_insertElement(token,namespaceURI){const element2=this.treeAdapter.createElement(token.tagName,namespaceURI,token.attrs);this._attachElementToTree(element2,token.location),this.openElements.push(element2,token.tagID)}_insertFakeElement(tagName,tagID){const element2=this.treeAdapter.createElement(tagName,NS.HTML,[]);this._attachElementToTree(element2,null),this.openElements.push(element2,tagID)}_insertTemplate(token){const tmpl=this.treeAdapter.createElement(token.tagName,NS.HTML,token.attrs),content2=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(tmpl,content2),this._attachElementToTree(tmpl,token.location),this.openElements.push(tmpl,token.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(content2,null)}_insertFakeRootElement(){const element2=this.treeAdapter.createElement(TAG_NAMES.HTML,NS.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(element2,null),this.treeAdapter.appendChild(this.openElements.current,element2),this.openElements.push(element2,TAG_ID.HTML)}_appendCommentNode(token,parent){const commentNode=this.treeAdapter.createCommentNode(token.data);this.treeAdapter.appendChild(parent,commentNode),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(commentNode,token.location)}_insertCharacters(token){let parent,beforeElement;if(this._shouldFosterParentOnInsertion()?({parent,beforeElement}=this._findFosterParentingLocation(),beforeElement?this.treeAdapter.insertTextBefore(parent,token.chars,beforeElement):this.treeAdapter.insertText(parent,token.chars)):(parent=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(parent,token.chars)),!token.location)return;const siblings=this.treeAdapter.getChildNodes(parent),textNodeIdx=beforeElement?siblings.lastIndexOf(beforeElement):siblings.length,textNode=siblings[textNodeIdx-1];if(this.treeAdapter.getNodeSourceCodeLocation(textNode)){const{endLine,endCol,endOffset}=token.location;this.treeAdapter.updateNodeSourceCodeLocation(textNode,{endLine,endCol,endOffset})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(textNode,token.location)}_adoptNodes(donor,recipient){for(let child=this.treeAdapter.getFirstChild(donor);child;child=this.treeAdapter.getFirstChild(donor))this.treeAdapter.detachNode(child),this.treeAdapter.appendChild(recipient,child)}_setEndLocation(element2,closingToken){if(this.treeAdapter.getNodeSourceCodeLocation(element2)&&closingToken.location){const ctLoc=closingToken.location,tn=this.treeAdapter.getTagName(element2),endLoc=closingToken.type===TokenType.END_TAG&&tn===closingToken.tagName?{endTag:{...ctLoc},endLine:ctLoc.endLine,endCol:ctLoc.endCol,endOffset:ctLoc.endOffset}:{endLine:ctLoc.startLine,endCol:ctLoc.startCol,endOffset:ctLoc.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(element2,endLoc)}}shouldProcessStartTagTokenInForeignContent(token){if(!this.currentNotInHTML)return!1;let current,currentTagId;return this.openElements.stackTop===0&&this.fragmentContext?(current=this.fragmentContext,currentTagId=this.fragmentContextID):{current,currentTagId}=this.openElements,token.tagID===TAG_ID.SVG&&this.treeAdapter.getTagName(current)===TAG_NAMES.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(current)===NS.MATHML?!1:this.tokenizer.inForeignNode||(token.tagID===TAG_ID.MGLYPH||token.tagID===TAG_ID.MALIGNMARK)&¤tTagId!==void 0&&!this._isIntegrationPoint(currentTagId,current,NS.HTML)}_processToken(token){switch(token.type){case TokenType.CHARACTER:{this.onCharacter(token);break}case TokenType.NULL_CHARACTER:{this.onNullCharacter(token);break}case TokenType.COMMENT:{this.onComment(token);break}case TokenType.DOCTYPE:{this.onDoctype(token);break}case TokenType.START_TAG:{this._processStartTag(token);break}case TokenType.END_TAG:{this.onEndTag(token);break}case TokenType.EOF:{this.onEof(token);break}case TokenType.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(token);break}}}_isIntegrationPoint(tid,element2,foreignNS){const ns=this.treeAdapter.getNamespaceURI(element2),attrs=this.treeAdapter.getAttrList(element2);return isIntegrationPoint(tid,ns,attrs,foreignNS)}_reconstructActiveFormattingElements(){const listLength=this.activeFormattingElements.entries.length;if(listLength){const endIndex=this.activeFormattingElements.entries.findIndex(entry=>entry.type===EntryType.Marker||this.openElements.contains(entry.element)),unopenIdx=endIndex===-1?listLength-1:endIndex-1;for(let i2=unopenIdx;i2>=0;i2--){const entry=this.activeFormattingElements.entries[i2];this._insertElement(entry.token,this.treeAdapter.getNamespaceURI(entry.element)),entry.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=InsertionMode.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(TAG_ID.P),this.openElements.popUntilTagNamePopped(TAG_ID.P)}_resetInsertionMode(){for(let i2=this.openElements.stackTop;i2>=0;i2--)switch(i2===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[i2]){case TAG_ID.TR:{this.insertionMode=InsertionMode.IN_ROW;return}case TAG_ID.TBODY:case TAG_ID.THEAD:case TAG_ID.TFOOT:{this.insertionMode=InsertionMode.IN_TABLE_BODY;return}case TAG_ID.CAPTION:{this.insertionMode=InsertionMode.IN_CAPTION;return}case TAG_ID.COLGROUP:{this.insertionMode=InsertionMode.IN_COLUMN_GROUP;return}case TAG_ID.TABLE:{this.insertionMode=InsertionMode.IN_TABLE;return}case TAG_ID.BODY:{this.insertionMode=InsertionMode.IN_BODY;return}case TAG_ID.FRAMESET:{this.insertionMode=InsertionMode.IN_FRAMESET;return}case TAG_ID.SELECT:{this._resetInsertionModeForSelect(i2);return}case TAG_ID.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case TAG_ID.HTML:{this.insertionMode=this.headElement?InsertionMode.AFTER_HEAD:InsertionMode.BEFORE_HEAD;return}case TAG_ID.TD:case TAG_ID.TH:{if(i2>0){this.insertionMode=InsertionMode.IN_CELL;return}break}case TAG_ID.HEAD:{if(i2>0){this.insertionMode=InsertionMode.IN_HEAD;return}break}}this.insertionMode=InsertionMode.IN_BODY}_resetInsertionModeForSelect(selectIdx){if(selectIdx>0)for(let i2=selectIdx-1;i2>0;i2--){const tn=this.openElements.tagIDs[i2];if(tn===TAG_ID.TEMPLATE)break;if(tn===TAG_ID.TABLE){this.insertionMode=InsertionMode.IN_SELECT_IN_TABLE;return}}this.insertionMode=InsertionMode.IN_SELECT}_isElementCausesFosterParenting(tn){return TABLE_STRUCTURE_TAGS.has(tn)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let i2=this.openElements.stackTop;i2>=0;i2--){const openElement=this.openElements.items[i2];switch(this.openElements.tagIDs[i2]){case TAG_ID.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(openElement)===NS.HTML)return{parent:this.treeAdapter.getTemplateContent(openElement),beforeElement:null};break}case TAG_ID.TABLE:{const parent=this.treeAdapter.getParentNode(openElement);return parent?{parent,beforeElement:openElement}:{parent:this.openElements.items[i2-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(element2){const location2=this._findFosterParentingLocation();location2.beforeElement?this.treeAdapter.insertBefore(location2.parent,element2,location2.beforeElement):this.treeAdapter.appendChild(location2.parent,element2)}_isSpecialElement(element2,id){const ns=this.treeAdapter.getNamespaceURI(element2);return SPECIAL_ELEMENTS[ns].has(id)}onCharacter(token){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){characterInForeignContent(this,token);return}switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,token);break}case InsertionMode.BEFORE_HTML:{tokenBeforeHtml(this,token);break}case InsertionMode.BEFORE_HEAD:{tokenBeforeHead(this,token);break}case InsertionMode.IN_HEAD:{tokenInHead(this,token);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{tokenInHeadNoScript(this,token);break}case InsertionMode.AFTER_HEAD:{tokenAfterHead(this,token);break}case InsertionMode.IN_BODY:case InsertionMode.IN_CAPTION:case InsertionMode.IN_CELL:case InsertionMode.IN_TEMPLATE:{characterInBody(this,token);break}case InsertionMode.TEXT:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:{this._insertCharacters(token);break}case InsertionMode.IN_TABLE:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:{characterInTable(this,token);break}case InsertionMode.IN_TABLE_TEXT:{characterInTableText(this,token);break}case InsertionMode.IN_COLUMN_GROUP:{tokenInColumnGroup(this,token);break}case InsertionMode.AFTER_BODY:{tokenAfterBody(this,token);break}case InsertionMode.AFTER_AFTER_BODY:{tokenAfterAfterBody(this,token);break}}}onNullCharacter(token){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){nullCharacterInForeignContent(this,token);return}switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,token);break}case InsertionMode.BEFORE_HTML:{tokenBeforeHtml(this,token);break}case InsertionMode.BEFORE_HEAD:{tokenBeforeHead(this,token);break}case InsertionMode.IN_HEAD:{tokenInHead(this,token);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{tokenInHeadNoScript(this,token);break}case InsertionMode.AFTER_HEAD:{tokenAfterHead(this,token);break}case InsertionMode.TEXT:{this._insertCharacters(token);break}case InsertionMode.IN_TABLE:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:{characterInTable(this,token);break}case InsertionMode.IN_COLUMN_GROUP:{tokenInColumnGroup(this,token);break}case InsertionMode.AFTER_BODY:{tokenAfterBody(this,token);break}case InsertionMode.AFTER_AFTER_BODY:{tokenAfterAfterBody(this,token);break}}}onComment(token){if(this.skipNextNewLine=!1,this.currentNotInHTML){appendComment(this,token);return}switch(this.insertionMode){case InsertionMode.INITIAL:case InsertionMode.BEFORE_HTML:case InsertionMode.BEFORE_HEAD:case InsertionMode.IN_HEAD:case InsertionMode.IN_HEAD_NO_SCRIPT:case InsertionMode.AFTER_HEAD:case InsertionMode.IN_BODY:case InsertionMode.IN_TABLE:case InsertionMode.IN_CAPTION:case InsertionMode.IN_COLUMN_GROUP:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:case InsertionMode.IN_CELL:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:case InsertionMode.IN_TEMPLATE:case InsertionMode.IN_FRAMESET:case InsertionMode.AFTER_FRAMESET:{appendComment(this,token);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,token);break}case InsertionMode.AFTER_BODY:{appendCommentToRootHtmlElement(this,token);break}case InsertionMode.AFTER_AFTER_BODY:case InsertionMode.AFTER_AFTER_FRAMESET:{appendCommentToDocument(this,token);break}}}onDoctype(token){switch(this.skipNextNewLine=!1,this.insertionMode){case InsertionMode.INITIAL:{doctypeInInitialMode(this,token);break}case InsertionMode.BEFORE_HEAD:case InsertionMode.IN_HEAD:case InsertionMode.IN_HEAD_NO_SCRIPT:case InsertionMode.AFTER_HEAD:{this._err(token,ERR.misplacedDoctype);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,token);break}}}onStartTag(token){this.skipNextNewLine=!1,this.currentToken=token,this._processStartTag(token),token.selfClosing&&!token.ackSelfClosing&&this._err(token,ERR.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(token){this.shouldProcessStartTagTokenInForeignContent(token)?startTagInForeignContent(this,token):this._startTagOutsideForeignContent(token)}_startTagOutsideForeignContent(token){switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,token);break}case InsertionMode.BEFORE_HTML:{startTagBeforeHtml(this,token);break}case InsertionMode.BEFORE_HEAD:{startTagBeforeHead(this,token);break}case InsertionMode.IN_HEAD:{startTagInHead(this,token);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{startTagInHeadNoScript(this,token);break}case InsertionMode.AFTER_HEAD:{startTagAfterHead(this,token);break}case InsertionMode.IN_BODY:{startTagInBody(this,token);break}case InsertionMode.IN_TABLE:{startTagInTable(this,token);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,token);break}case InsertionMode.IN_CAPTION:{startTagInCaption(this,token);break}case InsertionMode.IN_COLUMN_GROUP:{startTagInColumnGroup(this,token);break}case InsertionMode.IN_TABLE_BODY:{startTagInTableBody(this,token);break}case InsertionMode.IN_ROW:{startTagInRow(this,token);break}case InsertionMode.IN_CELL:{startTagInCell(this,token);break}case InsertionMode.IN_SELECT:{startTagInSelect(this,token);break}case InsertionMode.IN_SELECT_IN_TABLE:{startTagInSelectInTable(this,token);break}case InsertionMode.IN_TEMPLATE:{startTagInTemplate(this,token);break}case InsertionMode.AFTER_BODY:{startTagAfterBody(this,token);break}case InsertionMode.IN_FRAMESET:{startTagInFrameset(this,token);break}case InsertionMode.AFTER_FRAMESET:{startTagAfterFrameset(this,token);break}case InsertionMode.AFTER_AFTER_BODY:{startTagAfterAfterBody(this,token);break}case InsertionMode.AFTER_AFTER_FRAMESET:{startTagAfterAfterFrameset(this,token);break}}}onEndTag(token){this.skipNextNewLine=!1,this.currentToken=token,this.currentNotInHTML?endTagInForeignContent(this,token):this._endTagOutsideForeignContent(token)}_endTagOutsideForeignContent(token){switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,token);break}case InsertionMode.BEFORE_HTML:{endTagBeforeHtml(this,token);break}case InsertionMode.BEFORE_HEAD:{endTagBeforeHead(this,token);break}case InsertionMode.IN_HEAD:{endTagInHead(this,token);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{endTagInHeadNoScript(this,token);break}case InsertionMode.AFTER_HEAD:{endTagAfterHead(this,token);break}case InsertionMode.IN_BODY:{endTagInBody(this,token);break}case InsertionMode.TEXT:{endTagInText(this,token);break}case InsertionMode.IN_TABLE:{endTagInTable(this,token);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,token);break}case InsertionMode.IN_CAPTION:{endTagInCaption(this,token);break}case InsertionMode.IN_COLUMN_GROUP:{endTagInColumnGroup(this,token);break}case InsertionMode.IN_TABLE_BODY:{endTagInTableBody(this,token);break}case InsertionMode.IN_ROW:{endTagInRow(this,token);break}case InsertionMode.IN_CELL:{endTagInCell(this,token);break}case InsertionMode.IN_SELECT:{endTagInSelect(this,token);break}case InsertionMode.IN_SELECT_IN_TABLE:{endTagInSelectInTable(this,token);break}case InsertionMode.IN_TEMPLATE:{endTagInTemplate(this,token);break}case InsertionMode.AFTER_BODY:{endTagAfterBody(this,token);break}case InsertionMode.IN_FRAMESET:{endTagInFrameset(this,token);break}case InsertionMode.AFTER_FRAMESET:{endTagAfterFrameset(this,token);break}case InsertionMode.AFTER_AFTER_BODY:{tokenAfterAfterBody(this,token);break}}}onEof(token){switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,token);break}case InsertionMode.BEFORE_HTML:{tokenBeforeHtml(this,token);break}case InsertionMode.BEFORE_HEAD:{tokenBeforeHead(this,token);break}case InsertionMode.IN_HEAD:{tokenInHead(this,token);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{tokenInHeadNoScript(this,token);break}case InsertionMode.AFTER_HEAD:{tokenAfterHead(this,token);break}case InsertionMode.IN_BODY:case InsertionMode.IN_TABLE:case InsertionMode.IN_CAPTION:case InsertionMode.IN_COLUMN_GROUP:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:case InsertionMode.IN_CELL:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:{eofInBody(this,token);break}case InsertionMode.TEXT:{eofInText(this,token);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,token);break}case InsertionMode.IN_TEMPLATE:{eofInTemplate(this,token);break}case InsertionMode.AFTER_BODY:case InsertionMode.IN_FRAMESET:case InsertionMode.AFTER_FRAMESET:case InsertionMode.AFTER_AFTER_BODY:case InsertionMode.AFTER_AFTER_FRAMESET:{stopParsing(this,token);break}}}onWhitespaceCharacter(token){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,token.chars.charCodeAt(0)===CODE_POINTS.LINE_FEED)){if(token.chars.length===1)return;token.chars=token.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(token);return}switch(this.insertionMode){case InsertionMode.IN_HEAD:case InsertionMode.IN_HEAD_NO_SCRIPT:case InsertionMode.AFTER_HEAD:case InsertionMode.TEXT:case InsertionMode.IN_COLUMN_GROUP:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:case InsertionMode.IN_FRAMESET:case InsertionMode.AFTER_FRAMESET:{this._insertCharacters(token);break}case InsertionMode.IN_BODY:case InsertionMode.IN_CAPTION:case InsertionMode.IN_CELL:case InsertionMode.IN_TEMPLATE:case InsertionMode.AFTER_BODY:case InsertionMode.AFTER_AFTER_BODY:case InsertionMode.AFTER_AFTER_FRAMESET:{whitespaceCharacterInBody(this,token);break}case InsertionMode.IN_TABLE:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:{characterInTable(this,token);break}case InsertionMode.IN_TABLE_TEXT:{whitespaceCharacterInTableText(this,token);break}}}};__name(_Parser,"Parser");let Parser=_Parser;function aaObtainFormattingElementEntry(p2,token){let formattingElementEntry=p2.activeFormattingElements.getElementEntryInScopeWithTagName(token.tagName);return formattingElementEntry?p2.openElements.contains(formattingElementEntry.element)?p2.openElements.hasInScope(token.tagID)||(formattingElementEntry=null):(p2.activeFormattingElements.removeEntry(formattingElementEntry),formattingElementEntry=null):genericEndTagInBody(p2,token),formattingElementEntry}__name(aaObtainFormattingElementEntry,"aaObtainFormattingElementEntry");function aaObtainFurthestBlock(p2,formattingElementEntry){let furthestBlock=null,idx=p2.openElements.stackTop;for(;idx>=0;idx--){const element2=p2.openElements.items[idx];if(element2===formattingElementEntry.element)break;p2._isSpecialElement(element2,p2.openElements.tagIDs[idx])&&(furthestBlock=element2)}return furthestBlock||(p2.openElements.shortenToLength(Math.max(idx,0)),p2.activeFormattingElements.removeEntry(formattingElementEntry)),furthestBlock}__name(aaObtainFurthestBlock,"aaObtainFurthestBlock");function aaInnerLoop(p2,furthestBlock,formattingElement){let lastElement=furthestBlock,nextElement=p2.openElements.getCommonAncestor(furthestBlock);for(let i2=0,element2=nextElement;element2!==formattingElement;i2++,element2=nextElement){nextElement=p2.openElements.getCommonAncestor(element2);const elementEntry=p2.activeFormattingElements.getElementEntry(element2),counterOverflow=elementEntry&&i2>=AA_INNER_LOOP_ITER;!elementEntry||counterOverflow?(counterOverflow&&p2.activeFormattingElements.removeEntry(elementEntry),p2.openElements.remove(element2)):(element2=aaRecreateElementFromEntry(p2,elementEntry),lastElement===furthestBlock&&(p2.activeFormattingElements.bookmark=elementEntry),p2.treeAdapter.detachNode(lastElement),p2.treeAdapter.appendChild(element2,lastElement),lastElement=element2)}return lastElement}__name(aaInnerLoop,"aaInnerLoop");function aaRecreateElementFromEntry(p2,elementEntry){const ns=p2.treeAdapter.getNamespaceURI(elementEntry.element),newElement=p2.treeAdapter.createElement(elementEntry.token.tagName,ns,elementEntry.token.attrs);return p2.openElements.replace(elementEntry.element,newElement),elementEntry.element=newElement,newElement}__name(aaRecreateElementFromEntry,"aaRecreateElementFromEntry");function aaInsertLastNodeInCommonAncestor(p2,commonAncestor,lastElement){const tn=p2.treeAdapter.getTagName(commonAncestor),tid=getTagID(tn);if(p2._isElementCausesFosterParenting(tid))p2._fosterParentElement(lastElement);else{const ns=p2.treeAdapter.getNamespaceURI(commonAncestor);tid===TAG_ID.TEMPLATE&&ns===NS.HTML&&(commonAncestor=p2.treeAdapter.getTemplateContent(commonAncestor)),p2.treeAdapter.appendChild(commonAncestor,lastElement)}}__name(aaInsertLastNodeInCommonAncestor,"aaInsertLastNodeInCommonAncestor");function aaReplaceFormattingElement(p2,furthestBlock,formattingElementEntry){const ns=p2.treeAdapter.getNamespaceURI(formattingElementEntry.element),{token}=formattingElementEntry,newElement=p2.treeAdapter.createElement(token.tagName,ns,token.attrs);p2._adoptNodes(furthestBlock,newElement),p2.treeAdapter.appendChild(furthestBlock,newElement),p2.activeFormattingElements.insertElementAfterBookmark(newElement,token),p2.activeFormattingElements.removeEntry(formattingElementEntry),p2.openElements.remove(formattingElementEntry.element),p2.openElements.insertAfter(furthestBlock,newElement,token.tagID)}__name(aaReplaceFormattingElement,"aaReplaceFormattingElement");function callAdoptionAgency(p2,token){for(let i2=0;i2=target;i2--)p2._setEndLocation(p2.openElements.items[i2],token);if(!p2.fragmentContext&&p2.openElements.stackTop>=0){const htmlElement=p2.openElements.items[0],htmlLocation=p2.treeAdapter.getNodeSourceCodeLocation(htmlElement);if(htmlLocation&&!htmlLocation.endTag&&(p2._setEndLocation(htmlElement,token),p2.openElements.stackTop>=1)){const bodyElement=p2.openElements.items[1],bodyLocation=p2.treeAdapter.getNodeSourceCodeLocation(bodyElement);bodyLocation&&!bodyLocation.endTag&&p2._setEndLocation(bodyElement,token)}}}}__name(stopParsing,"stopParsing");function doctypeInInitialMode(p2,token){p2._setDocumentType(token);const mode=token.forceQuirks?DOCUMENT_MODE.QUIRKS:getDocumentMode(token);isConforming(token)||p2._err(token,ERR.nonConformingDoctype),p2.treeAdapter.setDocumentMode(p2.document,mode),p2.insertionMode=InsertionMode.BEFORE_HTML}__name(doctypeInInitialMode,"doctypeInInitialMode");function tokenInInitialMode(p2,token){p2._err(token,ERR.missingDoctype,!0),p2.treeAdapter.setDocumentMode(p2.document,DOCUMENT_MODE.QUIRKS),p2.insertionMode=InsertionMode.BEFORE_HTML,p2._processToken(token)}__name(tokenInInitialMode,"tokenInInitialMode");function startTagBeforeHtml(p2,token){token.tagID===TAG_ID.HTML?(p2._insertElement(token,NS.HTML),p2.insertionMode=InsertionMode.BEFORE_HEAD):tokenBeforeHtml(p2,token)}__name(startTagBeforeHtml,"startTagBeforeHtml");function endTagBeforeHtml(p2,token){const tn=token.tagID;(tn===TAG_ID.HTML||tn===TAG_ID.HEAD||tn===TAG_ID.BODY||tn===TAG_ID.BR)&&tokenBeforeHtml(p2,token)}__name(endTagBeforeHtml,"endTagBeforeHtml");function tokenBeforeHtml(p2,token){p2._insertFakeRootElement(),p2.insertionMode=InsertionMode.BEFORE_HEAD,p2._processToken(token)}__name(tokenBeforeHtml,"tokenBeforeHtml");function startTagBeforeHead(p2,token){switch(token.tagID){case TAG_ID.HTML:{startTagInBody(p2,token);break}case TAG_ID.HEAD:{p2._insertElement(token,NS.HTML),p2.headElement=p2.openElements.current,p2.insertionMode=InsertionMode.IN_HEAD;break}default:tokenBeforeHead(p2,token)}}__name(startTagBeforeHead,"startTagBeforeHead");function endTagBeforeHead(p2,token){const tn=token.tagID;tn===TAG_ID.HEAD||tn===TAG_ID.BODY||tn===TAG_ID.HTML||tn===TAG_ID.BR?tokenBeforeHead(p2,token):p2._err(token,ERR.endTagWithoutMatchingOpenElement)}__name(endTagBeforeHead,"endTagBeforeHead");function tokenBeforeHead(p2,token){p2._insertFakeElement(TAG_NAMES.HEAD,TAG_ID.HEAD),p2.headElement=p2.openElements.current,p2.insertionMode=InsertionMode.IN_HEAD,p2._processToken(token)}__name(tokenBeforeHead,"tokenBeforeHead");function startTagInHead(p2,token){switch(token.tagID){case TAG_ID.HTML:{startTagInBody(p2,token);break}case TAG_ID.BASE:case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.LINK:case TAG_ID.META:{p2._appendElement(token,NS.HTML),token.ackSelfClosing=!0;break}case TAG_ID.TITLE:{p2._switchToTextParsing(token,TokenizerMode.RCDATA);break}case TAG_ID.NOSCRIPT:{p2.options.scriptingEnabled?p2._switchToTextParsing(token,TokenizerMode.RAWTEXT):(p2._insertElement(token,NS.HTML),p2.insertionMode=InsertionMode.IN_HEAD_NO_SCRIPT);break}case TAG_ID.NOFRAMES:case TAG_ID.STYLE:{p2._switchToTextParsing(token,TokenizerMode.RAWTEXT);break}case TAG_ID.SCRIPT:{p2._switchToTextParsing(token,TokenizerMode.SCRIPT_DATA);break}case TAG_ID.TEMPLATE:{p2._insertTemplate(token),p2.activeFormattingElements.insertMarker(),p2.framesetOk=!1,p2.insertionMode=InsertionMode.IN_TEMPLATE,p2.tmplInsertionModeStack.unshift(InsertionMode.IN_TEMPLATE);break}case TAG_ID.HEAD:{p2._err(token,ERR.misplacedStartTagForHeadElement);break}default:tokenInHead(p2,token)}}__name(startTagInHead,"startTagInHead");function endTagInHead(p2,token){switch(token.tagID){case TAG_ID.HEAD:{p2.openElements.pop(),p2.insertionMode=InsertionMode.AFTER_HEAD;break}case TAG_ID.BODY:case TAG_ID.BR:case TAG_ID.HTML:{tokenInHead(p2,token);break}case TAG_ID.TEMPLATE:{templateEndTagInHead(p2,token);break}default:p2._err(token,ERR.endTagWithoutMatchingOpenElement)}}__name(endTagInHead,"endTagInHead");function templateEndTagInHead(p2,token){p2.openElements.tmplCount>0?(p2.openElements.generateImpliedEndTagsThoroughly(),p2.openElements.currentTagId!==TAG_ID.TEMPLATE&&p2._err(token,ERR.closingOfElementWithOpenChildElements),p2.openElements.popUntilTagNamePopped(TAG_ID.TEMPLATE),p2.activeFormattingElements.clearToLastMarker(),p2.tmplInsertionModeStack.shift(),p2._resetInsertionMode()):p2._err(token,ERR.endTagWithoutMatchingOpenElement)}__name(templateEndTagInHead,"templateEndTagInHead");function tokenInHead(p2,token){p2.openElements.pop(),p2.insertionMode=InsertionMode.AFTER_HEAD,p2._processToken(token)}__name(tokenInHead,"tokenInHead");function startTagInHeadNoScript(p2,token){switch(token.tagID){case TAG_ID.HTML:{startTagInBody(p2,token);break}case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.HEAD:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.NOFRAMES:case TAG_ID.STYLE:{startTagInHead(p2,token);break}case TAG_ID.NOSCRIPT:{p2._err(token,ERR.nestedNoscriptInHead);break}default:tokenInHeadNoScript(p2,token)}}__name(startTagInHeadNoScript,"startTagInHeadNoScript");function endTagInHeadNoScript(p2,token){switch(token.tagID){case TAG_ID.NOSCRIPT:{p2.openElements.pop(),p2.insertionMode=InsertionMode.IN_HEAD;break}case TAG_ID.BR:{tokenInHeadNoScript(p2,token);break}default:p2._err(token,ERR.endTagWithoutMatchingOpenElement)}}__name(endTagInHeadNoScript,"endTagInHeadNoScript");function tokenInHeadNoScript(p2,token){const errCode=token.type===TokenType.EOF?ERR.openElementsLeftAfterEof:ERR.disallowedContentInNoscriptInHead;p2._err(token,errCode),p2.openElements.pop(),p2.insertionMode=InsertionMode.IN_HEAD,p2._processToken(token)}__name(tokenInHeadNoScript,"tokenInHeadNoScript");function startTagAfterHead(p2,token){switch(token.tagID){case TAG_ID.HTML:{startTagInBody(p2,token);break}case TAG_ID.BODY:{p2._insertElement(token,NS.HTML),p2.framesetOk=!1,p2.insertionMode=InsertionMode.IN_BODY;break}case TAG_ID.FRAMESET:{p2._insertElement(token,NS.HTML),p2.insertionMode=InsertionMode.IN_FRAMESET;break}case TAG_ID.BASE:case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.NOFRAMES:case TAG_ID.SCRIPT:case TAG_ID.STYLE:case TAG_ID.TEMPLATE:case TAG_ID.TITLE:{p2._err(token,ERR.abandonedHeadElementChild),p2.openElements.push(p2.headElement,TAG_ID.HEAD),startTagInHead(p2,token),p2.openElements.remove(p2.headElement);break}case TAG_ID.HEAD:{p2._err(token,ERR.misplacedStartTagForHeadElement);break}default:tokenAfterHead(p2,token)}}__name(startTagAfterHead,"startTagAfterHead");function endTagAfterHead(p2,token){switch(token.tagID){case TAG_ID.BODY:case TAG_ID.HTML:case TAG_ID.BR:{tokenAfterHead(p2,token);break}case TAG_ID.TEMPLATE:{templateEndTagInHead(p2,token);break}default:p2._err(token,ERR.endTagWithoutMatchingOpenElement)}}__name(endTagAfterHead,"endTagAfterHead");function tokenAfterHead(p2,token){p2._insertFakeElement(TAG_NAMES.BODY,TAG_ID.BODY),p2.insertionMode=InsertionMode.IN_BODY,modeInBody(p2,token)}__name(tokenAfterHead,"tokenAfterHead");function modeInBody(p2,token){switch(token.type){case TokenType.CHARACTER:{characterInBody(p2,token);break}case TokenType.WHITESPACE_CHARACTER:{whitespaceCharacterInBody(p2,token);break}case TokenType.COMMENT:{appendComment(p2,token);break}case TokenType.START_TAG:{startTagInBody(p2,token);break}case TokenType.END_TAG:{endTagInBody(p2,token);break}case TokenType.EOF:{eofInBody(p2,token);break}}}__name(modeInBody,"modeInBody");function whitespaceCharacterInBody(p2,token){p2._reconstructActiveFormattingElements(),p2._insertCharacters(token)}__name(whitespaceCharacterInBody,"whitespaceCharacterInBody");function characterInBody(p2,token){p2._reconstructActiveFormattingElements(),p2._insertCharacters(token),p2.framesetOk=!1}__name(characterInBody,"characterInBody");function htmlStartTagInBody(p2,token){p2.openElements.tmplCount===0&&p2.treeAdapter.adoptAttributes(p2.openElements.items[0],token.attrs)}__name(htmlStartTagInBody,"htmlStartTagInBody");function bodyStartTagInBody(p2,token){const bodyElement=p2.openElements.tryPeekProperlyNestedBodyElement();bodyElement&&p2.openElements.tmplCount===0&&(p2.framesetOk=!1,p2.treeAdapter.adoptAttributes(bodyElement,token.attrs))}__name(bodyStartTagInBody,"bodyStartTagInBody");function framesetStartTagInBody(p2,token){const bodyElement=p2.openElements.tryPeekProperlyNestedBodyElement();p2.framesetOk&&bodyElement&&(p2.treeAdapter.detachNode(bodyElement),p2.openElements.popAllUpToHtmlElement(),p2._insertElement(token,NS.HTML),p2.insertionMode=InsertionMode.IN_FRAMESET)}__name(framesetStartTagInBody,"framesetStartTagInBody");function addressStartTagInBody(p2,token){p2.openElements.hasInButtonScope(TAG_ID.P)&&p2._closePElement(),p2._insertElement(token,NS.HTML)}__name(addressStartTagInBody,"addressStartTagInBody");function numberedHeaderStartTagInBody(p2,token){p2.openElements.hasInButtonScope(TAG_ID.P)&&p2._closePElement(),p2.openElements.currentTagId!==void 0&&NUMBERED_HEADERS.has(p2.openElements.currentTagId)&&p2.openElements.pop(),p2._insertElement(token,NS.HTML)}__name(numberedHeaderStartTagInBody,"numberedHeaderStartTagInBody");function preStartTagInBody(p2,token){p2.openElements.hasInButtonScope(TAG_ID.P)&&p2._closePElement(),p2._insertElement(token,NS.HTML),p2.skipNextNewLine=!0,p2.framesetOk=!1}__name(preStartTagInBody,"preStartTagInBody");function formStartTagInBody(p2,token){const inTemplate=p2.openElements.tmplCount>0;(!p2.formElement||inTemplate)&&(p2.openElements.hasInButtonScope(TAG_ID.P)&&p2._closePElement(),p2._insertElement(token,NS.HTML),inTemplate||(p2.formElement=p2.openElements.current))}__name(formStartTagInBody,"formStartTagInBody");function listItemStartTagInBody(p2,token){p2.framesetOk=!1;const tn=token.tagID;for(let i2=p2.openElements.stackTop;i2>=0;i2--){const elementId=p2.openElements.tagIDs[i2];if(tn===TAG_ID.LI&&elementId===TAG_ID.LI||(tn===TAG_ID.DD||tn===TAG_ID.DT)&&(elementId===TAG_ID.DD||elementId===TAG_ID.DT)){p2.openElements.generateImpliedEndTagsWithExclusion(elementId),p2.openElements.popUntilTagNamePopped(elementId);break}if(elementId!==TAG_ID.ADDRESS&&elementId!==TAG_ID.DIV&&elementId!==TAG_ID.P&&p2._isSpecialElement(p2.openElements.items[i2],elementId))break}p2.openElements.hasInButtonScope(TAG_ID.P)&&p2._closePElement(),p2._insertElement(token,NS.HTML)}__name(listItemStartTagInBody,"listItemStartTagInBody");function plaintextStartTagInBody(p2,token){p2.openElements.hasInButtonScope(TAG_ID.P)&&p2._closePElement(),p2._insertElement(token,NS.HTML),p2.tokenizer.state=TokenizerMode.PLAINTEXT}__name(plaintextStartTagInBody,"plaintextStartTagInBody");function buttonStartTagInBody(p2,token){p2.openElements.hasInScope(TAG_ID.BUTTON)&&(p2.openElements.generateImpliedEndTags(),p2.openElements.popUntilTagNamePopped(TAG_ID.BUTTON)),p2._reconstructActiveFormattingElements(),p2._insertElement(token,NS.HTML),p2.framesetOk=!1}__name(buttonStartTagInBody,"buttonStartTagInBody");function aStartTagInBody(p2,token){const activeElementEntry=p2.activeFormattingElements.getElementEntryInScopeWithTagName(TAG_NAMES.A);activeElementEntry&&(callAdoptionAgency(p2,token),p2.openElements.remove(activeElementEntry.element),p2.activeFormattingElements.removeEntry(activeElementEntry)),p2._reconstructActiveFormattingElements(),p2._insertElement(token,NS.HTML),p2.activeFormattingElements.pushElement(p2.openElements.current,token)}__name(aStartTagInBody,"aStartTagInBody");function bStartTagInBody(p2,token){p2._reconstructActiveFormattingElements(),p2._insertElement(token,NS.HTML),p2.activeFormattingElements.pushElement(p2.openElements.current,token)}__name(bStartTagInBody,"bStartTagInBody");function nobrStartTagInBody(p2,token){p2._reconstructActiveFormattingElements(),p2.openElements.hasInScope(TAG_ID.NOBR)&&(callAdoptionAgency(p2,token),p2._reconstructActiveFormattingElements()),p2._insertElement(token,NS.HTML),p2.activeFormattingElements.pushElement(p2.openElements.current,token)}__name(nobrStartTagInBody,"nobrStartTagInBody");function appletStartTagInBody(p2,token){p2._reconstructActiveFormattingElements(),p2._insertElement(token,NS.HTML),p2.activeFormattingElements.insertMarker(),p2.framesetOk=!1}__name(appletStartTagInBody,"appletStartTagInBody");function tableStartTagInBody(p2,token){p2.treeAdapter.getDocumentMode(p2.document)!==DOCUMENT_MODE.QUIRKS&&p2.openElements.hasInButtonScope(TAG_ID.P)&&p2._closePElement(),p2._insertElement(token,NS.HTML),p2.framesetOk=!1,p2.insertionMode=InsertionMode.IN_TABLE}__name(tableStartTagInBody,"tableStartTagInBody");function areaStartTagInBody(p2,token){p2._reconstructActiveFormattingElements(),p2._appendElement(token,NS.HTML),p2.framesetOk=!1,token.ackSelfClosing=!0}__name(areaStartTagInBody,"areaStartTagInBody");function isHiddenInput(token){const inputType=getTokenAttr(token,ATTRS.TYPE);return inputType!=null&&inputType.toLowerCase()===HIDDEN_INPUT_TYPE}__name(isHiddenInput,"isHiddenInput");function inputStartTagInBody(p2,token){p2._reconstructActiveFormattingElements(),p2._appendElement(token,NS.HTML),isHiddenInput(token)||(p2.framesetOk=!1),token.ackSelfClosing=!0}__name(inputStartTagInBody,"inputStartTagInBody");function paramStartTagInBody(p2,token){p2._appendElement(token,NS.HTML),token.ackSelfClosing=!0}__name(paramStartTagInBody,"paramStartTagInBody");function hrStartTagInBody(p2,token){p2.openElements.hasInButtonScope(TAG_ID.P)&&p2._closePElement(),p2._appendElement(token,NS.HTML),p2.framesetOk=!1,token.ackSelfClosing=!0}__name(hrStartTagInBody,"hrStartTagInBody");function imageStartTagInBody(p2,token){token.tagName=TAG_NAMES.IMG,token.tagID=TAG_ID.IMG,areaStartTagInBody(p2,token)}__name(imageStartTagInBody,"imageStartTagInBody");function textareaStartTagInBody(p2,token){p2._insertElement(token,NS.HTML),p2.skipNextNewLine=!0,p2.tokenizer.state=TokenizerMode.RCDATA,p2.originalInsertionMode=p2.insertionMode,p2.framesetOk=!1,p2.insertionMode=InsertionMode.TEXT}__name(textareaStartTagInBody,"textareaStartTagInBody");function xmpStartTagInBody(p2,token){p2.openElements.hasInButtonScope(TAG_ID.P)&&p2._closePElement(),p2._reconstructActiveFormattingElements(),p2.framesetOk=!1,p2._switchToTextParsing(token,TokenizerMode.RAWTEXT)}__name(xmpStartTagInBody,"xmpStartTagInBody");function iframeStartTagInBody(p2,token){p2.framesetOk=!1,p2._switchToTextParsing(token,TokenizerMode.RAWTEXT)}__name(iframeStartTagInBody,"iframeStartTagInBody");function rawTextStartTagInBody(p2,token){p2._switchToTextParsing(token,TokenizerMode.RAWTEXT)}__name(rawTextStartTagInBody,"rawTextStartTagInBody");function selectStartTagInBody(p2,token){p2._reconstructActiveFormattingElements(),p2._insertElement(token,NS.HTML),p2.framesetOk=!1,p2.insertionMode=p2.insertionMode===InsertionMode.IN_TABLE||p2.insertionMode===InsertionMode.IN_CAPTION||p2.insertionMode===InsertionMode.IN_TABLE_BODY||p2.insertionMode===InsertionMode.IN_ROW||p2.insertionMode===InsertionMode.IN_CELL?InsertionMode.IN_SELECT_IN_TABLE:InsertionMode.IN_SELECT}__name(selectStartTagInBody,"selectStartTagInBody");function optgroupStartTagInBody(p2,token){p2.openElements.currentTagId===TAG_ID.OPTION&&p2.openElements.pop(),p2._reconstructActiveFormattingElements(),p2._insertElement(token,NS.HTML)}__name(optgroupStartTagInBody,"optgroupStartTagInBody");function rbStartTagInBody(p2,token){p2.openElements.hasInScope(TAG_ID.RUBY)&&p2.openElements.generateImpliedEndTags(),p2._insertElement(token,NS.HTML)}__name(rbStartTagInBody,"rbStartTagInBody");function rtStartTagInBody(p2,token){p2.openElements.hasInScope(TAG_ID.RUBY)&&p2.openElements.generateImpliedEndTagsWithExclusion(TAG_ID.RTC),p2._insertElement(token,NS.HTML)}__name(rtStartTagInBody,"rtStartTagInBody");function mathStartTagInBody(p2,token){p2._reconstructActiveFormattingElements(),adjustTokenMathMLAttrs(token),adjustTokenXMLAttrs(token),token.selfClosing?p2._appendElement(token,NS.MATHML):p2._insertElement(token,NS.MATHML),token.ackSelfClosing=!0}__name(mathStartTagInBody,"mathStartTagInBody");function svgStartTagInBody(p2,token){p2._reconstructActiveFormattingElements(),adjustTokenSVGAttrs(token),adjustTokenXMLAttrs(token),token.selfClosing?p2._appendElement(token,NS.SVG):p2._insertElement(token,NS.SVG),token.ackSelfClosing=!0}__name(svgStartTagInBody,"svgStartTagInBody");function genericStartTagInBody(p2,token){p2._reconstructActiveFormattingElements(),p2._insertElement(token,NS.HTML)}__name(genericStartTagInBody,"genericStartTagInBody");function startTagInBody(p2,token){switch(token.tagID){case TAG_ID.I:case TAG_ID.S:case TAG_ID.B:case TAG_ID.U:case TAG_ID.EM:case TAG_ID.TT:case TAG_ID.BIG:case TAG_ID.CODE:case TAG_ID.FONT:case TAG_ID.SMALL:case TAG_ID.STRIKE:case TAG_ID.STRONG:{bStartTagInBody(p2,token);break}case TAG_ID.A:{aStartTagInBody(p2,token);break}case TAG_ID.H1:case TAG_ID.H2:case TAG_ID.H3:case TAG_ID.H4:case TAG_ID.H5:case TAG_ID.H6:{numberedHeaderStartTagInBody(p2,token);break}case TAG_ID.P:case TAG_ID.DL:case TAG_ID.OL:case TAG_ID.UL:case TAG_ID.DIV:case TAG_ID.DIR:case TAG_ID.NAV:case TAG_ID.MAIN:case TAG_ID.MENU:case TAG_ID.ASIDE:case TAG_ID.CENTER:case TAG_ID.FIGURE:case TAG_ID.FOOTER:case TAG_ID.HEADER:case TAG_ID.HGROUP:case TAG_ID.DIALOG:case TAG_ID.DETAILS:case TAG_ID.ADDRESS:case TAG_ID.ARTICLE:case TAG_ID.SEARCH:case TAG_ID.SECTION:case TAG_ID.SUMMARY:case TAG_ID.FIELDSET:case TAG_ID.BLOCKQUOTE:case TAG_ID.FIGCAPTION:{addressStartTagInBody(p2,token);break}case TAG_ID.LI:case TAG_ID.DD:case TAG_ID.DT:{listItemStartTagInBody(p2,token);break}case TAG_ID.BR:case TAG_ID.IMG:case TAG_ID.WBR:case TAG_ID.AREA:case TAG_ID.EMBED:case TAG_ID.KEYGEN:{areaStartTagInBody(p2,token);break}case TAG_ID.HR:{hrStartTagInBody(p2,token);break}case TAG_ID.RB:case TAG_ID.RTC:{rbStartTagInBody(p2,token);break}case TAG_ID.RT:case TAG_ID.RP:{rtStartTagInBody(p2,token);break}case TAG_ID.PRE:case TAG_ID.LISTING:{preStartTagInBody(p2,token);break}case TAG_ID.XMP:{xmpStartTagInBody(p2,token);break}case TAG_ID.SVG:{svgStartTagInBody(p2,token);break}case TAG_ID.HTML:{htmlStartTagInBody(p2,token);break}case TAG_ID.BASE:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.STYLE:case TAG_ID.TITLE:case TAG_ID.SCRIPT:case TAG_ID.BGSOUND:case TAG_ID.BASEFONT:case TAG_ID.TEMPLATE:{startTagInHead(p2,token);break}case TAG_ID.BODY:{bodyStartTagInBody(p2,token);break}case TAG_ID.FORM:{formStartTagInBody(p2,token);break}case TAG_ID.NOBR:{nobrStartTagInBody(p2,token);break}case TAG_ID.MATH:{mathStartTagInBody(p2,token);break}case TAG_ID.TABLE:{tableStartTagInBody(p2,token);break}case TAG_ID.INPUT:{inputStartTagInBody(p2,token);break}case TAG_ID.PARAM:case TAG_ID.TRACK:case TAG_ID.SOURCE:{paramStartTagInBody(p2,token);break}case TAG_ID.IMAGE:{imageStartTagInBody(p2,token);break}case TAG_ID.BUTTON:{buttonStartTagInBody(p2,token);break}case TAG_ID.APPLET:case TAG_ID.OBJECT:case TAG_ID.MARQUEE:{appletStartTagInBody(p2,token);break}case TAG_ID.IFRAME:{iframeStartTagInBody(p2,token);break}case TAG_ID.SELECT:{selectStartTagInBody(p2,token);break}case TAG_ID.OPTION:case TAG_ID.OPTGROUP:{optgroupStartTagInBody(p2,token);break}case TAG_ID.NOEMBED:case TAG_ID.NOFRAMES:{rawTextStartTagInBody(p2,token);break}case TAG_ID.FRAMESET:{framesetStartTagInBody(p2,token);break}case TAG_ID.TEXTAREA:{textareaStartTagInBody(p2,token);break}case TAG_ID.NOSCRIPT:{p2.options.scriptingEnabled?rawTextStartTagInBody(p2,token):genericStartTagInBody(p2,token);break}case TAG_ID.PLAINTEXT:{plaintextStartTagInBody(p2,token);break}case TAG_ID.COL:case TAG_ID.TH:case TAG_ID.TD:case TAG_ID.TR:case TAG_ID.HEAD:case TAG_ID.FRAME:case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:case TAG_ID.CAPTION:case TAG_ID.COLGROUP:break;default:genericStartTagInBody(p2,token)}}__name(startTagInBody,"startTagInBody");function bodyEndTagInBody(p2,token){if(p2.openElements.hasInScope(TAG_ID.BODY)&&(p2.insertionMode=InsertionMode.AFTER_BODY,p2.options.sourceCodeLocationInfo)){const bodyElement=p2.openElements.tryPeekProperlyNestedBodyElement();bodyElement&&p2._setEndLocation(bodyElement,token)}}__name(bodyEndTagInBody,"bodyEndTagInBody");function htmlEndTagInBody(p2,token){p2.openElements.hasInScope(TAG_ID.BODY)&&(p2.insertionMode=InsertionMode.AFTER_BODY,endTagAfterBody(p2,token))}__name(htmlEndTagInBody,"htmlEndTagInBody");function addressEndTagInBody(p2,token){const tn=token.tagID;p2.openElements.hasInScope(tn)&&(p2.openElements.generateImpliedEndTags(),p2.openElements.popUntilTagNamePopped(tn))}__name(addressEndTagInBody,"addressEndTagInBody");function formEndTagInBody(p2){const inTemplate=p2.openElements.tmplCount>0,{formElement}=p2;inTemplate||(p2.formElement=null),(formElement||inTemplate)&&p2.openElements.hasInScope(TAG_ID.FORM)&&(p2.openElements.generateImpliedEndTags(),inTemplate?p2.openElements.popUntilTagNamePopped(TAG_ID.FORM):formElement&&p2.openElements.remove(formElement))}__name(formEndTagInBody,"formEndTagInBody");function pEndTagInBody(p2){p2.openElements.hasInButtonScope(TAG_ID.P)||p2._insertFakeElement(TAG_NAMES.P,TAG_ID.P),p2._closePElement()}__name(pEndTagInBody,"pEndTagInBody");function liEndTagInBody(p2){p2.openElements.hasInListItemScope(TAG_ID.LI)&&(p2.openElements.generateImpliedEndTagsWithExclusion(TAG_ID.LI),p2.openElements.popUntilTagNamePopped(TAG_ID.LI))}__name(liEndTagInBody,"liEndTagInBody");function ddEndTagInBody(p2,token){const tn=token.tagID;p2.openElements.hasInScope(tn)&&(p2.openElements.generateImpliedEndTagsWithExclusion(tn),p2.openElements.popUntilTagNamePopped(tn))}__name(ddEndTagInBody,"ddEndTagInBody");function numberedHeaderEndTagInBody(p2){p2.openElements.hasNumberedHeaderInScope()&&(p2.openElements.generateImpliedEndTags(),p2.openElements.popUntilNumberedHeaderPopped())}__name(numberedHeaderEndTagInBody,"numberedHeaderEndTagInBody");function appletEndTagInBody(p2,token){const tn=token.tagID;p2.openElements.hasInScope(tn)&&(p2.openElements.generateImpliedEndTags(),p2.openElements.popUntilTagNamePopped(tn),p2.activeFormattingElements.clearToLastMarker())}__name(appletEndTagInBody,"appletEndTagInBody");function brEndTagInBody(p2){p2._reconstructActiveFormattingElements(),p2._insertFakeElement(TAG_NAMES.BR,TAG_ID.BR),p2.openElements.pop(),p2.framesetOk=!1}__name(brEndTagInBody,"brEndTagInBody");function genericEndTagInBody(p2,token){const tn=token.tagName,tid=token.tagID;for(let i2=p2.openElements.stackTop;i2>0;i2--){const element2=p2.openElements.items[i2],elementId=p2.openElements.tagIDs[i2];if(tid===elementId&&(tid!==TAG_ID.UNKNOWN||p2.treeAdapter.getTagName(element2)===tn)){p2.openElements.generateImpliedEndTagsWithExclusion(tid),p2.openElements.stackTop>=i2&&p2.openElements.shortenToLength(i2);break}if(p2._isSpecialElement(element2,elementId))break}}__name(genericEndTagInBody,"genericEndTagInBody");function endTagInBody(p2,token){switch(token.tagID){case TAG_ID.A:case TAG_ID.B:case TAG_ID.I:case TAG_ID.S:case TAG_ID.U:case TAG_ID.EM:case TAG_ID.TT:case TAG_ID.BIG:case TAG_ID.CODE:case TAG_ID.FONT:case TAG_ID.NOBR:case TAG_ID.SMALL:case TAG_ID.STRIKE:case TAG_ID.STRONG:{callAdoptionAgency(p2,token);break}case TAG_ID.P:{pEndTagInBody(p2);break}case TAG_ID.DL:case TAG_ID.UL:case TAG_ID.OL:case TAG_ID.DIR:case TAG_ID.DIV:case TAG_ID.NAV:case TAG_ID.PRE:case TAG_ID.MAIN:case TAG_ID.MENU:case TAG_ID.ASIDE:case TAG_ID.BUTTON:case TAG_ID.CENTER:case TAG_ID.FIGURE:case TAG_ID.FOOTER:case TAG_ID.HEADER:case TAG_ID.HGROUP:case TAG_ID.DIALOG:case TAG_ID.ADDRESS:case TAG_ID.ARTICLE:case TAG_ID.DETAILS:case TAG_ID.SEARCH:case TAG_ID.SECTION:case TAG_ID.SUMMARY:case TAG_ID.LISTING:case TAG_ID.FIELDSET:case TAG_ID.BLOCKQUOTE:case TAG_ID.FIGCAPTION:{addressEndTagInBody(p2,token);break}case TAG_ID.LI:{liEndTagInBody(p2);break}case TAG_ID.DD:case TAG_ID.DT:{ddEndTagInBody(p2,token);break}case TAG_ID.H1:case TAG_ID.H2:case TAG_ID.H3:case TAG_ID.H4:case TAG_ID.H5:case TAG_ID.H6:{numberedHeaderEndTagInBody(p2);break}case TAG_ID.BR:{brEndTagInBody(p2);break}case TAG_ID.BODY:{bodyEndTagInBody(p2,token);break}case TAG_ID.HTML:{htmlEndTagInBody(p2,token);break}case TAG_ID.FORM:{formEndTagInBody(p2);break}case TAG_ID.APPLET:case TAG_ID.OBJECT:case TAG_ID.MARQUEE:{appletEndTagInBody(p2,token);break}case TAG_ID.TEMPLATE:{templateEndTagInHead(p2,token);break}default:genericEndTagInBody(p2,token)}}__name(endTagInBody,"endTagInBody");function eofInBody(p2,token){p2.tmplInsertionModeStack.length>0?eofInTemplate(p2,token):stopParsing(p2,token)}__name(eofInBody,"eofInBody");function endTagInText(p2,token){var _a18;token.tagID===TAG_ID.SCRIPT&&((_a18=p2.scriptHandler)===null||_a18===void 0||_a18.call(p2,p2.openElements.current)),p2.openElements.pop(),p2.insertionMode=p2.originalInsertionMode}__name(endTagInText,"endTagInText");function eofInText(p2,token){p2._err(token,ERR.eofInElementThatCanContainOnlyText),p2.openElements.pop(),p2.insertionMode=p2.originalInsertionMode,p2.onEof(token)}__name(eofInText,"eofInText");function characterInTable(p2,token){if(p2.openElements.currentTagId!==void 0&&TABLE_STRUCTURE_TAGS.has(p2.openElements.currentTagId))switch(p2.pendingCharacterTokens.length=0,p2.hasNonWhitespacePendingCharacterToken=!1,p2.originalInsertionMode=p2.insertionMode,p2.insertionMode=InsertionMode.IN_TABLE_TEXT,token.type){case TokenType.CHARACTER:{characterInTableText(p2,token);break}case TokenType.WHITESPACE_CHARACTER:{whitespaceCharacterInTableText(p2,token);break}}else tokenInTable(p2,token)}__name(characterInTable,"characterInTable");function captionStartTagInTable(p2,token){p2.openElements.clearBackToTableContext(),p2.activeFormattingElements.insertMarker(),p2._insertElement(token,NS.HTML),p2.insertionMode=InsertionMode.IN_CAPTION}__name(captionStartTagInTable,"captionStartTagInTable");function colgroupStartTagInTable(p2,token){p2.openElements.clearBackToTableContext(),p2._insertElement(token,NS.HTML),p2.insertionMode=InsertionMode.IN_COLUMN_GROUP}__name(colgroupStartTagInTable,"colgroupStartTagInTable");function colStartTagInTable(p2,token){p2.openElements.clearBackToTableContext(),p2._insertFakeElement(TAG_NAMES.COLGROUP,TAG_ID.COLGROUP),p2.insertionMode=InsertionMode.IN_COLUMN_GROUP,startTagInColumnGroup(p2,token)}__name(colStartTagInTable,"colStartTagInTable");function tbodyStartTagInTable(p2,token){p2.openElements.clearBackToTableContext(),p2._insertElement(token,NS.HTML),p2.insertionMode=InsertionMode.IN_TABLE_BODY}__name(tbodyStartTagInTable,"tbodyStartTagInTable");function tdStartTagInTable(p2,token){p2.openElements.clearBackToTableContext(),p2._insertFakeElement(TAG_NAMES.TBODY,TAG_ID.TBODY),p2.insertionMode=InsertionMode.IN_TABLE_BODY,startTagInTableBody(p2,token)}__name(tdStartTagInTable,"tdStartTagInTable");function tableStartTagInTable(p2,token){p2.openElements.hasInTableScope(TAG_ID.TABLE)&&(p2.openElements.popUntilTagNamePopped(TAG_ID.TABLE),p2._resetInsertionMode(),p2._processStartTag(token))}__name(tableStartTagInTable,"tableStartTagInTable");function inputStartTagInTable(p2,token){isHiddenInput(token)?p2._appendElement(token,NS.HTML):tokenInTable(p2,token),token.ackSelfClosing=!0}__name(inputStartTagInTable,"inputStartTagInTable");function formStartTagInTable(p2,token){!p2.formElement&&p2.openElements.tmplCount===0&&(p2._insertElement(token,NS.HTML),p2.formElement=p2.openElements.current,p2.openElements.pop())}__name(formStartTagInTable,"formStartTagInTable");function startTagInTable(p2,token){switch(token.tagID){case TAG_ID.TD:case TAG_ID.TH:case TAG_ID.TR:{tdStartTagInTable(p2,token);break}case TAG_ID.STYLE:case TAG_ID.SCRIPT:case TAG_ID.TEMPLATE:{startTagInHead(p2,token);break}case TAG_ID.COL:{colStartTagInTable(p2,token);break}case TAG_ID.FORM:{formStartTagInTable(p2,token);break}case TAG_ID.TABLE:{tableStartTagInTable(p2,token);break}case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:{tbodyStartTagInTable(p2,token);break}case TAG_ID.INPUT:{inputStartTagInTable(p2,token);break}case TAG_ID.CAPTION:{captionStartTagInTable(p2,token);break}case TAG_ID.COLGROUP:{colgroupStartTagInTable(p2,token);break}default:tokenInTable(p2,token)}}__name(startTagInTable,"startTagInTable");function endTagInTable(p2,token){switch(token.tagID){case TAG_ID.TABLE:{p2.openElements.hasInTableScope(TAG_ID.TABLE)&&(p2.openElements.popUntilTagNamePopped(TAG_ID.TABLE),p2._resetInsertionMode());break}case TAG_ID.TEMPLATE:{templateEndTagInHead(p2,token);break}case TAG_ID.BODY:case TAG_ID.CAPTION:case TAG_ID.COL:case TAG_ID.COLGROUP:case TAG_ID.HTML:case TAG_ID.TBODY:case TAG_ID.TD:case TAG_ID.TFOOT:case TAG_ID.TH:case TAG_ID.THEAD:case TAG_ID.TR:break;default:tokenInTable(p2,token)}}__name(endTagInTable,"endTagInTable");function tokenInTable(p2,token){const savedFosterParentingState=p2.fosterParentingEnabled;p2.fosterParentingEnabled=!0,modeInBody(p2,token),p2.fosterParentingEnabled=savedFosterParentingState}__name(tokenInTable,"tokenInTable");function whitespaceCharacterInTableText(p2,token){p2.pendingCharacterTokens.push(token)}__name(whitespaceCharacterInTableText,"whitespaceCharacterInTableText");function characterInTableText(p2,token){p2.pendingCharacterTokens.push(token),p2.hasNonWhitespacePendingCharacterToken=!0}__name(characterInTableText,"characterInTableText");function tokenInTableText(p2,token){let i2=0;if(p2.hasNonWhitespacePendingCharacterToken)for(;i20&&p2.openElements.currentTagId===TAG_ID.OPTION&&p2.openElements.tagIDs[p2.openElements.stackTop-1]===TAG_ID.OPTGROUP&&p2.openElements.pop(),p2.openElements.currentTagId===TAG_ID.OPTGROUP&&p2.openElements.pop();break}case TAG_ID.OPTION:{p2.openElements.currentTagId===TAG_ID.OPTION&&p2.openElements.pop();break}case TAG_ID.SELECT:{p2.openElements.hasInSelectScope(TAG_ID.SELECT)&&(p2.openElements.popUntilTagNamePopped(TAG_ID.SELECT),p2._resetInsertionMode());break}case TAG_ID.TEMPLATE:{templateEndTagInHead(p2,token);break}}}__name(endTagInSelect,"endTagInSelect");function startTagInSelectInTable(p2,token){const tn=token.tagID;tn===TAG_ID.CAPTION||tn===TAG_ID.TABLE||tn===TAG_ID.TBODY||tn===TAG_ID.TFOOT||tn===TAG_ID.THEAD||tn===TAG_ID.TR||tn===TAG_ID.TD||tn===TAG_ID.TH?(p2.openElements.popUntilTagNamePopped(TAG_ID.SELECT),p2._resetInsertionMode(),p2._processStartTag(token)):startTagInSelect(p2,token)}__name(startTagInSelectInTable,"startTagInSelectInTable");function endTagInSelectInTable(p2,token){const tn=token.tagID;tn===TAG_ID.CAPTION||tn===TAG_ID.TABLE||tn===TAG_ID.TBODY||tn===TAG_ID.TFOOT||tn===TAG_ID.THEAD||tn===TAG_ID.TR||tn===TAG_ID.TD||tn===TAG_ID.TH?p2.openElements.hasInTableScope(tn)&&(p2.openElements.popUntilTagNamePopped(TAG_ID.SELECT),p2._resetInsertionMode(),p2.onEndTag(token)):endTagInSelect(p2,token)}__name(endTagInSelectInTable,"endTagInSelectInTable");function startTagInTemplate(p2,token){switch(token.tagID){case TAG_ID.BASE:case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.NOFRAMES:case TAG_ID.SCRIPT:case TAG_ID.STYLE:case TAG_ID.TEMPLATE:case TAG_ID.TITLE:{startTagInHead(p2,token);break}case TAG_ID.CAPTION:case TAG_ID.COLGROUP:case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:{p2.tmplInsertionModeStack[0]=InsertionMode.IN_TABLE,p2.insertionMode=InsertionMode.IN_TABLE,startTagInTable(p2,token);break}case TAG_ID.COL:{p2.tmplInsertionModeStack[0]=InsertionMode.IN_COLUMN_GROUP,p2.insertionMode=InsertionMode.IN_COLUMN_GROUP,startTagInColumnGroup(p2,token);break}case TAG_ID.TR:{p2.tmplInsertionModeStack[0]=InsertionMode.IN_TABLE_BODY,p2.insertionMode=InsertionMode.IN_TABLE_BODY,startTagInTableBody(p2,token);break}case TAG_ID.TD:case TAG_ID.TH:{p2.tmplInsertionModeStack[0]=InsertionMode.IN_ROW,p2.insertionMode=InsertionMode.IN_ROW,startTagInRow(p2,token);break}default:p2.tmplInsertionModeStack[0]=InsertionMode.IN_BODY,p2.insertionMode=InsertionMode.IN_BODY,startTagInBody(p2,token)}}__name(startTagInTemplate,"startTagInTemplate");function endTagInTemplate(p2,token){token.tagID===TAG_ID.TEMPLATE&&templateEndTagInHead(p2,token)}__name(endTagInTemplate,"endTagInTemplate");function eofInTemplate(p2,token){p2.openElements.tmplCount>0?(p2.openElements.popUntilTagNamePopped(TAG_ID.TEMPLATE),p2.activeFormattingElements.clearToLastMarker(),p2.tmplInsertionModeStack.shift(),p2._resetInsertionMode(),p2.onEof(token)):stopParsing(p2,token)}__name(eofInTemplate,"eofInTemplate");function startTagAfterBody(p2,token){token.tagID===TAG_ID.HTML?startTagInBody(p2,token):tokenAfterBody(p2,token)}__name(startTagAfterBody,"startTagAfterBody");function endTagAfterBody(p2,token){var _a18;if(token.tagID===TAG_ID.HTML){if(p2.fragmentContext||(p2.insertionMode=InsertionMode.AFTER_AFTER_BODY),p2.options.sourceCodeLocationInfo&&p2.openElements.tagIDs[0]===TAG_ID.HTML){p2._setEndLocation(p2.openElements.items[0],token);const bodyElement=p2.openElements.items[1];bodyElement&&!(!((_a18=p2.treeAdapter.getNodeSourceCodeLocation(bodyElement))===null||_a18===void 0)&&_a18.endTag)&&p2._setEndLocation(bodyElement,token)}}else tokenAfterBody(p2,token)}__name(endTagAfterBody,"endTagAfterBody");function tokenAfterBody(p2,token){p2.insertionMode=InsertionMode.IN_BODY,modeInBody(p2,token)}__name(tokenAfterBody,"tokenAfterBody");function startTagInFrameset(p2,token){switch(token.tagID){case TAG_ID.HTML:{startTagInBody(p2,token);break}case TAG_ID.FRAMESET:{p2._insertElement(token,NS.HTML);break}case TAG_ID.FRAME:{p2._appendElement(token,NS.HTML),token.ackSelfClosing=!0;break}case TAG_ID.NOFRAMES:{startTagInHead(p2,token);break}}}__name(startTagInFrameset,"startTagInFrameset");function endTagInFrameset(p2,token){token.tagID===TAG_ID.FRAMESET&&!p2.openElements.isRootHtmlElementCurrent()&&(p2.openElements.pop(),!p2.fragmentContext&&p2.openElements.currentTagId!==TAG_ID.FRAMESET&&(p2.insertionMode=InsertionMode.AFTER_FRAMESET))}__name(endTagInFrameset,"endTagInFrameset");function startTagAfterFrameset(p2,token){switch(token.tagID){case TAG_ID.HTML:{startTagInBody(p2,token);break}case TAG_ID.NOFRAMES:{startTagInHead(p2,token);break}}}__name(startTagAfterFrameset,"startTagAfterFrameset");function endTagAfterFrameset(p2,token){token.tagID===TAG_ID.HTML&&(p2.insertionMode=InsertionMode.AFTER_AFTER_FRAMESET)}__name(endTagAfterFrameset,"endTagAfterFrameset");function startTagAfterAfterBody(p2,token){token.tagID===TAG_ID.HTML?startTagInBody(p2,token):tokenAfterAfterBody(p2,token)}__name(startTagAfterAfterBody,"startTagAfterAfterBody");function tokenAfterAfterBody(p2,token){p2.insertionMode=InsertionMode.IN_BODY,modeInBody(p2,token)}__name(tokenAfterAfterBody,"tokenAfterAfterBody");function startTagAfterAfterFrameset(p2,token){switch(token.tagID){case TAG_ID.HTML:{startTagInBody(p2,token);break}case TAG_ID.NOFRAMES:{startTagInHead(p2,token);break}}}__name(startTagAfterAfterFrameset,"startTagAfterAfterFrameset");function nullCharacterInForeignContent(p2,token){token.chars=REPLACEMENT_CHARACTER,p2._insertCharacters(token)}__name(nullCharacterInForeignContent,"nullCharacterInForeignContent");function characterInForeignContent(p2,token){p2._insertCharacters(token),p2.framesetOk=!1}__name(characterInForeignContent,"characterInForeignContent");function popUntilHtmlOrIntegrationPoint(p2){for(;p2.treeAdapter.getNamespaceURI(p2.openElements.current)!==NS.HTML&&p2.openElements.currentTagId!==void 0&&!p2._isIntegrationPoint(p2.openElements.currentTagId,p2.openElements.current);)p2.openElements.pop()}__name(popUntilHtmlOrIntegrationPoint,"popUntilHtmlOrIntegrationPoint");function startTagInForeignContent(p2,token){if(causesExit(token))popUntilHtmlOrIntegrationPoint(p2),p2._startTagOutsideForeignContent(token);else{const current=p2._getAdjustedCurrentElement(),currentNs=p2.treeAdapter.getNamespaceURI(current);currentNs===NS.MATHML?adjustTokenMathMLAttrs(token):currentNs===NS.SVG&&(adjustTokenSVGTagName(token),adjustTokenSVGAttrs(token)),adjustTokenXMLAttrs(token),token.selfClosing?p2._appendElement(token,currentNs):p2._insertElement(token,currentNs),token.ackSelfClosing=!0}}__name(startTagInForeignContent,"startTagInForeignContent");function endTagInForeignContent(p2,token){if(token.tagID===TAG_ID.P||token.tagID===TAG_ID.BR){popUntilHtmlOrIntegrationPoint(p2),p2._endTagOutsideForeignContent(token);return}for(let i2=p2.openElements.stackTop;i2>0;i2--){const element2=p2.openElements.items[i2];if(p2.treeAdapter.getNamespaceURI(element2)===NS.HTML){p2._endTagOutsideForeignContent(token);break}const tagName=p2.treeAdapter.getTagName(element2);if(tagName.toLowerCase()===token.tagName){token.tagName=tagName,p2.openElements.shortenToLength(i2);break}}}__name(endTagInForeignContent,"endTagInForeignContent");TAG_NAMES.AREA,TAG_NAMES.BASE,TAG_NAMES.BASEFONT,TAG_NAMES.BGSOUND,TAG_NAMES.BR,TAG_NAMES.COL,TAG_NAMES.EMBED,TAG_NAMES.FRAME,TAG_NAMES.HR,TAG_NAMES.IMG,TAG_NAMES.INPUT,TAG_NAMES.KEYGEN,TAG_NAMES.LINK,TAG_NAMES.META,TAG_NAMES.PARAM,TAG_NAMES.SOURCE,TAG_NAMES.TRACK,TAG_NAMES.WBR;const gfmTagfilterExpression=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,knownMdxNames=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),parseOptions={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function raw(tree,options){const document2=documentMode(tree),one2=zwitch("type",{handlers:{root:root$1,element:element$1,text:text$1,comment:comment$1,doctype:doctype$1,raw:handleRaw},unknown}),state={parser:document2?new Parser(parseOptions):Parser.getFragmentParser(void 0,parseOptions),handle(node2){one2(node2,state)},stitches:!1,options:options||{}};one2(tree,state),resetTokenizer(state,pointStart());const p5=document2?state.parser.document:state.parser.getFragment(),result=fromParse5(p5,{file:state.options.file});return state.stitches&&visit(result,"comment",function(node2,index2,parent){const stitch2=node2;if(stitch2.value.stitch&&parent&&index2!==void 0){const siblings=parent.children;return siblings[index2]=stitch2.value.stitch,index2}}),result.type==="root"&&result.children.length===1&&result.children[0].type===tree.type?result.children[0]:result}__name(raw,"raw");function all(nodes,state){let index2=-1;if(nodes)for(;++index24&&(state.parser.tokenizer.state=0);const token={type:TokenType.CHARACTER,chars:node2.value,location:createParse5Location(node2)};resetTokenizer(state,pointStart(node2)),state.parser.currentToken=token,state.parser._processToken(state.parser.currentToken)}__name(text$1,"text$1");function doctype$1(node2,state){const token={type:TokenType.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:createParse5Location(node2)};resetTokenizer(state,pointStart(node2)),state.parser.currentToken=token,state.parser._processToken(state.parser.currentToken)}__name(doctype$1,"doctype$1");function stitch(node2,state){state.stitches=!0;const clone2=cloneWithoutChildren(node2);if("children"in node2&&"children"in clone2){const fakeRoot=raw({type:"root",children:node2.children},state.options);clone2.children=fakeRoot.children}comment$1({type:"comment",value:{stitch:clone2}},state)}__name(stitch,"stitch");function comment$1(node2,state){const data=node2.value,token={type:TokenType.COMMENT,data,location:createParse5Location(node2)};resetTokenizer(state,pointStart(node2)),state.parser.currentToken=token,state.parser._processToken(state.parser.currentToken)}__name(comment$1,"comment$1");function handleRaw(node2,state){if(state.parser.tokenizer.preprocessor.html="",state.parser.tokenizer.preprocessor.pos=-1,state.parser.tokenizer.preprocessor.lastGapPos=-2,state.parser.tokenizer.preprocessor.gapStack=[],state.parser.tokenizer.preprocessor.skipNextNewLine=!1,state.parser.tokenizer.preprocessor.lastChunkWritten=!1,state.parser.tokenizer.preprocessor.endOfChunkHit=!1,state.parser.tokenizer.preprocessor.isEol=!1,setPoint(state,pointStart(node2)),state.parser.tokenizer.write(state.options.tagfilter?node2.value.replace(gfmTagfilterExpression,"<$1$2"):node2.value,!1),state.parser.tokenizer._runParsingLoop(),state.parser.tokenizer.state===72||state.parser.tokenizer.state===78){state.parser.tokenizer.preprocessor.lastChunkWritten=!0;const cp=state.parser.tokenizer._consume();state.parser.tokenizer._callState(cp)}}__name(handleRaw,"handleRaw");function unknown(node_,state){const node2=node_;if(state.options.passThrough&&state.options.passThrough.includes(node2.type))stitch(node2,state);else{let extra="";throw knownMdxNames.has(node2.type)&&(extra=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+node2.type+"` node"+extra)}}__name(unknown,"unknown");function resetTokenizer(state,point2){setPoint(state,point2);const token=state.parser.tokenizer.currentCharacterToken;token&&token.location&&(token.location.endLine=state.parser.tokenizer.preprocessor.line,token.location.endCol=state.parser.tokenizer.preprocessor.col+1,token.location.endOffset=state.parser.tokenizer.preprocessor.offset+1,state.parser.currentToken=token,state.parser._processToken(state.parser.currentToken)),state.parser.tokenizer.paused=!1,state.parser.tokenizer.inLoop=!1,state.parser.tokenizer.active=!1,state.parser.tokenizer.returnState=TokenizerMode.DATA,state.parser.tokenizer.charRefCode=-1,state.parser.tokenizer.consumedAfterSnapshot=-1,state.parser.tokenizer.currentLocation=null,state.parser.tokenizer.currentCharacterToken=null,state.parser.tokenizer.currentToken=null,state.parser.tokenizer.currentAttr={name:"",value:""}}__name(resetTokenizer,"resetTokenizer");function setPoint(state,point2){if(point2&&point2.offset!==void 0){const location2={startLine:point2.line,startCol:point2.column,startOffset:point2.offset,endLine:-1,endCol:-1,endOffset:-1};state.parser.tokenizer.preprocessor.lineStartPos=-point2.column+1,state.parser.tokenizer.preprocessor.droppedBufferSize=point2.offset,state.parser.tokenizer.preprocessor.line=point2.line,state.parser.tokenizer.currentLocation=location2}}__name(setPoint,"setPoint");function startTag(node2,state){const tagName=node2.tagName.toLowerCase();if(state.parser.tokenizer.state===TokenizerMode.PLAINTEXT)return;resetTokenizer(state,pointStart(node2));const current=state.parser.openElements.current;let ns="namespaceURI"in current?current.namespaceURI:webNamespaces.html;ns===webNamespaces.html&&tagName==="svg"&&(ns=webNamespaces.svg);const result=toParse5({...node2,children:[]},{space:ns===webNamespaces.svg?"svg":"html"}),tag={type:TokenType.START_TAG,tagName,tagID:getTagID(tagName),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in result?result.attrs:[],location:createParse5Location(node2)};state.parser.currentToken=tag,state.parser._processToken(state.parser.currentToken),state.parser.tokenizer.lastStartTagName=tagName}__name(startTag,"startTag");function endTag(node2,state){const tagName=node2.tagName.toLowerCase();if(!state.parser.tokenizer.inForeignNode&&htmlVoidElements.includes(tagName)||state.parser.tokenizer.state===TokenizerMode.PLAINTEXT)return;resetTokenizer(state,pointEnd(node2));const tag={type:TokenType.END_TAG,tagName,tagID:getTagID(tagName),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:createParse5Location(node2)};state.parser.currentToken=tag,state.parser._processToken(state.parser.currentToken),tagName===state.parser.tokenizer.lastStartTagName&&(state.parser.tokenizer.state===TokenizerMode.RCDATA||state.parser.tokenizer.state===TokenizerMode.RAWTEXT||state.parser.tokenizer.state===TokenizerMode.SCRIPT_DATA)&&(state.parser.tokenizer.state=TokenizerMode.DATA)}__name(endTag,"endTag");function documentMode(node2){const head=node2.type==="root"?node2.children[0]:node2;return!!(head&&(head.type==="doctype"||head.type==="element"&&head.tagName.toLowerCase()==="html"))}__name(documentMode,"documentMode");function createParse5Location(node2){const start2=pointStart(node2)||{line:void 0,column:void 0,offset:void 0},end=pointEnd(node2)||{line:void 0,column:void 0,offset:void 0};return{startLine:start2.line,startCol:start2.column,startOffset:start2.offset,endLine:end.line,endCol:end.column,endOffset:end.offset}}__name(createParse5Location,"createParse5Location");function cloneWithoutChildren(node2){return"children"in node2?structuredClone$1({...node2,children:[]}):structuredClone$1(node2)}__name(cloneWithoutChildren,"cloneWithoutChildren");function rehypeRaw(options){return function(tree,file){return raw(tree,{...options,file})}}__name(rehypeRaw,"rehypeRaw");const aria=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],defaultSchema={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...aria,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...aria],h2:[["className","sr-only"]],img:[...aria,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...aria,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...aria],table:[...aria],ul:[...aria,["className","contains-task-list"]],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","colSpan","color","cols","compact","coords","dateTime","dir","encType","frame","hSpace","headers","height","hrefLang","htmlFor","id","isMap","itemProp","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rev","rowSpan","rows","rules","scope","selected","shape","size","span","start","summary","tabIndex","title","useMap","vAlign","value","width"]},clobber:["ariaDescribedBy","ariaLabelledBy","id","name"],clobberPrefix:"user-content-",protocols:{cite:["http","https"],href:["http","https","irc","ircs","mailto","xmpp"],longDesc:["http","https"],src:["http","https"]},required:{input:{disabled:!0,type:"checkbox"}},strip:["script"],tagNames:["a","b","blockquote","br","code","dd","del","details","div","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","li","ol","p","picture","pre","q","rp","rt","ruby","s","samp","section","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","tr","tt","ul","var"]},own={}.hasOwnProperty;function sanitize(node2,options){let result={type:"root",children:[]};const state={schema:options?{...defaultSchema,...options}:defaultSchema,stack:[]},replace2=transform(state,node2);return replace2&&(Array.isArray(replace2)?replace2.length===1?result=replace2[0]:result.children=replace2:result=replace2),result}__name(sanitize,"sanitize");function transform(state,node2){if(node2&&typeof node2=="object"){const unsafe=node2;switch(typeof unsafe.type=="string"?unsafe.type:""){case"comment":return comment(state,unsafe);case"doctype":return doctype(state,unsafe);case"element":return element(state,unsafe);case"root":return root(state,unsafe);case"text":return text(state,unsafe)}}}__name(transform,"transform");function comment(state,unsafe){if(state.schema.allowComments){const result=typeof unsafe.value=="string"?unsafe.value:"",index2=result.indexOf("-->"),node2={type:"comment",value:index2<0?result:result.slice(0,index2)};return patch(node2,unsafe),node2}}__name(comment,"comment");function doctype(state,unsafe){if(state.schema.allowDoctypes){const node2={type:"doctype"};return patch(node2,unsafe),node2}}__name(doctype,"doctype");function element(state,unsafe){const name2=typeof unsafe.tagName=="string"?unsafe.tagName:"";state.stack.push(name2);const content2=children(state,unsafe.children),properties_=properties(state,unsafe.properties);state.stack.pop();let safeElement=!1;if(name2&&name2!=="*"&&(!state.schema.tagNames||state.schema.tagNames.includes(name2))&&(safeElement=!0,state.schema.ancestors&&own.call(state.schema.ancestors,name2))){const ancestors=state.schema.ancestors[name2];let index2=-1;for(safeElement=!1;++index21){let ok2=!1,index2=0;for(;++index2-1&&colon>slash||questionMark>-1&&colon>questionMark||numberSign>-1&&colon>numberSign)return!0;let index2=-1;for(;++index24&&key.slice(0,4).toLowerCase()==="data")return dataDefault}__name(findDefinition,"findDefinition");function rehypeSanitize(options){return function(tree){return sanitize(tree,options)}}__name(rehypeSanitize,"rehypeSanitize");const Input=reactExports.forwardRef(({className,type,...props},ref)=>jsxRuntimeExports.jsx("input",{type,className:cn$2("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",className),ref,...props}));Input.displayName="Input";const statuses=[{value:"Passed",label:"Passed",icon:CheckCircledIcon,variant:"success"},{value:"Failed",label:"Failed",icon:CrossCircledIcon,variant:"destructive"},{value:"Error",label:"Error",icon:CrossCircledIcon,variant:"destructive"},{value:"Investigate",label:"Investigate",icon:QuestionMarkCircledIcon,variant:"warning"},{value:"Skipped",label:"Skipped",icon:StopwatchIcon,variant:"secondary"},{value:"Planned",label:"Planned",icon:StopwatchIcon,variant:"secondary"}],impacts=[{label:"Critical",value:"Critical",icon:ExclamationTriangleIcon},{label:"High",value:"High",icon:ArrowUpIcon},{label:"Medium",value:"Medium",icon:ArrowRightIcon},{label:"Low",value:"Low",icon:ArrowDownIcon},{label:"Unranked",value:"Unranked",icon:MinusIcon}];function StatusIcon({Item:Item3}){const status=statuses.find(status2=>status2.value===Item3.TestStatus);return status?jsxRuntimeExports.jsx("div",{className:"flex items-center",children:jsxRuntimeExports.jsx(Badge,{variant:status.variant,children:jsxRuntimeExports.jsx("span",{children:status.label})})}):null}__name(StatusIcon,"StatusIcon");function DataTable({columns:columns2,data,pillar}){const[sorting,setSorting]=reactExports.useState([{id:"TestRisk",desc:!1},{id:"TestStatus",desc:!1}]),[columnFilters,setColumnFilters]=reactExports.useState([]),[globalFilter,setGlobalFilter]=reactExports.useState(""),[selectedSfiPillars,setSelectedSfiPillars]=reactExports.useState([]),[selectedRisks,setSelectedRisks]=reactExports.useState([]),[selectedStatuses,setSelectedStatuses]=reactExports.useState([]),[showSkipped,setShowSkipped]=reactExports.useState(!1),[columnVisibility,setColumnVisibility]=reactExports.useState({TestImpact:!1,TestImplementationCost:!1,TestId:!1,TestSfiPillar:!1,TestMinimumLicense:!1,TestCategory:pillar==="Devices"}),[rowSelection,setRowSelection]=reactExports.useState({}),pillarFilteredData=reactExports.useMemo(()=>pillar?data.filter(item=>Array.isArray(item.TestPillar)?item.TestPillar.includes(pillar):item.TestPillar===pillar):data,[data,pillar]);reactExports.useEffect(()=>{setSelectedRisks(pillar==="Infrastructure"?["High"]:[])},[pillar]);const filteredData=reactExports.useMemo(()=>{let result=pillarFilteredData;return selectedSfiPillars.length>0&&(result=result.filter(item=>item.TestSfiPillar&&selectedSfiPillars.includes(item.TestSfiPillar))),selectedRisks.length>0&&(result=result.filter(item=>item.TestRisk&&selectedRisks.includes(item.TestRisk))),selectedStatuses.length>0?result=result.filter(item=>item.TestStatus&&selectedStatuses.includes(item.TestStatus)):result=result.filter(item=>item.TestStatus!=="Planned"&&(showSkipped||item.TestStatus!=="Skipped")),result},[pillarFilteredData,selectedSfiPillars,selectedRisks,selectedStatuses,showSkipped]),hasSkippedTests=reactExports.useMemo(()=>{let result=pillarFilteredData;return selectedSfiPillars.length>0&&(result=result.filter(item=>item.TestSfiPillar&&selectedSfiPillars.includes(item.TestSfiPillar))),selectedRisks.length>0&&(result=result.filter(item=>item.TestRisk&&selectedRisks.includes(item.TestRisk))),result.some(item=>item.TestStatus==="Skipped")},[pillarFilteredData,selectedSfiPillars,selectedRisks]),uniqueSfiPillars=reactExports.useMemo(()=>{const pillars=pillarFilteredData.map(item=>item.TestSfiPillar).filter(pillar2=>pillar2!=null);return Array.from(new Set(pillars)).sort()},[pillarFilteredData]),uniqueRisks=reactExports.useMemo(()=>{const risks=pillarFilteredData.map(item=>item.TestRisk).filter(risk=>risk!=null),uniqueRiskSet=Array.from(new Set(risks)),riskOrder=["Critical","High","Medium","Low","Unranked"];return uniqueRiskSet.sort((a2,b2)=>{const indexA=riskOrder.indexOf(a2),indexB=riskOrder.indexOf(b2);return indexA!==-1&&indexB!==-1?indexA-indexB:indexA!==-1?-1:indexB!==-1?1:a2.localeCompare(b2)})},[pillarFilteredData]),uniqueStatuses=reactExports.useMemo(()=>{const statuses2=pillarFilteredData.map(item=>item.TestStatus).filter(status=>status!=null),uniqueStatusSet=Array.from(new Set(statuses2)),statusOrder=["Passed","Failed","Planned"];return uniqueStatusSet.sort((a2,b2)=>{const indexA=statusOrder.indexOf(a2),indexB=statusOrder.indexOf(b2);return indexA!==-1&&indexB!==-1?indexA-indexB:indexA!==-1?-1:indexB!==-1?1:a2.localeCompare(b2)})},[pillarFilteredData]),getSfiPillarIcon=__name(pillar2=>pillar2.includes("Monitor and detect")?Eye:pillar2.includes("Protect engineering")?Wrench:pillar2.includes("Protect identities")?Lock:pillar2.includes("Protect tenants")?Building:pillar2.includes("Accelerate response")?Zap:Shield,"getSfiPillarIcon"),table2=useReactTable({data:filteredData,columns:columns2,enableRowSelection:!0,getCoreRowModel:getCoreRowModel(),onSortingChange:setSorting,getSortedRowModel:getSortedRowModel(),onGlobalFilterChange:setGlobalFilter,onColumnFiltersChange:setColumnFilters,getFilteredRowModel:getFilteredRowModel(),onColumnVisibilityChange:setColumnVisibility,onRowSelectionChange:__name(stateUpdater=>{setRowSelection({}),setRowSelection(stateUpdater)},"onRowSelectionChange"),state:{sorting,columnFilters,globalFilter,columnVisibility,rowSelection}}),[sheetOpen,setSheetOpen]=reactExports.useState(!1),[selectedRow,setSelectedRow]=reactExports.useState(null),mdRehypePlugins=selectedRow?.TestPillar==="Infrastructure"?[rehypeRaw,rehypeSanitize]:[];return jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center py-4 justify-between",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-4",children:[jsxRuntimeExports.jsx(Input,{placeholder:"Search by name...",value:globalFilter??"",onChange:__name(e3=>table2.setGlobalFilter(String(e3.target.value)),"onChange"),className:"max-w-sm"}),jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-1",children:[jsxRuntimeExports.jsx("span",{className:"text-xs font-medium text-muted-foreground mr-1",children:"Risk:"}),uniqueRisks.map(risk=>{const isSelected=selectedRisks.includes(risk),riskCount=data.filter(item=>item.TestRisk===risk).length;return jsxRuntimeExports.jsx(Button,{variant:isSelected?"default":"outline",size:"sm",onClick:__name(()=>{setSelectedRisks(isSelected?prev=>prev.filter(r2=>r2!==risk):prev=>[...prev,risk])},"onClick"),className:`text-xs h-6 px-3 py-1 rounded-full ${isSelected?"bg-purple-600 hover:bg-purple-700 text-white":"hover:bg-purple-50 hover:text-purple-700 hover:border-purple-300 dark:hover:bg-purple-950 dark:hover:text-purple-300"}`,title:`${risk} (${riskCount} tests)`,children:risk},risk)})]}),jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-1",children:[jsxRuntimeExports.jsx("span",{className:"text-xs font-medium text-muted-foreground mr-1",children:"Status:"}),uniqueStatuses.map(status=>{const isSelected=selectedStatuses.includes(status),statusCount=data.filter(item=>item.TestStatus===status).length,getStatusColors=__name((status2,isSelected2)=>status2==="Passed"?isSelected2?"bg-green-600 hover:bg-green-700 text-white":"hover:bg-green-50 hover:text-green-700 hover:border-green-300 dark:hover:bg-green-950 dark:hover:text-green-300":status2==="Failed"?isSelected2?"bg-red-600 hover:bg-red-700 text-white":"hover:bg-red-50 hover:text-red-700 hover:border-red-300 dark:hover:bg-red-950 dark:hover:text-red-300":isSelected2?"bg-gray-600 hover:bg-gray-700 text-white":"hover:bg-gray-50 hover:text-gray-700 hover:border-gray-300 dark:hover:bg-gray-950 dark:hover:text-gray-300","getStatusColors");return jsxRuntimeExports.jsx(Button,{variant:isSelected?"default":"outline",size:"sm",onClick:__name(()=>{setSelectedStatuses(isSelected?prev=>prev.filter(s2=>s2!==status):prev=>[...prev,status])},"onClick"),className:`text-xs h-6 px-3 py-1 rounded-full ${getStatusColors(status,isSelected)}`,title:`${status} (${statusCount} tests)`,children:status},status)})]})]}),jsxRuntimeExports.jsx("div",{className:"flex items-center gap-4",children:jsxRuntimeExports.jsxs(DropdownMenu,{children:[jsxRuntimeExports.jsx(DropdownMenuTrigger,{asChild:!0,children:jsxRuntimeExports.jsx(Button,{variant:"outline",size:"sm",children:jsxRuntimeExports.jsx(Columns2,{className:"h-4 w-4"})})}),jsxRuntimeExports.jsx(DropdownMenuContent,{align:"end",children:table2.getAllColumns().filter(column=>column.getCanHide()).filter(column=>pillar==="Infrastructure"?!["TestImpact","TestImplementationCost","TestMinimumLicense"].includes(column.id):!0).map(column=>jsxRuntimeExports.jsx(DropdownMenuCheckboxItem,{className:"capitalize",checked:column.getIsVisible(),onCheckedChange:__name(value2=>column.toggleVisibility(!!value2),"onCheckedChange"),children:column.columnDef.meta?.label??column.id},column.id))})]})})]}),jsxRuntimeExports.jsxs("div",{className:"mb-4",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-between mb-3",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx("span",{className:"text-sm font-medium",children:"Filter by SFI Pillar:"}),selectedSfiPillars.length>0&&jsxRuntimeExports.jsxs(Button,{variant:"ghost",size:"sm",onClick:__name(()=>setSelectedSfiPillars([]),"onClick"),className:"h-6 px-2 text-xs text-muted-foreground hover:text-foreground",children:["Clear All (",selectedSfiPillars.length,")"]})]}),jsxRuntimeExports.jsxs("div",{className:"flex flex-col items-end gap-1",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-4",children:[(selectedSfiPillars.length>0||selectedRisks.length>0||selectedStatuses.length>0||showSkipped)&&jsxRuntimeExports.jsx(Button,{variant:"ghost",size:"sm",onClick:__name(()=>{setSelectedSfiPillars([]),setSelectedRisks([]),setSelectedStatuses([]),setShowSkipped(!1)},"onClick"),className:"h-6 px-2 text-xs text-muted-foreground hover:text-foreground",children:"Clear All Filters"}),jsxRuntimeExports.jsxs("div",{className:"text-xs text-muted-foreground",children:["Showing ",filteredData.length," of ",pillarFilteredData.length," tests"]})]}),hasSkippedTests&&jsxRuntimeExports.jsxs("label",{className:"flex items-center gap-2 cursor-pointer select-none w-fit",children:[jsxRuntimeExports.jsx("input",{type:"checkbox",checked:showSkipped,onChange:__name(e3=>setShowSkipped(e3.target.checked),"onChange"),className:"h-3.5 w-3.5 rounded border-gray-300 accent-gray-600 cursor-pointer"}),jsxRuntimeExports.jsx("span",{className:"text-xs text-muted-foreground",children:"Show skipped tests"})]})]})]}),jsxRuntimeExports.jsx("div",{className:"flex flex-wrap gap-2",children:uniqueSfiPillars.map(pillar2=>{const isSelected=selectedSfiPillars.includes(pillar2),pillarCount=data.filter(item=>item.TestSfiPillar===pillar2).length,PillarIcon=getSfiPillarIcon(pillar2);return jsxRuntimeExports.jsxs(Button,{variant:isSelected?"default":"outline",size:"sm",onClick:__name(()=>{setSelectedSfiPillars(isSelected?prev=>prev.filter(p2=>p2!==pillar2):prev=>[...prev,pillar2])},"onClick"),className:`text-xs max-w-96 h-auto py-1 px-4 rounded-full ${isSelected?"bg-blue-600 hover:bg-blue-700 text-white":"hover:bg-blue-50 hover:text-blue-700 hover:border-blue-300 dark:hover:bg-blue-950 dark:hover:text-blue-300"}`,title:`${pillar2} (${pillarCount} tests)`,children:[jsxRuntimeExports.jsx(PillarIcon,{className:"mr-2 h-3 w-3 flex-shrink-0"}),jsxRuntimeExports.jsx("span",{className:"whitespace-normal text-left leading-tight",children:pillar2})]},pillar2)})})]}),jsxRuntimeExports.jsx("div",{className:"rounded-md border",children:jsxRuntimeExports.jsxs(Table,{children:[jsxRuntimeExports.jsx(TableHeader,{children:table2.getHeaderGroups().map(headerGroup=>jsxRuntimeExports.jsx(TableRow,{children:headerGroup.headers.map(header=>jsxRuntimeExports.jsx(TableHead,{children:header.isPlaceholder?null:flexRender(header.column.columnDef.header,header.getContext())},header.id))},headerGroup.id))}),jsxRuntimeExports.jsx(TableBody,{children:table2.getRowModel().rows?.length?table2.getRowModel().rows.map(row=>jsxRuntimeExports.jsx(TableRow,{className:"cursor-pointer","data-state":row.getIsSelected()&&"selected",onClick:__name(()=>{setSelectedRow(row.original),setSheetOpen(!0)},"onClick"),children:row.getVisibleCells().map(cell=>jsxRuntimeExports.jsx(TableCell,{children:flexRender(cell.column.columnDef.cell,cell.getContext())},cell.id))},row.id)):jsxRuntimeExports.jsx(TableRow,{children:jsxRuntimeExports.jsx(TableCell,{colSpan:columns2.length,className:"h-24 text-center",children:"No results."})})})]})}),jsxRuntimeExports.jsx(Sheet,{open:sheetOpen,onOpenChange:setSheetOpen,children:jsxRuntimeExports.jsxs(SheetContent,{side:"right",className:"md:min-w-[700px] lg:min-w-[900px] overflow-y-auto",allowMaximize:!0,children:[jsxRuntimeExports.jsx(SheetHeader,{children:jsxRuntimeExports.jsx(SheetTitle,{className:"text-2xl text-left",children:selectedRow?.TestTitle})}),jsxRuntimeExports.jsx("div",{className:"grid pt-10 gap-6",children:jsxRuntimeExports.jsx(Card,{children:jsxRuntimeExports.jsx(CardHeader,{children:jsxRuntimeExports.jsxs("div",{className:`mt-2 text-sm ${selectedRow?.TestPillar==="Infrastructure"?"flex flex-col gap-y-2":"grid grid-cols-3 gap-y-2"}`,children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx(TriangleAlert,{className:"h-4 w-4 text-foreground"}),jsxRuntimeExports.jsx("span",{className:"font-semibold",children:"Risk:"}),jsxRuntimeExports.jsx("span",{children:selectedRow?.TestRisk??"N/A"})]}),selectedRow?.TestPillar!=="Infrastructure"&&jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx(Users,{className:"h-4 w-4 text-foreground"}),jsxRuntimeExports.jsx("span",{className:"font-semibold",children:"User Impact:"}),jsxRuntimeExports.jsx("span",{children:selectedRow?.TestImpact??"N/A"})]}),selectedRow?.TestPillar!=="Infrastructure"&&jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx(Settings,{className:"h-4 w-4 text-foreground"}),jsxRuntimeExports.jsx("span",{className:"font-semibold",children:"Implementation Effort:"}),jsxRuntimeExports.jsx("span",{children:selectedRow?.TestImplementationCost??"N/A"})]}),jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx(Hash,{className:"h-4 w-4 text-foreground"}),jsxRuntimeExports.jsx("span",{className:"font-semibold",children:"Test ID:"}),jsxRuntimeExports.jsx("span",{children:selectedRow?.TestId??"N/A"})]}),selectedRow?.TestPillar!=="Infrastructure"&&jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx(BadgeCheck,{className:"h-4 w-4 text-foreground"}),jsxRuntimeExports.jsx("span",{className:"font-semibold",children:"License:"}),jsxRuntimeExports.jsx("div",{className:"flex items-center gap-1 flex-wrap",children:selectedRow?.TestMinimumLicense&&Array.isArray(selectedRow.TestMinimumLicense)?selectedRow.TestMinimumLicense.map((license,index2)=>jsxRuntimeExports.jsx("span",{className:"px-2 py-0.5 text-xs font-medium bg-purple-100 text-purple-800 dark:bg-purple-900 dark:text-purple-200 rounded-md",children:license},index2)):jsxRuntimeExports.jsx("span",{children:selectedRow?.TestMinimumLicense??"N/A"})})]})]})})})}),jsxRuntimeExports.jsxs("div",{className:"grid pt-10 gap-6",children:[jsxRuntimeExports.jsxs(Card,{children:[jsxRuntimeExports.jsx(CardHeader,{children:jsxRuntimeExports.jsx(CardTitle,{children:jsxRuntimeExports.jsxs("div",{className:"flex",children:[jsxRuntimeExports.jsx("span",{className:"pr-3",children:" Test result → "}),jsxRuntimeExports.jsx(StatusIcon,{Item:selectedRow})]})})}),jsxRuntimeExports.jsx(CardContent,{children:jsxRuntimeExports.jsx(Markdown,{className:"prose max-w-fit dark:prose-invert",remarkPlugins:[remarkGfm],rehypePlugins:mdRehypePlugins,children:selectedRow?.TestResult})})]}),jsxRuntimeExports.jsxs(Card,{children:[jsxRuntimeExports.jsx(CardHeader,{children:jsxRuntimeExports.jsx(CardTitle,{children:"What was checked"})}),jsxRuntimeExports.jsx(CardContent,{children:jsxRuntimeExports.jsx(Markdown,{className:"prose max-w-fit dark:prose-invert",remarkPlugins:[remarkGfm],rehypePlugins:mdRehypePlugins,children:selectedRow?.TestDescription})})]})]})]})})]})}__name(DataTable,"DataTable");const RISK_ORDER={Critical:0,High:1,Medium:2,Low:3,Unranked:4},STATUS_ORDER={Failed:0,Passed:1,Skipped:2,Planned:3},columns=[{accessorKey:"TestId",header:__name(({column})=>jsxRuntimeExports.jsxs(Button,{variant:"ghost",onClick:__name(()=>column.toggleSorting(column.getIsSorted()==="asc"),"onClick"),children:["ID",jsxRuntimeExports.jsx(ArrowUpDown,{className:"ml-2 h-4 w-4"})]}),"header"),cell:__name(({row})=>{const id=row.getValue("TestId"),display=id&&id.length>5?id.slice(-5):id;return jsxRuntimeExports.jsx("span",{title:id,children:display})},"cell"),meta:{label:"ID"}},{accessorKey:"TestTitle",meta:{label:"Name"},header:__name(({column})=>jsxRuntimeExports.jsxs(Button,{variant:"ghost",onClick:__name(()=>column.toggleSorting(column.getIsSorted()==="asc"),"onClick"),children:["Name",jsxRuntimeExports.jsx(ArrowUpDown,{className:"ml-2 h-4 w-4"})]}),"header")},{accessorKey:"TestCategory",meta:{label:"Category"},header:__name(({column})=>jsxRuntimeExports.jsxs(Button,{variant:"ghost",onClick:__name(()=>column.toggleSorting(column.getIsSorted()==="asc"),"onClick"),children:["Category",jsxRuntimeExports.jsx(ArrowUpDown,{className:"ml-2 h-4 w-4"})]}),"header"),cell:__name(({row})=>{const category=row.getValue("TestCategory");return category?jsxRuntimeExports.jsx("div",{className:"flex items-center",children:jsxRuntimeExports.jsx("span",{children:category})}):jsxRuntimeExports.jsx("div",{className:"flex items-center",children:jsxRuntimeExports.jsx("span",{className:"text-muted-foreground",children:"N/A"})})},"cell")},{accessorKey:"TestSfiPillar",meta:{label:"SFI Pillar"},header:__name(({column})=>jsxRuntimeExports.jsxs(Button,{variant:"ghost",onClick:__name(()=>column.toggleSorting(column.getIsSorted()==="asc"),"onClick"),children:["SFI Pillar",jsxRuntimeExports.jsx(ArrowUpDown,{className:"ml-2 h-4 w-4"})]}),"header"),cell:__name(({row})=>{const sfiPillar=row.getValue("TestSfiPillar");return sfiPillar?jsxRuntimeExports.jsx("div",{className:"flex items-center",children:jsxRuntimeExports.jsx("span",{className:"px-2 py-1 text-xs font-medium bg-blue-100 text-blue-800 rounded-md",children:sfiPillar})}):jsxRuntimeExports.jsx("div",{className:"flex items-center",children:jsxRuntimeExports.jsx("span",{className:"text-muted-foreground",children:"N/A"})})},"cell")},{accessorKey:"TestMinimumLicense",meta:{label:"Minimum License"},header:__name(({column})=>jsxRuntimeExports.jsxs(Button,{variant:"ghost",onClick:__name(()=>column.toggleSorting(column.getIsSorted()==="asc"),"onClick"),children:["Min. License",jsxRuntimeExports.jsx(ArrowUpDown,{className:"ml-2 h-4 w-4"})]}),"header"),cell:__name(({row})=>{const licensesValue=row.getValue("TestMinimumLicense");if(!licensesValue)return jsxRuntimeExports.jsx("div",{className:"flex items-center",children:jsxRuntimeExports.jsx("span",{className:"text-muted-foreground",children:"N/A"})});const licenses=Array.isArray(licensesValue)?licensesValue:[licensesValue];return licenses.length===0?jsxRuntimeExports.jsx("div",{className:"flex items-center",children:jsxRuntimeExports.jsx("span",{className:"text-muted-foreground",children:"N/A"})}):jsxRuntimeExports.jsx("div",{className:"flex items-center gap-1 flex-wrap",children:licenses.map((license,index2)=>jsxRuntimeExports.jsx("span",{className:"px-2 py-1 text-xs font-medium bg-purple-100 text-purple-800 rounded-md",children:license},index2))})},"cell")},{accessorKey:"TestImpact",meta:{label:"User Impact"},header:__name(({column})=>jsxRuntimeExports.jsxs(Button,{variant:"ghost",onClick:__name(()=>column.toggleSorting(column.getIsSorted()==="asc"),"onClick"),children:["User Impact",jsxRuntimeExports.jsx(ArrowUpDown,{className:"ml-2 h-4 w-4"})]}),"header"),cell:__name(({row})=>{const impact=impacts.find(impact2=>impact2.value===row.getValue("TestImpact"));return impact?jsxRuntimeExports.jsx("div",{className:"flex items-center",children:jsxRuntimeExports.jsx("span",{children:impact.label})}):null},"cell")},{accessorKey:"TestImplementationCost",meta:{label:"Implementation Effort"},header:__name(({column})=>jsxRuntimeExports.jsxs(Button,{variant:"ghost",onClick:__name(()=>column.toggleSorting(column.getIsSorted()==="asc"),"onClick"),children:["Imp. Effort",jsxRuntimeExports.jsx(ArrowUpDown,{className:"ml-2 h-4 w-4"})]}),"header"),cell:__name(({row})=>{const impact=impacts.find(impact2=>impact2.value===row.getValue("TestImplementationCost"));return impact?jsxRuntimeExports.jsx("div",{className:"flex items-center",children:jsxRuntimeExports.jsx("span",{children:impact.label})}):null},"cell")},{accessorKey:"TestRisk",meta:{label:"Risk"},sortingFn:__name((rowA,rowB,columnId)=>{const a2=RISK_ORDER[rowA.getValue(columnId)]??Number.POSITIVE_INFINITY,b2=RISK_ORDER[rowB.getValue(columnId)]??Number.POSITIVE_INFINITY;return a2-b2},"sortingFn"),header:__name(({column})=>jsxRuntimeExports.jsxs(Button,{variant:"ghost",onClick:__name(()=>column.toggleSorting(column.getIsSorted()==="asc"),"onClick"),children:["Risk",jsxRuntimeExports.jsx(ArrowUpDown,{className:"ml-2 h-4 w-4"})]}),"header"),cell:__name(({row})=>{const impact=impacts.find(impact2=>impact2.value===row.getValue("TestRisk"));return impact?jsxRuntimeExports.jsxs("div",{className:"flex items-center",children:[impact.icon&&jsxRuntimeExports.jsx(impact.icon,{className:"mr-2 h-4 w-4 text-muted-foreground"}),jsxRuntimeExports.jsx("span",{children:impact.label})]}):null},"cell")},{accessorKey:"TestStatus",meta:{label:"Status"},sortingFn:__name((rowA,rowB,columnId)=>{const a2=STATUS_ORDER[rowA.getValue(columnId)]??3,b2=STATUS_ORDER[rowB.getValue(columnId)]??3;return a2-b2},"sortingFn"),header:__name(({column})=>jsxRuntimeExports.jsxs(Button,{variant:"ghost",onClick:__name(()=>column.toggleSorting(column.getIsSorted()==="asc"),"onClick"),children:["Status",jsxRuntimeExports.jsx(ArrowUpDown,{className:"ml-2 h-4 w-4"})]}),"header"),cell:__name(({row})=>jsxRuntimeExports.jsx(StatusIcon,{Item:row.original}),"cell")}];function Identity(){return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(PageHeader,{children:jsxRuntimeExports.jsx(PageHeaderHeading,{children:"Identity"})}),jsxRuntimeExports.jsxs(Card,{children:[jsxRuntimeExports.jsxs(CardHeader,{children:[jsxRuntimeExports.jsx(CardTitle,{className:"mb-3",children:"Assessment results"}),jsxRuntimeExports.jsxs(CardDescription,{children:["The results presented below are based on the security principles detailed in the"," ",jsxRuntimeExports.jsx("a",{href:"https://learn.microsoft.com/en-us/entra/fundamentals/configure-security",target:"_blank",rel:"noopener noreferrer",className:"text-primary font-medium underline underline-offset-4 hover:underline",children:"Configuring Microsoft Entra for increased security"})," ","guide."]})]}),jsxRuntimeExports.jsx(CardContent,{className:"gap-4 px-4 pb-4 pt-1",children:jsxRuntimeExports.jsx(DataTable,{columns,data:reportData.Tests,pillar:"Identity"})})]})]})}__name(Identity,"Identity");var TABS_NAME="Tabs",[createTabsContext]=createContextScope$1(TABS_NAME,[createRovingFocusGroupScope]),useRovingFocusGroupScope=createRovingFocusGroupScope(),[TabsProvider,useTabsContext]=createTabsContext(TABS_NAME),Tabs$1=reactExports.forwardRef((props,forwardedRef)=>{const{__scopeTabs,value:valueProp,onValueChange,defaultValue,orientation="horizontal",dir,activationMode="automatic",...tabsProps}=props,direction=useDirection(dir),[value2,setValue]=useControllableState({prop:valueProp,onChange:onValueChange,defaultProp:defaultValue??"",caller:TABS_NAME});return jsxRuntimeExports.jsx(TabsProvider,{scope:__scopeTabs,baseId:useId(),value:value2,onValueChange:setValue,orientation,dir:direction,activationMode,children:jsxRuntimeExports.jsx(Primitive$2.div,{dir:direction,"data-orientation":orientation,...tabsProps,ref:forwardedRef})})});Tabs$1.displayName=TABS_NAME;var TAB_LIST_NAME="TabsList",TabsList$1=reactExports.forwardRef((props,forwardedRef)=>{const{__scopeTabs,loop:loop2=!0,...listProps}=props,context=useTabsContext(TAB_LIST_NAME,__scopeTabs),rovingFocusGroupScope=useRovingFocusGroupScope(__scopeTabs);return jsxRuntimeExports.jsx(Root$4,{asChild:!0,...rovingFocusGroupScope,orientation:context.orientation,dir:context.dir,loop:loop2,children:jsxRuntimeExports.jsx(Primitive$2.div,{role:"tablist","aria-orientation":context.orientation,...listProps,ref:forwardedRef})})});TabsList$1.displayName=TAB_LIST_NAME;var TRIGGER_NAME="TabsTrigger",TabsTrigger$1=reactExports.forwardRef((props,forwardedRef)=>{const{__scopeTabs,value:value2,disabled=!1,...triggerProps}=props,context=useTabsContext(TRIGGER_NAME,__scopeTabs),rovingFocusGroupScope=useRovingFocusGroupScope(__scopeTabs),triggerId=makeTriggerId(context.baseId,value2),contentId=makeContentId(context.baseId,value2),isSelected=value2===context.value;return jsxRuntimeExports.jsx(Item$1,{asChild:!0,...rovingFocusGroupScope,focusable:!disabled,active:isSelected,children:jsxRuntimeExports.jsx(Primitive$2.button,{type:"button",role:"tab","aria-selected":isSelected,"aria-controls":contentId,"data-state":isSelected?"active":"inactive","data-disabled":disabled?"":void 0,disabled,id:triggerId,...triggerProps,ref:forwardedRef,onMouseDown:composeEventHandlers(props.onMouseDown,event=>{!disabled&&event.button===0&&event.ctrlKey===!1?context.onValueChange(value2):event.preventDefault()}),onKeyDown:composeEventHandlers(props.onKeyDown,event=>{[" ","Enter"].includes(event.key)&&context.onValueChange(value2)}),onFocus:composeEventHandlers(props.onFocus,()=>{const isAutomaticActivation=context.activationMode!=="manual";!isSelected&&!disabled&&isAutomaticActivation&&context.onValueChange(value2)})})})});TabsTrigger$1.displayName=TRIGGER_NAME;var CONTENT_NAME="TabsContent",TabsContent$1=reactExports.forwardRef((props,forwardedRef)=>{const{__scopeTabs,value:value2,forceMount,children:children2,...contentProps}=props,context=useTabsContext(CONTENT_NAME,__scopeTabs),triggerId=makeTriggerId(context.baseId,value2),contentId=makeContentId(context.baseId,value2),isSelected=value2===context.value,isMountAnimationPreventedRef=reactExports.useRef(isSelected);return reactExports.useEffect(()=>{const rAF=requestAnimationFrame(()=>isMountAnimationPreventedRef.current=!1);return()=>cancelAnimationFrame(rAF)},[]),jsxRuntimeExports.jsx(Presence,{present:forceMount||isSelected,children:__name(({present})=>jsxRuntimeExports.jsx(Primitive$2.div,{"data-state":isSelected?"active":"inactive","data-orientation":context.orientation,role:"tabpanel","aria-labelledby":triggerId,hidden:!present,id:contentId,tabIndex:0,...contentProps,ref:forwardedRef,style:{...props.style,animationDuration:isMountAnimationPreventedRef.current?"0s":void 0},children:present&&children2}),"children")})});TabsContent$1.displayName=CONTENT_NAME;function makeTriggerId(baseId,value2){return`${baseId}-trigger-${value2}`}__name(makeTriggerId,"makeTriggerId");function makeContentId(baseId,value2){return`${baseId}-content-${value2}`}__name(makeContentId,"makeContentId");var Root2=Tabs$1,List=TabsList$1,Trigger=TabsTrigger$1,Content=TabsContent$1;const Tabs=Root2,TabsList=reactExports.forwardRef(({className,...props},ref)=>jsxRuntimeExports.jsx(List,{ref,className:cn$2("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",className),...props}));TabsList.displayName=List.displayName;const TabsTrigger=reactExports.forwardRef(({className,...props},ref)=>jsxRuntimeExports.jsx(Trigger,{ref,className:cn$2("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",className),...props}));TabsTrigger.displayName=Trigger.displayName;const TabsContent=reactExports.forwardRef(({className,...props},ref)=>jsxRuntimeExports.jsx(Content,{ref,className:cn$2("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",className),...props}));TabsContent.displayName=Content.displayName;function DevicesConfig(){const enrollment=reportData.TenantInfo?.ConfigWindowsEnrollment,enrollmentRestrictions=reportData.TenantInfo?.ConfigDeviceEnrollmentRestriction,compliancePolicies=reportData.TenantInfo?.ConfigDeviceCompliancePolicies,appProtectionPolicies=reportData.TenantInfo?.ConfigDeviceAppProtectionPolicies;return jsxRuntimeExports.jsxs("div",{className:"p-4",children:[jsxRuntimeExports.jsx("h2",{className:"text-lg font-semibold mb-4",children:"Windows automatic enrollment"}),jsxRuntimeExports.jsx("p",{className:"text-sm text-gray-600 mb-4",children:"Configure Windows devices to enroll when they join or register with Azure Active Directory. We recommend setting this to all instead of selected groups and using enrollment restrictions to configure the intake of users."}),enrollment&&enrollment.length>0?jsxRuntimeExports.jsxs(Table,{children:[jsxRuntimeExports.jsx(TableHeader,{children:jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableHead,{children:"Type"}),jsxRuntimeExports.jsx(TableHead,{children:"Policy Name"}),jsxRuntimeExports.jsx(TableHead,{children:"Applies To"}),jsxRuntimeExports.jsx(TableHead,{children:"Groups"})]})}),jsxRuntimeExports.jsx(TableBody,{children:enrollment.map((row,idx)=>jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{children:row.Type}),jsxRuntimeExports.jsx(TableCell,{children:row.PolicyName}),jsxRuntimeExports.jsx(TableCell,{children:row.AppliesTo}),jsxRuntimeExports.jsx(TableCell,{children:row.Groups})]},idx))})]}):jsxRuntimeExports.jsx("p",{children:"No Windows enrollment configuration found."}),jsxRuntimeExports.jsx("h2",{className:"text-lg font-semibold mb-4 mt-8",children:"Enrollment device platform restrictions"}),jsxRuntimeExports.jsx("p",{className:"text-sm text-gray-600 mb-4",children:"Device enrollment restrictions let you restrict devices from enrolling in Intune based on certain device attributes. Device platform restrictions restrict devices based on device platform, version, manufacturer, or ownership type."}),enrollmentRestrictions&&enrollmentRestrictions.length>0?jsxRuntimeExports.jsxs(Table,{children:[jsxRuntimeExports.jsx(TableHeader,{children:jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableHead,{children:"Platform"}),jsxRuntimeExports.jsx(TableHead,{children:"Priority"}),jsxRuntimeExports.jsx(TableHead,{children:"Name"}),jsxRuntimeExports.jsx(TableHead,{children:"MDM"}),jsxRuntimeExports.jsx(TableHead,{children:"Min Ver"}),jsxRuntimeExports.jsx(TableHead,{children:"Max Ver"}),jsxRuntimeExports.jsx(TableHead,{children:"Personally owned"}),jsxRuntimeExports.jsx(TableHead,{children:"Blocked manuf."}),jsxRuntimeExports.jsx(TableHead,{children:"Scope"}),jsxRuntimeExports.jsx(TableHead,{children:"Assigned to"})]})}),jsxRuntimeExports.jsx(TableBody,{children:enrollmentRestrictions.map((row,idx)=>jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{children:row.Platform}),jsxRuntimeExports.jsx(TableCell,{children:row.Priority}),jsxRuntimeExports.jsx(TableCell,{children:row.Name}),jsxRuntimeExports.jsx(TableCell,{children:row.MDM}),jsxRuntimeExports.jsx(TableCell,{children:row.MinVer}),jsxRuntimeExports.jsx(TableCell,{children:row.MaxVer}),jsxRuntimeExports.jsx(TableCell,{children:row.PersonallyOwned}),jsxRuntimeExports.jsx(TableCell,{children:row.BlockedManufacturers}),jsxRuntimeExports.jsx(TableCell,{children:row.Scope}),jsxRuntimeExports.jsx(TableCell,{children:row.AssignedTo})]},idx))})]}):jsxRuntimeExports.jsx("p",{children:"No device enrollment restrictions found."}),jsxRuntimeExports.jsx("h2",{className:"text-lg font-semibold mb-4 mt-8",children:"Compliance policies"}),jsxRuntimeExports.jsx("p",{className:"text-sm text-gray-600 mb-4",children:"Device compliance policies define the rules and settings that devices must meet to be considered compliant. These policies help ensure that devices accessing organizational resources meet minimum security requirements."}),compliancePolicies&&compliancePolicies.length>0?jsxRuntimeExports.jsx("div",{className:"overflow-x-auto",children:jsxRuntimeExports.jsxs(Table,{children:[jsxRuntimeExports.jsx(TableHeader,{children:jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableHead,{className:"font-semibold",children:"Setting"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableHead,{className:"min-w-[150px]",children:policy.PolicyName},idx))]})}),jsxRuntimeExports.jsxs(TableBody,{children:[jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Platform"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.Platform},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Defender ATP"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.DefenderForEndPoint},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Min OS Version"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.MinOsVersion},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Max OS Version"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.MaxOsVersion},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Require Password"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.RequirePswd},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Min Password Length"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.MinPswdLength},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Password Type"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.PasswordType},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Password Expiry Days"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.PswdExpiryDays},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Previous Passwords Blocked"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.CountOfPreviousPswdToBlock},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Max Inactivity Min"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.MaxInactivityMin},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Require Encryption"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.RequireEncryption},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Rooted/Jailbroken"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.RootedJailbrokenDevices},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Max Threat Level"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.MaxDeviceThreatLevel},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Require Firewall"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.RequireFirewall},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Push Notification Days"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.ActionForNoncomplianceDaysPushNotification},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Send Email Days"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.ActionForNoncomplianceDaysSendEmail},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Remote Lock Days"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.ActionForNoncomplianceDaysRemoteLock},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Block Days"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.ActionForNoncomplianceDaysBlock},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Retire Days"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.ActionForNoncomplianceDaysRetire},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Scope"}),compliancePolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.Scope},idx))]})]})]})}):jsxRuntimeExports.jsx("p",{children:"No device compliance policies found."}),jsxRuntimeExports.jsx("h2",{className:"text-lg font-semibold mb-4 mt-8",children:"App protection policies"}),jsxRuntimeExports.jsx("p",{className:"text-sm text-gray-600 mb-4",children:`App protection policies (APP) are rules that ensure an organization's data remains safe or contained in a managed app. A policy can be a rule that is enforced when the user attempts to access or move "corporate" data, or a set of actions that are prohibited or monitored when the user is inside the app. A managed app is an app that has app protection policies applied to it, and can be managed by Intune.`}),appProtectionPolicies&&appProtectionPolicies.length>0?jsxRuntimeExports.jsx("div",{className:"overflow-x-auto",children:jsxRuntimeExports.jsxs(Table,{children:[jsxRuntimeExports.jsx(TableHeader,{children:jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableHead,{className:"font-semibold",children:"Setting"}),appProtectionPolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableHead,{className:"min-w-[150px]",children:policy.Name},idx))]})}),jsxRuntimeExports.jsxs(TableBody,{children:[jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Platform"}),appProtectionPolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.Platform},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Public Apps"}),appProtectionPolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.AppsPublic},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Custom Apps"}),appProtectionPolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.AppsCustom},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Backup to Cloud"}),appProtectionPolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.BackupOrgDataToICloudOrGoogle},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Send Data to Other Apps"}),appProtectionPolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.SendOrgDataToOtherApps},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Apps to Exempt"}),appProtectionPolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.AppsToExempt},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Save Copies"}),appProtectionPolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.SaveCopiesOfOrgData},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Allow Save to Selected Services"}),appProtectionPolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.AllowUserToSaveCopiesToSelectedServices},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Transfer Telecom Data To"}),appProtectionPolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.DataProtectionTransferTelecommunicationDataTo},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Receive Data From Other Apps"}),appProtectionPolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.DataProtectionReceiveDataFromOtherApps},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Rooted/Jailbroken Devices"}),appProtectionPolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.ConditionalLaunchDeviceRootedJailbrokenDevices},idx))]}),jsxRuntimeExports.jsxs(TableRow,{children:[jsxRuntimeExports.jsx(TableCell,{className:"font-medium",children:"Scope"}),appProtectionPolicies.map((policy,idx)=>jsxRuntimeExports.jsx(TableCell,{children:policy.Scope},idx))]})]})]})}):jsxRuntimeExports.jsx("p",{children:"No app protection policies found."})]})}__name(DevicesConfig,"DevicesConfig");function Devices(){return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(PageHeader,{children:jsxRuntimeExports.jsx(PageHeaderHeading,{children:"Devices"})}),jsxRuntimeExports.jsxs(Tabs,{defaultValue:"assessment",className:"w-full",children:[jsxRuntimeExports.jsxs(TabsList,{className:"grid w-full grid-cols-2",children:[jsxRuntimeExports.jsxs(TabsTrigger,{value:"assessment",className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx(ChartColumn,{className:"h-4 w-4"}),"Assessment results"]}),jsxRuntimeExports.jsxs(TabsTrigger,{value:"config",className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx(Settings,{className:"h-4 w-4"}),"Config"]})]}),jsxRuntimeExports.jsx(TabsContent,{value:"assessment",className:"space-y-4",children:jsxRuntimeExports.jsxs(Card,{children:[jsxRuntimeExports.jsxs(CardHeader,{children:[jsxRuntimeExports.jsx(CardTitle,{className:"mb-3",children:"Assessment results"}),jsxRuntimeExports.jsxs(CardDescription,{children:["The results presented below are based on the security principles detailed in the"," ",jsxRuntimeExports.jsx("a",{href:"https://learn.microsoft.com/intune/intune-service/protect/zero-trust-configure-security",target:"_blank",rel:"noopener noreferrer",className:"text-primary font-medium underline underline-offset-4 hover:underline",children:"Configuring Microsoft Intune for increased security"})," ","guide."]})]}),jsxRuntimeExports.jsx(CardContent,{className:"gap-4 px-4 pb-4 pt-1",children:jsxRuntimeExports.jsx(DataTable,{columns,data:reportData.Tests,pillar:"Devices"})})]})}),jsxRuntimeExports.jsx(TabsContent,{value:"config",className:"space-y-4",children:jsxRuntimeExports.jsxs(Card,{children:[jsxRuntimeExports.jsxs(CardHeader,{children:[jsxRuntimeExports.jsx(CardTitle,{className:"mb-3",children:"Device Configuration"}),jsxRuntimeExports.jsx(CardDescription,{children:"Device configuration settings and options."})]}),jsxRuntimeExports.jsx(CardContent,{className:"gap-4 px-4 pb-4 pt-1",children:jsxRuntimeExports.jsx(DevicesConfig,{})})]})})]})]})}__name(Devices,"Devices");function Apps(){return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(PageHeader,{children:jsxRuntimeExports.jsx(PageHeaderHeading,{children:"Apps"})}),jsxRuntimeExports.jsx(Card,{children:jsxRuntimeExports.jsxs(CardHeader,{children:[jsxRuntimeExports.jsx(CardTitle,{children:"Coming soon"}),jsxRuntimeExports.jsx(CardDescription,{children:"He that can have patience can have what he will. - Benjamin Franklin"})]})})]})}__name(Apps,"Apps");function Network(){return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(PageHeader,{children:jsxRuntimeExports.jsx(PageHeaderHeading,{children:"Network"})}),jsxRuntimeExports.jsxs(Card,{children:[jsxRuntimeExports.jsxs(CardHeader,{children:[jsxRuntimeExports.jsx(CardTitle,{className:"mb-3",children:"Assessment results"}),jsxRuntimeExports.jsxs(CardDescription,{children:["The results presented below are based on the security principles detailed in the"," ",jsxRuntimeExports.jsx("a",{href:"https://learn.microsoft.com/en-us/entra/fundamentals/configure-security",target:"_blank",rel:"noopener noreferrer",className:"text-primary font-medium underline underline-offset-4 hover:underline",children:"Configuring Microsoft Entra and Azure for increased security"})," ","guide."]})]}),jsxRuntimeExports.jsx(CardContent,{className:"gap-4 px-4 pb-4 pt-1",children:jsxRuntimeExports.jsx(DataTable,{columns,data:reportData.Tests,pillar:"Network"})})]})]})}__name(Network,"Network");function Infrastructure(){return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(PageHeader,{children:jsxRuntimeExports.jsx(PageHeaderHeading,{children:"Infrastructure"})}),jsxRuntimeExports.jsxs(Card,{children:[jsxRuntimeExports.jsxs(CardHeader,{children:[jsxRuntimeExports.jsx(CardTitle,{className:"mb-3",children:"Assessment results"}),jsxRuntimeExports.jsx(CardDescription,{children:"The results presented below are based on Zero Trust security principles for infrastructure."})]}),jsxRuntimeExports.jsx(CardContent,{className:"gap-4 px-4 pb-4 pt-1",children:jsxRuntimeExports.jsx(DataTable,{columns,data:reportData.Tests,pillar:"Infrastructure"})})]})]})}__name(Infrastructure,"Infrastructure");function Data(){return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(PageHeader,{children:jsxRuntimeExports.jsx(PageHeaderHeading,{children:"Data"})}),jsxRuntimeExports.jsxs(Card,{children:[jsxRuntimeExports.jsxs(CardHeader,{children:[jsxRuntimeExports.jsx(CardTitle,{className:"mb-3",children:"Assessment results"}),jsxRuntimeExports.jsxs(CardDescription,{children:["The results presented below are based on the security principles detailed in the"," ",jsxRuntimeExports.jsx("a",{href:"https://learn.microsoft.com/en-us/purview/configure-security",target:"_blank",rel:"noopener noreferrer",className:"text-primary font-medium underline underline-offset-4 hover:underline",children:"Configuring Microsoft Purview for increased security"})," ","guide."]})]}),jsxRuntimeExports.jsx(CardContent,{className:"gap-4 px-4 pb-4 pt-1",children:jsxRuntimeExports.jsx(DataTable,{columns,data:reportData.Tests,pillar:"Data"})})]})]})}__name(Data,"Data");function SecOps(){return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(PageHeader,{children:jsxRuntimeExports.jsx(PageHeaderHeading,{children:"Security Operations"})}),jsxRuntimeExports.jsxs(Card,{children:[jsxRuntimeExports.jsxs(CardHeader,{children:[jsxRuntimeExports.jsx(CardTitle,{className:"mb-3",children:"Assessment results"}),jsxRuntimeExports.jsx(CardDescription,{children:"The results presented below are based on Zero Trust security principles for security operations."})]}),jsxRuntimeExports.jsx(CardContent,{className:"gap-4 px-4 pb-4 pt-1",children:jsxRuntimeExports.jsx(DataTable,{columns,data:reportData.Tests,pillar:"SecOps"})})]})]})}__name(SecOps,"SecOps");function AI(){return jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(PageHeader,{children:jsxRuntimeExports.jsx(PageHeaderHeading,{children:"AI"})}),jsxRuntimeExports.jsxs(Card,{children:[jsxRuntimeExports.jsxs(CardHeader,{children:[jsxRuntimeExports.jsx(CardTitle,{className:"mb-3",children:"Assessment results"}),jsxRuntimeExports.jsx(CardDescription,{children:"The results presented below are based on Zero Trust security principles for AI workloads."})]}),jsxRuntimeExports.jsx(CardContent,{className:"gap-4 px-4 pb-4 pt-1",children:jsxRuntimeExports.jsx(DataTable,{columns,data:reportData.Tests,pillar:"AI"})})]})]})}__name(AI,"AI");var define_global_default={basename:""};const router=createHashRouter([{path:"/",element:jsxRuntimeExports.jsx(Applayout,{}),children:[{path:"",element:jsxRuntimeExports.jsx(Dashboard,{})},{path:"identity",element:jsxRuntimeExports.jsx(Identity,{})},{path:"devices",element:jsxRuntimeExports.jsx(Devices,{})},{path:"apps",element:jsxRuntimeExports.jsx(Apps,{})},{path:"network",element:jsxRuntimeExports.jsx(Network,{})},{path:"infrastructure",element:jsxRuntimeExports.jsx(Infrastructure,{})},{path:"data",element:jsxRuntimeExports.jsx(Data,{})},{path:"secops",element:jsxRuntimeExports.jsx(SecOps,{})},{path:"ai",element:jsxRuntimeExports.jsx(AI,{})}]},{path:"*",element:jsxRuntimeExports.jsx(NoMatch,{})}],{basename:define_global_default.basename});function __insertCSS(code2){if(typeof document>"u")return;let head=document.head||document.getElementsByTagName("head")[0],style2=document.createElement("style");style2.type="text/css",head.appendChild(style2),style2.styleSheet?style2.styleSheet.cssText=code2:style2.appendChild(document.createTextNode(code2))}__name(__insertCSS,"__insertCSS");const getAsset=__name(type=>{switch(type){case"success":return SuccessIcon;case"info":return InfoIcon;case"warning":return WarningIcon;case"error":return ErrorIcon;default:return null}},"getAsset"),bars=Array(12).fill(0),Loader=__name(({visible,className})=>React.createElement("div",{className:["sonner-loading-wrapper",className].filter(Boolean).join(" "),"data-visible":visible},React.createElement("div",{className:"sonner-spinner"},bars.map((_2,i2)=>React.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${i2}`})))),"Loader"),SuccessIcon=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},React.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),WarningIcon=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},React.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),InfoIcon=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},React.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),ErrorIcon=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},React.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),CloseIcon=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},React.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),React.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),useIsDocumentHidden=__name(()=>{const[isDocumentHidden,setIsDocumentHidden]=React.useState(document.hidden);return React.useEffect(()=>{const callback=__name(()=>{setIsDocumentHidden(document.hidden)},"callback");return document.addEventListener("visibilitychange",callback),()=>window.removeEventListener("visibilitychange",callback)},[]),isDocumentHidden},"useIsDocumentHidden");let toastsCounter=1;const _Observer=class _Observer{constructor(){this.subscribe=subscriber=>(this.subscribers.push(subscriber),()=>{const index2=this.subscribers.indexOf(subscriber);this.subscribers.splice(index2,1)}),this.publish=data=>{this.subscribers.forEach(subscriber=>subscriber(data))},this.addToast=data=>{this.publish(data),this.toasts=[...this.toasts,data]},this.create=data=>{var _data_id;const{message,...rest}=data,id=typeof data?.id=="number"||((_data_id=data.id)==null?void 0:_data_id.length)>0?data.id:toastsCounter++,alreadyExists=this.toasts.find(toast2=>toast2.id===id),dismissible=data.dismissible===void 0?!0:data.dismissible;return this.dismissedToasts.has(id)&&this.dismissedToasts.delete(id),alreadyExists?this.toasts=this.toasts.map(toast2=>toast2.id===id?(this.publish({...toast2,...data,id,title:message}),{...toast2,...data,id,dismissible,title:message}):toast2):this.addToast({title:message,...rest,dismissible,id}),id},this.dismiss=id=>(id?(this.dismissedToasts.add(id),requestAnimationFrame(()=>this.subscribers.forEach(subscriber=>subscriber({id,dismiss:!0})))):this.toasts.forEach(toast2=>{this.subscribers.forEach(subscriber=>subscriber({id:toast2.id,dismiss:!0}))}),id),this.message=(message,data)=>this.create({...data,message}),this.error=(message,data)=>this.create({...data,message,type:"error"}),this.success=(message,data)=>this.create({...data,type:"success",message}),this.info=(message,data)=>this.create({...data,type:"info",message}),this.warning=(message,data)=>this.create({...data,type:"warning",message}),this.loading=(message,data)=>this.create({...data,type:"loading",message}),this.promise=(promise,data)=>{if(!data)return;let id;data.loading!==void 0&&(id=this.create({...data,promise,type:"loading",message:data.loading,description:typeof data.description!="function"?data.description:void 0}));const p2=Promise.resolve(promise instanceof Function?promise():promise);let shouldDismiss=id!==void 0,result;const originalPromise=p2.then(async response=>{if(result=["resolve",response],React.isValidElement(response))shouldDismiss=!1,this.create({id,type:"default",message:response});else if(isHttpResponse(response)&&!response.ok){shouldDismiss=!1;const promiseData=typeof data.error=="function"?await data.error(`HTTP error! status: ${response.status}`):data.error,description=typeof data.description=="function"?await data.description(`HTTP error! status: ${response.status}`):data.description,toastSettings=typeof promiseData=="object"&&!React.isValidElement(promiseData)?promiseData:{message:promiseData};this.create({id,type:"error",description,...toastSettings})}else if(response instanceof Error){shouldDismiss=!1;const promiseData=typeof data.error=="function"?await data.error(response):data.error,description=typeof data.description=="function"?await data.description(response):data.description,toastSettings=typeof promiseData=="object"&&!React.isValidElement(promiseData)?promiseData:{message:promiseData};this.create({id,type:"error",description,...toastSettings})}else if(data.success!==void 0){shouldDismiss=!1;const promiseData=typeof data.success=="function"?await data.success(response):data.success,description=typeof data.description=="function"?await data.description(response):data.description,toastSettings=typeof promiseData=="object"&&!React.isValidElement(promiseData)?promiseData:{message:promiseData};this.create({id,type:"success",description,...toastSettings})}}).catch(async error=>{if(result=["reject",error],data.error!==void 0){shouldDismiss=!1;const promiseData=typeof data.error=="function"?await data.error(error):data.error,description=typeof data.description=="function"?await data.description(error):data.description,toastSettings=typeof promiseData=="object"&&!React.isValidElement(promiseData)?promiseData:{message:promiseData};this.create({id,type:"error",description,...toastSettings})}}).finally(()=>{shouldDismiss&&(this.dismiss(id),id=void 0),data.finally==null||data.finally.call(data)}),unwrap=__name(()=>new Promise((resolve,reject)=>originalPromise.then(()=>result[0]==="reject"?reject(result[1]):resolve(result[1])).catch(reject)),"unwrap");return typeof id!="string"&&typeof id!="number"?{unwrap}:Object.assign(id,{unwrap})},this.custom=(jsx,data)=>{const id=data?.id||toastsCounter++;return this.create({jsx:jsx(id),id,...data}),id},this.getActiveToasts=()=>this.toasts.filter(toast2=>!this.dismissedToasts.has(toast2.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}};__name(_Observer,"Observer");let Observer=_Observer;const ToastState=new Observer,toastFunction=__name((message,data)=>{const id=data?.id||toastsCounter++;return ToastState.addToast({title:message,...data,id}),id},"toastFunction"),isHttpResponse=__name(data=>data&&typeof data=="object"&&"ok"in data&&typeof data.ok=="boolean"&&"status"in data&&typeof data.status=="number","isHttpResponse"),basicToast=toastFunction,getHistory=__name(()=>ToastState.toasts,"getHistory"),getToasts=__name(()=>ToastState.getActiveToasts(),"getToasts"),toast=Object.assign(basicToast,{success:ToastState.success,info:ToastState.info,warning:ToastState.warning,error:ToastState.error,custom:ToastState.custom,message:ToastState.message,promise:ToastState.promise,dismiss:ToastState.dismiss,loading:ToastState.loading},{getHistory,getToasts});__insertCSS("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function isAction(action){return action.label!==void 0}__name(isAction,"isAction");const VISIBLE_TOASTS_AMOUNT=3,VIEWPORT_OFFSET="24px",MOBILE_VIEWPORT_OFFSET="16px",TOAST_LIFETIME=4e3,TOAST_WIDTH=356,GAP=14,SWIPE_THRESHOLD=45,TIME_BEFORE_UNMOUNT=200;function cn(...classes){return classes.filter(Boolean).join(" ")}__name(cn,"cn");function getDefaultSwipeDirections(position2){const[y2,x2]=position2.split("-"),directions=[];return y2&&directions.push(y2),x2&&directions.push(x2),directions}__name(getDefaultSwipeDirections,"getDefaultSwipeDirections");const Toast=__name(props=>{var _toast_classNames,_toast_classNames1,_toast_classNames2,_toast_classNames3,_toast_classNames4,_toast_classNames5,_toast_classNames6,_toast_classNames7,_toast_classNames8;const{invert:ToasterInvert,toast:toast2,unstyled,interacting,setHeights,visibleToasts,heights,index:index2,toasts,expanded,removeToast,defaultRichColors,closeButton:closeButtonFromToaster,style:style2,cancelButtonStyle,actionButtonStyle,className="",descriptionClassName="",duration:durationFromToaster,position:position2,gap,expandByDefault,classNames,icons,closeButtonAriaLabel="Close toast"}=props,[swipeDirection,setSwipeDirection]=React.useState(null),[swipeOutDirection,setSwipeOutDirection]=React.useState(null),[mounted,setMounted]=React.useState(!1),[removed,setRemoved]=React.useState(!1),[swiping,setSwiping]=React.useState(!1),[swipeOut,setSwipeOut]=React.useState(!1),[isSwiped,setIsSwiped]=React.useState(!1),[offsetBeforeRemove,setOffsetBeforeRemove]=React.useState(0),[initialHeight,setInitialHeight]=React.useState(0),remainingTime=React.useRef(toast2.duration||durationFromToaster||TOAST_LIFETIME),dragStartTime=React.useRef(null),toastRef=React.useRef(null),isFront=index2===0,isVisible2=index2+1<=visibleToasts,toastType=toast2.type,dismissible=toast2.dismissible!==!1,toastClassname=toast2.className||"",toastDescriptionClassname=toast2.descriptionClassName||"",heightIndex=React.useMemo(()=>heights.findIndex(height=>height.toastId===toast2.id)||0,[heights,toast2.id]),closeButton=React.useMemo(()=>{var _toast_closeButton;return(_toast_closeButton=toast2.closeButton)!=null?_toast_closeButton:closeButtonFromToaster},[toast2.closeButton,closeButtonFromToaster]),duration=React.useMemo(()=>toast2.duration||durationFromToaster||TOAST_LIFETIME,[toast2.duration,durationFromToaster]),closeTimerStartTimeRef=React.useRef(0),offset2=React.useRef(0),lastCloseTimerStartTimeRef=React.useRef(0),pointerStartRef=React.useRef(null),[y2,x2]=position2.split("-"),toastsHeightBefore=React.useMemo(()=>heights.reduce((prev,curr,reducerIndex)=>reducerIndex>=heightIndex?prev:prev+curr.height,0),[heights,heightIndex]),isDocumentHidden=useIsDocumentHidden(),invert=toast2.invert||ToasterInvert,disabled=toastType==="loading";offset2.current=React.useMemo(()=>heightIndex*gap+toastsHeightBefore,[heightIndex,toastsHeightBefore]),React.useEffect(()=>{remainingTime.current=duration},[duration]),React.useEffect(()=>{setMounted(!0)},[]),React.useEffect(()=>{const toastNode=toastRef.current;if(toastNode){const height=toastNode.getBoundingClientRect().height;return setInitialHeight(height),setHeights(h2=>[{toastId:toast2.id,height,position:toast2.position},...h2]),()=>setHeights(h2=>h2.filter(height2=>height2.toastId!==toast2.id))}},[setHeights,toast2.id]),React.useLayoutEffect(()=>{if(!mounted)return;const toastNode=toastRef.current,originalHeight=toastNode.style.height;toastNode.style.height="auto";const newHeight=toastNode.getBoundingClientRect().height;toastNode.style.height=originalHeight,setInitialHeight(newHeight),setHeights(heights2=>heights2.find(height=>height.toastId===toast2.id)?heights2.map(height=>height.toastId===toast2.id?{...height,height:newHeight}:height):[{toastId:toast2.id,height:newHeight,position:toast2.position},...heights2])},[mounted,toast2.title,toast2.description,setHeights,toast2.id,toast2.jsx,toast2.action,toast2.cancel]);const deleteToast=React.useCallback(()=>{setRemoved(!0),setOffsetBeforeRemove(offset2.current),setHeights(h2=>h2.filter(height=>height.toastId!==toast2.id)),setTimeout(()=>{removeToast(toast2)},TIME_BEFORE_UNMOUNT)},[toast2,removeToast,setHeights,offset2]);React.useEffect(()=>{if(toast2.promise&&toastType==="loading"||toast2.duration===1/0||toast2.type==="loading")return;let timeoutId;return expanded||interacting||isDocumentHidden?__name(()=>{if(lastCloseTimerStartTimeRef.current{remainingTime.current!==1/0&&(closeTimerStartTimeRef.current=new Date().getTime(),timeoutId=setTimeout(()=>{toast2.onAutoClose==null||toast2.onAutoClose.call(toast2,toast2),deleteToast()},remainingTime.current))},"startTimer")(),()=>clearTimeout(timeoutId)},[expanded,interacting,toast2,toastType,isDocumentHidden,deleteToast]),React.useEffect(()=>{toast2.delete&&(deleteToast(),toast2.onDismiss==null||toast2.onDismiss.call(toast2,toast2))},[deleteToast,toast2.delete]);function getLoadingIcon(){var _toast_classNames9;if(icons?.loading){var _toast_classNames12;return React.createElement("div",{className:cn(classNames?.loader,toast2==null||(_toast_classNames12=toast2.classNames)==null?void 0:_toast_classNames12.loader,"sonner-loader"),"data-visible":toastType==="loading"},icons.loading)}return React.createElement(Loader,{className:cn(classNames?.loader,toast2==null||(_toast_classNames9=toast2.classNames)==null?void 0:_toast_classNames9.loader),visible:toastType==="loading"})}__name(getLoadingIcon,"getLoadingIcon");const icon=toast2.icon||icons?.[toastType]||getAsset(toastType);var _toast_richColors,_icons_close;return React.createElement("li",{tabIndex:0,ref:toastRef,className:cn(className,toastClassname,classNames?.toast,toast2==null||(_toast_classNames=toast2.classNames)==null?void 0:_toast_classNames.toast,classNames?.default,classNames?.[toastType],toast2==null||(_toast_classNames1=toast2.classNames)==null?void 0:_toast_classNames1[toastType]),"data-sonner-toast":"","data-rich-colors":(_toast_richColors=toast2.richColors)!=null?_toast_richColors:defaultRichColors,"data-styled":!(toast2.jsx||toast2.unstyled||unstyled),"data-mounted":mounted,"data-promise":!!toast2.promise,"data-swiped":isSwiped,"data-removed":removed,"data-visible":isVisible2,"data-y-position":y2,"data-x-position":x2,"data-index":index2,"data-front":isFront,"data-swiping":swiping,"data-dismissible":dismissible,"data-type":toastType,"data-invert":invert,"data-swipe-out":swipeOut,"data-swipe-direction":swipeOutDirection,"data-expanded":!!(expanded||expandByDefault&&mounted),"data-testid":toast2.testId,style:{"--index":index2,"--toasts-before":index2,"--z-index":toasts.length-index2,"--offset":`${removed?offsetBeforeRemove:offset2.current}px`,"--initial-height":expandByDefault?"auto":`${initialHeight}px`,...style2,...toast2.style},onDragEnd:__name(()=>{setSwiping(!1),setSwipeDirection(null),pointerStartRef.current=null},"onDragEnd"),onPointerDown:__name(event=>{event.button!==2&&(disabled||!dismissible||(dragStartTime.current=new Date,setOffsetBeforeRemove(offset2.current),event.target.setPointerCapture(event.pointerId),event.target.tagName!=="BUTTON"&&(setSwiping(!0),pointerStartRef.current={x:event.clientX,y:event.clientY})))},"onPointerDown"),onPointerUp:__name(()=>{var _toastRef_current,_toastRef_current1,_dragStartTime_current;if(swipeOut||!dismissible)return;pointerStartRef.current=null;const swipeAmountX=Number(((_toastRef_current=toastRef.current)==null?void 0:_toastRef_current.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),swipeAmountY=Number(((_toastRef_current1=toastRef.current)==null?void 0:_toastRef_current1.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),timeTaken=new Date().getTime()-((_dragStartTime_current=dragStartTime.current)==null?void 0:_dragStartTime_current.getTime()),swipeAmount=swipeDirection==="x"?swipeAmountX:swipeAmountY,velocity=Math.abs(swipeAmount)/timeTaken;if(Math.abs(swipeAmount)>=SWIPE_THRESHOLD||velocity>.11){setOffsetBeforeRemove(offset2.current),toast2.onDismiss==null||toast2.onDismiss.call(toast2,toast2),setSwipeOutDirection(swipeDirection==="x"?swipeAmountX>0?"right":"left":swipeAmountY>0?"down":"up"),deleteToast(),setSwipeOut(!0);return}else{var _toastRef_current2,_toastRef_current3;(_toastRef_current2=toastRef.current)==null||_toastRef_current2.style.setProperty("--swipe-amount-x","0px"),(_toastRef_current3=toastRef.current)==null||_toastRef_current3.style.setProperty("--swipe-amount-y","0px")}setIsSwiped(!1),setSwiping(!1),setSwipeDirection(null)},"onPointerUp"),onPointerMove:__name(event=>{var _window_getSelection,_toastRef_current,_toastRef_current1;if(!pointerStartRef.current||!dismissible||((_window_getSelection=window.getSelection())==null?void 0:_window_getSelection.toString().length)>0)return;const yDelta=event.clientY-pointerStartRef.current.y,xDelta=event.clientX-pointerStartRef.current.x;var _props_swipeDirections;const swipeDirections=(_props_swipeDirections=props.swipeDirections)!=null?_props_swipeDirections:getDefaultSwipeDirections(position2);!swipeDirection&&(Math.abs(xDelta)>1||Math.abs(yDelta)>1)&&setSwipeDirection(Math.abs(xDelta)>Math.abs(yDelta)?"x":"y");let swipeAmount={x:0,y:0};const getDampening=__name(delta=>1/(1.5+Math.abs(delta)/20),"getDampening");if(swipeDirection==="y"){if(swipeDirections.includes("top")||swipeDirections.includes("bottom"))if(swipeDirections.includes("top")&&yDelta<0||swipeDirections.includes("bottom")&&yDelta>0)swipeAmount.y=yDelta;else{const dampenedDelta=yDelta*getDampening(yDelta);swipeAmount.y=Math.abs(dampenedDelta)0)swipeAmount.x=xDelta;else{const dampenedDelta=xDelta*getDampening(xDelta);swipeAmount.x=Math.abs(dampenedDelta)0||Math.abs(swipeAmount.y)>0)&&setIsSwiped(!0),(_toastRef_current=toastRef.current)==null||_toastRef_current.style.setProperty("--swipe-amount-x",`${swipeAmount.x}px`),(_toastRef_current1=toastRef.current)==null||_toastRef_current1.style.setProperty("--swipe-amount-y",`${swipeAmount.y}px`)},"onPointerMove")},closeButton&&!toast2.jsx&&toastType!=="loading"?React.createElement("button",{"aria-label":closeButtonAriaLabel,"data-disabled":disabled,"data-close-button":!0,onClick:disabled||!dismissible?()=>{}:()=>{deleteToast(),toast2.onDismiss==null||toast2.onDismiss.call(toast2,toast2)},className:cn(classNames?.closeButton,toast2==null||(_toast_classNames2=toast2.classNames)==null?void 0:_toast_classNames2.closeButton)},(_icons_close=icons?.close)!=null?_icons_close:CloseIcon):null,(toastType||toast2.icon||toast2.promise)&&toast2.icon!==null&&(icons?.[toastType]!==null||toast2.icon)?React.createElement("div",{"data-icon":"",className:cn(classNames?.icon,toast2==null||(_toast_classNames3=toast2.classNames)==null?void 0:_toast_classNames3.icon)},toast2.promise||toast2.type==="loading"&&!toast2.icon?toast2.icon||getLoadingIcon():null,toast2.type!=="loading"?icon:null):null,React.createElement("div",{"data-content":"",className:cn(classNames?.content,toast2==null||(_toast_classNames4=toast2.classNames)==null?void 0:_toast_classNames4.content)},React.createElement("div",{"data-title":"",className:cn(classNames?.title,toast2==null||(_toast_classNames5=toast2.classNames)==null?void 0:_toast_classNames5.title)},toast2.jsx?toast2.jsx:typeof toast2.title=="function"?toast2.title():toast2.title),toast2.description?React.createElement("div",{"data-description":"",className:cn(descriptionClassName,toastDescriptionClassname,classNames?.description,toast2==null||(_toast_classNames6=toast2.classNames)==null?void 0:_toast_classNames6.description)},typeof toast2.description=="function"?toast2.description():toast2.description):null),React.isValidElement(toast2.cancel)?toast2.cancel:toast2.cancel&&isAction(toast2.cancel)?React.createElement("button",{"data-button":!0,"data-cancel":!0,style:toast2.cancelButtonStyle||cancelButtonStyle,onClick:__name(event=>{isAction(toast2.cancel)&&dismissible&&(toast2.cancel.onClick==null||toast2.cancel.onClick.call(toast2.cancel,event),deleteToast())},"onClick"),className:cn(classNames?.cancelButton,toast2==null||(_toast_classNames7=toast2.classNames)==null?void 0:_toast_classNames7.cancelButton)},toast2.cancel.label):null,React.isValidElement(toast2.action)?toast2.action:toast2.action&&isAction(toast2.action)?React.createElement("button",{"data-button":!0,"data-action":!0,style:toast2.actionButtonStyle||actionButtonStyle,onClick:__name(event=>{isAction(toast2.action)&&(toast2.action.onClick==null||toast2.action.onClick.call(toast2.action,event),!event.defaultPrevented&&deleteToast())},"onClick"),className:cn(classNames?.actionButton,toast2==null||(_toast_classNames8=toast2.classNames)==null?void 0:_toast_classNames8.actionButton)},toast2.action.label):null)},"Toast");function getDocumentDirection(){if(typeof window>"u"||typeof document>"u")return"ltr";const dirAttribute=document.documentElement.getAttribute("dir");return dirAttribute==="auto"||!dirAttribute?window.getComputedStyle(document.documentElement).direction:dirAttribute}__name(getDocumentDirection,"getDocumentDirection");function assignOffset(defaultOffset,mobileOffset){const styles={};return[defaultOffset,mobileOffset].forEach((offset2,index2)=>{const isMobile=index2===1,prefix2=isMobile?"--mobile-offset":"--offset",defaultValue=isMobile?MOBILE_VIEWPORT_OFFSET:VIEWPORT_OFFSET;function assignAll(offset3){["top","right","bottom","left"].forEach(key=>{styles[`${prefix2}-${key}`]=typeof offset3=="number"?`${offset3}px`:offset3})}__name(assignAll,"assignAll"),typeof offset2=="number"||typeof offset2=="string"?assignAll(offset2):typeof offset2=="object"?["top","right","bottom","left"].forEach(key=>{offset2[key]===void 0?styles[`${prefix2}-${key}`]=defaultValue:styles[`${prefix2}-${key}`]=typeof offset2[key]=="number"?`${offset2[key]}px`:offset2[key]}):assignAll(defaultValue)}),styles}__name(assignOffset,"assignOffset");const Toaster$1=React.forwardRef(__name(function(props,ref){const{id,invert,position:position2="bottom-right",hotkey=["altKey","KeyT"],expand,closeButton,className,offset:offset2,mobileOffset,theme="light",richColors,duration,style:style2,visibleToasts=VISIBLE_TOASTS_AMOUNT,toastOptions,dir=getDocumentDirection(),gap=GAP,icons,containerAriaLabel="Notifications"}=props,[toasts,setToasts]=React.useState([]),filteredToasts=React.useMemo(()=>id?toasts.filter(toast2=>toast2.toasterId===id):toasts.filter(toast2=>!toast2.toasterId),[toasts,id]),possiblePositions=React.useMemo(()=>Array.from(new Set([position2].concat(filteredToasts.filter(toast2=>toast2.position).map(toast2=>toast2.position)))),[filteredToasts,position2]),[heights,setHeights]=React.useState([]),[expanded,setExpanded]=React.useState(!1),[interacting,setInteracting]=React.useState(!1),[actualTheme,setActualTheme]=React.useState(theme!=="system"?theme:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),listRef=React.useRef(null),hotkeyLabel=hotkey.join("+").replace(/Key/g,"").replace(/Digit/g,""),lastFocusedElementRef=React.useRef(null),isFocusWithinRef=React.useRef(!1),removeToast=React.useCallback(toastToRemove=>{setToasts(toasts2=>{var _toasts_find;return(_toasts_find=toasts2.find(toast2=>toast2.id===toastToRemove.id))!=null&&_toasts_find.delete||ToastState.dismiss(toastToRemove.id),toasts2.filter(({id:id2})=>id2!==toastToRemove.id)})},[]);return React.useEffect(()=>ToastState.subscribe(toast2=>{if(toast2.dismiss){requestAnimationFrame(()=>{setToasts(toasts2=>toasts2.map(t2=>t2.id===toast2.id?{...t2,delete:!0}:t2))});return}setTimeout(()=>{ReactDOM.flushSync(()=>{setToasts(toasts2=>{const indexOfExistingToast=toasts2.findIndex(t2=>t2.id===toast2.id);return indexOfExistingToast!==-1?[...toasts2.slice(0,indexOfExistingToast),{...toasts2[indexOfExistingToast],...toast2},...toasts2.slice(indexOfExistingToast+1)]:[toast2,...toasts2]})})})}),[toasts]),React.useEffect(()=>{if(theme!=="system"){setActualTheme(theme);return}if(theme==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?setActualTheme("dark"):setActualTheme("light")),typeof window>"u")return;const darkMediaQuery=window.matchMedia("(prefers-color-scheme: dark)");try{darkMediaQuery.addEventListener("change",({matches})=>{setActualTheme(matches?"dark":"light")})}catch{darkMediaQuery.addListener(({matches})=>{try{setActualTheme(matches?"dark":"light")}catch(e3){console.error(e3)}})}},[theme]),React.useEffect(()=>{toasts.length<=1&&setExpanded(!1)},[toasts]),React.useEffect(()=>{const handleKeyDown=__name(event=>{var _listRef_current;if(hotkey.every(key=>event[key]||event.code===key)){var _listRef_current1;setExpanded(!0),(_listRef_current1=listRef.current)==null||_listRef_current1.focus()}event.code==="Escape"&&(document.activeElement===listRef.current||(_listRef_current=listRef.current)!=null&&_listRef_current.contains(document.activeElement))&&setExpanded(!1)},"handleKeyDown");return document.addEventListener("keydown",handleKeyDown),()=>document.removeEventListener("keydown",handleKeyDown)},[hotkey]),React.useEffect(()=>{if(listRef.current)return()=>{lastFocusedElementRef.current&&(lastFocusedElementRef.current.focus({preventScroll:!0}),lastFocusedElementRef.current=null,isFocusWithinRef.current=!1)}},[listRef.current]),React.createElement("section",{ref,"aria-label":`${containerAriaLabel} ${hotkeyLabel}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},possiblePositions.map((position3,index2)=>{var _heights_;const[y2,x2]=position3.split("-");return filteredToasts.length?React.createElement("ol",{key:position3,dir:dir==="auto"?getDocumentDirection():dir,tabIndex:-1,ref:listRef,className,"data-sonner-toaster":!0,"data-sonner-theme":actualTheme,"data-y-position":y2,"data-x-position":x2,style:{"--front-toast-height":`${((_heights_=heights[0])==null?void 0:_heights_.height)||0}px`,"--width":`${TOAST_WIDTH}px`,"--gap":`${gap}px`,...style2,...assignOffset(offset2,mobileOffset)},onBlur:__name(event=>{isFocusWithinRef.current&&!event.currentTarget.contains(event.relatedTarget)&&(isFocusWithinRef.current=!1,lastFocusedElementRef.current&&(lastFocusedElementRef.current.focus({preventScroll:!0}),lastFocusedElementRef.current=null))},"onBlur"),onFocus:__name(event=>{event.target instanceof HTMLElement&&event.target.dataset.dismissible==="false"||isFocusWithinRef.current||(isFocusWithinRef.current=!0,lastFocusedElementRef.current=event.relatedTarget)},"onFocus"),onMouseEnter:__name(()=>setExpanded(!0),"onMouseEnter"),onMouseMove:__name(()=>setExpanded(!0),"onMouseMove"),onMouseLeave:__name(()=>{interacting||setExpanded(!1)},"onMouseLeave"),onDragEnd:__name(()=>setExpanded(!1),"onDragEnd"),onPointerDown:__name(event=>{event.target instanceof HTMLElement&&event.target.dataset.dismissible==="false"||setInteracting(!0)},"onPointerDown"),onPointerUp:__name(()=>setInteracting(!1),"onPointerUp")},filteredToasts.filter(toast2=>!toast2.position&&index2===0||toast2.position===position3).map((toast2,index3)=>{var _toastOptions_duration,_toastOptions_closeButton;return React.createElement(Toast,{key:toast2.id,icons,index:index3,toast:toast2,defaultRichColors:richColors,duration:(_toastOptions_duration=toastOptions?.duration)!=null?_toastOptions_duration:duration,className:toastOptions?.className,descriptionClassName:toastOptions?.descriptionClassName,invert,visibleToasts,closeButton:(_toastOptions_closeButton=toastOptions?.closeButton)!=null?_toastOptions_closeButton:closeButton,interacting,position:position3,style:toastOptions?.style,unstyled:toastOptions?.unstyled,classNames:toastOptions?.classNames,cancelButtonStyle:toastOptions?.cancelButtonStyle,actionButtonStyle:toastOptions?.actionButtonStyle,closeButtonAriaLabel:toastOptions?.closeButtonAriaLabel,removeToast,toasts:filteredToasts.filter(t2=>t2.position==toast2.position),heights:heights.filter(h2=>h2.position==toast2.position),setHeights,expandByDefault:expand,gap,expanded,swipeDirections:props.swipeDirections})})):null}))},"Toaster")),Toaster2=__name(({...props})=>{const{theme="system"}=reactExports.useContext(ThemeProviderContext);return jsxRuntimeExports.jsx(Toaster$1,{theme,className:"toaster group",icons:{success:jsxRuntimeExports.jsx(CircleCheck,{className:"size-4"}),info:jsxRuntimeExports.jsx(Info$1,{className:"size-4"}),warning:jsxRuntimeExports.jsx(TriangleAlert,{className:"size-4"}),error:jsxRuntimeExports.jsx(OctagonX,{className:"size-4"}),loading:jsxRuntimeExports.jsx(LoaderCircle,{className:"size-4 animate-spin"})},toastOptions:{classNames:{toast:"bg-background text-foreground border-border"}},style:{"--normal-bg":"hsl(var(--background))","--normal-text":"hsl(var(--foreground))","--normal-border":"hsl(var(--border))","--border-radius":"var(--radius)","--toast-icon-margin-start":"0","--toast-icon-margin-end":"12px"},...props})},"Toaster");function useDemoToast(){reactExports.useEffect(()=>{if(reportData.IsDemo){let toastId;const timer=setTimeout(()=>{toastId=toast.warning(jsxRuntimeExports.jsxs("div",{className:"flex flex-col gap-2 w-full",children:[jsxRuntimeExports.jsx("div",{className:"font-semibold break-words",children:"Microsoft Zero Trust Assessment Demo Report"}),jsxRuntimeExports.jsxs("div",{className:"text-sm text-muted-foreground flex flex-col gap-1 break-words",children:[jsxRuntimeExports.jsxs("div",{className:"break-words",children:["This is a demo of the report generated by the"," ",jsxRuntimeExports.jsx("a",{href:"https://aka.ms/ZeroTrust/Assessment",target:"_blank",rel:"noopener noreferrer",className:"underline hover:text-primary break-all",onClick:__name(e3=>e3.stopPropagation(),"onClick"),children:"Zero Trust Assessment"})," ","tool."]}),jsxRuntimeExports.jsxs("div",{className:"break-words",children:["The latest version of this demo report is available at"," ",jsxRuntimeExports.jsx("a",{href:"https://aka.ms/ZeroTrust/Demo",target:"_blank",rel:"noopener noreferrer",className:"underline hover:text-primary break-all",onClick:__name(e3=>e3.stopPropagation(),"onClick"),children:"aka.ms/ZeroTrust/Demo"}),"."]})]})]}),{duration:1/0,closeButton:!0,style:{minWidth:"min(600px, calc(100vw - 32px))",maxWidth:"calc(100vw - 32px)"},className:"break-words"});const handleClick=__name(e3=>{const target=e3.target;target.tagName==="A"&&target.closest("[data-sonner-toast]")||(toast.dismiss(toastId),document.removeEventListener("click",handleClick))},"handleClick");setTimeout(()=>{document.addEventListener("click",handleClick)},100)},500);return()=>{clearTimeout(timer),toastId&&toast.dismiss(toastId)}}},[])}__name(useDemoToast,"useDemoToast");function App(){return useDemoToast(),jsxRuntimeExports.jsxs(ThemeProvider,{defaultTheme:"system",children:[jsxRuntimeExports.jsx(RouterProvider,{router}),jsxRuntimeExports.jsx(Toaster2,{position:"top-center",richColors:!0})]})}__name(App,"App");ReactDOM$2.createRoot(document.getElementById("root")).render(jsxRuntimeExports.jsx(React.StrictMode,{children:jsxRuntimeExports.jsx(App,{})})); +
diff --git a/src/powershell/classes/ZtTest.ps1 b/src/powershell/classes/ZtTest.ps1 index 26822a2241..01a360ffc2 100644 --- a/src/powershell/classes/ZtTest.ps1 +++ b/src/powershell/classes/ZtTest.ps1 @@ -9,7 +9,7 @@ class ZtTest : System.Attribute [string[]]$Service - [string]$Pillar + [string[]]$Pillar [ValidateSet('Critical','High','Medium','Low','Unranked')][string]$RiskLevel [string]$SfiPillar [ValidateSet('Workforce','External')][string[]]$TenantType diff --git a/src/powershell/private/tests/Invoke-ZtTests.ps1 b/src/powershell/private/tests/Invoke-ZtTests.ps1 index 7708d2ca3a..01f90897d5 100644 --- a/src/powershell/private/tests/Invoke-ZtTests.ps1 +++ b/src/powershell/private/tests/Invoke-ZtTests.ps1 @@ -92,7 +92,7 @@ if (-not $script:__ZtSession.PreviewEnabled) { # Non-preview mode: Only include stable/released pillars $stablePillars = @('Identity', 'Devices', 'Network', 'Data') - $testsToRun = $testsToRun.Where{ $_.Pillar -in $stablePillars } + $testsToRun = $testsToRun.Where{ ($_.Pillar | Where-Object { $_ -in $stablePillars }) } } # Filter based on Compatible licenses diff --git a/src/powershell/public/Get-ZtTest.ps1 b/src/powershell/public/Get-ZtTest.ps1 index 75cd8bba5c..c90cc89577 100644 --- a/src/powershell/public/Get-ZtTest.ps1 +++ b/src/powershell/public/Get-ZtTest.ps1 @@ -77,7 +77,7 @@ $script:__ZtSession.TestMeta | Where-Object { (-not $Tests -or $_.TestID -in $Tests) -and - (-not $Pillar -or $Pillar -contains 'All' -or $_.Pillar -in $Pillar) -and + (-not $Pillar -or $Pillar -contains 'All' -or ($_.Pillar | Where-Object { $_ -in $Pillar })) -and (-not $TenantType -or $_.TenantType -contains $TenantType) } } diff --git a/src/powershell/tests/Test-Assessment.25415.ps1 b/src/powershell/tests/Test-Assessment.25415.ps1 index ff2f8cff7b..78f849ada3 100644 --- a/src/powershell/tests/Test-Assessment.25415.ps1 +++ b/src/powershell/tests/Test-Assessment.25415.ps1 @@ -14,7 +14,7 @@ function Test-Assessment-25415 { Service = ('Graph'), MinimumLicense = ('Entra_Premium_Internet_Access'), CompatibleLicense = ('Entra_Premium_Internet_Access'), - Pillar = 'Network', + Pillar = ('Network', 'AI'), RiskLevel = 'High', SfiPillar = 'Protect networks', TenantType = ('Workforce'), diff --git a/src/report/src/components/test-table/data-table.tsx b/src/report/src/components/test-table/data-table.tsx index b399294e24..6f130db4a1 100644 --- a/src/report/src/components/test-table/data-table.tsx +++ b/src/report/src/components/test-table/data-table.tsx @@ -89,7 +89,7 @@ export function DataTable({ const pillarFilteredData = React.useMemo(() => { if (pillar) { return data.filter(item => - item.TestPillar === pillar + Array.isArray(item.TestPillar) ? item.TestPillar.includes(pillar) : item.TestPillar === pillar ); } return data; diff --git a/src/report/src/config/report-data.ts b/src/report/src/config/report-data.ts index 774e93e1ec..745241b3f1 100644 --- a/src/report/src/config/report-data.ts +++ b/src/report/src/config/report-data.ts @@ -226,7 +226,7 @@ export interface Test { TestImplementationCost: string; TestMinimumLicense?: string[] | null; TestSfiPillar: string | null; - TestPillar: string | null; + TestPillar: string | string[] | null; SkippedReason: string | null; TestResult: string; TestSkipped: string; From 20c43ea260fae7fb8cced2ea56b73f180b3dfdb9 Mon Sep 17 00:00:00 2001 From: Praneeth Date: Fri, 22 May 2026 12:05:05 +0530 Subject: [PATCH 2/4] cross-reference existing Network and Data tests into AI pillar Routing rules based on how the assessment is invoked: -Pillar AI -> test appears only on AI page -Pillar All -Preview -> test appears on all tagged pages -Pillar All -> AI stripped, test on its original pillar only --- .../private/core/Clear-ZtModuleVariable.ps1 | 1 + .../private/core/Get-ZtAssessmentResults.ps1 | 18 ++++++++++++++++++ .../private/tests/Invoke-ZtTests.ps1 | 2 ++ src/powershell/tests/Test-Assessment.35003.ps1 | 2 +- src/powershell/tests/Test-Assessment.35004.ps1 | 2 +- src/powershell/tests/Test-Assessment.35005.ps1 | 2 +- src/powershell/tests/Test-Assessment.35006.ps1 | 2 +- src/powershell/tests/Test-Assessment.35007.ps1 | 2 +- src/powershell/tests/Test-Assessment.35008.ps1 | 2 +- src/powershell/tests/Test-Assessment.35010.ps1 | 2 +- src/powershell/tests/Test-Assessment.35011.ps1 | 2 +- src/powershell/tests/Test-Assessment.35012.ps1 | 2 +- src/powershell/tests/Test-Assessment.35013.ps1 | 2 +- src/powershell/tests/Test-Assessment.35014.ps1 | 2 +- src/powershell/tests/Test-Assessment.35015.ps1 | 2 +- src/powershell/tests/Test-Assessment.35016.ps1 | 2 +- src/powershell/tests/Test-Assessment.35017.ps1 | 2 +- src/powershell/tests/Test-Assessment.35019.ps1 | 2 +- src/powershell/tests/Test-Assessment.35020.ps1 | 2 +- src/powershell/tests/Test-Assessment.35021.ps1 | 2 +- src/powershell/tests/Test-Assessment.35022.ps1 | 2 +- src/powershell/tests/Test-Assessment.35023.ps1 | 2 +- src/powershell/tests/Test-Assessment.35024.ps1 | 2 +- src/powershell/tests/Test-Assessment.35025.ps1 | 2 +- src/powershell/tests/Test-Assessment.35030.ps1 | 2 +- src/powershell/tests/Test-Assessment.35032.ps1 | 2 +- src/powershell/tests/Test-Assessment.35033.ps1 | 2 +- src/powershell/tests/Test-Assessment.35034.ps1 | 2 +- src/powershell/tests/Test-Assessment.35035.ps1 | 2 +- src/powershell/tests/Test-Assessment.35036.ps1 | 2 +- src/powershell/tests/Test-Assessment.35037.ps1 | 2 +- src/powershell/tests/Test-Assessment.35038.ps1 | 2 +- src/powershell/tests/Test-Assessment.35039.ps1 | 2 +- src/powershell/tests/Test-Assessment.35040.ps1 | 2 +- src/powershell/tests/Test-Assessment.35041.ps1 | 2 +- 35 files changed, 53 insertions(+), 32 deletions(-) diff --git a/src/powershell/private/core/Clear-ZtModuleVariable.ps1 b/src/powershell/private/core/Clear-ZtModuleVariable.ps1 index 80dcc8f5f9..61a8f1a6f1 100644 --- a/src/powershell/private/core/Clear-ZtModuleVariable.ps1 +++ b/src/powershell/private/core/Clear-ZtModuleVariable.ps1 @@ -23,4 +23,5 @@ function Clear-ZtModuleVariable { $script:__ZtSession.ProgressState.Value.Clear() $script:__ZtSession.SignInLogDuration = $null $script:__ZtSession.PreviewEnabled = $false + $script:__ZtSession.RequestedPillar = $null } diff --git a/src/powershell/private/core/Get-ZtAssessmentResults.ps1 b/src/powershell/private/core/Get-ZtAssessmentResults.ps1 index 938b60d7d9..168a277fcf 100644 --- a/src/powershell/private/core/Get-ZtAssessmentResults.ps1 +++ b/src/powershell/private/core/Get-ZtAssessmentResults.ps1 @@ -83,6 +83,24 @@ function Get-ZtAssessmentResults { $org = Get-Organization $tests = $script:__ZtSession.TestResultDetail.Value.values + # Restrict TestPillar on cross-referenced tests (multi-pillar arrays) based on how the + # assessment was invoked. This runs on the main thread where RequestedPillar and PreviewEnabled + # are always available, avoiding runspace scope issues. + # - Specific pillar (e.g. -Pillar AI): set TestPillar to exactly the requested pillar. + # - -Pillar All + preview enabled: keep full array (test appears on every tagged page). + # - -Pillar All + preview disabled: strip 'AI' so the AI preview page stays empty. + $_reqPillar = $script:__ZtSession.RequestedPillar + $_previewOn = $script:__ZtSession.PreviewEnabled + $_isAllPillar = (-not $_reqPillar -or $_reqPillar -eq 'All') + foreach ($test in $tests) { + if ($test.TestPillar -isnot [array]) { continue } + if (-not $_isAllPillar) { + $test.TestPillar = $_reqPillar + } elseif (-not $_previewOn) { + $test.TestPillar = $test.TestPillar | Where-Object { $_ -ne 'AI' } + } + } + $ztTestResults = [PSCustomObject][ordered]@{ ExecutedAt = Get-Date TenantId = $mgContext.TenantId diff --git a/src/powershell/private/tests/Invoke-ZtTests.ps1 b/src/powershell/private/tests/Invoke-ZtTests.ps1 index 01f90897d5..f0cc52f525 100644 --- a/src/powershell/private/tests/Invoke-ZtTests.ps1 +++ b/src/powershell/private/tests/Invoke-ZtTests.ps1 @@ -87,6 +87,8 @@ } $testsToRun = Get-ZtTest -Tests $Tests -Pillar $Pillar -TenantType $tenantTypeMapping[$TenantType] + # Store the requested pillar so Get-ZtAssessmentResults can restrict TestPillar on cross-ref tests + $script:__ZtSession.RequestedPillar = $Pillar # Filter based on preview feature flag if (-not $script:__ZtSession.PreviewEnabled) { diff --git a/src/powershell/tests/Test-Assessment.35003.ps1 b/src/powershell/tests/Test-Assessment.35003.ps1 index fd50002236..85d76d2084 100644 --- a/src/powershell/tests/Test-Assessment.35003.ps1 +++ b/src/powershell/tests/Test-Assessment.35003.ps1 @@ -19,7 +19,7 @@ function Test-Assessment-35003 { MinimumLicense = ('Microsoft 365 E3'), CompatibleLicense = ('RMS_S_PREMIUM'), Service = ('SecurityCompliance'), - Pillar = 'Data', + Pillar = ('Data', 'AI'), RiskLevel = 'High', SfiPillar = 'Protect tenants and production systems', TenantType = ('Workforce'), diff --git a/src/powershell/tests/Test-Assessment.35004.ps1 b/src/powershell/tests/Test-Assessment.35004.ps1 index a1525f587f..978250ba36 100644 --- a/src/powershell/tests/Test-Assessment.35004.ps1 +++ b/src/powershell/tests/Test-Assessment.35004.ps1 @@ -21,7 +21,7 @@ function Test-Assessment-35004 { MinimumLicense = ('Microsoft 365 E3'), CompatibleLicense = ('RMS_S_PREMIUM'), Service = ('SecurityCompliance'), - Pillar = 'Data', + Pillar = ('Data', 'AI'), RiskLevel = 'Low', SfiPillar = 'Protect tenants and production systems', TenantType = ('Workforce'), diff --git a/src/powershell/tests/Test-Assessment.35005.ps1 b/src/powershell/tests/Test-Assessment.35005.ps1 index e81248f8a5..9fc3459492 100644 --- a/src/powershell/tests/Test-Assessment.35005.ps1 +++ b/src/powershell/tests/Test-Assessment.35005.ps1 @@ -18,7 +18,7 @@ function Test-Assessment-35005 { MinimumLicense = ('MIP_P1'), CompatibleLicense = ('RMS_S_PREMIUM'), Service = ('SharePointOnline'), - Pillar = 'Data', + Pillar = ('Data', 'AI'), RiskLevel = 'High', SfiPillar = 'Protect tenants and production systems', TenantType = ('Workforce'), diff --git a/src/powershell/tests/Test-Assessment.35006.ps1 b/src/powershell/tests/Test-Assessment.35006.ps1 index a9b287ca18..d5934c16d7 100644 --- a/src/powershell/tests/Test-Assessment.35006.ps1 +++ b/src/powershell/tests/Test-Assessment.35006.ps1 @@ -18,7 +18,7 @@ function Test-Assessment-35006 { MinimumLicense = ('MIP_P1'), CompatibleLicense = ('RMS_S_PREMIUM'), Service = ('SharePointOnline'), - Pillar = 'Data', + Pillar = ('Data', 'AI'), RiskLevel = 'Medium', SfiPillar = 'Protect tenants and production systems', TenantType = ('Workforce'), diff --git a/src/powershell/tests/Test-Assessment.35007.ps1 b/src/powershell/tests/Test-Assessment.35007.ps1 index 81e0124ae5..89a0f9939d 100644 --- a/src/powershell/tests/Test-Assessment.35007.ps1 +++ b/src/powershell/tests/Test-Assessment.35007.ps1 @@ -18,7 +18,7 @@ function Test-Assessment-35007 { Service = ('SharePointOnline'), MinimumLicense = ('Microsoft 365 E3'), CompatibleLicense = ('RMS_S_PREMIUM'), - Pillar = 'Data', + Pillar = ('Data', 'AI'), RiskLevel = 'Low', SfiPillar = '', TenantType = ('Workforce'), diff --git a/src/powershell/tests/Test-Assessment.35008.ps1 b/src/powershell/tests/Test-Assessment.35008.ps1 index 1eafb9e93a..051e62545e 100644 --- a/src/powershell/tests/Test-Assessment.35008.ps1 +++ b/src/powershell/tests/Test-Assessment.35008.ps1 @@ -18,7 +18,7 @@ function Test-Assessment-35008 { MinimumLicense = ('Microsoft 365 E5'), CompatibleLicense = ('RMS_S_PREMIUM2'), Service = ('SharePointOnline'), - Pillar = 'Data', + Pillar = ('Data', 'AI'), RiskLevel = 'Medium', SfiPillar = 'Protect tenants and production systems', TenantType = ('Workforce'), diff --git a/src/powershell/tests/Test-Assessment.35010.ps1 b/src/powershell/tests/Test-Assessment.35010.ps1 index 2dcb72751b..26d3272603 100644 --- a/src/powershell/tests/Test-Assessment.35010.ps1 +++ b/src/powershell/tests/Test-Assessment.35010.ps1 @@ -28,7 +28,7 @@ function Test-Assessment-35010 { Service = ('SecurityCompliance'), MinimumLicense = ('Microsoft 365 E5'), CompatibleLicense = ('RMS_S_PREMIUM2'), - Pillar = 'Data', + Pillar = ('Data', 'AI'), RiskLevel = 'Low', SfiPillar = 'Protect tenants and production systems', TenantType = ('Workforce'), diff --git a/src/powershell/tests/Test-Assessment.35011.ps1 b/src/powershell/tests/Test-Assessment.35011.ps1 index 56903f77af..48ac7bb694 100644 --- a/src/powershell/tests/Test-Assessment.35011.ps1 +++ b/src/powershell/tests/Test-Assessment.35011.ps1 @@ -20,7 +20,7 @@ function Test-Assessment-35011 { MinimumLicense = ('Microsoft 365 E5'), CompatibleLicense = ('RMS_S_PREMIUM2'), Service = ('AipService','Graph'), - Pillar = 'Data', + Pillar = ('Data', 'AI'), RiskLevel = 'Medium', SfiPillar = 'Protect tenants and production systems', TenantType = ('Workforce','External'), diff --git a/src/powershell/tests/Test-Assessment.35012.ps1 b/src/powershell/tests/Test-Assessment.35012.ps1 index 58573626ee..d1dce9f4f6 100644 --- a/src/powershell/tests/Test-Assessment.35012.ps1 +++ b/src/powershell/tests/Test-Assessment.35012.ps1 @@ -22,7 +22,7 @@ function Test-Assessment-35012 { Service = ('SecurityCompliance'), MinimumLicense = ('Microsoft 365 E5'), CompatibleLicense = ('RMS_S_PREMIUM2'), - Pillar = 'Data', + Pillar = ('Data', 'AI'), RiskLevel = 'Medium', SfiPillar = 'Protect tenants and production systems', TenantType = 'Workforce', diff --git a/src/powershell/tests/Test-Assessment.35013.ps1 b/src/powershell/tests/Test-Assessment.35013.ps1 index 2c880f3c9d..029fdca846 100644 --- a/src/powershell/tests/Test-Assessment.35013.ps1 +++ b/src/powershell/tests/Test-Assessment.35013.ps1 @@ -22,7 +22,7 @@ function Test-Assessment-35013 { Service = ('SecurityCompliance'), MinimumLicense = 'Microsoft 365 E3', CompatibleLicense = ('RMS_S_PREMIUM'), - Pillar = 'Data', + Pillar = ('Data', 'AI'), RiskLevel = 'High', SfiPillar = 'Protect tenants and production systems', TenantType = ('Workforce', 'External'), diff --git a/src/powershell/tests/Test-Assessment.35014.ps1 b/src/powershell/tests/Test-Assessment.35014.ps1 index 846db26484..24697695f2 100644 --- a/src/powershell/tests/Test-Assessment.35014.ps1 +++ b/src/powershell/tests/Test-Assessment.35014.ps1 @@ -21,7 +21,7 @@ function Test-Assessment-35014 { Service = ('SecurityCompliance'), MinimumLicense = ('Microsoft 365 E3'), CompatibleLicense = ('RMS_S_PREMIUM'), - Pillar = 'Data', + Pillar = ('Data', 'AI'), RiskLevel = 'Medium', SfiPillar = 'Protect tenants and production systems', TenantType = ('Workforce'), diff --git a/src/powershell/tests/Test-Assessment.35015.ps1 b/src/powershell/tests/Test-Assessment.35015.ps1 index a56744d30e..edf7dfa9fe 100644 --- a/src/powershell/tests/Test-Assessment.35015.ps1 +++ b/src/powershell/tests/Test-Assessment.35015.ps1 @@ -18,7 +18,7 @@ function Test-Assessment-35015 { MinimumLicense = ('Microsoft 365 E3'), CompatibleLicense = ('RMS_S_PREMIUM'), Service = ('SecurityCompliance'), - Pillar = 'Data', + Pillar = ('Data', 'AI'), RiskLevel = 'Medium', SfiPillar = 'Protect tenants and production systems', TenantType = ('Workforce'), diff --git a/src/powershell/tests/Test-Assessment.35016.ps1 b/src/powershell/tests/Test-Assessment.35016.ps1 index 99e3a61fdb..2867502011 100644 --- a/src/powershell/tests/Test-Assessment.35016.ps1 +++ b/src/powershell/tests/Test-Assessment.35016.ps1 @@ -10,7 +10,7 @@ function Test-Assessment-35016 { Service = ('SecurityCompliance'), MinimumLicense = ('Microsoft 365 E3'), CompatibleLicense = ('RMS_S_PREMIUM'), - Pillar = 'Data', + Pillar = ('Data', 'AI'), RiskLevel = 'High', SfiPillar = 'Protect tenants and production systems', TenantType = ('Workforce','External'), diff --git a/src/powershell/tests/Test-Assessment.35017.ps1 b/src/powershell/tests/Test-Assessment.35017.ps1 index 55dc097549..c3e7ed95aa 100644 --- a/src/powershell/tests/Test-Assessment.35017.ps1 +++ b/src/powershell/tests/Test-Assessment.35017.ps1 @@ -21,7 +21,7 @@ function Test-Assessment-35017 { Service = ('SecurityCompliance'), MinimumLicense = ('Microsoft 365 E3'), CompatibleLicense = ('RMS_S_PREMIUM'), - Pillar = 'Data', + Pillar = ('Data', 'AI'), RiskLevel = 'Medium', SfiPillar = 'Protect tenants and production systems', TenantType = ('Workforce'), diff --git a/src/powershell/tests/Test-Assessment.35019.ps1 b/src/powershell/tests/Test-Assessment.35019.ps1 index c04f5d9c29..6a304b4d38 100644 --- a/src/powershell/tests/Test-Assessment.35019.ps1 +++ b/src/powershell/tests/Test-Assessment.35019.ps1 @@ -17,7 +17,7 @@ function Test-Assessment-35019 { ImplementationCost = 'Medium', CompatibleLicense = ('EXCHANGE_S_ENTERPRISE'), Service = ('SecurityCompliance'), - Pillar = 'Data', + Pillar = ('Data', 'AI'), RiskLevel = 'High', SfiPillar = 'Protect tenants and production systems', TenantType = ('Workforce'), diff --git a/src/powershell/tests/Test-Assessment.35020.ps1 b/src/powershell/tests/Test-Assessment.35020.ps1 index 1b40ef7e38..ec464c3eb1 100644 --- a/src/powershell/tests/Test-Assessment.35020.ps1 +++ b/src/powershell/tests/Test-Assessment.35020.ps1 @@ -9,7 +9,7 @@ function Test-Assessment-35020 { ImplementationCost = 'Low', Service = ('SecurityCompliance'), CompatibleLicense = ('EXCHANGE_S_ENTERPRISE'), - Pillar = 'Data', + Pillar = ('Data', 'AI'), RiskLevel = 'High', SfiPillar = 'Protect tenants and production systems', TenantType = ('Workforce','External'), diff --git a/src/powershell/tests/Test-Assessment.35021.ps1 b/src/powershell/tests/Test-Assessment.35021.ps1 index 726a1d394a..9c8c17f6ad 100644 --- a/src/powershell/tests/Test-Assessment.35021.ps1 +++ b/src/powershell/tests/Test-Assessment.35021.ps1 @@ -17,7 +17,7 @@ function Test-Assessment-35021 { ImplementationCost = 'Medium', Service = ('SecurityCompliance'), CompatibleLicense = ('EXCHANGE_S_ENTERPRISE'), - Pillar = 'Data', + Pillar = ('Data', 'AI'), RiskLevel = 'High', SfiPillar = 'Protect tenants and production systems', TenantType = ('Workforce'), diff --git a/src/powershell/tests/Test-Assessment.35022.ps1 b/src/powershell/tests/Test-Assessment.35022.ps1 index 3d3027e14a..fde2b395e5 100644 --- a/src/powershell/tests/Test-Assessment.35022.ps1 +++ b/src/powershell/tests/Test-Assessment.35022.ps1 @@ -23,7 +23,7 @@ function Test-Assessment-35022 { ImplementationCost = 'Medium', Service = ('SecurityCompliance'), CompatibleLicense = ('EXCHANGE_S_ENTERPRISE'), - Pillar = 'Data', + Pillar = ('Data', 'AI'), RiskLevel = 'Medium', SfiPillar = 'Protect tenants and production systems', TenantType = 'Workforce', diff --git a/src/powershell/tests/Test-Assessment.35023.ps1 b/src/powershell/tests/Test-Assessment.35023.ps1 index ad55f8ffc2..72500a5db6 100644 --- a/src/powershell/tests/Test-Assessment.35023.ps1 +++ b/src/powershell/tests/Test-Assessment.35023.ps1 @@ -21,7 +21,7 @@ function Test-Assessment-35023 { ImplementationCost = 'Medium', Service = ('SecurityCompliance'), CompatibleLicense = ('EXCHANGE_S_ENTERPRISE'), - Pillar = 'Data', + Pillar = ('Data', 'AI'), RiskLevel = 'Medium', SfiPillar = 'Protect tenants and production systems', TenantType = ('Workforce'), diff --git a/src/powershell/tests/Test-Assessment.35024.ps1 b/src/powershell/tests/Test-Assessment.35024.ps1 index 9849030ab2..3f000d6d9d 100644 --- a/src/powershell/tests/Test-Assessment.35024.ps1 +++ b/src/powershell/tests/Test-Assessment.35024.ps1 @@ -22,7 +22,7 @@ function Test-Assessment-35024 { MinimumLicense = ('Microsoft 365 E3'), CompatibleLicense = ('RMS_S_PREMIUM'), Service = ('ExchangeOnline'), - Pillar = 'Data', + Pillar = ('Data', 'AI'), RiskLevel = 'High', SfiPillar = 'Protect tenants and production systems', TenantType = ('Workforce'), diff --git a/src/powershell/tests/Test-Assessment.35025.ps1 b/src/powershell/tests/Test-Assessment.35025.ps1 index 7f999147d5..d432ef10a3 100644 --- a/src/powershell/tests/Test-Assessment.35025.ps1 +++ b/src/powershell/tests/Test-Assessment.35025.ps1 @@ -22,7 +22,7 @@ function Test-Assessment-35025 { Service = ('ExchangeOnline'), MinimumLicense = ('Microsoft 365 E3'), CompatibleLicense = ('RMS_S_PREMIUM'), - Pillar = 'Data', + Pillar = ('Data', 'AI'), RiskLevel = 'High', SfiPillar = 'Protect tenants and production systems', TenantType = ('Workforce'), diff --git a/src/powershell/tests/Test-Assessment.35030.ps1 b/src/powershell/tests/Test-Assessment.35030.ps1 index 0dc1cdc47a..087e06fb50 100644 --- a/src/powershell/tests/Test-Assessment.35030.ps1 +++ b/src/powershell/tests/Test-Assessment.35030.ps1 @@ -18,7 +18,7 @@ function Test-Assessment-35030 { ImplementationCost = 'Medium', Service = ('SecurityCompliance'), CompatibleLicense = ('EXCHANGE_S_ENTERPRISE'), - Pillar = 'Data', + Pillar = ('Data', 'AI'), RiskLevel = 'High', SfiPillar = 'Protect tenants and production systems', TenantType = ('Workforce'), diff --git a/src/powershell/tests/Test-Assessment.35032.ps1 b/src/powershell/tests/Test-Assessment.35032.ps1 index 9270cf9448..ddec40d36c 100644 --- a/src/powershell/tests/Test-Assessment.35032.ps1 +++ b/src/powershell/tests/Test-Assessment.35032.ps1 @@ -25,7 +25,7 @@ function Test-Assessment-35032 { ImplementationCost = 'Low', Service = ('SecurityCompliance'), CompatibleLicense = ('EXCHANGE_S_ENTERPRISE'), - Pillar = 'Data', + Pillar = ('Data', 'AI'), RiskLevel = 'Medium', SfiPillar = 'Protect tenants and production systems', TenantType = ('Workforce'), diff --git a/src/powershell/tests/Test-Assessment.35033.ps1 b/src/powershell/tests/Test-Assessment.35033.ps1 index 26fc2dd291..6313029147 100644 --- a/src/powershell/tests/Test-Assessment.35033.ps1 +++ b/src/powershell/tests/Test-Assessment.35033.ps1 @@ -21,7 +21,7 @@ function Test-Assessment-35033 { ImplementationCost = 'High', Service = ('SecurityCompliance'), CompatibleLicense = ('EXCHANGE_S_ENTERPRISE'), - Pillar = 'Data', + Pillar = ('Data', 'AI'), RiskLevel = 'High', SfiPillar = 'Protect tenants and production systems', TenantType = ('Workforce'), diff --git a/src/powershell/tests/Test-Assessment.35034.ps1 b/src/powershell/tests/Test-Assessment.35034.ps1 index 197cfce60d..cb693298ce 100644 --- a/src/powershell/tests/Test-Assessment.35034.ps1 +++ b/src/powershell/tests/Test-Assessment.35034.ps1 @@ -21,7 +21,7 @@ function Test-Assessment-35034 { ImplementationCost = 'Medium', Service = ('SecurityCompliance'), CompatibleLicense = ('EXCHANGE_S_ENTERPRISE'), - Pillar = 'Data', + Pillar = ('Data', 'AI'), RiskLevel = 'High', SfiPillar = 'Protect tenants and production systems', TenantType = ('Workforce', 'External'), diff --git a/src/powershell/tests/Test-Assessment.35035.ps1 b/src/powershell/tests/Test-Assessment.35035.ps1 index 191cf6fe17..2760f4b0d5 100644 --- a/src/powershell/tests/Test-Assessment.35035.ps1 +++ b/src/powershell/tests/Test-Assessment.35035.ps1 @@ -21,7 +21,7 @@ function Test-Assessment-35035 { ImplementationCost = 'Low', CompatibleLicense = ('EXCHANGE_S_ENTERPRISE'), Service = ('SecurityCompliance'), - Pillar = 'Data', + Pillar = ('Data', 'AI'), RiskLevel = 'High', SfiPillar = 'Protect tenants and production systems', TenantType = ('Workforce'), diff --git a/src/powershell/tests/Test-Assessment.35036.ps1 b/src/powershell/tests/Test-Assessment.35036.ps1 index ed0b619c2e..f5637b0bb0 100644 --- a/src/powershell/tests/Test-Assessment.35036.ps1 +++ b/src/powershell/tests/Test-Assessment.35036.ps1 @@ -21,7 +21,7 @@ function Test-Assessment-35036 { ImplementationCost = 'High', CompatibleLicense = ('EXCHANGE_S_ENTERPRISE'), Service = ('SecurityCompliance'), - Pillar = 'Data', + Pillar = ('Data', 'AI'), RiskLevel = 'Medium', SfiPillar = 'Protect tenants and production systems', TenantType = ('Workforce','External'), diff --git a/src/powershell/tests/Test-Assessment.35037.ps1 b/src/powershell/tests/Test-Assessment.35037.ps1 index 582c111d29..c1d6a3299a 100644 --- a/src/powershell/tests/Test-Assessment.35037.ps1 +++ b/src/powershell/tests/Test-Assessment.35037.ps1 @@ -10,7 +10,7 @@ function Test-Assessment-35037 { Service = ('ExchangeOnline'), MinimumLicense = ('Microsoft 365 E3'), CompatibleLicense = ('RMS_S_PREMIUM'), - Pillar = 'Data', + Pillar = ('Data', 'AI'), RiskLevel = 'High', SfiPillar = 'Protect tenants and production systems', TenantType = ('Workforce','External'), diff --git a/src/powershell/tests/Test-Assessment.35038.ps1 b/src/powershell/tests/Test-Assessment.35038.ps1 index 3726296144..a6a6ec0dfd 100644 --- a/src/powershell/tests/Test-Assessment.35038.ps1 +++ b/src/powershell/tests/Test-Assessment.35038.ps1 @@ -18,7 +18,7 @@ function Test-Assessment-35038 { ImplementationCost = 'Medium', Service = ('SecurityCompliance'), CompatibleLicense = ('EXCHANGE_S_ENTERPRISE'), - Pillar = 'Data', + Pillar = ('Data', 'AI'), RiskLevel = 'High', SfiPillar = 'Protect tenants and production systems', TenantType = ('Workforce'), diff --git a/src/powershell/tests/Test-Assessment.35039.ps1 b/src/powershell/tests/Test-Assessment.35039.ps1 index 255b5b42e9..d600262bb4 100644 --- a/src/powershell/tests/Test-Assessment.35039.ps1 +++ b/src/powershell/tests/Test-Assessment.35039.ps1 @@ -21,7 +21,7 @@ function Test-Assessment-35039 { ImplementationCost = 'Medium', Service = ('SecurityCompliance'), CompatibleLicense = ('EXCHANGE_S_ENTERPRISE'), - Pillar = 'Data', + Pillar = ('Data', 'AI'), RiskLevel = 'High', SfiPillar = 'Protect tenants and production systems', TenantType = ('Workforce'), diff --git a/src/powershell/tests/Test-Assessment.35040.ps1 b/src/powershell/tests/Test-Assessment.35040.ps1 index 2aecc02578..36914a8b1c 100644 --- a/src/powershell/tests/Test-Assessment.35040.ps1 +++ b/src/powershell/tests/Test-Assessment.35040.ps1 @@ -21,7 +21,7 @@ function Test-Assessment-35040 { ImplementationCost = 'Medium', Service = ('SecurityCompliance'), CompatibleLicense = ('EXCHANGE_S_ENTERPRISE'), - Pillar = 'Data', + Pillar = ('Data', 'AI'), RiskLevel = 'High', SfiPillar = 'Protect tenants and production systems', TenantType = ('Workforce'), diff --git a/src/powershell/tests/Test-Assessment.35041.ps1 b/src/powershell/tests/Test-Assessment.35041.ps1 index 00111f1174..29e1521b06 100644 --- a/src/powershell/tests/Test-Assessment.35041.ps1 +++ b/src/powershell/tests/Test-Assessment.35041.ps1 @@ -22,7 +22,7 @@ function Test-Assessment-35041 { Service = ('SecurityCompliance'), MinimumLicense = ('Microsoft 365 E5', 'Microsoft Purview PAYG'), CompatibleLicense = ('RMS_S_PREMIUM2'), - Pillar = 'Data', + Pillar = ('Data', 'AI'), RiskLevel = 'Medium', SfiPillar = 'Protect tenants and production systems', TenantType = ('Workforce'), From 4b7bf68c8142b7fe8d8967b8deb790510b1f3fb1 Mon Sep 17 00:00:00 2001 From: Praneeth Date: Fri, 22 May 2026 12:31:07 +0530 Subject: [PATCH 3/4] fix: restore Pillar = ('Data', 'AI') on 35012 and 35037 lost during merge resolution --- src/powershell/tests/Test-Assessment.35012.ps1 | 2 +- src/powershell/tests/Test-Assessment.35037.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/powershell/tests/Test-Assessment.35012.ps1 b/src/powershell/tests/Test-Assessment.35012.ps1 index 1f6191361e..66eee8530d 100644 --- a/src/powershell/tests/Test-Assessment.35012.ps1 +++ b/src/powershell/tests/Test-Assessment.35012.ps1 @@ -22,7 +22,7 @@ function Test-Assessment-35012 { MinimumLicense = ('Microsoft 365 E5'), CompatibleLicense = ('RMS_S_PREMIUM2'), Service = ('SecurityCompliance'), - Pillar = 'Data', + Pillar = ('Data', 'AI'), RiskLevel = 'Medium', SfiPillar = 'Protect tenants and production systems', TenantType = ('Workforce'), diff --git a/src/powershell/tests/Test-Assessment.35037.ps1 b/src/powershell/tests/Test-Assessment.35037.ps1 index 79b35c8bbc..b212d766e3 100644 --- a/src/powershell/tests/Test-Assessment.35037.ps1 +++ b/src/powershell/tests/Test-Assessment.35037.ps1 @@ -10,7 +10,7 @@ function Test-Assessment-35037 { MinimumLicense = ('Microsoft 365 E3'), CompatibleLicense = ('RMS_S_PREMIUM'), Service = ('ExchangeOnline'), - Pillar = 'Data', + Pillar = ('Data', 'AI'), RiskLevel = 'High', SfiPillar = 'Protect tenants and production systems', TenantType = ('Workforce','External'), From 21e3b109b195ab78e1748de2ad851301e617064e Mon Sep 17 00:00:00 2001 From: Praneeth Date: Mon, 25 May 2026 12:24:52 +0530 Subject: [PATCH 4/4] resolve aleks comments --- src/powershell/private/tests/Invoke-ZtTests.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/powershell/private/tests/Invoke-ZtTests.ps1 b/src/powershell/private/tests/Invoke-ZtTests.ps1 index f0cc52f525..f6eb73c0b0 100644 --- a/src/powershell/private/tests/Invoke-ZtTests.ps1 +++ b/src/powershell/private/tests/Invoke-ZtTests.ps1 @@ -119,7 +119,7 @@ # Separate Sync Tests (Compliance/ExchangeOnline/SharePointOnline) from Parallel Tests (because of DLL order to manage in runspaces & remoting into WPS) # Tests that depend on SecurityCompliance remoting must run on the main thread regardless of pillar. [int[]]$syncTestIds = $testsToRun.Where{ - $_.Pillar -eq 'Data' -or $_.Service -contains 'SecurityCompliance' + $_.Pillar -contains 'Data' -or $_.Service -contains 'SecurityCompliance' }.TestId $syncTests = $testsToRun.Where{ $_.TestId -in $syncTestIds } $parallelTests = $testsToRun.Where{ $_.TestId -notin $syncTestIds }